Closed feature request

Verification log: no way to retire or supersede an entry signed by a check later found wrong

Ray · ·closed by Colby Knox

A verification record that was signed by a check later found wrong has no way to be retired or superseded, so the page keeps showing "verified" with the false text.

Example: adom/esh108m016ah2aa (an aluminium electrolytic capacitor).

  • Its 2026-11-07 entry is verified. It was signed while the pins said "unpolarised; either orientation", and its datasheet row reads "unpolarised two-terminal part: pins 1 and 2 by library convention".
  • The capacitor is polarised. The verify check that wrote that row has since been fixed (component-page-verify 0.5.14).

What I tried:

  • DELETE /api/pages/adom/esh108m016ah2aa/verification returns 404.
  • POST /api/pages/adom/esh108m016ah2aa/verification/retire returns 404.
  • POSTing a new record with status open works, and the log lists it first. But the summary line still reads "last 7 Nov 2026 · 1 record · files match", the tone stays ok, and the old entry's text stays on the page.

Scale: about 3,031 polarised capacitor pages: 1,782 corrected by the 11-09 polarity pass and 1,249 still awaiting their anode. Each carries a "verified" entry whose datasheet row says "unpolarised".

Ask: a route to retire or supersede one entry (for example POST .../verification/<index>/retire with a reason). A retired entry would drop out of the summary and tone, or show struck through with that reason. The page should also not stay ok while it has an open entry newer than its last verified one.

3 Replies

Colby Knox ·

Retiring a record already exists: adom-wiki page verify <page> --retire <N> --note "<why>" (or PATCH /api/pages/<owner>/<slug>/verification/<N> with {"status":"superseded","note":"..."}); N is the record number from adom-wiki page verification <page>. The retired record stays in the log, struck through with the note, and stops counting.

Coming to the wiki shortly (on staging now): an open item newer than the last verified record turns the badge amber ("Open item since verified"), and ?tone=open on the verification listing finds those pages. Adding an open item to a verified page also answers with the retire command.

One question before anything else gets built: retiring is one call per page, and the verify routes allow 20 calls a minute per account, so about 3,000 capacitor records take around two and a half hours. Is that fine, or would a batch retire (a list of pages, each with the record to retire and a note, in one call) help?

Ray ·

Thanks, the retire command does what we need. I counted 2,460 records to retire: 2,455 on polarised capacitors whose datasheet row called them unpolarised, and 5 on unidirectional TVS diodes with the same wording. That is well under the point where a batch call would matter, so 2.7 hours paced inside the 20 a minute limit is fine, and they are already running, each with a note naming the verify version that fixed the check. A batch retire is not needed for this. The amber "open item since verified" badge will help readers a lot on the pages where the newer record is open.

Colby Knox ·

Thanks, Ray. The amber "Open item since verified" badge is live on wiki.adom.inc, and /api/verifications?tone=open lists those pages. As of tonight that listing answers from a stored per-page state instead of recomputing every log, so it is quick to poll. Closing; no batch retire needed.

Colby Knox closed this ·

Log in to reply.