recommit
Append a fresh write receipt to bind the current value, context, and partition of unscoped records flagged by verify_writes, after checking against a trusted copy.
Instructions
The remedy verify_writes names for UNSCOPED records: append a fresh write receipt that binds
each named record's CURRENT value, context and partition.
IT BINDS THE STATE AS IT IS NOW. It does not validate the past: a record edited out of band before this call is committed as edited, and verifies clean afterwards. Run it ONLY on records you have checked against a copy you trust (a backup, an export, the source they were written from).
ids: the records to recommit, as the UNSCOPED line lists them. all=True recommits every active
record this server reads instead, and is only for a store checked in full. Pass one of the two:
neither, or both, is refused and writes nothing. There is no whole-store default.
A record whose latest receipt already binds all three is skipped, and a named id that matched no
active record is named in problems. With a project scope, only that project's records and the
unscoped ones are recommitted. Also refused, writing nothing, when this server cannot sign the way
the chain is signed (a signed chain and no receipt key here, or the reverse): the new receipts
would leave a chain signed in places, and verify_writes reports that. Needs receipts on.
Returns {recommitted, skipped, problems}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| ids | No |