Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(wave18): lane 1 fragment rows: continuation_unproven registry fix envelope and the #6782 re-extract wording

garrytan3f51d7499910
diff --git a/docs/.wave18-fragments/lane1.md b/docs/.wave18-fragments/lane1.md
index 02c6536d8f..116e7b9e70 100644
--- a/docs/.wave18-fragments/lane1.md
+++ b/docs/.wave18-fragments/lane1.md
@@ -30,16 +30,18 @@ is what each item needs in integrator-owned files.
`test/facts-absorb-log.test.ts` from `length).toBe(17)` to `19` with two `toContain` asserts.
Already in commit "INTEGRATOR-ROW: FACTS_ABSORB_REASONS ..." (typecheck needs it: commit
"fix(facts): facts absorb waits ..." alone does not typecheck).
-- **`src/core/error-registry.ts` `CODES` (#6791), alphabetical position, then `bun run build:error-codes`:**
+- **`src/core/error-registry.ts` `CODES` (#6791), alphabetical position, then `bun run build:error-codes`.** The adapter's
+ once-per-process stderr notice already names the code and points at `gbrain errors continuation_unproven`:
```ts
- continuation_unproven: { class: 'retryable', summary: "Claude Code continued an answer past its output cap and gbrain could not prove the full text, so the claude-cli call returned no text and finished as length.", why: "Print mode reports only the text after an automatic continuation; parsing or dispatching that tail as a complete answer would act on a fragment.", reasons: ['events_missing', 'segments_unmatched'], docs: 'docs/ai-providers/claude-cli.md#claude-cli-troubleshooting', suggestion: 'Retry the call; callers that escalate on a capped answer raise the output cap, which avoids the continuation.' },
+ continuation_unproven: { class: 'retryable', summary: "Claude Code continued an answer past its output cap and gbrain could not prove the full text, so the claude-cli call returned no text and no tool calls and finished as length.", why: "Print mode reports only the text after an automatic continuation; parsing or dispatching that tail as a complete answer would act on a fragment. The caller retries or escalates as for any capped answer; the gateway does not resend it to a fallback model.", reasons: ['events_missing', 'segments_unmatched'], docs: 'docs/ai-providers/claude-cli.md#claude-cli-troubleshooting', fix: { argv: ['gbrain', 'config', 'set', '<KEY>', '<TOKENS>'], inputs: [{ name: 'KEY', how: "The output cap the failing caller's truncation warning names (for example dream.propose_takes.max_tokens, facts.extraction_max_tokens or models.synopsis_max_tokens)." }, { name: 'TOKENS', how: 'A larger whole number of output tokens; ask the user, since a larger cap can cost more per call.' }], consent: [], actor: 'agent', ask_user: true, why: 'A cap the whole answer fits under ends the call before Claude Code continues it, so the full text arrives in one response.', requires_exclusive: false, verify: { argv: ['gbrain', 'config', 'get', '<KEY>'] } } },
```
+ Adjust the `fix` envelope to the registry's current consent/ask_user shape if it differs.
The code is provider metadata, not a thrown code, so no contract test requires the row.
## BEHAVIOR_CHANGES rows (`src/core/behavior-change-notice.ts`, `since: '<wave version>'`)
- **#6757:** "Dream synthesis postprocess finds committed outputs by request id through a new online index (`persistence_requests_request_id`, built concurrently on Postgres, covered by `gbrain repair request-indexes`). A statement timeout on that read now defers the postprocess to a later pass (kept in `dream.synthesize.postprocess_pending`, finished without another synthesis call) instead of failing the pass; three deferrals in a row add a line to doctor `persistence_request_indexes`, whose messages now say \"request-table indexes\"."
-- **#6782:** "`propose_takes` now treats a reply of `[]` followed by prose as an empty extraction and tombstones the page, instead of retrying the paid call every cycle. Pages that were retried forever get a tombstone on their next run. To force re-extraction of a page that was tombstoned wrongly, see docs/guides/cron-schedule.md (propose_takes section)."
+- **#6782:** "`propose_takes` now treats a reply of `[]` followed by prose as an empty extraction and tombstones the page, instead of retrying the paid call every cycle. Pages that were retried forever get a tombstone on their next run. There is no per-page force flag: the tombstone is keyed by a hash of the page body, so any edit to the body re-extracts the page (docs/guides/cron-schedule.md)."
- **#6778:** "Facts absorb now waits for its write up to the job deadline instead of 5 s. A write still committing is logged `write_pending_accepted` and writer contention before admission `write_deferred_unadmitted`; neither counts toward the doctor's facts_extraction_health threshold, and persistent contention gets its own warning (`gbrain sources writer status --source <id> --json`)."
- **#6761:** "facts_extraction_health reports its 24 h failure count as history (rolling, with an ages-out time) and separately names facts-absorb jobs still dead, with `gbrain jobs retry <id>` as the fix; it no longer suggests raising `facts.absorb_warn_threshold`, and the thresholds are unchanged."
- **#6791:** "A `claude-cli` answer that Claude Code continued after hitting its output cap is now rebuilt in full from the call's event stream (the CLI runs with `--verbose`) instead of returning only the text after the continuation as a complete answer. When the full text cannot be proven, the call returns no text and no tool calls, finishes `length` (callers retry or escalate as for any capped answer) and reports `providerMetadata['claude-cli'].code = 'continuation_unproven'` with reason `events_missing` or `segments_unmatched`, with one stderr line per process."