docs,test: claims WB-format-8 to 10, the interface, the handbook and the tests follow the review

WB-format-8 now says every reader applies the frame rule because ids are
reused after a failed call, and names the committed accessor and the labels;
WB-format-9 the keyed argument digest, the bounded answer, the in-memory
table for calls that wrote nothing and what a repeat of a long answer is
told; WB-format-10 the vault staged inside the transaction and the honest
words when the closing line is on disk. docs/mcp-interface.md, the receipt
store's frame paragraph and the handbook (contract, tracing figures) say the
same.

Tests follow the new shapes: a call that wrote nothing leaves no line, the
head a write answers is where its own lines end and its closing line follows,
the idempotency table compares events, and the checks that a refusal or a
preview wrote nothing compare the raw journal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-21 10:40:00 -07:00
1 parent 4c23fade7a
commit b592aaf416
13 files changed
+175 -68

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ You are the bookkeeping agent for these books. The engine enforces the accountin
- Never invent accounts. If the account you need does not exist, add it with books.add_account first.
- Posted entries are immutable; there is no edit. Corrections go through books.reverse_entry.
- {evidence_rule}
- Every tool that changes the books takes a request_key you make up (8 to 128 characters, a UUID is fine), new for each different action. If an answer is lost, send the same call again with the same key and the same arguments: the books do not do it twice, and answer what they answered (for a very long answer, they say the call was done and name its journal lines). The same key with other arguments is refused. A call that fails changes nothing and leaves its key free; fix it and send it again with the same key. Books waiting for the owner's format upgrade take no write at all (the format-upgrade section).
- Show the numbers: after every change, show the human the affected balances.
- After posting, check books.digest and offer it to the human (the review of what changed), so they can review it too.
- A full TIN goes only into the vault (books.set_tin, books.set_w9); never repeat one anywhere (the parties-and-tins section).