diff --git a/docs/migration-6.2.md b/docs/migration-6.2.md index 38baae073..8955f39f7 100644 --- a/docs/migration-6.2.md +++ b/docs/migration-6.2.md @@ -31,7 +31,7 @@ and carry their typed JSON diagnostic in a text content block; they omit if (reply.isError === true) { const text = reply.content.find((part) => part.type === "text"); if (text === undefined) throw new Error("REA error has no text diagnostic"); - const diagnostic = JSON.parse(text.text); + const { error: diagnostic } = JSON.parse(text.text); // Handle diagnostic.code, diagnostic.message and diagnostic.details. } ``` diff --git a/docs/process-capture.md b/docs/process-capture.md index 316d36c99..21f1f5343 100644 --- a/docs/process-capture.md +++ b/docs/process-capture.md @@ -157,8 +157,9 @@ results for unaffected dimensions and mark affected dimensions unknown; an incomplete capture cannot locate the first divergence across all dimensions. Trace assertions use coverage for the sources they select, so an assertion about complete raw terminal output need not fail because rendered snapshots -were omitted. Older truncated captures without these details retain the -conservative comparison behavior. These diagnostics use the existing scenario +were omitted. Captures missing `truncation_details` are rejected on import; +preserve them as historical files and recapture for current comparisons. +These diagnostics use the existing scenario budgets; they do not introduce a separate file-hashing budget. When the host withholds an unrelated process’s ownership token, REA leaves that