Commit 1e071bc525

1e071bc52570306feb2dd31c7216d2c98075be72

parent: fe7b667eb3

Verified · cmc ci/build: success ci/test: success

cmc <hello@cleberg.net> · 2026-10-02 04:46 UTC

control: admin fingerprints fit; status list suggests the commit

admin user show's key fingerprints are flex cells, and status list's
legend reads the commit rather than a status set template that ran
past 60 columns.

Ref #319

Layout: unified · split

internal/control/admin.go +2 −2
@@ -383,7 +383,7 @@ func runAdminUserShow(c *Ctx, args []string) int {
383383 }
384384 keys := section{title: "Keys", n: len(d.Keys)}
385385 for _, k := range d.Keys {
386 keys.rows = append(keys.rows, rowOf(cRef(k.Fingerprint), cState(k.Scope), cMeta(k.Algo, "used "+relAge(k.LastUsedAt, termNow()))))
386 keys.rows = append(keys.rows, rowOf(cFlexRef(k.Fingerprint), cState(k.Scope), cMeta(k.Algo, "used "+relAge(k.LastUsedAt, termNow()))))
387387 }
388388 emails := section{title: "Emails", n: len(d.Emails)}
389389 for _, e := range d.Emails {
@@ -398,7 +398,7 @@ func runAdminUserShow(c *Ctx, args []string) int {
398398 }
399399 pgp := section{title: "PGP keys", n: len(d.PGPKeys)}
400400 for _, k := range d.PGPKeys {
401 pgp.rows = append(pgp.rows, rowOf(cRef(k.Fingerprint)))
401 pgp.rows = append(pgp.rows, rowOf(cFlexRef(k.Fingerprint)))
402402 }
403403 orgs := section{title: "Orgs", n: len(d.Orgs)}
404404 for _, o := range d.Orgs {
internal/control/status.go +1 −1
@@ -154,7 +154,7 @@ func runStatusList(c *Ctx, args []string) int {
154154 {"Commit", []cell{cRef(fmt.Sprintf("%.10s", d.SHA))}},
155155 {"Combined", combined},
156156 }, sections: []section{statuses}, actions: []action{
157 {"Report", []string{"status", "set", repo.Path(), d.SHA, "--context", "<context>", "--state", "success"}},
157 {"Read", []string{"repo", "commit", repo.Path(), fmt.Sprintf("%.10s", d.SHA)}},
158158 }}
159159 })
160160}