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

+3 -1
View File
@@ -2104,7 +2104,9 @@ fn idempotent_tools_change_nothing_when_repeated() {
m.ok(name, args.clone());
let (journal, vault) = (m.journal(), vault_bytes(&m));
m.ok(name, args.clone());
let changed = m.journal_raw() != journal || vault_bytes(&m) != vault;
// The events, not the frames: a repeat with a new key is a call of
// its own, and its frame is no change of the books.
let changed = m.journal() != journal || vault_bytes(&m) != vault;
*repeats_change.entry(name).or_default() |= changed;
}
let wrong: Vec<String> = repeats_change