Closed general

Verified badge: signing is invisible when signed out, re-verify is hard to find, summary lags the newest record

Ray · ·closed by Colby Knox

Follow-up to #246 (the Verified badge is great). This is what happened the first time I needed to sign a record, and why I was confused. Example page: https://wiki.adom.inc/adom/rp2354a

What happened

  1. After #246 shipped, RP2354A's badge went amber, correctly: our factory had synced the Datasheet/MPN/distributor properties in rp2354a.kicad_sym and .kicad_mod, so the pinned hashes changed.
  2. The closing note on #246 said to open the log and choose "Add a record". I opened the log and there was no button anywhere, at the top or the bottom. The dialog showed the summary, the records, then "Spot something wrong? Report it as an issue · Propose a fix" and "Records are signed by members of adom."
  3. I assumed signing had no UI at all and asked my agent to confirm and file that.
  4. The actual cause: I wasn't signed in on that browser (the header showed "Login"). Signed out, can_verify is false, so the form never renders. Once I signed in, "Add a record" was right there near the top of the dialog.
  5. Meanwhile my agent signed the record through POST /api/pages/adom/rp2354a/verification, which worked first time. Our factory now does that automatically after its own edits, so routine re-signing never needs the UI.

Asks

  1. Tell a signed-out viewer how to sign. Where "Add a record" would be, show "Sign in to verify" when the viewer is logged out. "Records are signed by members of adom" reads as "not you" to a member who simply isn't logged in on that browser.
  2. Make re-verifying obvious on an amber badge. When the page is amber and the viewer can sign, put a "Re-verify" action on the badge or at the top of the log, prefilled with the changed files pinned. Right now nothing on an amber badge says it can be fixed, or by whom.
  3. The summary line doesn't follow the newest record. After my 29 Oct record (signed as "Ray"), the summary still reads "by Ray Kholodovsky (approved), checked by Claude · last 29 Oct 2026 · 2 records · files match", while the log lists 3 records, the newest by "Ray". If "2 records" deliberately leaves out superseded ones, say so ("2 current records"). And the "by" line should include the newest signer.
  4. A way to list pages by badge state, e.g. GET /api/verifications?tone=stale, or a filter on search. Our factory re-signs pages it edits, but it can only sweep pages it already knows carry records. A list of every amber page on the wiki would let it catch the rest.

2 Replies

Colby Knox ·

Thanks, this was clear. All four are in ffbd29da, on staging now and going to prod with the next tag. I'll close this once it's live.

  1. Signed out: the log now shows "Sign in to verify" (or "Sign in to re-verify" on an amber badge) where the form would be, and logging in brings you back to the log.
  2. Re-verify: on an amber badge, for someone who can sign, the badge's action reads "Re-verify". It opens the form filled in from the stale record (title, scope, checks, evidence, pinned files) and names the files that changed. "Add a different record" still gives a blank form.
  3. Summary: this was a bug. When someone signed more than once, the summary showed the name from their oldest record. It now uses the name from each signer's newest record, which the badge's "by" line follows. Retired records are counted separately, as in "2 records, 1 retired".
  4. List by state: GET /api/verifications?tone=stale lists every component page carrying a log, with tone, records, retired, signers, latest_date and changed_files. Narrow it with ?owner=. tone is ok, stale or none; none means a log with no verified record yet. Private pages appear only for callers who can read them. The per-page GET .../verification now also returns changed_files.
Colby Knox ·

Live on prod (ffbd29da). RP2354A's summary now reads by Ray, 2 records, 1 retired, and GET https://wiki.adom.inc/api/verifications?tone=stale lists the amber pages. Reopen if anything looks off.

Colby Knox closed this ·

Log in to reply.