I attempted to prove that the curves above were the only examples, but my proof had a gap. Fortunately, pregunton discovered a paper of Mercuri and Stirpe which lists all curves with $J(\mathbb{F}_q)$ trivial (both with $X(\mathbb{F}_q)$ singleton, like we want, and with $X(\mathbb{F}_q)$ empty). The curves listed above are cases (i), (ii), (vi) and (vii) on their list; I believe all the other curves on their list have $X(\mathbb{F}_q)$ empty.
Through a messy analysis, I will show that the eigenvalues above are the only ones.(I didn't check whether other curves could achieve the same eigenvalues.)Here is what I can salvage from my computation, which I still like:
I will now show that there are not any solutions with $q=2$, $g\geq 3$ or $q=3$, $g \geq 2$. This will be a bit messy. LetNow let $q$ be $2$ or $3$. SinceWe observe that $q$ isn't square, $\sqrt{q}$ and $- \sqrt{q}$ must have the sameeven multiplicity as eigenvalues; call this multiplicityan eigenvalue of Frobenius. Proof: We have $k$$\#J(\mathbb{F}_q) = \prod (1-\lambda_j)$. LetGroup together the other eigenvaluesterms with complex conjguate eigenvalues; then every factor except the one coming from $1-\sqrt{q}$ is a positive real, so $(1-\sqrt{q})$ must be raised to an even power as well. Using $\sqrt{q} e^{\pm i \theta_j}$ for$\#J(\mathbb{F}_q) = \prod (\lambda_j-1)$, we see that $1 \leq j \leq g-k$$-\sqrt{q}$ likewise has even multiplicity. Then
Therefore, we can write the equationseigenvalues of Frobenius as $\#X(\mathbb{F}_q) = \#J(\mathbb{F}_q)=1$ become $$(q+1-2 \sqrt{q})^k(q+1+2 \sqrt{q})^k \prod_{j=1}^{g-k} (q+1-2 \sqrt{q} \cos \theta_j) = q+1 - 2 \sqrt{q} \sum_{j=1}^{g-k} \cos \theta_j = 1$$ or $$\prod_{j=1}^{g-k} (q+1-2 \sqrt{q} \cos \theta_j) = \frac{1}{(q-1)^{2k}} \qquad \sum_{j=1}^{g-k} \cos \theta_j = \tfrac{\sqrt{q}}{2}.$$ We will consider minimizing$\sqrt{q} e^{\pm i \theta_j}$ for $\prod_{j=1}^{g-k} (q+1-2 \sqrt{q} \cos \theta_j)$ subject$1\leq \theta_j \leq g$, remembering to take both signs in the constraintexponent even when $\sum_{j=1}^{g-k} \cos \theta_j = \tfrac{\sqrt{q}}{2}$ and will show that, almost always the minimum$\theta_j$ is too high$0$ or $\pi$. Let $c_j = \cos \theta_j$.
Put $c_j = \cos \theta_j$, soThe equation $-1 \leq c_j \leq 1$ and$X(\mathbb{F}_q)=1$ translates to $$q-2 \sqrt{q} \sum \cos \theta_j +1 =1 \ \implies \ \sum c_j = \tfrac{\sqrt{q}}{2} \quad (\ast)$$ The equation $\sum c_j = \tfrac{\sqrt{q}}{2}$;$J(\mathbb{F}_q)=1$ translates to $$\prod (q+1-2 \sqrt{q} c_j) = 1 \quad (\dagger).$$ We note that this$(\ast)$ is a convex polytope whose vertices are $(1,1,\ldots,1, -1, -1, \ldots, -1, \tfrac{\sqrt{q}}{2})$ for $g$ odd and $(1,1,\ldots,1, -1, -1, \ldots, -1, \tfrac{\sqrt{q}}{2}-1)$ for $g$ even. The function
We will try to show that $\log \prod_{j=1}^{g-k} (q+1-2 \sqrt{q} \cos \theta_j)$$\prod (q+1-2 \sqrt{q} c_j) \geq 1$ everywhere on this polytope. Note that $\log \prod (q+1-2 \sqrt{q} c_j)$ is concave, so it is minimized at a vertex of the polytope. At a vertex of the polytope, all but one of the $c_j$ must be $\pm 1$, andenough to check the remaining $c_j$ is determined byinequality at the constraint $\sum c_j = \tfrac{\sqrt{q}}{2}$vertices.
SoWe compute that the minimum either has $g-k = 2m+1$, with $$c_1=c_2=\cdots=c_m=1,\ c_{m+1}=c_{m+2}=\cdots=c_{2m}=-1,\ c_{2m+1}=\tfrac{\sqrt{q}}{2}$$ or elsevalue at the minimum has $g-k=2m+2$ with $$c_1=c_2=\cdots=c_{m+1}=1,\ c_{m+2}=c_{m+2}=\cdots=c_{2m+1}=-1, \ c_{2m+2}=\tfrac{\sqrt{q}}{2}-1.$$vertices is $$\begin{array}{c|cc} & g=2k+1 & g=2k+2 \\ \hline q=2 & 1 & (3-2 \sqrt{2}) (3 - 2 \sqrt{2} (\tfrac{\sqrt{2}}{2}-1)) \approx 0.657 \\ q=3 & 4^k & 4^k (4-2 \sqrt{3}) (4 - 2 \sqrt{3} (\tfrac{\sqrt{3}}{2}-1)) \approx 2.39 \times 4^k \\ \end{array}.$$
The resulting values for the product are $(q-1)^{2m}$ and $(q-1)^{2m} (2 q^{3/2} - 3q +1)$. In all cases, this is larger than $\tfrac{1}{(q-1)^{2k}}$, except forWe see that the first caseonly solution with $m=k=0$, $q=2$ or $3$,$q=3$ is $g=1$ and the second case with $m=k=0$,$c_1 = \tfrac{\sqrt{3}}{2}$.
If $q=2$ and $g=2$ and one more case that I missed the first time around. That last case is $q=2$$g=2k+1$, then $g=3$, in which case we have equality$(\dagger)$ only occurs at the vertices of the polytope, corresponding to the eigenvalue sequence $\sqrt{2}$ (which is a hexagon). These vertices are the permutations ofmultiplicity $(1, -1, 1/\sqrt{2})$$2k$), giving eigenvalues $(\sqrt{2}, \sqrt{2}, -\sqrt{2}, - \sqrt{2}, 1+i, 1-i)$$-\sqrt{2}$ (multiplicity $2k$) and $1 \pm i$. However However, suchthis would lead to a curve would havewith $-3$$1-4k$ points over $\mathbb{F}_4$, which is impossible, so we are safethis can only happen for $k=0$ (and thus $g=1$.)
In the genus one casesHowever, equality occurs atI am unclear as to how to deal with the sole pointcase of the polytope$q=2$, with $c_1=\tfrac{\sqrt{q}}{2}$$g$ even. In the genus two caseWhen $g=2$, the polytope $c_1+c_2 = \tfrac{\sqrt{2}}{2}$ is just a line segment. The value of the product and $(\dagger)$ occurs at the endstwo symmetrically placed points of the line segment is, corresponding to $<1$ and at the midpoint is$(c_1, c_2) = ( \tfrac{1 \pm \sqrt{3}}{\sqrt{2}}, \tfrac{1 \mp \sqrt{3}}{\sqrt{2}})$. However, for larger $>1$$k$, so equality$(\dagger)$ occurs aton a pair of symmetric pointslittle $2k$-dimensional manifold in the interiorcorners of the line segmentpolytope, namely at $(\tfrac{1 \pm \sqrt{3}}{2 \sqrt{2}},\tfrac{1 \mp \sqrt{3}}{2 \sqrt{2}})$. These give the eigenvalues listed aboveand it isn't clear to me how to rule out more solutions here.