Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/master' into capy/wave-b-pr3-writes

garrytan1b96e12886cc
diff --cc docs/guides/error-codes.md
index 56e55467dd,026a2d93e3..eaf73e0fa4
--- a/docs/guides/error-codes.md
+++ b/docs/guides/error-codes.md
@@@ -2671,24 -2761,8 +2761,24 @@@ More: [docs/guides/windowed-reads.md#pa
| Meaning | Why | Next step | Who acts · consent | Verify | Exit | Retryable |
|---|---|---|---|---|---|---|
- | A file whose exact bytes imported before is now refused by gbrain's frontmatter reader. | The same bytes imported under an earlier gbrain version, so only gbrain changed; with `GBRAIN_SYNC_PARSER_REGRESSION=hold` for the process that syncs, such a file is held and the rest of the sync continues. | Report it as a gbrain bug with the gbrain version, the file and the code; upgrade, or keep `GBRAIN_SYNC_PARSER_REGRESSION=hold` set for the process that syncs, and never pin a release older than 0.60.305.0; then sync again. | host_admin | `gbrain doctor --json` | 1 | no |
+ | A file whose exact bytes imported before is now refused by gbrain's frontmatter reader. | The same bytes imported under an earlier gbrain version, so only gbrain changed; such a file is held and the rest of the sync continues (`GBRAIN_SYNC_PARSER_REGRESSION=stop` for the process that syncs stops the run instead). | Report it as a gbrain bug with the gbrain version, the file and the code; upgrade or pin the last good version, then sync again. | host_admin | `gbrain doctor --json` | 1 | no |
+### part_splits_code_point
+
+<a id="part_splits_code_point"></a>
+
+| Meaning | Why | Next step | Who acts · consent | Verify | Exit | Retryable |
+|---|---|---|---|---|---|---|
+| An upload part starts or ends inside a code point (half of a surrogate pair), so it was not stored. | Each part is stored as raw UTF-8 bytes; half of a surrogate pair has no UTF-8 encoding, so a part cut there would corrupt the character. | Move the cut before the high surrogate so the pair travels in one part, then send the part again. | agent | `repeat the read that failed` | 1 | no |
+
+### part_too_large
+
+<a id="part_too_large"></a>
+
+| Meaning | Why | Next step | Who acts · consent | Verify | Exit | Retryable |
+|---|---|---|---|---|---|---|
+| An upload part's encoded frame is over the connection's part limit (part_max_frame_bytes), so it was not stored. | part_max_frame_bytes is the connection's inbound request cap (at most 4 MiB) minus a 4 KiB envelope; JSON escaping makes quotes, backslashes and control characters count more than once. | Cut the part so the whole call stays within part_max_frame_bytes, then send it again with the same part number. | agent | `repeat the read that failed` | 1 | no |
+
### pasted_wrong_url
<a id="pasted_wrong_url"></a>
@@@ -3837,16 -3949,8 +3965,16 @@@ Reasons: `content_directory`
| Meaning | Why | Next step | Who acts · consent | Verify | Exit | Retryable |
|---|---|---|---|---|---|---|
- | Sync stopped because gbrain would hold a file whose exact bytes imported before; this is a gbrain bug. | The upgrade invariant says a newer reader never refuses bytes an older one imported, so the run stops without advancing rather than hide a regression. | Report it with the gbrain version, the file and the code; upgrade, or set `GBRAIN_SYNC_PARSER_REGRESSION=hold` for the process that syncs, and never pin a release older than 0.60.305.0; then run gbrain sync --source <id> --no-pull. | host_admin | `gbrain doctor --json` | 1 | no |
+ | Sync stopped because gbrain would hold a file whose exact bytes imported before; this is a gbrain bug. | The upgrade invariant says a newer reader never refuses bytes an older one imported; with `GBRAIN_SYNC_PARSER_REGRESSION=stop` set for the process that syncs (the default holds the file), the run stops without advancing rather than hide a regression. | Report it with the gbrain version, the file and the code; upgrade or pin the last good version, then run gbrain sync --source <id> --no-pull. | host_admin | `gbrain doctor --json` | 1 | no |
+### tail_changed
+
+<a id="tail_changed"></a>
+
+| Meaning | Why | Next step | Who acts · consent | Verify | Exit | Retryable |
+|---|---|---|---|---|---|---|
+| The end of the page no longer has the sha256 the append expected, so nothing was appended. | append_page's expected_tail_sha256 binds an append to the tail its caller read; another write changed it, and appending anyway could interleave text with a tail the caller never saw. | Read the page again (get_page body: 'none' returns tail_sha256), check whether the text is still missing, and append against the current tail with a new request_id. Run: gbrain get --source '{source_id}' -- '{slug}' | agent | `repeat the read that failed` | 1 | no |
+
### tail_exposure_approval
<a id="tail_exposure_approval"></a>
diff --cc scripts/postgres-arm-weights.json
index 5d47edba8f,0a5fcb2e8c..66337c8b23
--- a/scripts/postgres-arm-weights.json
+++ b/scripts/postgres-arm-weights.json
@@@ -1,418 -1,424 +1,430 @@@
{
- "test/activation-unbound-rooted-6449.test.ts": 6217,
- "test/alias-source-cascade-5094.test.ts": 9921,
- "test/attribution-backfill-history.test.ts": 18668,
- "test/backstop-same-page-shadow-managed-6333.test.ts": 5843,
- "test/behavior-change-notice.test.ts": 3444,
- "test/belief-ledger-coverage.test.ts": 135787,
- "test/belief-ledger-group.test.ts": 12283,
- "test/belief-ledger-identity.test.ts": 32585,
- "test/belief-ledger-lifecycle.test.ts": 30503,
- "test/belief-ledger-page-at-time.test.ts": 49959,
- "test/belief-ledger-privacy.test.ts": 20300,
- "test/belief-ledger-purge-review.test.ts": 137610,
- "test/belief-ledger-purge.test.ts": 85322,
- "test/belief-ledger-restore.test.ts": 159596,
- "test/belief-ledger-touched.test.ts": 26001,
- "test/belief-ledger-trust.test.ts": 14049,
- "test/belief-ledger-w5-time-model.test.ts": 19988,
- "test/belief-ledger-weekly-diff.test.ts": 87768,
- "test/belief-ledger-weekly-probes.test.ts": 22645,
- "test/capacity-bounded-read-6803.test.ts": 5435,
- "test/capture-consent-admission.test.ts": 5516,
- "test/capture-dispatch-provenance-6524.test.ts": 3594,
- "test/chronicle-backfill-max-usd.test.ts": 6581,
- "test/claim-fifo-foreground-waiting.test.ts": 4788,
- "test/claim-lease-holder-only-6712.test.ts": 4107,
- "test/claude-cli-output-cap.test.ts": 4117,
- "test/colon-slug-windows-5032.test.ts": 9182,
- "test/company-brain-policy.test.ts": 19785,
- "test/company-brain-runtime.test.ts": 21849,
- "test/consolidate-same-instant-6023.test.ts": 10910,
- "test/conversation-facts-oversized-sidecar.test.ts": 2983,
- "test/cycle/synthesize-concepts-merge.test.ts": 6479,
- "test/decide/conflict-proposals-managed.test.ts": 4410,
- "test/declared-lineage-visibility.test.ts": 2919,
- "test/derived-link-reconciliation.test.ts": 4443,
- "test/doctor-frontmatter-holds.test.ts": 6946,
- "test/doctor-image-embedding-coverage.test.ts": 7551,
- "test/doctor-keyword-plan-6495.test.ts": 2987,
- "test/doctor-routing-skill-pack-source.test.ts": 6541,
- "test/doctor-sync-freshness-skill-pack-6076.test.ts": 2375,
- "test/embed-stale-images-managed-6529.test.ts": 9046,
- "test/embedding-completion-atomic.serial.test.ts": 5419,
- "test/engine-sql-facts-keyset.test.ts": 3943,
- "test/extract-all-stamp-intersection.serial.test.ts": 7940,
- "test/extract-atoms-input-truncated-6503.test.ts": 9986,
- "test/extract-endpoint-revision.serial.test.ts": 7522,
- "test/extract-entities-managed.test.ts": 22126,
- "test/extract-timeline-from-meetings-managed.test.ts": 15378,
- "test/extraction-watermark-atoms.test.ts": 3218,
- "test/fact-fence-adoption-exits.test.ts": 21344,
- "test/fact-purge-lookup-timeout-6511.test.ts": 4558,
- "test/facts-publication-large-fence-6898.test.ts": 46428,
- "test/fence-repair-receipts.test.ts": 7616,
- "test/forecast-journal.test.ts": 20644,
- "test/frontmatter-reserved-keys-6454.test.ts": 3803,
- "test/get-chunks-paging.test.ts": 5690,
- "test/graduation-copy.test.ts": 39847,
- "test/graduation-digest.test.ts": 2376,
- "test/graduation-drain.test.ts": 7251,
- "test/graduation-inventory.test.ts": 4393,
- "test/graduation-rollback.test.ts": 106630,
- "test/graduation-state.test.ts": 223452,
- "test/graduation-target.test.ts": 2283,
- "test/graduation-verify-sync-freshness.test.ts": 5835,
- "test/graduation-verify.test.ts": 25098,
- "test/grandfather-managed.test.ts": 83577,
- "test/harness-skills-epoch.test.ts": 2380,
- "test/held-read-signals.test.ts": 6657,
- "test/hold-action-chain-6712.test.ts": 14218,
+ "test/activation-unbound-rooted-6449.test.ts": 8637,
+ "test/alias-source-cascade-5094.test.ts": 14433,
+ "test/attribution-backfill-history.test.ts": 22497,
+ "test/backstop-same-page-shadow-managed-6333.test.ts": 5677,
+ "test/behavior-change-notice.test.ts": 5243,
+ "test/belief-ledger-coverage.test.ts": 155728,
+ "test/belief-ledger-group.test.ts": 18210,
+ "test/belief-ledger-identity.test.ts": 40651,
+ "test/belief-ledger-lifecycle.test.ts": 39020,
+ "test/belief-ledger-page-at-time.test.ts": 97722,
+ "test/belief-ledger-privacy.test.ts": 17090,
+ "test/belief-ledger-purge-review.test.ts": 161470,
+ "test/belief-ledger-purge.test.ts": 156585,
+ "test/belief-ledger-restore.test.ts": 241904,
+ "test/belief-ledger-touched.test.ts": 46259,
+ "test/belief-ledger-trust.test.ts": 15498,
+ "test/belief-ledger-w5-time-model.test.ts": 17625,
+ "test/belief-ledger-weekly-diff.test.ts": 55665,
+ "test/belief-ledger-weekly-probes.test.ts": 33680,
+ "test/capacity-bounded-read-6803.test.ts": 7978,
+ "test/capture-consent-admission.test.ts": 9225,
+ "test/capture-dispatch-provenance-6524.test.ts": 4899,
+ "test/chronicle-backfill-max-usd.test.ts": 4773,
+ "test/claim-fifo-foreground-waiting.test.ts": 5008,
+ "test/claim-lease-holder-only-6712.test.ts": 6386,
+ "test/claude-cli-output-cap.test.ts": 5061,
+ "test/cli-page-writes.test.ts": 150801,
+ "test/colon-slug-windows-5032.test.ts": 13131,
+ "test/company-brain-policy.test.ts": 13144,
+ "test/company-brain-runtime.test.ts": 24019,
+ "test/consolidate-same-instant-6023.test.ts": 19400,
+ "test/conversation-facts-oversized-sidecar.test.ts": 7176,
+ "test/cycle/synthesize-concepts-merge.test.ts": 7407,
+ "test/decide/conflict-proposals-managed.test.ts": 8565,
+ "test/declared-lineage-visibility.test.ts": 5227,
+ "test/derived-link-reconciliation.test.ts": 9487,
+ "test/doctor-frontmatter-holds.test.ts": 11051,
+ "test/doctor-image-embedding-coverage.test.ts": 6488,
+ "test/doctor-keyword-plan-6495.test.ts": 7096,
+ "test/doctor-routing-skill-pack-source.test.ts": 5321,
+ "test/doctor-sync-freshness-skill-pack-6076.test.ts": 4822,
+ "test/embed-stale-images-managed-6529.test.ts": 14902,
+ "test/embedding-completion-atomic.serial.test.ts": 6146,
+ "test/engine-sql-facts-keyset.test.ts": 6700,
+ "test/extract-all-stamp-intersection.serial.test.ts": 8548,
+ "test/extract-atoms-input-truncated-6503.test.ts": 16564,
+ "test/extract-endpoint-revision.serial.test.ts": 18889,
+ "test/extract-entities-managed.test.ts": 23903,
+ "test/extract-timeline-from-meetings-managed.test.ts": 17020,
+ "test/extraction-watermark-atoms.test.ts": 6100,
+ "test/fact-fence-adoption-exits.test.ts": 21734,
+ "test/fact-purge-lookup-timeout-6511.test.ts": 4079,
+ "test/facts-publication-large-fence-6898.test.ts": 39404,
+ "test/fence-repair-receipts.test.ts": 12810,
+ "test/forecast-journal.test.ts": 32432,
+ "test/frontmatter-reserved-keys-6454.test.ts": 6595,
+ "test/get-chunks-paging.test.ts": 4905,
+ "test/graduation-copy.test.ts": 58035,
+ "test/graduation-digest.test.ts": 3062,
+ "test/graduation-drain.test.ts": 9667,
+ "test/graduation-inventory.test.ts": 4290,
+ "test/graduation-rollback.test.ts": 164405,
+ "test/graduation-state.test.ts": 190356,
+ "test/graduation-target.test.ts": 6771,
+ "test/graduation-verify-sync-freshness.test.ts": 4794,
+ "test/graduation-verify.test.ts": 22451,
+ "test/grandfather-managed.test.ts": 63785,
+ "test/harness-skills-epoch.test.ts": 6082,
+ "test/held-read-signals.test.ts": 6119,
+ "test/hold-action-chain-6712.test.ts": 14094,
+ "test/import-file-result-callback-gbra130.test.ts": 9483,
- "test/import-frontmatter-key-order-5158.test.ts": 3688,
- "test/import-inline-chunk-keep.test.ts": 4723,
- "test/import-revision-concurrency.test.ts": 5265,
- "test/keyword-statement-timeout-knob-6495.test.ts": 13243,
- "test/keyword-timeout-negative-cache-6495.test.ts": 4794,
- "test/lane-apply-pipelining.test.ts": 2670,
- "test/large-pages/chunk-retirement-plan.test.ts": 2737,
- "test/large-pages/chunk-visibility.test.ts": 5585,
- "test/large-pages/contextual-reembed-segmented.test.ts": 7352,
- "test/large-pages/credential-reseal-segments.test.ts": 4250,
- "test/large-pages/doctor-skipped-segmented.test.ts": 15001,
- "test/large-pages/forget-reason-segmented.test.ts": 7395,
- "test/large-pages/forget-scope.test.ts": 18442,
- "test/large-pages/gbra117-segmented-classes-window.test.ts": 46530,
- "test/large-pages/held-budget-count-list.test.ts": 11402,
- "test/large-pages/held-budget-shrink.test.ts": 8598,
- "test/large-pages/managed-import-outside-root.test.ts": 22140,
- "test/large-pages/managed-links-timeline-heap.test.ts": 29488,
- "test/large-pages/managed-streamed-import.test.ts": 50053,
- "test/large-pages/managed-sync-segmented-rename.test.ts": 20326,
- "test/large-pages/managed-sync-streamed.test.ts": 145067,
- "test/large-pages/oversized-backfill-segmented.test.ts": 5646,
- "test/large-pages/page-purge-segments.test.ts": 24378,
- "test/large-pages/pinned-segmented-reads.test.ts": 26016,
- "test/large-pages/projection-claim-ownership.test.ts": 14848,
- "test/large-pages/projection-demotion-race.test.ts": 5313,
- "test/large-pages/projection-parity.test.ts": 31596,
- "test/large-pages/publication-seal-bounded.test.ts": 14968,
- "test/large-pages/purge-fact-inflight-staging.test.ts": 8807,
- "test/large-pages/purge-fact-segmented-preimage.test.ts": 10514,
- "test/large-pages/purge-inflight-create.test.ts": 7911,
- "test/large-pages/purge-replay-segments.test.ts": 7700,
- "test/large-pages/purge-segment-residue.test.ts": 9283,
- "test/large-pages/purge-segmented-versions-batch.test.ts": 7693,
- "test/large-pages/purge-segments.test.ts": 9516,
- "test/large-pages/recovery-budget-ceiling.slow.test.ts": 170172,
- "test/large-pages/recovery-budget-default.test.ts": 10261,
- "test/large-pages/remote-get-page-privacy.test.ts": 65142,
- "test/large-pages/remote-versions-storage-change.test.ts": 5666,
- "test/large-pages/remote-window-privacy.test.ts": 35743,
- "test/large-pages/restore-deferred-retire.test.ts": 15979,
- "test/large-pages/restore-publication-statement-bound.test.ts": 17572,
- "test/large-pages/restore-segmented-reprojects.test.ts": 67345,
- "test/large-pages/sealed-segmented-search.test.ts": 7091,
- "test/large-pages/second-write-deferred-retire.test.ts": 10851,
- "test/large-pages/segment-rewrite-cr-tier.test.ts": 7416,
- "test/large-pages/segment-vector-reuse.test.ts": 6070,
- "test/large-pages/segmented-append-reembed.test.ts": 5826,
- "test/large-pages/segmented-body-unreachable.test.ts": 6697,
- "test/large-pages/segmented-bom.test.ts": 9681,
- "test/large-pages/segmented-conversation-facts.test.ts": 30205,
- "test/large-pages/segmented-conversation-sidecar-token.test.ts": 22311,
- "test/large-pages/segmented-core-list.test.ts": 17456,
- "test/large-pages/segmented-create-searchable.test.ts": 15985,
- "test/large-pages/segmented-delete-crash.slow.test.ts": 43357,
- "test/large-pages/segmented-delete-restore-file.slow.test.ts": 108045,
- "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 90164,
- "test/large-pages/segmented-derived-parity.test.ts": 14763,
- "test/large-pages/segmented-derived-passes.test.ts": 17100,
- "test/large-pages/segmented-derived-work.test.ts": 77934,
- "test/large-pages/segmented-embedding-paths.test.ts": 23400,
- "test/large-pages/segmented-embedding.test.ts": 4002,
- "test/large-pages/segmented-evidence-read-cost.test.ts": 31203,
- "test/large-pages/segmented-evidence.test.ts": 29917,
- "test/large-pages/segmented-extraction-stale.test.ts": 8051,
- "test/large-pages/segmented-facts-forced-lines.test.ts": 10990,
- "test/large-pages/segmented-facts-reconcile.test.ts": 93112,
- "test/large-pages/segmented-file-drift-ledger.test.ts": 36167,
- "test/large-pages/segmented-file-drift.test.ts": 80967,
- "test/large-pages/segmented-forced-cuts.test.ts": 42102,
- "test/large-pages/segmented-frontmatter-reimport.test.ts": 25111,
- "test/large-pages/segmented-get-cli.test.ts": 16849,
- "test/large-pages/segmented-get-page-parity.test.ts": 14408,
- "test/large-pages/segmented-leads.test.ts": 10530,
- "test/large-pages/segmented-loser-chunks.test.ts": 4854,
- "test/large-pages/segmented-maintenance-commands.test.ts": 16633,
- "test/large-pages/segmented-prior-view.test.ts": 16198,
- "test/large-pages/segmented-read-refusals.test.ts": 10185,
- "test/large-pages/segmented-real-size.slow.test.ts": 33834,
- "test/large-pages/segmented-remember-refusal.test.ts": 21630,
- "test/large-pages/segmented-repair-scans.test.ts": 12535,
- "test/large-pages/segmented-retained-blocks.test.ts": 45227,
- "test/large-pages/segmented-search-dedup.test.ts": 9634,
- "test/large-pages/segmented-semantic-writes-near-ceiling.slow.test.ts": 77640,
- "test/large-pages/segmented-semantic-writes.test.ts": 37156,
- "test/large-pages/segmented-shrink-below-ceiling.test.ts": 77622,
- "test/large-pages/segmented-storage-visibility.test.ts": 11703,
- "test/large-pages/segmented-sweep-budget.test.ts": 18826,
- "test/large-pages/segmented-sweep-deferral.test.ts": 11141,
- "test/large-pages/segmented-switch.test.ts": 18632,
- "test/large-pages/segmented-think-compile-leads.serial.test.ts": 9608,
- "test/large-pages/segmented-timeline-heap.test.ts": 33102,
- "test/large-pages/segmented-timeline-retract-versions.test.ts": 7554,
- "test/large-pages/segmented-versions.test.ts": 2913,
- "test/large-pages/segmented-withdrawal-mirror.test.ts": 166882,
- "test/large-pages/segmented-withdrawn-fence-delete.test.ts": 56121,
- "test/large-pages/streamed-import-drift.test.ts": 34186,
- "test/large-pages/streamed-sync-origin-b14.test.ts": 56119,
- "test/large-pages/stuck-recovery-large.slow.test.ts": 156866,
- "test/large-pages/v252-master-reader-compat.test.ts": 5524,
- "test/link-cross-source.test.ts": 11834,
- "test/link-preparation-shared-index.test.ts": 8621,
- "test/links-attendance-blocked.test.ts": 6737,
- "test/managed-cycle-pull-upstream.test.ts": 7353,
- "test/managed-facts-withdrawal-recovery-6506.test.ts": 8445,
- "test/managed-facts-withdrawn-skip-6506.test.ts": 6922,
- "test/managed-lint.test.ts": 9139,
- "test/managed-maintenance-links.test.ts": 3479,
- "test/managed-sweep-corpus-windows.test.ts": 5982,
- "test/managed-sweep-refused-window-retry.test.ts": 10422,
- "test/managed-sweep-timeline.test.ts": 4035,
- "test/managed-sync-blocked-job-6858.test.ts": 8120,
- "test/managed-sync-bulk.test.ts": 192337,
+ "test/import-frontmatter-key-order-5158.test.ts": 8622,
+ "test/import-inline-chunk-keep.test.ts": 5210,
+ "test/import-revision-concurrency.test.ts": 6353,
+ "test/keyword-statement-timeout-knob-6495.test.ts": 18873,
+ "test/keyword-timeout-negative-cache-6495.test.ts": 10927,
+ "test/lane-apply-pipelining.test.ts": 5516,
+ "test/large-pages/append-concurrency.test.ts": 16218,
+ "test/large-pages/append-cost.test.ts": 45380,
+ "test/large-pages/chunk-retirement-plan.test.ts": 4689,
+ "test/large-pages/chunk-visibility.test.ts": 8197,
+ "test/large-pages/contextual-reembed-segmented.test.ts": 8381,
+ "test/large-pages/credential-reseal-segments.test.ts": 8976,
+ "test/large-pages/doctor-skipped-segmented.test.ts": 14768,
+ "test/large-pages/edit-segmented.test.ts": 20062,
+ "test/large-pages/forget-reason-segmented.test.ts": 9428,
+ "test/large-pages/forget-scope.test.ts": 21653,
+ "test/large-pages/gbra117-segmented-classes-window.test.ts": 57771,
+ "test/large-pages/held-budget-count-list.test.ts": 14032,
+ "test/large-pages/held-budget-shrink.test.ts": 15961,
+ "test/large-pages/managed-import-outside-root.test.ts": 26109,
+ "test/large-pages/managed-links-timeline-heap.test.ts": 23840,
+ "test/large-pages/managed-streamed-import.test.ts": 61220,
+ "test/large-pages/managed-sync-segmented-rename.test.ts": 25727,
+ "test/large-pages/managed-sync-streamed.test.ts": 157174,
+ "test/large-pages/oversized-backfill-segmented.test.ts": 10185,
+ "test/large-pages/page-purge-segments.test.ts": 38715,
+ "test/large-pages/pinned-segmented-reads.test.ts": 26186,
+ "test/large-pages/projection-claim-ownership.test.ts": 21355,
+ "test/large-pages/projection-demotion-race.test.ts": 4787,
+ "test/large-pages/projection-parity.test.ts": 47379,
+ "test/large-pages/publication-seal-bounded.test.ts": 23696,
+ "test/large-pages/purge-fact-inflight-staging.test.ts": 15438,
+ "test/large-pages/purge-fact-segmented-preimage.test.ts": 17614,
+ "test/large-pages/purge-inflight-create.test.ts": 10346,
+ "test/large-pages/purge-replay-segments.test.ts": 10018,
+ "test/large-pages/purge-segment-residue.test.ts": 13456,
+ "test/large-pages/purge-segmented-versions-batch.test.ts": 11211,
+ "test/large-pages/purge-segments.test.ts": 11345,
+ "test/large-pages/recovery-budget-ceiling.slow.test.ts": 171831,
+ "test/large-pages/recovery-budget-default.test.ts": 5750,
+ "test/large-pages/remote-get-page-privacy.test.ts": 53242,
+ "test/large-pages/remote-versions-storage-change.test.ts": 6914,
+ "test/large-pages/remote-window-privacy.test.ts": 55133,
+ "test/large-pages/restore-deferred-retire.test.ts": 21036,
+ "test/large-pages/restore-publication-statement-bound.test.ts": 15103,
+ "test/large-pages/restore-segmented-reprojects.test.ts": 65902,
+ "test/large-pages/sealed-segmented-search.test.ts": 11386,
+ "test/large-pages/second-write-deferred-retire.test.ts": 14991,
+ "test/large-pages/segment-rewrite-cr-tier.test.ts": 7353,
+ "test/large-pages/segment-vector-reuse.test.ts": 4237,
+ "test/large-pages/segmented-append-reembed.test.ts": 8155,
+ "test/large-pages/segmented-body-unreachable.test.ts": 7162,
+ "test/large-pages/segmented-bom.test.ts": 14211,
+ "test/large-pages/segmented-conversation-facts.test.ts": 34917,
+ "test/large-pages/segmented-conversation-sidecar-token.test.ts": 24643,
+ "test/large-pages/segmented-core-list.test.ts": 20324,
+ "test/large-pages/segmented-create-searchable.test.ts": 23069,
+ "test/large-pages/segmented-delete-crash.slow.test.ts": 53536,
+ "test/large-pages/segmented-delete-restore-file.slow.test.ts": 138337,
+ "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 143122,
+ "test/large-pages/segmented-derived-parity.test.ts": 13896,
+ "test/large-pages/segmented-derived-passes.test.ts": 18397,
+ "test/large-pages/segmented-derived-work.test.ts": 86172,
+ "test/large-pages/segmented-embedding-paths.test.ts": 38086,
+ "test/large-pages/segmented-embedding.test.ts": 5047,
+ "test/large-pages/segmented-evidence-read-cost.test.ts": 25097,
+ "test/large-pages/segmented-evidence.test.ts": 51194,
+ "test/large-pages/segmented-extraction-stale.test.ts": 13572,
+ "test/large-pages/segmented-facts-forced-lines.test.ts": 10415,
+ "test/large-pages/segmented-facts-reconcile.test.ts": 112505,
+ "test/large-pages/segmented-file-drift-ledger.test.ts": 43807,
+ "test/large-pages/segmented-file-drift.test.ts": 95290,
+ "test/large-pages/segmented-forced-cuts.test.ts": 71594,
+ "test/large-pages/segmented-frontmatter-reimport.test.ts": 29054,
+ "test/large-pages/segmented-get-cli.test.ts": 25297,
+ "test/large-pages/segmented-get-page-parity.test.ts": 14878,
+ "test/large-pages/segmented-leads.test.ts": 12015,
+ "test/large-pages/segmented-loser-chunks.test.ts": 10890,
+ "test/large-pages/segmented-maintenance-commands.test.ts": 17710,
+ "test/large-pages/segmented-prior-view.test.ts": 10152,
+ "test/large-pages/segmented-read-refusals.test.ts": 14331,
+ "test/large-pages/segmented-real-size.slow.test.ts": 39799,
+ "test/large-pages/segmented-remember-refusal.test.ts": 21002,
+ "test/large-pages/segmented-repair-scans.test.ts": 19926,
+ "test/large-pages/segmented-retained-blocks.test.ts": 58860,
+ "test/large-pages/segmented-search-dedup.test.ts": 14036,
+ "test/large-pages/segmented-semantic-writes-near-ceiling.slow.test.ts": 75707,
+ "test/large-pages/segmented-semantic-writes.test.ts": 66226,
+ "test/large-pages/segmented-shrink-below-ceiling.test.ts": 107090,
+ "test/large-pages/segmented-storage-visibility.test.ts": 19886,
+ "test/large-pages/segmented-sweep-budget.test.ts": 21059,
+ "test/large-pages/segmented-sweep-deferral.test.ts": 13190,
+ "test/large-pages/segmented-switch.test.ts": 35298,
+ "test/large-pages/segmented-think-compile-leads.serial.test.ts": 13196,
+ "test/large-pages/segmented-timeline-heap.test.ts": 60256,
+ "test/large-pages/segmented-timeline-retract-versions.test.ts": 7817,
+ "test/large-pages/segmented-versions.test.ts": 6318,
+ "test/large-pages/segmented-withdrawal-mirror.test.ts": 199407,
+ "test/large-pages/segmented-withdrawn-fence-delete.test.ts": 72381,
+ "test/large-pages/streamed-import-drift.test.ts": 25493,
+ "test/large-pages/streamed-sync-origin-b14.test.ts": 78496,
+ "test/large-pages/stuck-recovery-large.slow.test.ts": 173117,
+ "test/large-pages/upload-binding.test.ts": 5868,
+ "test/large-pages/upload-over-ceiling.test.ts": 82329,
+ "test/large-pages/v252-master-reader-compat.test.ts": 7524,
+ "test/link-cross-source.test.ts": 14554,
+ "test/link-preparation-shared-index.test.ts": 9811,
+ "test/links-attendance-blocked.test.ts": 6877,
+ "test/managed-cycle-pull-upstream.test.ts": 9268,
+ "test/managed-facts-withdrawal-recovery-6506.test.ts": 7609,
+ "test/managed-facts-withdrawn-skip-6506.test.ts": 8956,
+ "test/managed-lint.test.ts": 11847,
+ "test/managed-maintenance-links.test.ts": 7151,
+ "test/managed-sweep-corpus-windows.test.ts": 6622,
+ "test/managed-sweep-refused-window-retry.test.ts": 13761,
+ "test/managed-sweep-timeline.test.ts": 6455,
+ "test/managed-sync-blocked-job-6858.test.ts": 9186,
+ "test/managed-sync-bulk.test.ts": 212286,
- "test/managed-sync-checkpoint-replaced.test.ts": 12842,
+ "test/managed-sync-checkpoint-controls-company.test.ts": 11991,
- "test/managed-sync-chunker-version.test.ts": 4086,
- "test/managed-sync-concurrent-write-hold.test.ts": 13853,
- "test/managed-sync-connection-loss.test.ts": 10736,
- "test/managed-sync-drain.test.ts": 8298,
- "test/managed-sync-foreground-priority.test.ts": 69165,
- "test/managed-sync-gate-markers-6858.test.ts": 7935,
- "test/managed-sync-group-completion.test.ts": 12061,
- "test/managed-sync-group-uncommitted-head.test.ts": 11332,
- "test/managed-sync-images-5493.test.ts": 10319,
- "test/managed-sync-keep-disk-6858.test.ts": 31170,
- "test/managed-sync-lanes.test.ts": 21376,
- "test/managed-sync-orphans-incarnation-6518.test.ts": 4759,
- "test/managed-sync-page-fault-holds.test.ts": 22482,
- "test/managed-sync-pinned-reads.test.ts": 38245,
- "test/managed-sync-preparation-stalled-holds.test.ts": 33659,
- "test/managed-sync-row-parity.test.ts": 10921,
- "test/managed-sync-stale-group-head.test.ts": 6864,
- "test/migration-persistence-request-id-index.test.ts": 7641,
- "test/migration-persistence-request-slug-index.test.ts": 5012,
- "test/on-commit-embedding.serial.test.ts": 11674,
- "test/origin-guard-6948.test.ts": 13242,
- "test/origin-twins-6948.test.ts": 3971,
- "test/overwritten-edits-6712.test.ts": 34328,
- "test/owner-refusal.test.ts": 3555,
- "test/pack-relation-direction-engine.test.ts": 4657,
- "test/page-embedding-budget.test.ts": 3600,
- "test/page-embedding-content-validity.test.ts": 7275,
- "test/page-embedding-install-batch.test.ts": 2633,
- "test/page-prepare-shared-origin-6517.test.ts": 11806,
- "test/page-purge-batch-sweep-6884.test.ts": 10457,
- "test/page-purge-journal-timeout-6511.test.ts": 18585,
- "test/page-state-engine.test.ts": 5502,
- "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 5088,
- "test/pathological/a-42-atom-dot-led-slug.test.ts": 8966,
- "test/pathological/a-51-conversation-batch-booking.test.ts": 9784,
- "test/pathological/a-60-belief-commit-mark.test.ts": 4669,
- "test/pathological/a-65-captured-facts-unreadable-corpus.test.ts": 4044,
- "test/pathological/a1-links-extract.test.ts": 36461,
- "test/pathological/a10-global-maintenance-stamp.test.ts": 3908,
- "test/pathological/a11-effect-retry-budget.test.ts": 32535,
- "test/pathological/a12-withdrawal-mirror-gate.test.ts": 63543,
- "test/pathological/a13-embedding-target-park.test.ts": 27136,
- "test/pathological/a15-deactivate-exits.test.ts": 9419,
- "test/pathological/a18-ledger-path-text.test.ts": 35113,
- "test/pathological/a2-transcripts-ingest.test.ts": 45441,
- "test/pathological/a21-facts-expire-deleted.test.ts": 21817,
- "test/pathological/a22-consolidate-buckets.test.ts": 25579,
- "test/pathological/a23-patterns-grounding.test.ts": 49012,
- "test/pathological/a24-phantom-redirect-cursor.test.ts": 34386,
- "test/pathological/a25-propose-takes-poison-pages.test.ts": 25824,
- "test/pathological/a26-safe-chunks-reseal.test.ts": 4670,
- "test/pathological/a27-credential-reseal.test.ts": 8453,
- "test/pathological/a3-google-items.test.ts": 123567,
- "test/pathological/a30-watchdog-attribution.test.ts": 4061,
- "test/pathological/a31-migrate-loop-rows.serial.test.ts": 34901,
- "test/pathological/a4-synthesize-postprocess.test.ts": 11962,
- "test/pathological/a41-maintain-sources.test.ts": 22813,
- "test/pathological/a44-slug-conflicts-rotation.test.ts": 37773,
- "test/pathological/a45-repair-all-kinds.test.ts": 4099,
- "test/pathological/a46-content-lane-kinds.test.ts": 4295,
- "test/pathological/a47-backfill-poison-row.test.ts": 5120,
- "test/pathological/a49-unmanaged-purge-tombstones.test.ts": 41357,
- "test/pathological/a50-unmanaged-expired-sources.test.ts": 4504,
- "test/pathological/a9-repair-core.test.ts": 3099,
- "test/pathological/b-10-ontology-rekey-collision.test.ts": 2882,
- "test/pathological/b-7-facts-pageless-entity.test.ts": 11119,
- "test/pathological/b-9-enrich-retired-alias.test.ts": 3385,
- "test/pathological/b12-slug-segment-bytes.test.ts": 15572,
- "test/pathological/b5-enrich-entity-identity.test.ts": 4386,
- "test/pathological/b5-export-unsafe-slugs.test.ts": 15224,
- "test/pathological/b6-triage-verdict-surrogate.test.ts": 5390,
- "test/pathological/c-23-override-and-doctor-fixes.test.ts": 5645,
- "test/pathological/c-9-facts-absorb-dead.test.ts": 8130,
- "test/pathological/c1-effect-stuck-recovery.test.ts": 32688,
- "test/pathological/c2-url-clone-fences.test.ts": 66923,
- "test/pathological/c22-stuck-recovery-large-file.test.ts": 27971,
- "test/pathological/c4-bundle-stuck-recovery.test.ts": 108588,
- "test/pathological/c5-writer-transfer-cancel.test.ts": 30470,
- "test/pathological/c7-content-receipt-root.test.ts": 25841,
- "test/pathological/d1-unfenced-facts-overwrite.test.ts": 33354,
- "test/pathological/d10-derived-atom-file-overwrite.test.ts": 20504,
- "test/pathological/d11-derived-retired-atom-unlink.test.ts": 16414,
- "test/pathological/d12-concept-stale-fences.test.ts": 19616,
- "test/pathological/d13-concept-occupied-path.test.ts": 14278,
- "test/pathological/d14-brainstorm-resume-overwrite.test.ts": 15131,
- "test/pathological/d15-sync-reexport-overwrite.test.ts": 16371,
- "test/pathological/d16-google-file-replacement.test.ts": 35702,
- "test/pathological/d17-github-file-replacement.test.ts": 37650,
- "test/pathological/d18-think-take-db-only.test.ts": 29351,
- "test/pathological/d19-takes-bootstrap-db-only.test.ts": 28211,
- "test/pathological/d2-fence-write-overwrite.test.ts": 36841,
- "test/pathological/d21-migration-verifier-record.test.ts": 44251,
- "test/pathological/d22-legacy-hash-body-history.test.ts": 37122,
- "test/pathological/d23-extract-atoms-db-only.test.ts": 17273,
- "test/pathological/d3-forget-overwrite.test.ts": 62142,
- "test/pathological/d4-proposal-overwrite.test.ts": 42975,
- "test/pathological/d5-phantom-canonical-overwrite.test.ts": 25576,
- "test/pathological/d6-phantom-file-unlink.test.ts": 16082,
- "test/pathological/d7-synthesize-reverse-write.test.ts": 16897,
- "test/pathological/d8-patterns-reverse-write.test.ts": 36978,
- "test/pathological/d9-dream-summary-overwrite.test.ts": 22109,
- "test/pathological/facts-mirror-failures.test.ts": 64584,
- "test/pathological/h1-zero-yield-atom-reextract.test.ts": 9169,
- "test/pathological/h2-git-effect-moved-remote.test.ts": 13003,
- "test/pathological/h3-chronicle-partial-generation.test.ts": 46429,
- "test/pathological/h4-conversation-facts-zero-yield.test.ts": 54453,
- "test/pathological/h5-atoms-restore.test.ts": 14467,
- "test/pathological/lp-a-segmented-mirror.test.ts": 34584,
- "test/pathological/lp-b-transient-retry-budget.test.ts": 71023,
- "test/pathological/lp-c-publication-ceiling-retry.test.ts": 60554,
- "test/pathological/lp-d-recovery-version.test.ts": 10709,
- "test/pathological/lp-d-segmented-mirror-gate.test.ts": 10614,
- "test/pathological/lp-f-split-fence-withdrawal-capacity.test.ts": 7852,
- "test/pathological/lp-g-file-digest-fence-bound.test.ts": 18975,
- "test/pathological/lp-h-purge-orphan-segment-text.test.ts": 34118,
- "test/pathological/w1-write-through-staging-window.serial.test.ts": 8784,
- "test/persistence-background-pause.test.ts": 6043,
- "test/persistence-bounded-read-session.test.ts": 5845,
- "test/persistence-capacity-forecast.test.ts": 7572,
- "test/persistence-capacity-notices.test.ts": 5329,
- "test/persistence-commit-durability.test.ts": 6112,
- "test/persistence-deactivate.test.ts": 17433,
- "test/persistence-diagnostics.test.ts": 10324,
- "test/persistence-edit-embedding-reuse.test.ts": 8050,
- "test/persistence-embedding-noop-settle.test.ts": 8169,
- "test/persistence-file-import.test.ts": 37845,
- "test/persistence-git-subdir-origin.test.ts": 14632,
- "test/persistence-graph-publication.test.ts": 10752,
- "test/persistence-history-fixture.test.ts": 31972,
- "test/persistence-image-import.serial.test.ts": 8351,
- "test/persistence-import-batch.test.ts": 27619,
- "test/persistence-managed-lifecycle.test.ts": 13323,
- "test/persistence-managed-sync.test.ts": 85680,
- "test/persistence-manifest-git-scope.test.ts": 5746,
- "test/persistence-memory-mutations.test.ts": 16832,
- "test/persistence-page-authority.test.ts": 6036,
- "test/persistence-physical-root-device.test.ts": 6646,
- "test/persistence-preactivation-claim.test.ts": 9660,
- "test/persistence-publication-deadline.test.ts": 13988,
- "test/persistence-receipt-true-up.test.ts": 7501,
- "test/persistence-reconcile-git-dirty-6138.test.ts": 7097,
- "test/persistence-skill-bundles.serial.test.ts": 7470,
- "test/persistence-skill-crash.slow.test.ts": 41841,
- "test/persistence-skip-cost.test.ts": 6115,
- "test/persistence-sync-cursor-options.test.ts": 10332,
- "test/persistence-sync-cursor-strategy-6696.test.ts": 11371,
- "test/persistence-sync-fence-holds.test.ts": 19636,
- "test/persistence-sync-holds.test.ts": 16371,
- "test/persistence-sync-lease.test.ts": 30822,
- "test/persistence-write-interrupted.test.ts": 52234,
- "test/persistence-write-stall.test.ts": 6319,
- "test/persistence-writer-fences.test.ts": 6364,
- "test/physical-root-birth-tolerance-6501.test.ts": 7541,
- "test/purge-fact.test.ts": 8119,
- "test/purge-global-marker.test.ts": 8675,
- "test/purge-missing-cache-6911.test.ts": 12745,
- "test/purge-read-surfaces.test.ts": 12277,
- "test/recall-page-fill.test.ts": 7538,
+ "test/managed-sync-chunker-version.test.ts": 7347,
+ "test/managed-sync-concurrent-write-hold.test.ts": 15407,
+ "test/managed-sync-connection-loss.test.ts": 12218,
+ "test/managed-sync-drain.test.ts": 6422,
+ "test/managed-sync-foreground-priority.test.ts": 73405,
+ "test/managed-sync-gate-markers-6858.test.ts": 7566,
+ "test/managed-sync-group-completion.test.ts": 14210,
+ "test/managed-sync-group-uncommitted-head.test.ts": 11869,
+ "test/managed-sync-images-5493.test.ts": 9229,
+ "test/managed-sync-keep-disk-6858.test.ts": 35140,
+ "test/managed-sync-lanes.test.ts": 26749,
+ "test/managed-sync-orphans-incarnation-6518.test.ts": 7084,
+ "test/managed-sync-page-fault-holds.test.ts": 37178,
+ "test/managed-sync-pinned-reads.test.ts": 38158,
+ "test/managed-sync-preparation-stalled-holds.test.ts": 31703,
+ "test/managed-sync-row-parity.test.ts": 11765,
+ "test/managed-sync-stale-group-head.test.ts": 6036,
+ "test/migration-persistence-request-id-index.test.ts": 9227,
+ "test/migration-persistence-request-slug-index.test.ts": 10198,
+ "test/on-commit-embedding.serial.test.ts": 9325,
+ "test/origin-guard-6948.test.ts": 11025,
+ "test/origin-twins-6948.test.ts": 4878,
+ "test/overwritten-edits-6712.test.ts": 38246,
+ "test/owner-refusal.test.ts": 9468,
+ "test/pack-relation-direction-engine.test.ts": 7377,
+ "test/page-embedding-budget.test.ts": 4961,
+ "test/page-embedding-content-validity.test.ts": 5515,
+ "test/page-embedding-install-batch.test.ts": 6145,
+ "test/page-prepare-shared-origin-6517.test.ts": 14424,
+ "test/page-purge-batch-sweep-6884.test.ts": 12766,
+ "test/page-purge-journal-timeout-6511.test.ts": 16889,
+ "test/page-state-engine.test.ts": 5906,
+ "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 10666,
+ "test/pathological/a-42-atom-dot-led-slug.test.ts": 11050,
+ "test/pathological/a-51-conversation-batch-booking.test.ts": 15506,
+ "test/pathological/a-60-belief-commit-mark.test.ts": 5709,
+ "test/pathological/a-65-captured-facts-unreadable-corpus.test.ts": 6183,
+ "test/pathological/a1-links-extract.test.ts": 40615,
+ "test/pathological/a10-global-maintenance-stamp.test.ts": 6620,
+ "test/pathological/a11-effect-retry-budget.test.ts": 45277,
+ "test/pathological/a12-withdrawal-mirror-gate.test.ts": 83732,
+ "test/pathological/a13-embedding-target-park.test.ts": 31342,
+ "test/pathological/a15-deactivate-exits.test.ts": 15848,
+ "test/pathological/a18-ledger-path-text.test.ts": 31241,
+ "test/pathological/a2-transcripts-ingest.test.ts": 95792,
+ "test/pathological/a21-facts-expire-deleted.test.ts": 40615,
+ "test/pathological/a22-consolidate-buckets.test.ts": 35472,
+ "test/pathological/a23-patterns-grounding.test.ts": 111250,
+ "test/pathological/a24-phantom-redirect-cursor.test.ts": 39032,
+ "test/pathological/a25-propose-takes-poison-pages.test.ts": 40713,
+ "test/pathological/a26-safe-chunks-reseal.test.ts": 7060,
+ "test/pathological/a27-credential-reseal.test.ts": 8756,
+ "test/pathological/a3-google-items.test.ts": 156408,
+ "test/pathological/a30-watchdog-attribution.test.ts": 5570,
+ "test/pathological/a31-migrate-loop-rows.serial.test.ts": 32874,
+ "test/pathological/a4-synthesize-postprocess.test.ts": 14451,
+ "test/pathological/a41-maintain-sources.test.ts": 42429,
+ "test/pathological/a44-slug-conflicts-rotation.test.ts": 57811,
+ "test/pathological/a45-repair-all-kinds.test.ts": 7055,
+ "test/pathological/a46-content-lane-kinds.test.ts": 6935,
+ "test/pathological/a47-backfill-poison-row.test.ts": 4473,
+ "test/pathological/a49-unmanaged-purge-tombstones.test.ts": 45446,
+ "test/pathological/a50-unmanaged-expired-sources.test.ts": 5225,
+ "test/pathological/a9-repair-core.test.ts": 3985,
+ "test/pathological/b-10-ontology-rekey-collision.test.ts": 4512,
+ "test/pathological/b-7-facts-pageless-entity.test.ts": 15476,
+ "test/pathological/b-9-enrich-retired-alias.test.ts": 4708,
+ "test/pathological/b12-slug-segment-bytes.test.ts": 18855,
+ "test/pathological/b5-enrich-entity-identity.test.ts": 6868,
+ "test/pathological/b5-export-unsafe-slugs.test.ts": 21834,
+ "test/pathological/b6-triage-verdict-surrogate.test.ts": 5703,
+ "test/pathological/c-23-override-and-doctor-fixes.test.ts": 8076,
+ "test/pathological/c-9-facts-absorb-dead.test.ts": 9804,
+ "test/pathological/c1-effect-stuck-recovery.test.ts": 48184,
+ "test/pathological/c2-url-clone-fences.test.ts": 55663,
+ "test/pathological/c22-stuck-recovery-large-file.test.ts": 29212,
+ "test/pathological/c4-bundle-stuck-recovery.test.ts": 113150,
+ "test/pathological/c5-writer-transfer-cancel.test.ts": 34238,
+ "test/pathological/c7-content-receipt-root.test.ts": 39608,
+ "test/pathological/d1-unfenced-facts-overwrite.test.ts": 38850,
+ "test/pathological/d10-derived-atom-file-overwrite.test.ts": 19519,
+ "test/pathological/d11-derived-retired-atom-unlink.test.ts": 19924,
+ "test/pathological/d12-concept-stale-fences.test.ts": 29233,
+ "test/pathological/d13-concept-occupied-path.test.ts": 21920,
+ "test/pathological/d14-brainstorm-resume-overwrite.test.ts": 21198,
+ "test/pathological/d15-sync-reexport-overwrite.test.ts": 37008,
+ "test/pathological/d16-google-file-replacement.test.ts": 48486,
+ "test/pathological/d17-github-file-replacement.test.ts": 35880,
+ "test/pathological/d18-think-take-db-only.test.ts": 35348,
+ "test/pathological/d19-takes-bootstrap-db-only.test.ts": 21591,
+ "test/pathological/d2-fence-write-overwrite.test.ts": 30568,
+ "test/pathological/d21-migration-verifier-record.test.ts": 58026,
+ "test/pathological/d22-legacy-hash-body-history.test.ts": 64310,
+ "test/pathological/d23-extract-atoms-db-only.test.ts": 45346,
+ "test/pathological/d3-forget-overwrite.test.ts": 74086,
+ "test/pathological/d4-proposal-overwrite.test.ts": 143513,
+ "test/pathological/d5-phantom-canonical-overwrite.test.ts": 22226,
+ "test/pathological/d6-phantom-file-unlink.test.ts": 18299,
+ "test/pathological/d7-synthesize-reverse-write.test.ts": 23586,
+ "test/pathological/d8-patterns-reverse-write.test.ts": 45029,
+ "test/pathological/d9-dream-summary-overwrite.test.ts": 20328,
+ "test/pathological/facts-mirror-failures.test.ts": 99041,
+ "test/pathological/h1-zero-yield-atom-reextract.test.ts": 14469,
+ "test/pathological/h2-git-effect-moved-remote.test.ts": 18961,
+ "test/pathological/h3-chronicle-partial-generation.test.ts": 49930,
+ "test/pathological/h4-conversation-facts-zero-yield.test.ts": 70339,
+ "test/pathological/h5-atoms-restore.test.ts": 23859,
+ "test/pathological/lp-a-segmented-mirror.test.ts": 41557,
+ "test/pathological/lp-b-transient-retry-budget.test.ts": 72217,
+ "test/pathological/lp-c-publication-ceiling-retry.test.ts": 65767,
+ "test/pathological/lp-d-recovery-version.test.ts": 10790,
+ "test/pathological/lp-d-segmented-mirror-gate.test.ts": 15763,
+ "test/pathological/lp-f-split-fence-withdrawal-capacity.test.ts": 6308,
+ "test/pathological/lp-g-file-digest-fence-bound.test.ts": 20682,
+ "test/pathological/lp-h-purge-orphan-segment-text.test.ts": 43277,
+ "test/pathological/w1-write-through-staging-window.serial.test.ts": 9905,
+ "test/persistence-background-pause.test.ts": 11057,
+ "test/persistence-bounded-read-session.test.ts": 6915,
+ "test/persistence-capacity-forecast.test.ts": 11682,
+ "test/persistence-capacity-notices.test.ts": 5527,
+ "test/persistence-commit-durability.test.ts": 9596,
+ "test/persistence-deactivate.test.ts": 32286,
+ "test/persistence-diagnostics.test.ts": 9579,
+ "test/persistence-edit-embedding-reuse.test.ts": 10467,
+ "test/persistence-embedding-noop-settle.test.ts": 7255,
+ "test/persistence-file-import.test.ts": 37095,
+ "test/persistence-git-subdir-origin.test.ts": 18419,
+ "test/persistence-graph-publication.test.ts": 8399,
+ "test/persistence-history-fixture.test.ts": 35414,
+ "test/persistence-image-import.serial.test.ts": 9761,
+ "test/persistence-import-batch.test.ts": 27918,
+ "test/persistence-managed-lifecycle.test.ts": 29341,
+ "test/persistence-managed-sync.test.ts": 89448,
+ "test/persistence-manifest-git-scope.test.ts": 6514,
+ "test/persistence-memory-mutations.test.ts": 17404,
+ "test/persistence-page-authority.test.ts": 9207,
+ "test/persistence-physical-root-device.test.ts": 6971,
+ "test/persistence-preactivation-claim.test.ts": 16079,
+ "test/persistence-publication-deadline.test.ts": 17766,
+ "test/persistence-receipt-true-up.test.ts": 11653,
+ "test/persistence-reconcile-git-dirty-6138.test.ts": 6971,
+ "test/persistence-skill-bundles.serial.test.ts": 5771,
+ "test/persistence-skill-crash.slow.test.ts": 35187,
+ "test/persistence-skip-cost.test.ts": 8148,
- "test/persistence-sync-cursor-adoption.test.ts": 62093,
+ "test/persistence-sync-cursor-options.test.ts": 8167,
+ "test/persistence-sync-cursor-strategy-6696.test.ts": 7435,
+ "test/persistence-sync-fence-holds.test.ts": 27324,
+ "test/persistence-sync-holds.test.ts": 16685,
+ "test/persistence-sync-lease.test.ts": 29649,
+ "test/persistence-write-interrupted.test.ts": 54981,
+ "test/persistence-write-stall.test.ts": 5785,
+ "test/persistence-writer-fences.test.ts": 5211,
+ "test/physical-root-birth-tolerance-6501.test.ts": 10768,
+ "test/purge-fact.test.ts": 7443,
+ "test/purge-global-marker.test.ts": 8217,
+ "test/purge-missing-cache-6911.test.ts": 14061,
+ "test/purge-read-surfaces.test.ts": 24111,
+ "test/recall-page-fill.test.ts": 8434,
+ "test/receipt-compaction-newest-sync-gbra130.test.ts": 6976,
- "test/remediation-manual-only.test.ts": 7656,
- "test/repair-apply-pending-6543.test.ts": 39515,
- "test/repair-embedding-effects.test.ts": 4647,
- "test/repair-failed-writes-conflict-6429.test.ts": 3597,
- "test/repair-failed-writes-drift-w411.test.ts": 2969,
- "test/repair-fences.test.ts": 20691,
- "test/repair-file-drift-deleted-6712.test.ts": 7249,
+ "test/remediation-manual-only.test.ts": 10717,
+ "test/repair-apply-pending-6543.test.ts": 45060,
+ "test/repair-embedding-effects.test.ts": 8621,
+ "test/repair-failed-writes-conflict-6429.test.ts": 5831,
+ "test/repair-failed-writes-drift-w411.test.ts": 4869,
+ "test/repair-fences.test.ts": 21284,
+ "test/repair-file-drift-deleted-6712.test.ts": 17137,
+ "test/repair-file-drift-held-6712.test.ts": 11456,
- "test/repair-frontmatter-keys-sweep-6454.test.ts": 8534,
- "test/repair-frontmatter.test.ts": 12122,
- "test/repair-receipt-compaction.test.ts": 6140,
- "test/repair-rename-identity-6729.test.ts": 9167,
- "test/schema-missing-tables.test.ts": 4481,
- "test/scripts/test-stress-postgres.test.ts": 12105,
- "test/search-read-keyword-bound.test.ts": 5073,
- "test/search/page-rank-cut.test.ts": 12300,
- "test/search/rerank-gate-hybrid.test.ts": 4350,
- "test/search/rerank-gate-telemetry.test.ts": 5593,
- "test/serve-head-watcher-managed.serial.test.ts": 7934,
- "test/shared-content-freshness.test.ts": 8421,
- "test/shared-skills-catalog.test.ts": 45439,
- "test/shared-skills-retention-capacity.test.ts": 6446,
- "test/shared-skills-source-opt-out.test.ts": 5501,
- "test/shared-skills-writer-boundary.test.ts": 19691,
- "test/source-lifecycle-dry-run-physical-root-6849.test.ts": 4604,
- "test/source-retire-missing-checkout.test.ts": 7520,
- "test/source-row-diagnostics.test.ts": 5821,
- "test/stats-health-source-scope.test.ts": 3980,
+ "test/repair-frontmatter-keys-sweep-6454.test.ts": 6366,
+ "test/repair-frontmatter.test.ts": 20761,
+ "test/repair-receipt-compaction.test.ts": 7934,
+ "test/repair-rename-identity-6729.test.ts": 19511,
+ "test/schema-missing-tables.test.ts": 5768,
+ "test/scripts/test-stress-postgres.test.ts": 12514,
+ "test/search-read-keyword-bound.test.ts": 3880,
+ "test/search/page-rank-cut.test.ts": 15786,
+ "test/search/rerank-gate-hybrid.test.ts": 7051,
+ "test/search/rerank-gate-telemetry.test.ts": 4451,
+ "test/serve-head-watcher-managed.serial.test.ts": 9352,
+ "test/shared-content-freshness.test.ts": 5021,
+ "test/shared-skills-catalog.test.ts": 50961,
+ "test/shared-skills-retention-capacity.test.ts": 7867,
+ "test/shared-skills-source-opt-out.test.ts": 8261,
+ "test/shared-skills-writer-boundary.test.ts": 20997,
+ "test/source-lifecycle-dry-run-physical-root-6849.test.ts": 6510,
+ "test/source-retire-missing-checkout.test.ts": 7915,
+ "test/source-row-diagnostics.test.ts": 3849,
+ "test/stats-health-source-scope.test.ts": 5467,
+ "test/sync-absent-from-worktree-s27.test.ts": 32712,
+ "test/sync-admission-6712.test.ts": 11685,
- "test/sync-capacity-preflight.test.ts": 5008,
- "test/sync-checkpoint-moved-6834.test.ts": 8977,
- "test/sync-drain-claims.test.ts": 10165,
- "test/sync-drain-effect-recovery-blocked.test.ts": 4778,
- "test/sync-drain-head-blocked-6543.test.ts": 5199,
- "test/sync-drain-inpass-stall.test.ts": 3919,
- "test/sync-drain-write-capacity.test.ts": 6258,
- "test/sync-exits-l4-6712.test.ts": 7139,
- "test/sync-freshness-6858.test.ts": 5330,
- "test/sync-frontmatter-recovery.test.ts": 5126,
- "test/sync-frontmatter-slug-conflict.test.ts": 6270,
- "test/sync-full-cursor-slices-6349.test.ts": 11068,
- "test/sync-full-untracked-import-5459.test.ts": 6562,
- "test/sync-group-member-order.test.ts": 6694,
- "test/sync-handler-drain-6706.test.ts": 31757,
- "test/sync-import-provenance-disk.test.ts": 9017,
- "test/sync-inexact-rename-6729.test.ts": 23474,
- "test/sync-legacy-holds.test.ts": 8944,
- "test/sync-legacy-retry-actions-6696.test.ts": 5841,
- "test/sync-legacy-slug-adoption-6727.test.ts": 7552,
- "test/sync-origin-live-wins-6517.test.ts": 5408,
+ "test/sync-capacity-preflight.test.ts": 7356,
+ "test/sync-checkpoint-moved-6834.test.ts": 12406,
+ "test/sync-drain-claims.test.ts": 12360,
+ "test/sync-drain-effect-recovery-blocked.test.ts": 7645,
+ "test/sync-drain-head-blocked-6543.test.ts": 7125,
+ "test/sync-drain-inpass-stall.test.ts": 5505,
+ "test/sync-drain-write-capacity.test.ts": 8750,
+ "test/sync-exits-l4-6712.test.ts": 7326,
+ "test/sync-freshness-6858.test.ts": 6790,
+ "test/sync-frontmatter-recovery.test.ts": 6165,
+ "test/sync-frontmatter-slug-conflict.test.ts": 5429,
+ "test/sync-full-cursor-slices-6349.test.ts": 16372,
+ "test/sync-full-untracked-import-5459.test.ts": 12393,
+ "test/sync-group-member-order.test.ts": 15448,
+ "test/sync-handler-drain-6706.test.ts": 31370,
+ "test/sync-import-provenance-disk.test.ts": 14726,
+ "test/sync-inexact-rename-6729.test.ts": 21004,
+ "test/sync-legacy-holds.test.ts": 16170,
+ "test/sync-legacy-retry-actions-6696.test.ts": 8590,
+ "test/sync-legacy-slug-adoption-6727.test.ts": 12058,
+ "test/sync-origin-live-wins-6517.test.ts": 3806,
+ "test/sync-page-identity-hold-gbra130.test.ts": 47819,
+ "test/sync-page-write-failed-gbra130.test.ts": 21832,
+ "test/sync-pass-cost-grouping-gbra130.test.ts": 11343,
+ "test/sync-pass-dirty-after-freeze-gbra130.test.ts": 10630,
- "test/sync-prescreen-both-delta-6712.test.ts": 17820,
- "test/sync-prescreen-drift-6712.test.ts": 63476,
- "test/sync-slug-root-mode-6694.test.ts": 11364,
- "test/sync-staged-catchup.test.ts": 12194,
- "test/sync-status-failure-detail-6513.test.ts": 6210,
+ "test/sync-prescreen-both-delta-6712.test.ts": 31898,
+ "test/sync-prescreen-drift-6712.test.ts": 89670,
+ "test/sync-slug-root-mode-6694.test.ts": 11001,
+ "test/sync-staged-catchup.test.ts": 9998,
+ "test/sync-status-failure-detail-6513.test.ts": 11113,
+ "test/sync-unblock-repair-error-gbra130.test.ts": 10479,
+ "test/sync-unreadable-file-gbra130.test.ts": 30469,
- "test/sync-waiver-budget.test.ts": 6901,
- "test/sync-waiver-run-imports.test.ts": 8002,
- "test/take-resolution-survives-publish.test.ts": 6046,
- "test/takes-vector-lifecycle-5885.serial.test.ts": 7374,
- "test/terminal-failures-6650.test.ts": 16803,
- "test/trust-channel-writes.test.ts": 11691,
- "test/trust-guarded-supersession.test.ts": 11118,
- "test/trust-held-removals.test.ts": 11252,
- "test/trust-owner-actions.test.ts": 6300,
- "test/unbound-source-6536.test.ts": 6588,
- "test/unindexed-files.test.ts": 14527,
- "test/vector-manifest-probe-bound.test.ts": 20052,
- "test/withdrawal-overlay-concurrency.test.ts": 3860,
- "test/withdrawal-publication-file.test.ts": 7998,
+ "test/sync-waiver-budget.test.ts": 4701,
+ "test/sync-waiver-run-imports.test.ts": 12144,
+ "test/take-resolution-survives-publish.test.ts": 4975,
+ "test/takes-vector-lifecycle-5885.serial.test.ts": 10161,
+ "test/terminal-failures-6650.test.ts": 14470,
+ "test/trust-channel-writes.test.ts": 15312,
+ "test/trust-guarded-supersession.test.ts": 14312,
+ "test/trust-held-removals.test.ts": 25154,
+ "test/trust-owner-actions.test.ts": 10070,
+ "test/unbound-source-6536.test.ts": 9109,
+ "test/unindexed-files.test.ts": 14119,
+ "test/vector-manifest-probe-bound.test.ts": 23551,
+ "test/withdrawal-overlay-concurrency.test.ts": 6993,
+ "test/withdrawal-publication-file.test.ts": 8656,
+ "test/worktree-refresh-recovery-row-gbra130.test.ts": 7605,
+ "test/writer-status-movement-not-read-gbra130.test.ts": 7358,
- "test/writer-status-owner-backends.test.ts": 3518
+ "test/writer-status-owner-backends.test.ts": 6078
}
diff --cc scripts/stress/iteration-weights.json
index 8747eb16d7,5649e0a396..7dbbec4771
--- a/scripts/stress/iteration-weights.json
+++ b/scripts/stress/iteration-weights.json
@@@ -1,10 -1,10 +1,12 @@@
{
"test/agent-journey-upgrade.serial.test.ts": 56550,
"test/ambient-recall-hooks.serial.test.ts": 1800,
+ "test/append-file-read.test.ts": 100,
+ "test/behavior-change-notice-6712-block.test.ts": 100,
"test/belief-ledger-coverage.test.ts": 85800,
"test/brainstorm/save.test.ts": 1800,
+ "test/cli-page-writes.test.ts": 185950,
+ "test/code-file-path-6712.test.ts": 100,
"test/config-reader-keys-registered.test.ts": 2200,
"test/destructive-guard.test.ts": 7150,
"test/doctor-content-golden.test.ts": 16600,
@@@ -18,20 -20,53 +22,57 @@@
"test/e2e/agent-journey-postgres.test.ts": 16400,
"test/e2e/doctor-hot-checks-golden.test.ts": 13900,
"test/e2e/doctor-json-golden.test.ts": 6850,
- "test/e2e/file-drift-bulk-reconcile-postgres.test.ts": 10400,
- "test/e2e/fix-wave-5-integration.test.ts": 22750,
+ "test/e2e/file-drift-bulk-reconcile-postgres.test.ts": 5600,
+ "test/e2e/fix-wave-4-integration.test.ts": 15450,
+ "test/e2e/fix-wave-4-lane-a.test.ts": 39800,
+ "test/e2e/fix-wave-5-integration.test.ts": 21700,
+ "test/e2e/fold-hook-noop-6712-postgres.test.ts": 3500,
+ "test/e2e/keep-db-pass-admission-postgres.test.ts": 2400,
+ "test/e2e/managed-import-statement-budget.test.ts": 14500,
+ "test/e2e/managed-sync-failures.test.ts": 29600,
+ "test/e2e/managed-sync-shared-origin-6517.test.ts": 4000,
"test/e2e/managed-synthesis-postprocess.test.ts": 16050,
+ "test/e2e/persistence-request-indexes-postgres.test.ts": 59150,
"test/e2e/pool-size-one-migrations.test.ts": 6250,
+ "test/e2e/repair-fences-during-catchup-postgres.test.ts": 6650,
+ "test/e2e/repair-legacy-twins-6885-postgres.test.ts": 5250,
+ "test/e2e/sync-alias-limit-hold-6712-postgres.test.ts": 7700,
+ "test/e2e/sync-convergence-seeded-6712-postgres.test.ts": 15500,
+ "test/e2e/sync-delegation-under-serve.serial.test.ts": 74850,
+ "test/e2e/sync-entry-faults-6712-postgres.test.ts": 43650,
+ "test/e2e/sync-idle-hit-6712-postgres.test.ts": 4950,
+ "test/e2e/sync-legacy-sweep-gbra108-postgres.test.ts": 14350,
+ "test/e2e/sync-pack-independent-frontmatter-6712-postgres.test.ts": 3250,
+ "test/e2e/sync-pass-carried-6712-postgres.test.ts": 19300,
+ "test/e2e/sync-pass-closure-memo-6712-postgres.test.ts": 3700,
+ "test/e2e/sync-pass-confirm-6712-postgres.test.ts": 10850,
+ "test/e2e/sync-pass-confirm-parallel-6712-postgres.test.ts": 4500,
+ "test/e2e/sync-pass-fold-6712-postgres.test.ts": 15500,
+ "test/e2e/sync-pass-fold-xmin-6712-postgres.test.ts": 6000,
+ "test/e2e/sync-pass-narrow-6712-postgres.test.ts": 48400,
+ "test/e2e/sync-pass-origin-twins-6948-postgres.test.ts": 3300,
+ "test/e2e/sync-pass-shared-budget-6712-postgres.test.ts": 3600,
+ "test/e2e/sync-pass-writeback-fold-6712-postgres.test.ts": 18750,
+ "test/e2e/sync-pass-xid-arms-gbra108-postgres.test.ts": 1600,
+ "test/e2e/upload-transport.test.ts": 56150,
"test/e2e/worker-shutdown-error-matrix-postgres.test.ts": 4700,
+ "test/e2e/worktree-refresh-postgres.test.ts": 20900,
"test/entity-resolve-perf.slow.test.ts": 6250,
- "test/file-drift-bulk-reconcile.test.ts": 7000,
- "test/fix-wave-5-integration.test.ts": 10700,
+ "test/file-drift-bulk-reconcile.test.ts": 5550,
+ "test/fix-wave-4-journeys.test.ts": 6050,
+ "test/fix-wave-5-integration.test.ts": 9100,
+ "test/fold-hook-noop-6712.test.ts": 1500,
+ "test/hardened-git-stream-6712.test.ts": 3900,
+ "test/hold-action-chain-6712.test.ts": 11600,
+ "test/import-file-result-callback-gbra130.test.ts": 2700,
"test/import-file.test.ts": 1850,
"test/interleaved-timing.test.ts": 100,
+ "test/keep-db-consumer-retired.test.ts": 10550,
+ "test/keep-db-pass-admission.test.ts": 4150,
+ "test/keep-db-pass-cap-6712.test.ts": 18800,
+ "test/large-pages/append-concurrency.test.ts": 30800,
+ "test/large-pages/append-cost.test.ts": 45200,
+ "test/large-pages/edit-segmented.test.ts": 21100,
"test/large-pages/projection-claim-ownership.test.ts": 28100,
"test/large-pages/publication-seal-bounded.test.ts": 22350,
"test/large-pages/purge-fact-segmented-preimage.test.ts": 17300,
@@@ -47,13 -81,24 +88,29 @@@
"test/large-pages/segmented-writer-floor.test.ts": 100,
"test/large-pages/streamed-sync-origin-b14.test.ts": 74450,
"test/large-pages/stuck-recovery-large.slow.test.ts": 230300,
+ "test/large-pages/upload-binding.test.ts": 5250,
+ "test/large-pages/upload-over-ceiling.test.ts": 91450,
+ "test/large-pages/upload-review.test.ts": 4400,
- "test/managed-sync-preparation-stalled-holds.test.ts": 43400,
+ "test/managed-sync-blocked-job-6858.test.ts": 2800,
+ "test/managed-sync-bulk.test.ts": 216950,
+ "test/managed-sync-checkpoint-controls-company.test.ts": 3000,
+ "test/managed-sync-concurrent-write-hold.test.ts": 7850,
+ "test/managed-sync-drain.test.ts": 5750,
+ "test/managed-sync-group-uncommitted-head.test.ts": 38850,
+ "test/managed-sync-keep-disk-6858.test.ts": 25050,
+ "test/managed-sync-lanes.test.ts": 20000,
+ "test/managed-sync-page-fault-holds.test.ts": 12750,
+ "test/managed-sync-pinned-reads.test.ts": 17400,
+ "test/managed-sync-preparation-stalled-holds.test.ts": 98050,
+ "test/managed-sync-row-parity.test.ts": 5850,
+ "test/managed-sync-stale-group-head.test.ts": 6000,
"test/managed-synthesis-postprocess.test.ts": 11250,
+ "test/normalized-file-hash.test.ts": 200,
+ "test/op-checkpoint-pass-rows-gc-6712.test.ts": 700,
+ "test/operations-coverage-ledger.test.ts": 200,
+ "test/overwritten-edits-6712.test.ts": 19000,
+ "test/page-prepare-shared-origin-6517.test.ts": 8400,
+ "test/page-row-deleters-guard-6712.test.ts": 300,
"test/pages-unsearchable.test.ts": 4600,
"test/pathological/a-36-facts-batch-partial-refusal.test.ts": 12050,
"test/pathological/a-42-atom-dot-led-slug.test.ts": 13750,
@@@ -98,17 -143,101 +155,103 @@@
"test/pathological/item-failure.test.ts": 250,
"test/pathological/sites.test.ts": 100,
"test/persistence-crash-robot.test.ts": 40650,
+ "test/persistence-managed-lifecycle.test.ts": 13850,
+ "test/persistence-managed-sync.test.ts": 171200,
+ "test/persistence-sync-checkpoint-validation.test.ts": 10400,
+ "test/persistence-sync-cursor-options.test.ts": 3500,
+ "test/persistence-sync-cursor-strategy-6696.test.ts": 4650,
+ "test/persistence-sync-failures.serial.test.ts": 36700,
+ "test/persistence-sync-fence-holds.test.ts": 13000,
+ "test/persistence-sync-holds.test.ts": 14300,
+ "test/persistence-sync-legacy-files-5751.test.ts": 2400,
+ "test/persistence-sync-options.serial.test.ts": 75750,
+ "test/persistence-sync-origin-native.test.ts": 10750,
+ "test/persistence-sync-stdio-owner.test.ts": 22450,
+ "test/persistence-worktree-refresh.test.ts": 24800,
"test/persistence-write-interrupted.test.ts": 40700,
+ "test/receipt-compaction-newest-sync-gbra130.test.ts": 3350,
+ "test/receipt-coverage.test.ts": 200,
+ "test/reconcile-owner-journey.serial.test.ts": 91500,
+ "test/remote-privacy-sweep.test.ts": 7250,
"test/repair-apply-continue-6459.test.ts": 1400,
"test/repair-apply-pending-6543.test.ts": 55800,
- "test/repair-explicit-only.test.ts": 1100,
+ "test/repair-explicit-only.test.ts": 1300,
+ "test/repair-fences-during-catchup.test.ts": 3250,
+ "test/repair-file-drift-held-6712.test.ts": 5900,
+ "test/repair-frontmatter.test.ts": 11450,
+ "test/repair-legacy-twins-6885.test.ts": 5100,
"test/repair-stuck-recovery.test.ts": 3450,
"test/scripts/check-item-allowlist-catches.test.ts": 800,
"test/scripts/nightly-issue.test.ts": 200,
+ "test/serve-sync-handoff.serial.test.ts": 4100,
+ "test/slice-memo-gbra108.test.ts": 100,
+ "test/slug-autoheal-pass-6712.test.ts": 1000,
+ "test/sync-absent-from-worktree-s27.test.ts": 7400,
+ "test/sync-admission-6712.test.ts": 1500,
+ "test/sync-alias-limit-hold-6712.test.ts": 4000,
+ "test/sync-checkpoint-moved-6834.test.ts": 3500,
+ "test/sync-classify-6712.test.ts": 950,
+ "test/sync-config-keys-6712.test.ts": 600,
+ "test/sync-convergence-seeded-6712.test.ts": 7200,
+ "test/sync-delegated-options-6696.serial.test.ts": 5350,
"test/sync-drain-effect-recovery-blocked.test.ts": 4300,
+ "test/sync-drain-finish-tail.test.ts": 6000,
+ "test/sync-entry-faults-6712.test.ts": 25000,
+ "test/sync-full-cursor-slices-6349.test.ts": 3400,
+ "test/sync-full-untracked-import-5459.test.ts": 11800,
+ "test/sync-handler-drain-6706.test.ts": 29850,
+ "test/sync-holds-store.test.ts": 700,
+ "test/sync-idle-hit-6712.test.ts": 2600,
+ "test/sync-import-parsers-6712.test.ts": 100,
+ "test/sync-inexact-rename-6729.test.ts": 22000,
+ "test/sync-knock-on-recovery-6643.test.ts": 900,
+ "test/sync-legacy-retry-actions-6696.test.ts": 4850,
+ "test/sync-legacy-sweep-gbra108.test.ts": 7550,
+ "test/sync-markers-6712.test.ts": 1700,
+ "test/sync-origin-markers-6712.test.ts": 4600,
+ "test/sync-pack-independent-frontmatter-6712.test.ts": 1400,
+ "test/sync-page-identity-hold-gbra130.test.ts": 17300,
+ "test/sync-page-write-failed-gbra130.test.ts": 7250,
+ "test/sync-pass-carried-6712.test.ts": 17300,
+ "test/sync-pass-closure-memo-6712.test.ts": 2600,
+ "test/sync-pass-closure-universe-6712.test.ts": 300,
+ "test/sync-pass-compact-level-6712.test.ts": 2050,
+ "test/sync-pass-completion-6712.test.ts": 13350,
+ "test/sync-pass-confirm-6712.test.ts": 7100,
+ "test/sync-pass-confirm-parallel-6712.test.ts": 2200,
+ "test/sync-pass-cost-grouping-gbra130.test.ts": 2850,
+ "test/sync-pass-cursor-retirement-6712.test.ts": 1850,
+ "test/sync-pass-dirty-after-freeze-gbra130.test.ts": 3300,
+ "test/sync-pass-failure-retry-6712.test.ts": 2000,
+ "test/sync-pass-fold-6712.test.ts": 9050,
+ "test/sync-pass-handover-6712.test.ts": 2300,
+ "test/sync-pass-live-6712.test.ts": 40550,
+ "test/sync-pass-loop-lag-6712.test.ts": 2800,
+ "test/sync-pass-narrow-6712.test.ts": 21900,
+ "test/sync-pass-origin-twins-6948.test.ts": 2750,
+ "test/sync-pass-outcomes-6712.test.ts": 100,
+ "test/sync-pass-reader-gaps-6712.test.ts": 2400,
+ "test/sync-pass-readers-6712.test.ts": 1750,
+ "test/sync-pass-rulings-6712.test.ts": 6700,
+ "test/sync-pass-shadow-6712.test.ts": 6500,
+ "test/sync-pass-shared-budget-6712.test.ts": 2000,
+ "test/sync-pass-writeback-fold-6712.test.ts": 11100,
+ "test/sync-pass-xid-arms-gbra108.test.ts": 3700,
+ "test/sync-prescreen-drift-6712.test.ts": 51300,
+ "test/sync-slug-root-mode-6694.test.ts": 6000,
+ "test/sync-staged-catchup.test.ts": 6950,
+ "test/sync-status-unblock.test.ts": 3050,
+ "test/sync-unblock-repair-error-gbra130.test.ts": 2100,
+ "test/sync-unreadable-file-gbra130.test.ts": 8100,
+ "test/sync-waiver-run-imports.test.ts": 7200,
+ "test/sync-waiver-unreadable-6712.test.ts": 300,
+ "test/sync-working-level-6712.test.ts": 1200,
+ "test/sync-working-stat-cache-6712.test.ts": 10800,
"test/transcripts-codex-subagent.test.ts": 1000,
+ "test/trust-write-gate-drift.test.ts": 100,
+ "test/upload-part-cutter.test.ts": 200,
"test/worker-shutdown-error-matrix.test.ts": 2300,
- "test/writer-failures-cli-6650.test.ts": 850
+ "test/worktree-refresh-recovery-row-gbra130.test.ts": 3900,
+ "test/writer-failures-cli-6650.test.ts": 850,
+ "test/writer-status-movement-not-read-gbra130.test.ts": 2400
}
diff --cc src/core/behavior-change-notice.ts
index 5a86fbd598,4475e53111..00d1f4acde
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -976,9 -976,40 +976,43 @@@ export const BEHAVIOR_CHANGES: Readonly
{ since: '0.60.316.0', text: '`gbrain autopilot --status` grades a running daemon from its own schedule (#7003): the daemon writes `autopilot.heartbeat.json` beside its lock with its next tick, so a healthy daemon on a long adaptive sleep no longer reads `stale` (exit 1); a missing or outdated sidecar falls back to the interval-flag rule. `--status --json` adds `stale_after_source` (`daemon` or `flag`) and `next_tick_at`.' },
{ since: '0.60.318.0', text: 'On Postgres, every ANALYZE gbrain runs on its own (the import, sync, reindex and embed-drain statistics refreshes, the search guard, `gbrain repair planner-stats --apply` and the ANALYZE after a migration builds an index) now takes its table\'s lock with NOWAIT and is deferred with a warning when another session holds the table (a vacuum, an ANALYZE or an index build), instead of waiting on it: waiting on a running autovacuum made Postgres cancel it (#7083). The repair reports such a table `deferred`; rerun it once the vacuum finishes. An embed drain now skips its `content_chunks` statistics refresh when it changed fewer than 50 + 10% of the table\'s sampled chunks and the chunk statistics exist. `gbrain doctor` `planner_stats_stale` also warns when a hot table of at least 100,000 rows holds more dead rows than autovacuum\'s vacuum threshold and no vacuum has completed on it for 24 hours (`details.vacuum_starved`).' },
{ since: '0.60.318.0', text: 'On a managed brain with Git durability on, a Git effect whose file is absent (a page delete) now pushes when the checkout is ahead of its upstream, so a removal commit whose first push failed reaches the remote on the retry instead of the effect completing `target_absent` with nothing pushed (#7089); its outcome reads `target_absent` with `push: committed`, and a push that keeps failing keeps the effect queued and then parks it. `gbrain doctor` `git_convergence` warns at once, instead of after 6 hours, when such a checkout is ahead with no Git effect queued, running or parked (`stranded: true` in `details.roots`), and its fix is `gbrain git commit-push --push-only --keep-checkout --path <root>`.' },
+ // #6712 PR 4b (the level-triggered sync pass, design v3.2 §13) and #6885. `since` is a placeholder equal to the branch's VERSION until the merge-slot stamp.
+ { since: '0.60.320.0', text: 'On a managed brain a plain `gbrain sync` of a non-company source no longer imports only `last_commit..HEAD`: each pass compares every file at HEAD with what the database absorbed (the page and its import record) and admits what differs, so out-of-band changes (a reset or revert, a rewritten history, a lost manifest, an interrupted run) converge on the next plain sync with no flag. When nothing moved since the last converged pass (same HEAD, parser, schema pack and selection, nothing open), the tick is idle and only `last_sync_at` changes; a full comparison still runs at least every 200 passes or 24 hours. A pass uses at most 4 rounds. Company-brain sources keep their cursor.' },
+ { since: '0.60.320.0', text: 'In committed mode (the default) a managed sync never imports a dirty working copy, as before: the level-triggered pass keeps the cursor path\'s guarantee and never adopts or writes over such a file either. When the committed file is unchanged since its import, the uncommitted edit is left alone and nothing is held; when the commit moved under an uncommitted edit, the file is held `worktree_dirty` and the page and the edit stay as they are. Commit or restore the file and sync again.' },
+ { since: '0.60.320.0', text: 'A page deleted in the database is no longer brought back by a managed sync from a file that is still committed, even after `gbrain delete --purge` or a mirrored purge replay: a purge now leaves a deletion marker (the file versions the brain held) while the file is still in `last_commit` or on disk, and an unchanged file then counts as synced. A file that changed after its page was deleted is held `file_drift` with side `deleted` and state `tombstone_edited` (soft-deleted) or `purged_differs` (purged, naming its slug), and the rest of the source syncs; `gbrain repair file-drift --held --side deleted --state <state>` resolves it. A full pass retires the marker once the file has left both the commit and the disk, so a new file at that path imports as a new page. A page purged before this release has no such marker, and `--full` can still import its file.' },
+ { since: '0.60.320.0', text: '`storage.keep_db` is now applied by the managed sync pass itself on the brain host, and the separate keep_db worker that resident owners ran every 10 minutes is retired. A page under a keep_db prefix whose file is clean in the commit gets the database-wins write when its database copy moved (whether or not the file changed too); the write is bound to the committed bytes and the page revision the pass read, so a later edit refuses it. A file with uncommitted changes never gets a database-wins write: it is held like any dirty file. A pass admits at most 200 of these writes; the rest wait as `keep_db_pending`, and the next sync runs a full pass that admits them. While `sync.admission` is not `normal` they wait as `paused_keep_db`. Remote callers never write them.' },
+ { since: '0.60.320.0', text: 'A managed sync that would delete more than half of a source\'s file-backed pages (on a source with more than 20) no longer applies those deletes: it writes one withheld record (count, ratio, a hash of the set and up to 20 sample paths), imports everything else, holds no page and still advances `last_commit`. `gbrain sync status` reads `blocked` / `deletes_withheld` with the dry run (`gbrain sync --source <id> --dry-run --json`) as its next step, and `convergence.deletes_withheld` carries the record. If the checkout is wrong or incomplete, restore it and sync; if the deletion is intended, run `GBRAIN_ALLOW_MASS_RECONCILE=1 gbrain sync --source <id>` on the brain host, which applies the deletes and clears the record. Remote callers never apply them.' },
+ { since: '0.60.320.0', text: '`gbrain sync status --json` on a managed source now reports the live pass as `convergence` (`dry_run: false`) on a plain status too, read from the pass row: its kind, outcome, stop reason, round, candidates, settled and remaining counts, held Decisions by side, `db_ahead`, `legacy_unverified`, keep_db writes, a withheld mass delete, the open episode, `not_converged_streak` and `classes`, where each class names who acts (`none`, `owner` or `repair`; `gbrain sync status --help` lists them). New field `admission` (`sync.admission`\'s value, `set_at`, `effective`) and new reasons `pass_unfinished`, `not_converged`, `settle_mismatch`, `deletes_withheld`, `selection_scoped` and `admission_paused`; a source is never `synced` while its newest pass is open or ended unconverged. A non-company source has no cursor, so `run_id`, `cursor`, `rate_pages_per_min` and `eta_seconds` read null there. Held `file_drift` files in `gbrain sources status --json` and in sync results carry `side` (`both`, `unknown`, `deleted`) and, for a deleted side, `state`.' },
+ { since: '0.60.320.0', text: 'A file that a managed sync settles at the same level in 3 passes in a row but that never reads settled afterwards is now held `settle_mismatch` (it needs a person) instead of being re-imported on every pass, and the rest of the source syncs; within one pass such a file is re-admitted at most once. `gbrain sync status` reports `settle_mismatch` from the second pass. Run `gbrain doctor --json` and `gbrain sources writer status --source <id> --json` (read-only), fix or report what they name, then `gbrain sources retry-held <id>` and sync.' },
+ { since: '0.60.320.0', text: 'A managed sync run at a selection other than the source\'s configured one (`--exclude`, `--include-hidden`, `--src-subpath`, a different `--strategy`, or `--working-tree` against `sync.include_working_tree`) now ends `synced` with reason `selection_scoped` when that selection converges, and does not advance `last_commit`, `last_sync_at`, the slug-root pin or `chunker_version`. `gbrain sync status` reads `synced` / `selection_scoped`, and its next step is the plain `gbrain sync`, which syncs the configured selection and advances the commit.' },
+ { since: '0.60.320.0', text: '`gbrain repair file-drift` takes `--held [--side both|unknown|deleted [--state tombstone_edited|purged_differs|file_gone]]` to preview and resolve a source\'s held `file_drift` files as one Decision, narrowed by `--only` and `--skip`. In each deleted state the two `--prefer` values do opposite things: `tombstone_edited` keeps the deletion and removes the file (`database`) or restores the page and imports the file (`file`); `purged_differs` removes the file or imports it as a new page; `file_gone` recreates the file or soft-deletes the page. A selection that mixes sides or states refuses `file_drift_mixed_selection` with the narrower commands, and `--side deleted` without `--state` refuses `file_drift_state_required`; nothing is previewed. Holds written before this release carry no side and are listed for a `--slug` preview.' },
+ { since: '0.60.320.0', text: '`gbrain sources refresh` no longer refuses `sync_in_progress` because a non-company source\'s managed sync is unfinished: that sync keeps no cursor and reconciles whatever HEAD its next pass reads, so moving the checkout strands nothing, and the refresh\'s own sync of the members converges at the new HEAD. A company brain\'s unfinished cursor, or an older binary\'s cursor the first pass has not retired yet, still refuses with its resume command.' },
+ { since: '0.60.320.0', text: 'A `gbrain sync` that follows another drainer now counts the lease holder\'s sync-pass writes as progress, not only its commits and cursor saves, so a pass that spends minutes reading and classifying a large source is not mistaken for a wedged holder. A follower on an older gbrain counts only commits and cursor saves: beside a holder on this release that commits nothing for 5 minutes (a long classify round) it stops `blocked` (exit 1) with `drain_stalled`, cause `no_progress`, so upgrade every host that syncs a source together. Until the next schema migration, the only release to downgrade to is the one immediately before this one; its checkpoint cleanup does not keep the sync-pass rows, so after coming back the first sync runs a full pass with the embedding cost unknown until approved again.' },
+ { since: '0.60.320.0', text: 'Doctor reads a non-company managed source\'s sync from its pass row instead of a cursor. When its passes keep stopping (`blocked`, a `not_converged` streak or a `settle_mismatch` streak), `managed_sync_not_moving` warns that managed sync does not converge, `git_held_files` warns even with no file held (the source is listed under `details.passes`) and `managed_sync_blocked` warns, then fails after 60 minutes; each names `gbrain sync status --source <id> --json` as the read-only next step. `terminal_failures` lists what blocks an open pass\'s checkpoint. A source whose newest pass ended `synced` or `up_to_date` at HEAD reads healthy.' },
+ { since: '0.60.320.0', text: 'A managed `gbrain sync` of a non-company source now reads the checkout only through allow-listed Git plumbing (`ls-tree`, `ls-files -s`, `diff-tree --no-renames`, `cat-file --batch`, `hash-object --no-filters`) and the files\' own bytes, so the repository\'s clean, process or textconv programs never run during that sync. Before, discovery ran a porcelain `git diff`, which runs them on modified files. Company-brain sources and `--dry-run` keep the earlier discovery.' },
+ { since: '0.60.320.0', text: 'A managed sync now reserves each admitted import group\'s estimated embedding cost inside that group\'s admission (one record per group), so a killed sync keeps what it reserved and a replay of the group adds nothing. When a pass\'s reservations, or an open `--full` re-import\'s, reach the approved amount (`sync.cost_gate_min_usd`, $0.50 by default, or what `gbrain sync --yes` approved), the rest of that pass imports without embeddings; the next pass does not inherit that. If the pass record is lost while reservations exist, the cost is unknown and embeddings wait until the owner approves again with `gbrain sync --source <id> --no-pull --yes`.' },
+ { since: '0.60.320.0', text: '`gbrain sources set-strategy <id> <strategy>` now also refuses with `sync_run_unfinished` (exit 1, nothing written) while a sync holds the source\'s drain lease or while a re-import the source\'s sync opened (a `--full`, say) is still open. Before, it refused only over an unfinished cursor, which a non-company source no longer has. Wait for the running sync, or finish the re-import with `gbrain sync --source <id> --no-pull`; `gbrain sync status --source <id> --json` shows where it stands. Setting the strategy a source already has is not refused.' },
+ { since: '0.60.320.0', text: 'Doctor `managed_sync_not_moving` now also warns when a managed source\'s newest sync pass found nothing to do (`up_to_date`) but took longer than its target: 0.5 s for an idle tick (1 s on a source over 100,000 pages), 2 s for a full round (15 s over 100,000 pages). The warning names the pass\'s `timings_ms` (an idle tick now records `setup` and `kind`), its fix is the read-only `gbrain sync status --source <id> --json --detail`, and it never fails.' },
+ { since: '0.60.320.0', text: 'New doctor check `sync_admission_restricted` warns on a managed brain while `sync.admission` is not `normal`, with the value, how long ago it was set and the restore command `gbrain config set sync.admission normal`, which is the user\'s to run (never applied automatically). It reads ok on `normal` and on a brain without managed persistence.' },
+ { since: '0.60.320.0', text: 'New brain-wide setting `sync.admission`: `normal` (the default), `imports_only` or `classify_only`, set on the brain host with `gbrain config set sync.admission <value>` (any other value is refused, exit 2, and nothing is written). Under `imports_only` managed sync admits no deletes and no `storage.keep_db` writes; those paths wait (`paused_deletes`, `paused_keep_db`) while imports and the checkpoint go on. Under `classify_only` it reads and classifies, writes no page and stops `resumable` / `admission_paused` (exit 0), with a `next` that asks the user to restore it. The value is read when a pass starts and in every admission, and a delete or keep_db write checks it again just before it publishes (it completes `cancelled` with `admission_paused`, nothing written). `gbrain sync status --json` reports `admission: {value, set_at, effective}`.' },
+ { since: '0.60.320.0', text: 'A managed sync now records an import for each page an older gbrain imported whose file still equals the page (such pages have no import record and are counted as `legacy_unverified`). It checks every such page in the source\'s first full round, then up to 500 per pass; a later edit of that file then imports normally instead of being held for a decision. The check is read-only until it writes the record, and a page that differs from its file is left as it is. `convergence.legacy_unverified` counts the pages not yet checked.' },
+ { since: '0.60.320.0', text: 'After a parser or schema-pack change, a managed sync re-imports the pages whose file and page are unchanged but whose import record names the older parser (class `reparse`, which sync finishes by itself, with no hold), as the pre-pass prescreen did; the first pass after the change reads the whole source.' },
+ { since: '0.60.320.0', text: 'An interrupted `gbrain sync --full` no longer ends with the run that started it: the next plain `gbrain sync` continues the re-import under the selection the `--full` started with, and there is no command to abandon it. A `--full` with a narrower selection (a CLI `--exclude`, say) finishes its own re-import and ends `synced` with status reason `selection_scoped`, without moving `last_commit`; the next plain sync then syncs the configured selection. A plain sync closes any open re-import, and stamps `chunker_version` only when the re-import covered the whole configured selection. To pause paid work, rely on the cost gate; to pause everything, set `sync.admission classify_only`.' },
+ { since: '0.60.320.0', text: 'A managed sync pass that runs 4 rounds without the source settling (another writer keeps changing it) stops `not_converged`: outcome `resumable`, exit 0, everything it admitted stands, and `next` reruns the same sync. After 3 such passes in a row, `next` switches to a report: `gbrain sync status --source <id> --json` with `safe_to_loop: false` and `fix.next: report`, and a sync job ends needing an operator, so an agent loop stops instead of retrying. The count resets when a pass converges.' },
+ { since: '0.60.320.0', text: 'New explicit repair `gbrain repair legacy-twins --source <id>` (#6885) merges the page pairs syncs before #6857 forked: a legacy page with no recorded file whose slug spells the file\'s name differently from today\'s slug rules, and the twin at today\'s slug that records the file. The read-only preview lists each pair (both pages\' ids, slugs and revisions, the file, whether the contents match) and lists as decisions, never merged, pairs whose contents differ, several legacy pages for one twin, twins whose file is missing or drifted, and twins holding a link, relationship date, timeline entry or raw data row the legacy page holds differently (`twin_evidence_conflicts`). `--apply --expect <hash> --yes` merges exactly the approved pairs: the legacy page takes over the file and keeps its id, links and history, the twin\'s links and their dated transitions, timeline, raw data, user-added tags, aliases and the facts other pages state about it move over through the same twin merge as `gbrain repair origin-twins` (#6948), its slug becomes an alias, and the twin is soft-deleted (its file untouched) and purged after 72 hours. It refuses off the owner host (`not_owner_host`), when the checkout cannot be read (`legacy_twins_storage_unknown`), and when the pairs are more than half of a source\'s file-backed pages (`legacy_twin_mass_merge_refused`, unless `GBRAIN_ALLOW_MASS_RECONCILE=1`). Nothing changes on upgrade; it runs only when named.' },
+ { since: '0.60.320.0', text: 'A managed sync of a non-company source that cannot decide which page a file is no longer stops the whole source with `page_identity_changed`: the file alone is held `page_identity_changed` (it needs a person; `meta.reason` names why) and the rest of the source syncs. `several_tombstones`: several deleted pages record the file as their origin; `spelling`: files differing only by letter case or separator (both are held); `identity_differs`: a file whose frontmatter id differs from the page at its slug, which keeps its id, body and slug while its old file\'s deletion waits. A dry run (and a company source) still refuses the source as before, so `gbrain sync --dry-run` reports a refusal where the sync itself holds one file; a remote sync leaves such files for the owner\'s sync to hold.' },
+ { since: '0.60.320.0', text: 'A managed sync no longer stops a whole source at a Markdown file whose text holds NUL bytes (U+0000: a UTF-16 "Unicode" save, a binary file named .md, a crash-padded file). Before, every run failed at that file with `storage_error` (SQLSTATE 22P05) and nothing after it synced; now the file alone is held `content_null_bytes`, its message names the file and the first NUL\'s line (and says to save it as UTF-8 when it starts with a UTF-16 byte order mark), and the rest of the source syncs. With `sync.holds=fail` the run stops with `content_null_bytes` instead. Classic (unmanaged) sync is unchanged.' },
+ { since: '0.60.320.0', text: 'A managed sync no longer stops a whole source at a committed file whose Git object the checkout lost (an interrupted gc, a partial clone): it imports the working-tree bytes when they hash to the committed blob id, and otherwise holds that file `git_object_missing` (run `git fsck`, restore the object with `git fetch` or from a backup; every sync re-tests it). An imported file that became a directory (`notes/a.md` turned into `notes/a.md/x.md`) no longer stops the source with `page_identity_changed`: its page is deleted and the new file imports.' },
+ { since: '0.60.320.0', text: 'When managed sync hits an unexpected error while preparing one file (before anything is admitted), it now holds that file `page_write_failed` with `meta.write_failure.origin` `freeze` and the error in the hold message, and the rest of the source syncs; before, the source stopped on that file on every run. The next syncs re-test the file on their own until it has been held 3 times, so a passing fault clears without help. A deliberate refusal still stops the run, and so does a run in which most files fail that way (5 or more, and at least as many as prepared cleanly), which looks systemic. In a bulk group (Postgres) the failure is reported on the file that failed, not on the group\'s first file.' },
+ { since: '0.60.320.0', text: '`gbrain sync status --json` no longer tells an agent to rerun a managed sync forever when every run stops on the same file with the same unclassified `storage_error`: the first such stop is still `connection` with `next` = rerun, but once two runs in a row stop on the same path with the same code and message, `last_error` is `needs_human` (class `page`, `safe_actions` `none`, new field `repeats`), the state is `blocked` / `needs_human`, and `human_reason` names the file. A message that changes between runs stays a rerun.' },
+ { since: '0.60.320.0', text: 'A file whose exact bytes an earlier gbrain imported and validated, and which this release refuses (a parser regression), no longer stops the sync by default: it is held `parser_regression` alone (a gbrain bug to report; it needs a person) and the rest of the source syncs. `GBRAIN_SYNC_PARSER_REGRESSION=stop` for the process that syncs restores the old stop (`sync_parser_regression`, the checkpoint does not advance). A refusal this release makes on purpose, such as the YAML alias bound (`frontmatter_alias_limit`), is held as before under either setting.' },
+ { since: '0.60.320.0', text: 'Doctor `managed_sync_blocked` (and get_brain_health `sync_blocked`) now count a managed sync pass that stopped with a recorded failure before finishing, in discovery (path `<discovery>`) or on one file, until a later sync of the source succeeds; before, such a source indexed nothing while the check said no run was blocked.' },
+ { since: '0.60.320.0', text: 'A managed sync no longer stops a whole source when a file it would skip as already imported (a no-op waiver) has meanwhile become a symlink, a FIFO or an unreadable file in the working tree: that entry is simply not skipped and goes on like any other, where an unreadable file is held `file_unreadable`.' },
+ { since: '0.60.320.0', text: 'A managed sync holds a committed file whose name is not valid UTF-8 (a Latin-1 name from an older system or an archive) under the new hold code `path_not_utf8`, naming the rename that fixes it, and the rest of the source syncs; before, the file was held with a raw Git error or stopped the source. Renaming the file to a UTF-8 name clears the hold. With `sync.holds=fail` the run stops with `path_not_utf8`.' },
+ { since: '0.60.320.0', text: 'A managed sync of a folder of more than 20 pages moved with `git mv` keeps each page (a move, with its id, links and history): the mass-delete valve no longer counts a delete whose bytes arrive at a new path in the same round. Before, the valve withheld the old paths\' deletes in the first round, so every new path imported as a new page beside its old one (one `shares content_hash ... Indexing both` warning per file) and the old pages were deleted afterwards. A mass delete with nothing arriving is still withheld.' },
+ { since: 'TBD', text: 'New `append_page` adds text to the end of a page in time proportional to the text added, idempotent by `request_id`; use it for conversation logs instead of re-putting the page. `expected_tail_sha256` (the `tail_sha256` that `get_page` with `body: \'none\'` returns) refuses `tail_changed` when another writer appended first. `gbrain append <slug> [--file f | stdin]` calls it.' },
+ { since: 'TBD', text: 'New upload sessions (`begin_page_upload`, `upload_page_part`, `get_page_upload`, `commit_page_upload`, `abort_page_upload`) let remote and thin clients write pages larger than one request, up to the page ceiling; `gbrain put --file` and `gbrain capture --file` use them on remote brains. A session is bound to the principal, source and page that began it (any other caller gets `upload_not_found`), staged bytes count against `persistence.limits` upload quotas (`write_quota_exhausted`), and an idle session expires after an hour. Locally, `gbrain put --file` and `gbrain capture --file` stream a file over 24 MiB straight in.' },
+ { since: 'TBD', text: '`edit_page` accepts `within` to restrict a match to a range returned by a window read (`edit_target`), and edits a page stored in segments by rewriting only the segments the match touches instead of reading the whole page back.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */
diff --cc src/core/cli-flag-registry.generated.ts
index e670bd7b90,97bba9d07d..5252f833ac
--- a/src/core/cli-flag-registry.generated.ts
+++ b/src/core/cli-flag-registry.generated.ts
@@@ -72,13 -71,13 +72,13 @@@ export const CLI_FLAG_REGISTRY: Record<
'frontmatter': ['--allow-catch-all', '--batch', '--brain', '--cached', '--diff-filter', '--dry-run', '--exclude-standard', '--fix', '--force', '--full-name', '--get', '--git-common-dir', '--help', '--importable', '--include-ambiguous', '--include-catch-all', '--json', '--literal-pathspecs', '--name-only', '--no-verify', '--others', '--path', '--show-prefix', '--show-toplevel', '--source', '--stage', '--staged', '--stdin', '--type', '--uninstall'],
'git': ['--abbrev-ref', '--add', '--aggressive', '--all', '--autostash', '--brain', '--branch', '--cached', '--cacheinfo', '--count', '--dry-run', '--enable', '--exit-code', '--expect-remote', '--ff-only', '--file', '--force', '--force-remove', '--get', '--get-url', '--git-dir', '--git-path', '--hard', '--help', '--is-ancestor', '--is-inside-work-tree', '--json', '--keep-checkout', '--literal-pathspecs', '--local', '--local-env-vars', '--message', '--name-only', '--name-status', '--no-autostash', '--no-cron', '--no-recurse-submodules', '--no-tags', '--no-verify', '--no-write-fetch-head', '--only', '--pat-file', '--path', '--porcelain', '--pull', '--push', '--push-only', '--quiet', '--rebase', '--repo', '--require-clean', '--resolve', '--short', '--show-toplevel', '--source', '--unset-all', '--verify', '--write-tree'],
'google': ['--access', '--account', '--allow-create-db', '--allow-docker', '--brain', '--calendar-id', '--chat-model', '--client-id', '--client-json', '--client-secret', '--code', '--consent-state', '--content-root', '--db-only', '--embedding-dimensions', '--embedding-model', '--expansion-model', '--force', '--git', '--grant-types', '--help', '--history-days', '--http', '--issuer-url', '--json', '--key', '--kind', '--limit', '--local-postgres', '--mcp-only', '--mcp-url', '--migrate-only', '--model', '--no-browser', '--no-embedding', '--no-git', '--no-probe', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--paste', '--path', '--pglite', '--plan', '--port', '--prefer-postgres', '--provenance', '--purge-client', '--query', '--reauth', '--retry-failed', '--schema-pack', '--scopes', '--search-mode', '--services', '--skip-embed-check', '--source', '--status', '--supabase', '--surface', '--sync-budget-ms', '--timeout-ms', '--to', '--token-command', '--url', '--version', '--via', '--yes'],
- 'graph-query': ['--brain', '--depth', '--direction', '--help', '--hop', '--include-foreign', '--json', '--mcp-only', '--source', '--type'],
+ 'graph-query': ['--brain', '--depth', '--direction', '--help', '--hop', '--include-foreign', '--json', '--mcp-only', '--request-id', '--source', '--type'],
'hook': ['--allow-unverified-remote', '--auto', '--batch-check', '--brain', '--branch', '--cached', '--count', '--diff-filter', '--enable', '--end-of-options', '--env', '--get', '--harness', '--help', '--jq', '--json', '--limit', '--name-only', '--others', '--pat-file', '--path', '--porcelain', '--pure', '--quiet', '--remove', '--seat', '--session', '--show-current', '--show-toplevel', '--since', '--source', '--yes'],
'import': ['--accept-pending', '--admin-intent', '--allow-empty', '--allow-noncanonical-root', '--apply', '--background', '--brain', '--cached', '--confirm-relocated-root', '--diff-filter', '--dim', '--embedding-dimensions', '--embedding-model', '--empty', '--exclude', '--exclude-standard', '--expected-epoch', '--expected-state', '--explain', '--follow', '--force', '--force-rechunk', '--format', '--fresh', '--help', '--include-gitignored', '--is-shallow-repository', '--json', '--log-noop', '--manifest', '--name-only', '--no-accept-pending', '--no-embed', '--no-embedding', '--no-gpg-sign', '--no-pull', '--no-renames', '--no-verify', '--only', '--others', '--path', '--probe', '--progress-interval', '--progress-json', '--quiet', '--self-transfer', '--show-toplevel', '--skip-failed', '--slugs', '--source', '--source-id', '--stale', '--status', '--supabase', '--timeout', '--to', '--url', '--verify', '--wait', '--workers'],
- 'init': ['--access', '--acknowledge-managed', '--adopt', '--aliases', '--all', '--all-drifted', '--allow-create-db', '--allow-docker', '--apply', '--assign-corpus', '--audit', '--auto', '--auto-additive', '--background', '--bound-slug-prefixes', '--brain', '--break-lock', '--budget-ms', '--budget-usd', '--by-mention', '--catch-up', '--chat-model', '--check', '--class', '--clear-never-installed', '--client', '--close', '--confirm-relocated-root', '--conflicts', '--content-root', '--conversation', '--cursor', '--db-only', '--dest', '--detach', '--detail', '--dim', '--disable', '--drain', '--embedding-dimensions', '--embedding-model', '--enable', '--entity', '--expand', '--expansion-model', '--expect', '--expect-local', '--expect-remote', '--expect-upstream', '--explain', '--facts', '--fast', '--file', '--fix', '--force', '--force-retry', '--format', '--fresh-token', '--from', '--from-meetings', '--full', '--git', '--grant-types', '--group-by', '--harness', '--held', '--help', '--http', '--id', '--images', '--include-ambiguous', '--include-frontmatter', '--include-gitignored', '--install', '--issuer-url', '--json', '--keep', '--keep-checkout', '--key', '--lanes', '--legacy-lock', '--limit', '--list', '--local-postgres', '--markdown', '--max-cost-usd', '--max-usd', '--mcp-only', '--mcp-url', '--migrate-only', '--migration', '--min-n', '--model', '--no-autopilot-install', '--no-autostash', '--no-delegate', '--no-embed', '--no-embedding', '--no-expand', '--no-extract', '--no-git', '--no-lanes', '--no-llm', '--no-probe', '--no-pull', '--no-repair', '--no-schema-pack', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--older-than', '--once', '--only', '--oversized', '--page', '--params', '--pat-file', '--path', '--pglite', '--phase', '--plan', '--prefer', '--prefer-postgres', '--preview', '--probe', '--profile', '--provenance', '--providers', '--pull', '--purge', '--push-only', '--query', '--question', '--quiet', '--rebase', '--rebuild', '--redact-paths', '--reference-date', '--remediate', '--remove', '--repair', '--repair-unknown-markers', '--repo', '--request', '--reset', '--resolve', '--resume', '--retry-failed', '--retry-parked', '--save', '--schema-pack', '--scope', '--scopes', '--search-mode', '--section', '--self-transfer', '--semantic', '--session', '--session-id', '--show-toplevel', '--since', '--since-last-run', '--skip', '--skip-embed-check', '--skip-failed', '--slug', '--slugs', '--source', '--source-id', '--stale', '--state', '--status', '--supabase', '--surface', '--tier', '--timeout', '--to', '--token', '--touchpoint', '--url', '--url-env', '--user', '--vacuum', '--verbose', '--version', '--wait', '--warn-only', '--watch', '--workspace', '--yes'],
+ 'init': ['--access', '--acknowledge-managed', '--adopt', '--aliases', '--all', '--all-drifted', '--allow-create-db', '--allow-docker', '--apply', '--assign-corpus', '--audit', '--auto', '--auto-additive', '--background', '--batch', '--bound-slug-prefixes', '--brain', '--break-lock', '--budget-ms', '--budget-usd', '--by-mention', '--catch-up', '--chat-model', '--check', '--class', '--clear-never-installed', '--client', '--close', '--confirm-relocated-root', '--conflicts', '--content-root', '--conversation', '--cursor', '--db-only', '--dest', '--detach', '--detail', '--dim', '--disable', '--drain', '--embedding-dimensions', '--embedding-model', '--enable', '--entity', '--exclude', '--expand', '--expansion-model', '--expect', '--expect-local', '--expect-remote', '--expect-upstream', '--explain', '--facts', '--fast', '--file', '--fix', '--force', '--force-retry', '--format', '--fresh-token', '--from', '--from-meetings', '--full', '--git', '--grant-types', '--group-by', '--harness', '--held', '--help', '--http', '--id', '--images', '--include-ambiguous', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--install', '--issuer-url', '--json', '--keep', '--keep-checkout', '--key', '--lanes', '--legacy-lock', '--limit', '--list', '--local-postgres', '--markdown', '--max-cost-usd', '--max-usd', '--mcp-only', '--mcp-url', '--migrate-only', '--migration', '--min-n', '--model', '--no-autopilot-install', '--no-autostash', '--no-delegate', '--no-embed', '--no-embedding', '--no-expand', '--no-extract', '--no-filters', '--no-git', '--no-lanes', '--no-llm', '--no-probe', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--older-than', '--once', '--only', '--oversized', '--page', '--params', '--pat-file', '--path', '--pglite', '--phase', '--plan', '--prefer', '--prefer-postgres', '--preview', '--probe', '--profile', '--provenance', '--providers', '--pull', '--purge', '--push-only', '--query', '--question', '--quiet', '--rebase', '--rebuild', '--redact-paths', '--reference-date', '--remediate', '--remove', '--repair', '--repair-unknown-markers', '--repo', '--request', '--reset', '--resolve', '--resume', '--retry-failed', '--retry-parked', '--save', '--schema-pack', '--scope', '--scopes', '--search-mode', '--section', '--self-transfer', '--semantic', '--session', '--session-id', '--show-toplevel', '--side', '--since', '--since-last-run', '--skip', '--skip-embed-check', '--skip-failed', '--slug', '--slugs', '--source', '--source-id', '--src-subpath', '--stale', '--state', '--status', '--strategy', '--supabase', '--surface', '--tier', '--timeout', '--to', '--token', '--touchpoint', '--url', '--url-env', '--user', '--vacuum', '--verbose', '--version', '--wait', '--warn-only', '--watch', '--working-tree', '--workspace', '--yes'],
'integrations': ['--auto', '--brain', '--dry-run', '--help', '--json', '--overwrite', '--refresh', '--source', '--target'],
'integrity': ['--accept-pending', '--auto', '--backend', '--background', '--body', '--brain', '--check', '--confidence', '--cost', '--dry-run', '--explain', '--follow', '--fresh', '--help', '--json', '--limit', '--no-accept-pending', '--progress-interval', '--progress-json', '--quiet', '--review-lower', '--skip-bare-tweet', '--skip-urls', '--source', '--timeout', '--type', '--wait'],
- 'jobs': ['--abbrev-ref', '--access', '--account', '--acknowledge-managed', '--add', '--admin-intent', '--adopt-slug-path', '--aliases', '--all', '--all-sources', '--allow-empty', '--allow-shell-jobs', '--allowed-operations', '--apply', '--asof', '--auto', '--background', '--backoff-delay', '--backoff-jitter', '--backoff-type', '--batch-size', '--body', '--bound-slug-prefixes', '--brain', '--break-lock', '--by-mention', '--cached', '--catch-up', '--check', '--cli-path', '--client', '--close', '--cluster-errors', '--concurrency', '--confidence', '--confirm-destructive', '--confirm-relocated-root', '--cost-estimate', '--cursor', '--date', '--dated-since', '--days', '--delay', '--detach', '--detail', '--diff-filter', '--dir', '--drain', '--drain-timeout', '--dry-run', '--embedding-dimensions', '--embedding-model', '--empty', '--enable', '--entities', '--exclude', '--exclude-standard', '--expect', '--expect-local', '--expect-upstream', '--expected-state', '--explain', '--facts', '--federated-read', '--ff-only', '--file', '--filters', '--fix', '--follow', '--force', '--force-break-lock', '--force-retry', '--format', '--fresh', '--from-index', '--from-meetings', '--full', '--full-history', '--fuzzy', '--git', '--grammar-diagnostics', '--group', '--group-by', '--hard-deadline', '--health-interval', '--held', '--help', '--http', '--id', '--idempotency-key', '--ids', '--images', '--include-ambiguous', '--include-deleted', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--include-null-signature', '--infer-dates', '--inject-bootstrap', '--inline', '--input', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--job-id', '--job-isolation', '--json', '--keep', '--kind', '--lanes', '--legacy-lock', '--limit', '--list', '--lock-duration-ms', '--log-noop', '--markdown', '--max-age', '--max-attempts', '--max-cost', '--max-cost-usd', '--max-crashes', '--max-rss', '--max-sources', '--max-stalled', '--max-usd', '--max-waiting', '--mcp-only', '--migration', '--min-context', '--missing-path', '--mode', '--model', '--multimodal', '--name-only', '--ner', '--nice', '--no-auto-embed', '--no-autopilot-install', '--no-bulk', '--no-confirm', '--no-delegate', '--no-embed', '--no-embedding', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-inject', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-worker', '--non-interactive', '--now', '--older-than', '--once', '--only', '--order', '--others', '--output', '--override-disabled', '--oversized', '--pace', '--pace-max-concurrency', '--pack', '--page', '--parallel', '--params', '--pat-file', '--path', '--pause', '--pglite', '--phase', '--pid-file', '--plan', '--port', '--prefer', '--preview', '--priority', '--probe', '--prune-orphans', '--pull', '--purge', '--question', '--queue', '--queue-only', '--quiet', '--rate', '--reason', '--rebuild', '--recent', '--record', '--redact-paths', '--redact-secrets', '--reenrich-after', '--refresh-ms', '--refresh-operations', '--remediate', '--repo', '--request-id', '--reset-checkpoint', '--resume', '--retry-failed', '--retry-global', '--retry-held', '--retry-parked', '--review-lower', '--row', '--scopes', '--section', '--segment-limit', '--select', '--self-transfer', '--serial', '--session', '--show-toplevel', '--sigkill-rescue', '--since', '--skip-bare-tweet', '--skip-failed', '--skip-urls', '--sleep', '--slug', '--slugs', '--source', '--source-guard', '--source-id', '--sources', '--src-subpath', '--stale', '--state', '--status', '--strategy', '--suites', '--surface', '--swap-only', '--target', '--thin', '--thin-threshold', '--tier', '--timeout', '--timeout-ms', '--to', '--token', '--trust', '--type', '--types', '--uninstall', '--updated-after', '--url', '--user', '--vectors', '--verbose', '--verify', '--version', '--watch', '--wedge-rescue', '--workers', '--working-tree', '--yes'],
+ 'jobs': ['--abbrev-ref', '--access', '--account', '--acknowledge-managed', '--add', '--admin-intent', '--adopt-slug-path', '--aliases', '--all', '--all-sources', '--allow-empty', '--allow-shell-jobs', '--allowed-operations', '--apply', '--asof', '--auto', '--background', '--backoff-delay', '--backoff-jitter', '--backoff-type', '--batch-size', '--body', '--bound-slug-prefixes', '--brain', '--break-lock', '--by-mention', '--cached', '--catch-up', '--check', '--cli-path', '--client', '--close', '--cluster-errors', '--concurrency', '--confidence', '--confirm-destructive', '--confirm-relocated-root', '--cost-estimate', '--cursor', '--date', '--dated-since', '--days', '--delay', '--detach', '--detail', '--diff-filter', '--dir', '--drain', '--drain-timeout', '--dry-run', '--embedding-dimensions', '--embedding-model', '--empty', '--enable', '--entities', '--exclude', '--exclude-standard', '--expect', '--expect-local', '--expect-upstream', '--expected-state', '--explain', '--facts', '--federated-read', '--ff-only', '--file', '--filters', '--fix', '--follow', '--force', '--force-break-lock', '--force-retry', '--format', '--fresh', '--from-index', '--from-meetings', '--full', '--full-history', '--fuzzy', '--git', '--grammar-diagnostics', '--group', '--group-by', '--hard-deadline', '--health-interval', '--held', '--help', '--http', '--id', '--idempotency-key', '--ids', '--images', '--include-ambiguous', '--include-deleted', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--include-null-signature', '--infer-dates', '--inject-bootstrap', '--inline', '--input', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--job-id', '--job-isolation', '--json', '--keep', '--kind', '--lanes', '--legacy-lock', '--limit', '--list', '--lock-duration-ms', '--log-noop', '--markdown', '--max-age', '--max-attempts', '--max-cost', '--max-cost-usd', '--max-crashes', '--max-rss', '--max-sources', '--max-stalled', '--max-usd', '--max-waiting', '--mcp-only', '--migration', '--min-context', '--missing-path', '--mode', '--model', '--multimodal', '--name-only', '--ner', '--nice', '--no-auto-embed', '--no-autopilot-install', '--no-bulk', '--no-confirm', '--no-delegate', '--no-embed', '--no-embedding', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-inject', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-worker', '--non-interactive', '--now', '--older-than', '--once', '--only', '--order', '--others', '--output', '--override-disabled', '--oversized', '--pace', '--pace-max-concurrency', '--pack', '--page', '--parallel', '--params', '--pat-file', '--path', '--pause', '--pglite', '--phase', '--pid-file', '--plan', '--port', '--prefer', '--preview', '--priority', '--probe', '--prune-orphans', '--pull', '--purge', '--question', '--queue', '--queue-only', '--quiet', '--rate', '--reason', '--rebuild', '--recent', '--record', '--redact-paths', '--redact-secrets', '--reenrich-after', '--refresh-ms', '--refresh-operations', '--remediate', '--repo', '--request-id', '--reset-checkpoint', '--resume', '--retry-failed', '--retry-global', '--retry-held', '--retry-parked', '--review-lower', '--row', '--scopes', '--section', '--segment-limit', '--select', '--self-transfer', '--serial', '--session', '--show-toplevel', '--side', '--sigkill-rescue', '--since', '--skip', '--skip-bare-tweet', '--skip-failed', '--skip-urls', '--sleep', '--slug', '--slugs', '--source', '--source-guard', '--source-id', '--sources', '--src-subpath', '--stale', '--state', '--status', '--strategy', '--suites', '--surface', '--swap-only', '--target', '--thin', '--thin-threshold', '--tier', '--timeout', '--timeout-ms', '--to', '--token', '--trust', '--type', '--types', '--uninstall', '--updated-after', '--url', '--user', '--vectors', '--verbose', '--verify', '--version', '--watch', '--wedge-rescue', '--workers', '--working-tree', '--yes'],
'lint': ['--abbrev-ref', '--accept-pending', '--adopt-slug-path', '--audit', '--autostash', '--background', '--brain', '--branch', '--cached', '--client', '--confirm-relocated-root', '--conflicts', '--dry-run', '--enable', '--exclude', '--expect-remote', '--expected-epoch', '--expected-revision', '--explain', '--ff-only', '--file', '--fix', '--follow', '--force', '--get', '--git-dir', '--git-path', '--grammar-diagnostics', '--hard', '--help', '--id', '--infer-entity', '--is-inside-work-tree', '--json', '--keep', '--local', '--local-env-vars', '--manifest', '--max-cost-usd', '--no-accept-pending', '--no-autostash', '--no-cron', '--no-pull', '--no-tags', '--no-verify', '--only', '--pat-file', '--path', '--prefer', '--preview', '--probe', '--progress-interval', '--progress-json', '--provenance', '--pull', '--purge', '--push-only', '--quiet', '--rebase', '--require-clean', '--resolve', '--scopes', '--self-transfer', '--short', '--show-toplevel', '--slug', '--slugs', '--source', '--source-id', '--timeout', '--unset-all', '--wait', '--yes'],
'loops': ['--all', '--as-of', '--brain', '--dry-run', '--fail-fast', '--help', '--json', '--note', '--source', '--stale-ok', '--status', '--tools-json', '--top', '--type'],
'lsd': ['--brain', '--force-resume', '--help', '--json', '--judge-model', '--limit', '--list-runs', '--max-cost', '--max-far-set', '--max-ideas-per-judge-call', '--max-usd', '--no-save', '--resume', '--save', '--source', '--strict-budget', '--yes'],
@@@ -108,8 -107,8 +108,8 @@@
'reindex-frontmatter': ['--apply', '--brain', '--concurrency', '--dry-run', '--expect', '--force', '--help', '--json', '--max-cost', '--max-usd', '--non-interactive', '--slug-prefix', '--source', '--trust', '--workers', '--yes'],
'reindex-search-vector': ['--accept-pending', '--background', '--brain', '--dry-run', '--explain', '--follow', '--help', '--json', '--no-accept-pending', '--progress-interval', '--progress-json', '--quiet', '--resume', '--source', '--timeout', '--wait', '--yes'],
'reinit-pglite': ['--abbrev-ref', '--acknowledge-managed', '--all', '--allow-create-db', '--allow-docker', '--allow-empty', '--apply', '--body', '--brain', '--break-lock', '--cached', '--chat-model', '--check', '--concurrency', '--confirm-destructive', '--content-root', '--db-only', '--detail', '--diff-filter', '--dim', '--embedding-dimensions', '--embedding-model', '--empty', '--exclude', '--exclude-standard', '--expansion-model', '--expect', '--filters', '--fix', '--force', '--force-break-lock', '--format', '--full', '--full-history', '--git', '--grant-types', '--hard-deadline', '--help', '--http', '--include-gitignored', '--include-hidden', '--interval', '--is-ancestor', '--is-shallow-repository', '--issuer-url', '--json', '--key', '--lanes', '--local-postgres', '--max-age', '--max-cost', '--max-sources', '--max-usd', '--mcp-only', '--mcp-url', '--migrate-only', '--missing-path', '--model', '--name-only', '--no-auto-embed', '--no-bulk', '--no-delegate', '--no-embed', '--no-embedding', '--no-extract', '--no-git', '--no-gpg-sign', '--no-hard-deadline', '--no-lanes', '--no-llm', '--no-migrate', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-sync', '--no-verify', '--non-interactive', '--oauth-client-id', '--oauth-client-secret', '--others', '--parallel', '--path', '--pglite', '--plan', '--prefer', '--prefer-postgres', '--preview', '--priority', '--provenance', '--query', '--quiet', '--redact-paths', '--repo', '--reset-checkpoint', '--retry-failed', '--retry-held', '--schema-pack', '--scopes', '--search-mode', '--serial', '--show-toplevel', '--skip-embed-check', '--skip-failed', '--slugs', '--source', '--source-id', '--src-subpath', '--stale', '--status', '--strategy', '--supabase', '--surface', '--timeout', '--to', '--trust', '--url', '--verify', '--version', '--watch', '--workers', '--working-tree', '--yes'],
- 'remote': ['--brain', '--help', '--json', '--mcp-only', '--only', '--remediation-plan', '--scopes', '--source', '--timeout'],
+ 'remote': ['--brain', '--help', '--json', '--mcp-only', '--only', '--remediation-plan', '--request-id', '--scopes', '--source', '--timeout'],
- 'repair': ['--acknowledge-managed', '--all', '--all-drifted', '--apply', '--brain', '--break-lock', '--class', '--client', '--close', '--diff', '--expect', '--ff-only', '--force', '--force-break-lock', '--from', '--full', '--help', '--id', '--include-ambiguous', '--include-failures', '--include-repairs', '--json', '--keep', '--limit', '--max-cost', '--max-cost-usd', '--max-usd', '--no-delegate', '--no-embed', '--no-llm', '--older-than', '--only', '--prefer', '--probe', '--remediate', '--remediation-plan', '--request', '--request-id', '--reset-checkpoint', '--retry-failed', '--scopes', '--since', '--skip', '--skip-failed', '--slug', '--slugs', '--source', '--stale', '--url', '--yes'],
+ 'repair': ['--acknowledge-managed', '--all', '--all-drifted', '--apply', '--brain', '--break-lock', '--class', '--client', '--close', '--diff', '--expect', '--ff-only', '--force', '--force-break-lock', '--from', '--full', '--held', '--help', '--id', '--include-ambiguous', '--include-failures', '--include-repairs', '--json', '--keep', '--limit', '--max-cost', '--max-cost-usd', '--max-usd', '--no-delegate', '--no-embed', '--no-llm', '--older-than', '--only', '--prefer', '--probe', '--remediate', '--remediation-plan', '--request', '--request-id', '--reset-checkpoint', '--retry-failed', '--scopes', '--side', '--since', '--skip', '--skip-failed', '--slug', '--slugs', '--source', '--stale', '--state', '--url', '--yes'],
'repair-jsonb': ['--accept-pending', '--background', '--brain', '--dry-run', '--explain', '--follow', '--help', '--json', '--no-accept-pending', '--probe', '--progress-interval', '--progress-json', '--quiet', '--source', '--supabase', '--timeout', '--url', '--wait'],
'report': ['--brain', '--content', '--dir', '--help', '--json', '--source', '--title', '--type'],
'repos': ['--abandon', '--abbrev-ref', '--abort', '--accept-suggested', '--access', '--account', '--add', '--admin-intent', '--adopt-columns', '--adopt-permissions', '--adopt-slug-path', '--after', '--all', '--all-new', '--allow-unverified-remote', '--allowed-operations', '--app-id', '--app-install', '--app-pem', '--apply', '--audit', '--auto-additive', '--autostash', '--backups', '--batch-check', '--before', '--bound-brain', '--bound-max-concurrent', '--bound-slug-prefixes', '--bound-source', '--bound-tools', '--brain', '--branch', '--break-lock', '--budget-usd-per-day', '--cached', '--calendar-id', '--category', '--classify', '--cleanup-dead-local-locks', '--clear', '--client', '--clone-dir', '--code', '--confirm-destructive', '--confirm-quiesced', '--confirm-relocated-root', '--conflicts', '--contacts-dir', '--count', '--days', '--decisions', '--delegated-namespace', '--delegated-slug-prefixes', '--depth', '--detect', '--diff-filter', '--dir', '--disable', '--dry-run', '--enable', '--error-unmatch', '--exclude', '--expect-local', '--expect-remote', '--expect-upstream', '--expected-epoch', '--expected-incarnation', '--expected-state', '--federated', '--federated-read', '--fetch-timeout-ms', '--ff-only', '--file', '--fix', '--force', '--format', '--from', '--full', '--future-days', '--get', '--git-dir', '--git-path', '--github-repo', '--grant-types', '--group-by', '--hard', '--help', '--history-days', '--http', '--id', '--if-version', '--include', '--include-warns', '--is-ancestor', '--is-inside-work-tree', '--json', '--keep', '--keep-storage', '--kind', '--lanes', '--limit', '--local', '--local-env-vars', '--loops-exclude-labels', '--manifest', '--max-cost-usd', '--message', '--migrate-legacy', '--migration', '--min-trust', '--name', '--name-only', '--no-autostash', '--no-cron', '--no-embed', '--no-federate', '--no-federated', '--no-harden', '--no-lanes', '--no-pull', '--no-tags', '--no-verify', '--not', '--only', '--operations', '--origin', '--others', '--out', '--params', '--parked-pushes', '--pat-file', '--path', '--path-format', '--plan', '--porcelain', '--preview', '--probe', '--profile', '--pull', '--push-only', '--quiet', '--read-sources', '--rebase', '--redirect-uri', '--refresh-operations', '--remove-backup', '--repair', '--replace', '--repos', '--request-id', '--require-clean', '--reset-checkpoint', '--reset-default', '--resolve', '--resume', '--retry-failed', '--scope', '--scopes', '--secret', '--self-transfer', '--services', '--set', '--set-upstream-to', '--shared-skills', '--short', '--show-toplevel', '--since', '--slug-prefixes', '--source', '--source-id', '--source-ids', '--sources', '--stale', '--state', '--status', '--stdin', '--surface', '--symbolic-full-name', '--takes-holders', '--token', '--token-command', '--token-endpoint-auth-method', '--token-env', '--token-ttl', '--unindexed', '--unset-all', '--untracked-files', '--url', '--usage', '--verify', '--wait', '--wait-drain', '--warn-only', '--window', '--yes'],
@@@ -127,12 -126,12 +127,12 @@@
'skillpack-check': ['--accept-pending', '--background', '--brain', '--explain', '--fast', '--follow', '--help', '--json', '--list', '--no-accept-pending', '--progress-interval', '--progress-json', '--quiet', '--source', '--strict', '--timeout', '--wait', '--yes'],
'smoke-test': ['--brain', '--help', '--json', '--source'],
'sources': ['--abandon', '--abbrev-ref', '--abort', '--accept-pending', '--accept-suggested', '--access', '--account', '--add', '--admin-intent', '--adopt-columns', '--adopt-permissions', '--adopt-slug-path', '--after', '--all', '--all-new', '--allow-unverified-remote', '--allowed-operations', '--app-id', '--app-install', '--app-pem', '--apply', '--audit', '--auto-additive', '--autostash', '--background', '--backups', '--batch-check', '--before', '--bound-brain', '--bound-max-concurrent', '--bound-slug-prefixes', '--bound-source', '--bound-tools', '--brain', '--branch', '--break-lock', '--budget-usd-per-day', '--cached', '--calendar-id', '--category', '--classify', '--cleanup-dead-local-locks', '--clear', '--client', '--clone-dir', '--code', '--confirm-destructive', '--confirm-quiesced', '--confirm-relocated-root', '--conflicts', '--contacts-dir', '--count', '--days', '--db-url', '--decisions', '--delegated-namespace', '--delegated-slug-prefixes', '--depth', '--detect', '--diff-filter', '--dir', '--disable', '--dry-run', '--enable', '--error-unmatch', '--exclude', '--expect-local', '--expect-remote', '--expect-upstream', '--expected-epoch', '--expected-incarnation', '--expected-state', '--explain', '--federated', '--federated-read', '--fetch-timeout-ms', '--ff-only', '--file', '--fix', '--follow', '--force', '--format', '--from', '--full', '--future-days', '--get', '--git-dir', '--git-path', '--github-repo', '--grant-types', '--group-by', '--hard', '--help', '--history-days', '--http', '--id', '--if-version', '--include', '--include-warns', '--is-ancestor', '--is-inside-work-tree', '--json', '--keep', '--keep-storage', '--kind', '--lanes', '--legacy-lock', '--limit', '--local', '--local-env-vars', '--loops-exclude-labels', '--manifest', '--max-cost-usd', '--message', '--migrate-legacy', '--migration', '--min-trust', '--name', '--name-only', '--no-accept-pending', '--no-autostash', '--no-cron', '--no-embed', '--no-federate', '--no-federated', '--no-harden', '--no-lanes', '--no-pull', '--no-tags', '--no-verify', '--not', '--only', '--operations', '--origin', '--others', '--out', '--params', '--parked-pushes', '--pat-file', '--path', '--path-format', '--plan', '--porcelain', '--preview', '--probe', '--profile', '--progress-interval', '--progress-json', '--pull', '--push-only', '--quiet', '--read-sources', '--rebase', '--redirect-uri', '--refresh-operations', '--remove-backup', '--repair', '--replace', '--repos', '--request-id', '--require-clean', '--reset-checkpoint', '--reset-default', '--resolve', '--resume', '--retry-failed', '--scope', '--scopes', '--secret', '--self-transfer', '--services', '--set', '--set-upstream-to', '--shared-skills', '--short', '--show-toplevel', '--since', '--slug-prefixes', '--source', '--source-id', '--source-ids', '--sources', '--stale', '--state', '--status', '--stdin', '--surface', '--symbolic-full-name', '--takes-holders', '--timeout', '--token', '--token-command', '--token-endpoint-auth-method', '--token-env', '--token-ttl', '--unindexed', '--unset-all', '--untracked-files', '--url', '--usage', '--verify', '--wait', '--wait-drain', '--warn-only', '--window', '--yes'],
- 'status': ['--abbrev-ref', '--acknowledge-managed', '--all', '--allow-empty', '--apply', '--body', '--brain', '--break-lock', '--cached', '--check', '--concurrency', '--confirm-destructive', '--deadline-ms', '--delete', '--detail', '--diff-filter', '--empty', '--enable', '--exclude', '--exclude-standard', '--fast', '--filters', '--fix', '--force-break-lock', '--format', '--full', '--full-history', '--funnel', '--hard-deadline', '--help', '--include-gitignored', '--include-hidden', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--json', '--lanes', '--max-age', '--max-sources', '--mcp-only', '--missing-path', '--name-only', '--no-auto-embed', '--no-bulk', '--no-delegate', '--no-embed', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-walk', '--others', '--parallel', '--path', '--prefer', '--preview', '--priority', '--quiet', '--redact-paths', '--repo', '--reset-checkpoint', '--retry-failed', '--retry-held', '--section', '--serial', '--show-toplevel', '--skip-failed', '--slugs', '--source', '--source-id', '--src-subpath', '--stale', '--status', '--strategy', '--timeout', '--url', '--verify', '--watch', '--workers', '--working-tree', '--yes'],
+ 'status': ['--abbrev-ref', '--acknowledge-managed', '--all', '--allow-empty', '--apply', '--body', '--brain', '--break-lock', '--cached', '--check', '--concurrency', '--confirm-destructive', '--deadline-ms', '--delete', '--detail', '--diff-filter', '--empty', '--enable', '--exclude', '--exclude-standard', '--fast', '--filters', '--fix', '--force-break-lock', '--format', '--full', '--full-history', '--funnel', '--hard-deadline', '--help', '--include-gitignored', '--include-hidden', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--json', '--lanes', '--max-age', '--max-sources', '--mcp-only', '--missing-path', '--name-only', '--no-auto-embed', '--no-bulk', '--no-delegate', '--no-embed', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-walk', '--others', '--parallel', '--path', '--prefer', '--preview', '--priority', '--quiet', '--redact-paths', '--repo', '--request-id', '--reset-checkpoint', '--retry-failed', '--retry-held', '--section', '--serial', '--show-toplevel', '--skip-failed', '--slugs', '--source', '--source-id', '--src-subpath', '--stale', '--status', '--strategy', '--timeout', '--url', '--verify', '--watch', '--workers', '--working-tree', '--yes'],
'storage': ['--brain', '--fix', '--help', '--json', '--plan', '--repo', '--restore-only', '--source', '--to'],
'sweep': ['--accept-pending', '--apply', '--assign-corpus', '--background', '--batch-limit', '--brain', '--budget-ms', '--delete-brain', '--explain', '--follow', '--help', '--home', '--json', '--no-accept-pending', '--no-delegate', '--once', '--only', '--progress-interval', '--progress-json', '--quiet', '--retry-failed', '--session', '--source', '--source-id', '--stale', '--timeout', '--wait'],
- 'sync': ['--abbrev-ref', '--accept-pending', '--account', '--acknowledge-managed', '--admin-intent', '--adopt-columns', '--adopt-permissions', '--all', '--allow-empty', '--apply', '--apply-rewrites', '--assign-corpus', '--audit', '--auto', '--background', '--batch', '--batch-size', '--body', '--brain', '--branch', '--break-lock', '--budget-ms', '--by-mention', '--cached', '--catch-up', '--check', '--client', '--close', '--concurrency', '--confirm-destructive', '--confirm-quiesced', '--confirm-relocated-root', '--conflicts', '--contacts-dir', '--content-audit', '--conversation', '--count', '--db-url', '--delete-brain', '--depth', '--detach', '--detail', '--diff-filter', '--dim', '--dir', '--drain', '--dry-run', '--embedding-dimensions', '--embedding-model', '--empty', '--enable', '--entity', '--exclude', '--exclude-standard', '--expect', '--expect-local', '--expect-upstream', '--expected-epoch', '--expected-revision', '--expected-state', '--explain', '--facts', '--fast', '--ff-only', '--filters', '--first-parent', '--fix', '--follow', '--force', '--force-break-lock', '--force-rechunk', '--force-retry', '--force-schema', '--format', '--fresh', '--from', '--from-meetings', '--full', '--full-history', '--git-dir', '--git-path', '--group-by', '--hard-deadline', '--harness', '--held', '--help', '--home', '--http', '--id', '--images', '--include-ambiguous', '--include-flagged', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--include-null-signature', '--include-repairs', '--index-audit', '--infer-dates', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--json', '--keep-checkout', '--kind', '--lanes', '--lang', '--left-right', '--legacy-lock', '--limit', '--link-source', '--link-type', '--list', '--locks', '--log-noop', '--manifest', '--markdown', '--max-age', '--max-cost', '--max-cost-usd', '--max-jobs', '--max-rss', '--max-sources', '--max-usd', '--migrate-legacy', '--migrate-only', '--missing-path', '--multimodal', '--name', '--name-only', '--name-status', '--ner', '--no-accept-pending', '--no-auto-embed', '--no-autopilot-install', '--no-bulk', '--no-capture', '--no-delegate', '--no-embed', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-walk', '--once', '--only', '--operations', '--others', '--oversized', '--overwrite', '--pace', '--pace-max-concurrency', '--pack', '--page', '--parallel', '--params', '--path', '--path-format', '--pglite', '--phase', '--pid-file', '--plan', '--porcelain', '--prefer', '--prefer-postgres', '--preview', '--priority', '--probe', '--probe-pglite', '--progress-interval', '--progress-json', '--project', '--providers', '--prune-orphans', '--pull', '--push-only', '--query', '--question', '--queue', '--quiet', '--raw', '--reauth', '--rebuild', '--redact-paths', '--refresh', '--regenerate', '--remediate', '--remediation-plan', '--remove', '--remove-core', '--replace', '--repo', '--request-id', '--reset', '--reset-checkpoint', '--reset-default', '--restore-only', '--resume', '--retry-failed', '--retry-held', '--retry-parked', '--reverse', '--scope', '--scopes', '--self-transfer', '--serial', '--short', '--show-current', '--show-toplevel', '--since', '--skills-dir', '--skip', '--skip-failed', '--slot', '--slug', '--slugs', '--source', '--source-id', '--sources', '--src-subpath', '--stale', '--state', '--status', '--stdin', '--strategy', '--supabase', '--symbol-kind', '--symbolic-full-name', '--takes-holders', '--target', '--target-score', '--tier', '--timeout', '--to', '--token', '--top-k', '--type', '--unindexed', '--url', '--url-env', '--user', '--verbose', '--verify', '--version', '--wait', '--watch', '--window', '--workers', '--working-tree', '--yes'],
+ 'sync': ['--abbrev-ref', '--accept-pending', '--account', '--acknowledge-managed', '--admin-intent', '--adopt-columns', '--adopt-permissions', '--all', '--allow-empty', '--apply', '--apply-rewrites', '--assign-corpus', '--audit', '--auto', '--background', '--batch', '--batch-size', '--body', '--brain', '--branch', '--break-lock', '--budget-ms', '--by-mention', '--cached', '--catch-up', '--check', '--client', '--close', '--concurrency', '--confirm-destructive', '--confirm-quiesced', '--confirm-relocated-root', '--conflicts', '--contacts-dir', '--content-audit', '--conversation', '--count', '--db-url', '--delete-brain', '--depth', '--detach', '--detail', '--diff-filter', '--dim', '--dir', '--drain', '--dry-run', '--embedding-dimensions', '--embedding-model', '--empty', '--enable', '--entity', '--exclude', '--exclude-standard', '--expect', '--expect-local', '--expect-upstream', '--expected-epoch', '--expected-revision', '--expected-state', '--explain', '--facts', '--fast', '--ff-only', '--filters', '--first-parent', '--fix', '--follow', '--force', '--force-break-lock', '--force-rechunk', '--force-retry', '--force-schema', '--format', '--fresh', '--from', '--from-meetings', '--full', '--full-history', '--git-dir', '--git-path', '--group-by', '--hard-deadline', '--harness', '--held', '--help', '--home', '--http', '--id', '--images', '--include-ambiguous', '--include-flagged', '--include-frontmatter', '--include-gitignored', '--include-hidden', '--include-null-signature', '--include-repairs', '--index-audit', '--infer-dates', '--install', '--interval', '--is-ancestor', '--is-shallow-repository', '--json', '--keep-checkout', '--kind', '--lanes', '--lang', '--left-right', '--legacy-lock', '--limit', '--link-source', '--link-type', '--list', '--locks', '--log-noop', '--manifest', '--markdown', '--max-age', '--max-cost', '--max-cost-usd', '--max-jobs', '--max-rss', '--max-sources', '--max-usd', '--migrate-legacy', '--migrate-only', '--missing-path', '--multimodal', '--name', '--name-only', '--name-status', '--ner', '--no-accept-pending', '--no-auto-embed', '--no-autopilot-install', '--no-bulk', '--no-capture', '--no-delegate', '--no-embed', '--no-extract', '--no-gpg-sign', '--no-hard-deadline', '--no-lanes', '--no-llm', '--no-pull', '--no-renames', '--no-repair', '--no-schema-pack', '--no-verify', '--no-walk', '--once', '--only', '--operations', '--others', '--oversized', '--overwrite', '--pace', '--pace-max-concurrency', '--pack', '--page', '--parallel', '--params', '--path', '--path-format', '--pglite', '--phase', '--pid-file', '--plan', '--porcelain', '--prefer', '--prefer-postgres', '--preview', '--priority', '--probe', '--probe-pglite', '--progress-interval', '--progress-json', '--project', '--providers', '--prune-orphans', '--pull', '--push-only', '--query', '--question', '--queue', '--quiet', '--raw', '--reauth', '--rebuild', '--redact-paths', '--refresh', '--regenerate', '--remediate', '--remediation-plan', '--remove', '--remove-core', '--replace', '--repo', '--request-id', '--reset', '--reset-checkpoint', '--reset-default', '--restore-only', '--resume', '--retry-failed', '--retry-held', '--retry-parked', '--reverse', '--scope', '--scopes', '--self-transfer', '--serial', '--short', '--show-current', '--show-toplevel', '--side', '--since', '--skills-dir', '--skip', '--skip-failed', '--slot', '--slug', '--slugs', '--source', '--source-id', '--sources', '--src-subpath', '--stale', '--state', '--status', '--stdin', '--strategy', '--supabase', '--symbol-kind', '--symbolic-full-name', '--takes-holders', '--target', '--target-score', '--tier', '--timeout', '--to', '--token', '--top-k', '--type', '--unindexed', '--url', '--url-env', '--user', '--verbose', '--verify', '--version', '--wait', '--watch', '--window', '--workers', '--working-tree', '--yes'],
'takes': ['--about', '--accept', '--applied', '--apply', '--batch-size', '--before', '--brain', '--bucket-size', '--by', '--claim', '--date', '--dim', '--dir', '--domain', '--dry-run', '--embedding-dimensions', '--embedding-model', '--evidence', '--expected-revision', '--expired', '--failed', '--force', '--from-pages', '--group-by', '--help', '--holder', '--include-covered', '--json', '--kind', '--limit', '--max-pages', '--min-confidence', '--min-n', '--no-embed', '--no-embedding', '--offset', '--outcome', '--path', '--quality', '--reject', '--request-id', '--retry-failed', '--row', '--semantic', '--since', '--slug', '--sort', '--source', '--source-id', '--stale', '--state', '--status', '--supabase', '--to', '--unapplied', '--unit', '--until', '--value', '--verdict', '--weight', '--who', '--yes'],
- 'think': ['--anchor', '--brain', '--calibration-holder', '--help', '--json', '--mcp-only', '--model', '--only', '--reference-date', '--rounds', '--save', '--since', '--source', '--source-id', '--take', '--until', '--with-calibration'],
+ 'think': ['--anchor', '--brain', '--calibration-holder', '--help', '--json', '--mcp-only', '--model', '--only', '--reference-date', '--request-id', '--rounds', '--save', '--since', '--source', '--source-id', '--take', '--until', '--with-calibration'],
'transcripts': ['--accept-pending', '--all', '--all-discovery', '--apply', '--background', '--brain', '--days', '--dry-run', '--embed', '--explain', '--facts', '--follow', '--format', '--full', '--help', '--include-self', '--json', '--limit', '--max-bytes', '--max-cost-usd', '--no-accept-pending', '--only', '--progress-interval', '--progress-json', '--purge', '--quiet', '--since', '--source', '--source-id', '--timeout', '--wait'],
'trust': ['--accept-all', '--accept-pending', '--all', '--background', '--batch-size', '--brain', '--break-lock', '--db-url', '--dry-run', '--expect', '--explain', '--follow', '--from', '--help', '--http', '--json', '--kind', '--legacy-lock', '--no-accept-pending', '--only', '--path', '--progress-interval', '--progress-json', '--quiet', '--reason', '--reason-family', '--relower', '--remove', '--repair-unknown-markers', '--resume', '--since', '--slug', '--source', '--source-id', '--timeout', '--undo', '--uri-prefix', '--version', '--wait', '--yes'],
'upgrade': ['--accept-reviewed-inventory', '--acknowledge-no-backup', '--admin-intent', '--all', '--all-applied', '--apply', '--apply-clean-hunks', '--backup-confirmed', '--brain', '--catch-up', '--changed', '--check', '--concurrency', '--confirm-quiesced', '--confirm-relocated-root', '--content-root', '--cost-estimate', '--embedding-dimensions', '--embedding-model', '--exit-code', '--expand', '--expected-epoch', '--expected-state', '--explain', '--export-db-only', '--export-source', '--ff-only', '--force', '--force-all', '--force-orchestrator', '--force-retry', '--force-schema', '--format', '--held', '--help', '--host-dir', '--images', '--inject-bootstrap', '--inline', '--install', '--interval', '--json', '--limit', '--list', '--manifest', '--markdown', '--max-rss', '--max-usd', '--migrate-only', '--migration', '--mode', '--multimodal', '--name-only', '--no-autopilot-install', '--no-bun-floor-check', '--no-embed', '--no-expand', '--no-inject', '--no-worker', '--non-interactive', '--now', '--once', '--only', '--oversized', '--path', '--pause', '--phase', '--quiet', '--reason', '--refs', '--remediation-plan', '--repo', '--require-db', '--resume', '--retry-global', '--search-mode', '--self-transfer', '--skills-dir', '--skip-verify', '--source', '--stale', '--status', '--swap-only', '--tags', '--target', '--uninstall', '--user', '--vectors', '--verify', '--version', '--workers', '--yes'],
diff --cc src/core/error-registry.ts
index 18b842698f,d64c41cd92..a63044ae9d
--- a/src/core/error-registry.ts
+++ b/src/core/error-registry.ts
@@@ -458,12 -473,11 +473,13 @@@ export const CODES =
page_shrink_refused: { class: 'caller', summary: "put_page refused to replace a large page with content much smaller than the stored body; nothing was written.", why: "Above the inline read size (mcp.inline_body_bytes, 256 KB) a get_page read returns a window, not the body, so a replacement far smaller than the page is most often a window sent back as the whole page, which would delete the unread rest.", docs: 'docs/guides/windowed-reads.md#page_shrink_refused', suggestion: "Change part of the page with edit_page (revision from get_page body: 'none'). Pass allow_shrink: true only when the smaller content is the intended complete page.", fix: { argv: ['gbrain', 'get', '--source', '{source_id}', '--', '{slug}'], mcp: { tool: 'get_page', arguments: { slug: '{slug}', source_id: '{source_id}', body: 'none' } }, consent: [], actor: 'agent', why: "Returns the page's revision and size without its body; edit_page with that revision changes only the text it names.", requires_exclusive: false } },
page_too_large_for_inline: { class: 'caller', summary: "The whole page does not fit one result on this connection, so get_page did not return its body.", why: "A result is measured as the complete encoded frame; a body over the connection's cap (mcp.max_result_bytes_stdio, 4 MiB; mcp.max_result_bytes_http, 1 MiB) would be cut or rejected by the client. Nothing was truncated: windowed reads cover the whole page in pieces.", docs: 'docs/guides/windowed-reads.md#page_too_large_for_inline', legacy_error: 'invalid_params', suggestion: "Read the outline (body: 'outline'), then windows (body: 'window' with lines, bytes, around_chunk_id or the returned next_cursor). To replace the page, edit it with edit_page and the revision from body: 'none'.", fix: { argv: ['gbrain', 'get', '--source', '{source_id}', '--', '{slug}'], mcp: { tool: 'get_page', arguments: { slug: '{slug}', source_id: '{source_id}', body: 'outline' } }, consent: [], actor: 'agent', why: "Returns the page's size, revision and outline; each entry names the lines to read with body: 'window'.", requires_exclusive: false, verify: { mcp: { tool: 'get_page', arguments: { slug: '{slug}', source_id: '{source_id}', body: 'none' } } } } },
parse_error: { class: 'caller', summary: "The request body is not valid JSON." },
+ part_splits_code_point: { class: 'caller', summary: "An upload part starts or ends inside a code point (half of a surrogate pair), so it was not stored.", why: "Each part is stored as raw UTF-8 bytes; half of a surrogate pair has no UTF-8 encoding, so a part cut there would corrupt the character.", suggestion: 'Move the cut before the high surrogate so the pair travels in one part, then send the part again.' },
+ part_too_large: { class: 'caller', summary: "An upload part's encoded frame is over the connection's part limit (part_max_frame_bytes), so it was not stored.", why: "part_max_frame_bytes is the connection's inbound request cap (at most 4 MiB) minus a 4 KiB envelope; JSON escaping makes quotes, backslashes and control characters count more than once.", suggestion: 'Cut the part so the whole call stays within part_max_frame_bytes, then send it again with the same part number.' },
frontmatter_alias_limit: { class: 'caller', summary: "A file an older gbrain imported nests YAML aliases in its frontmatter that expand past the size limit, so sync holds it alone.", why: "#7018 bounds YAML alias expansion on purpose (a few hundred bytes of nested anchors expand into gigabytes), so refusing bytes an older gbrain imported is intended, not a parser regression: the page keeps its last imported version and the rest of the source syncs.", suggestion: 'Reduce the alias nesting in the frontmatter (or write the values out), or remove the file, then commit and sync again.' },
- parser_regression: { class: 'server', summary: "A file whose exact bytes imported before is now refused by gbrain's frontmatter reader.", why: "The same bytes imported under an earlier gbrain version, so only gbrain changed; with `GBRAIN_SYNC_PARSER_REGRESSION=hold` for the process that syncs, such a file is held and the rest of the sync continues.", suggestion: 'Report it as a gbrain bug with the gbrain version, the file and the code; upgrade, or keep `GBRAIN_SYNC_PARSER_REGRESSION=hold` set for the process that syncs, and never pin a release older than 0.60.305.0; then sync again.' },
+ parser_regression: { class: 'server', summary: "A file whose exact bytes imported before is now refused by gbrain's frontmatter reader.", why: "The same bytes imported under an earlier gbrain version, so only gbrain changed; such a file is held and the rest of the sync continues (`GBRAIN_SYNC_PARSER_REGRESSION=stop` for the process that syncs stops the run instead).", suggestion: 'Report it as a gbrain bug with the gbrain version, the file and the code; upgrade or pin the last good version, then sync again.' },
pasted_wrong_url: { class: 'caller', summary: "Google connect credential error: pasted wrong url.", docs: 'docs/guides/google-connect.md#troubleshooting' },
payload_too_large: { class: 'caller', summary: "The payload exceeds the configured size cap." },
+ path_not_utf8: { class: 'caller', summary: "A committed file's name is not valid UTF-8, so managed sync holds that file alone.", why: "Git hands the name back with U+FFFD for the bytes that are not UTF-8 (a Latin-1 name from an older system, an archive or a network share), and no Git read or file matches that decoded name, so nothing is imported from it. The rest of the source keeps syncing.", docs: 'docs/guides/write-refusals.md#path_not_utf8', suggestion: 'Rename the file to a UTF-8 name (git ls-files with core.quotePath shows its exact bytes; convmv -f latin1 -t utf8 converts a Latin-1 name), commit, then sync again; the rename clears the hold.' },
pattern_claims_pending: { class: 'retryable', summary: "An existing pattern page is waiting on the rewrite that de-duplicates its claim sources, so no patterns child was submitted this run.", why: "The patterns child reads existing pattern pages; until their claim records reference one shared reflection list, the pages can overflow the model's window and the run pays for nothing.", fix: { argv: ['gbrain', 'write-requests', '--source', '{source_id}'], consent: [], actor: 'agent', why: 'Lists the write receipts of the source, newest first, so the held rewrites show, read-only.', requires_exclusive: false } },
patterns_min_interval: { class: 'consent', summary: "An in-cycle dream patterns run was skipped because the partition's last completed patterns run ended less than dream.patterns.min_interval_hours ago; nothing was submitted.", why: 'Every maintenance pass writes new reflections, so the evidence watermark alone re-ran a paid patterns child on each pass. The skip names next_eligible_at; a direct `gbrain dream --phase patterns` or `--once` is not held to the interval, and `gbrain config set dream.patterns.min_interval_hours 0` turns it off.', docs: 'docs/guides/dream-patterns.md#cadence', suggestion: 'Wait for next_eligible_at, or, with the user\'s paid authorization, run `gbrain dream --phase patterns` now.', fix: { argv: ['gbrain', 'dream', '--phase', 'patterns'], consent: ['paid'], actor: 'agent', why: 'A direct run is not held to the cadence; it is a paid model run, so ask the user first.', requires_exclusive: false } },
pending_verify: { class: 'host_only', summary: "`gbrain bootstrap harness --token` wired the harness on a PGLite brain while no `gbrain serve` answered, so the wiring is not verified yet; nothing failed.", why: 'On PGLite the serve holds the single-writer lock, so a stopped serve is the normal state for wiring; the smoke test needs the serve, so it waits for the re-run.', docs: 'docs/guides/bootstrap.md#pending-verify', suggestion: 'Start `gbrain serve --http` for this brain, then re-run the same `gbrain bootstrap harness` command with the same --token; `gbrain bootstrap harness --status` stays partial until that run passes its smoke test.', exit: 13 },
@@@ -653,8 -684,7 +686,8 @@@
sync_cursor_replaced: { class: 'caller', summary: "Another sync run of the source replaced the managed-sync cursor before this checkpoint published, so the checkpoint had nothing left to publish.",
why: "The replacing run (a rediscovery that retried a recorded failure, or a newer sync of the source) covers the source from its own discovery; the superseded checkpoint's receipt is a conflict, no managed-sync failure is recorded for it, and the run that awaited it goes on with the winning cursor. A same-run index lag still reports revision_conflict.",
suggestion: 'Nothing to repair: let the current sync finish. gbrain sync status --source <id> --json shows the cursor that now covers the source.' },
- sync_parser_regression: { class: 'server', summary: "Sync stopped because gbrain would hold a file whose exact bytes imported before; this is a gbrain bug.", why: "The upgrade invariant says a newer reader never refuses bytes an older one imported, so the run stops without advancing rather than hide a regression.", suggestion: 'Report it with the gbrain version, the file and the code; upgrade, or set `GBRAIN_SYNC_PARSER_REGRESSION=hold` for the process that syncs, and never pin a release older than 0.60.305.0; then run gbrain sync --source <id> --no-pull.' },
+ sync_parser_regression: { class: 'server', summary: "Sync stopped because gbrain would hold a file whose exact bytes imported before; this is a gbrain bug.", why: "The upgrade invariant says a newer reader never refuses bytes an older one imported; with `GBRAIN_SYNC_PARSER_REGRESSION=stop` set for the process that syncs (the default holds the file), the run stops without advancing rather than hide a regression.", suggestion: 'Report it with the gbrain version, the file and the code; upgrade or pin the last good version, then run gbrain sync --source <id> --no-pull.' },
+ tail_changed: { class: 'caller', summary: "The end of the page no longer has the sha256 the append expected, so nothing was appended.", why: "append_page's expected_tail_sha256 binds an append to the tail its caller read; another write changed it, and appending anyway could interleave text with a tail the caller never saw.", suggestion: "Read the page again (get_page body: 'none' returns tail_sha256), check whether the text is still missing, and append against the current tail with a new request_id.", fix: { argv: ['gbrain', 'get', '--source', '{source_id}', '--', '{slug}'], mcp: { tool: 'get_page', arguments: { slug: '{slug}', source_id: '{source_id}', body: 'none' } }, consent: [], actor: 'agent', why: "Returns the current revision and tail_sha256.", requires_exclusive: false } },
tail_exposure_approval: { class: 'caller', summary: "A fence on a world-visible page has no end marker and prose follows its table; closing it after the last row is safe for the table but makes those lines visible to remote readers, so the content-repair lane previews the close and waits for a hash-bound approval instead of applying it unattended.", why: "Everything after an unpaired begin marker is hidden by the privacy boundary. The repair model read the tail as prose (not rows), so the only judgment left is whether those exact lines may become visible, and that is the user's: the preview prints them and the hash binds them. On a private page nothing new is disclosed and the lane closes the fence by itself.", actor: 'user', docs: 'docs/guides/write-refusals.md#tail_exposure_approval', suggestion: 'Show the user the preview\'s exposed lines (gbrain repair content --source <id> --only <path>, read-only), then run the printed gbrain repair content --source <id> --only <path> --apply --expect <hash> only after they agree; a changed tail invalidates the hash. By hand: add the end marker directly after the last table row and move the trailing text where it belongs, commit, then gbrain sync --source <id> --no-pull.' },
take_row_collision: { class: 'caller', summary: "A takes fence row number is already used by a different take that is not in this page's canonical fence." },
target_escape: { class: 'caller', summary: "The skill target must remain within its selected root." },
diff --cc test/fixtures/goldens/exports/types.json
index 00a0b4de62,37a6ad5973..18c7b8087f
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@@ -6423,7 -6422,7 +6423,7 @@@
{
"kind": "class",
"members": [
- "canonical?: \"unknown\" | \"keyword_candidates_incomplete\" | \"projection_pending\" | \"timeout\" | \"rate_limited\" | \"embedding_disabled\" | \"writer_lock_unavailable\" | \"writer_pool_capacity\" | \"owner_unavailable\" | \"recovery_required\" | \"queue_capacity\" | \"write_quota_exhausted\" | \"write_quota_insufficient\" | \"write_capacity_backpressure\" | \"revision_required\" | \"revision_conflict\" | \"idempotency_conflict\" | \"source_changed\" | \"write_pending\" | \"storage_error\" | \"cancelled\" | \"permission_denied\" | \"scope_denied\" | \"invalid_params\" | \"not_found\" | \"page_not_found\" | \"page_identity_changed\" | \"write_claim_lost\" | \"request_too_large\" | \"response_too_large\" | \"writer_registration_required\" | \"writer_identity_invalid\" | \"writer_not_initialized\" | \"writer_coordinator_required\" | \"fact_already_expired\" | \"source_writeback_required\" | \"unsupported_mutation_protocol\" | \"writer_upgrade_required\" | \"writer_not_quiesced\" | \"skill_bundle_required\" | \"take_row_collision\" | \"invalid_source_uri\" | \"writer_admin_locked\" | \"connector_account_changed\" | \"connector_intent_outdated\" | \"checkpoint_validation_timeout\" | \"invalid_connector_text\" | \"connector_holds_exhausted\" | \"connector_fence_below_timeline\" | \"core_budget_exceeded\" | \"core_mark_owner_only\" | \"core_remote_edit_refused\" | \"core_delete_owner_only\" | \"timeline_rows_would_be_removed\" | \"purged_content\" | \"preparation_stalled\" | \"fence_unrenderable\" | \"page_body_segmented\" | \"revision_changed\" | \"tail_changed\" | \"write_outcome_unknown\" | \"write_interrupted\" | \"embedding_failed\" | \"bucket_not_found\" | \"database_error\" | \"unknown_transport\" | \"extraction_failed\" | \"fact_not_found\" | \"provenance_required\" | \"unavailable\" | \"budget_unsatisfiable\" | \"embedding_budget_below_worst_case\" | \"absent_from_worktree\" | \"access_command_failed\" | \"access_denied_test_user\" | \"access_env_missing\" | \"acknowledgment_unavailable\" | \"admin_policy_enforced\" | \"ambient_capture_off\" | \"ambiguous_id\" | \"ambiguous_ref\" | \"ambiguous_skill\" | \"answer_not_yours\" | \"answer_pending\" | \"answer_unavailable\" | \"api_not_enabled\" | \"approval_required\" | \"atom_drain_incomplete\" | \"atom_drain_no_progress\" | \"atom_drain_provider_failure\" | \"autopilot_job_owned_by_other_brain\" | \"body_staging_expired\" | \"budget_below_recent_runtime\" | \"backup_dump_failed\" | \"backup_too_large\" | \"belief_coverage_required\" | \"belief_stale_preparation\" | \"benchmark_duplicate_task_id\" | \"benchmark_empty\" | \"benchmark_exists\" | \"benchmark_judge_llm_no_rubric\" | \"benchmark_judge_qrels_no_expected\" | \"benchmark_judge_rule_no_checks\" | \"benchmark_judge_unknown_kind\" | \"benchmark_malformed\" | \"benchmark_missing_judge\" | \"benchmark_missing_task\" | \"benchmark_missing_task_id\" | \"benchmark_not_found\" | \"benchmark_rule_check_bad_arg\" | \"benchmark_rule_check_malformed\" | \"benchmark_rule_check_unknown_op\" | \"bootstrap_cleanup_pending\" | \"bootstrap_empty\" | \"bootstrap_pending_review\" | \"bridge_ownership_conflict\" | \"coverage_from\" | \"coverage_gap\" | \"clock_mismatch\" | \"extract_write_lost\" | \"item_failures_systemic\" | \"known_as_of_unproven\" | \"cache_quota_exceeded\" | \"calendar_unreadable\" | \"capacity_paused\" | \"catalog_capacity_exceeded\" | \"catalog_unavailable\" | \"changed_since_preview\" | \"chronicle_skipped\" | \"no_pricing\" | \"checkpoint_missing\" | \"claim_already_used\" | \"client_json_unreadable\" | \"client_json_wrong_type\" | \"client_not_found\" | \"client_shape_invalid\" | \"code_callees_requires_symbol\" | \"code_callers_requires_symbol\" | \"code_def_requires_symbol\" | \"code_refs_requires_symbol\" | \"code_reused\" | \"colon_slug_windows_write_through\" | \"command_failed\" | \"commit_lock_busy\" | \"commit_paths_invalid\" | \"concurrent_write\" | \"config_error\" | \"confirmation_required\" | \"conflicting_source_scope\" | \"connection_lost\" | \"chunkless_pages_healable\" | \"consent_required\" | \"consent_timeout\" | \"consumers_without_heartbeat\" | \"content_repair_needs_human\" | \"content_rejected\" | \"continuation_unproven\" | \"corpus_chat_unavailable\" | \"corpus_window_backoff\" | \"corpus_window_dead_lettered\" | \"convergence_read_failed\" | \"cost_cap_exceeded\" | \"cost_preview_requires_yes\" | \"cursor_incarnation_retired\" | \"cycle_failed\" | \"d_sel_too_small\" | \"delta_cursor_upgrade_required\" | \"deleted_page_chunks_overdue\" | \"demo_graph_failed\" | \"demo_import_failed\" | \"demo_verification_failed\" | \"derived_cap_exhausted\" | \"destination_not_ready\" | \"drain_stalled\" | \"managed_sync_not_moving\" | \"dream_breaker_tripped\" | \"dirty_tree\" | \"doctor_tier_unavailable\" | \"effect_not_failed\" | \"embed_backfill_stalled\" | \"embedding_auth_failed\" | \"embedding_configuration\" | \"embedding_identity_unqualified\" | \"embedding_model_mismatch\" | \"embedding_plane_split\" | \"embedding_state_unknown\" | \"embedding_storage_unavailable\" | \"embedding_unavailable\" | \"embedding_unconfigured\" | \"embedding_width_mismatch\" | \"engine_graduated\" | \"entity_types_unavailable\" | \"eval_suite_unwired\" | \"export_limit\" | \"extractor_identity_mismatch\" | \"fact_withdrawn\" | \"fact_rows_collide\" | \"facts_absorb_write_refused\" | \"facts_backstop_skipped\" | \"facts_drain_deferred\" | \"facts_drain_job_failed\" | \"facts_payload_expired\" | \"feedback_disabled\" | \"feedback_not_authorized\" | \"fetch_failed\" | \"file_database_drift\" | \"fix_not_writable\" | \"file_drift\" | \"file_removed_during_scan\" | \"file_unreadable\" | \"file_too_large\" | \"follow_approval_required\" | \"forget_requires_owner\" | \"frontmatter_slug_conflict\" | \"full_resync_required\" | \"gate_failed\" | \"ghost_mass_delete_refused\" | \"notifier_stalled\" | \"origin_twin_mass_merge_refused\" | \"ghost_storage_unknown\" | \"git_branch_unborn\" | \"git_durability_not_enabled\" | \"git_checkout_required\" | \"git_detached_head\" | \"git_index_locked\" | \"git_index_stale\" | \"git_target_pending\" | \"git_operation_in_progress\" | \"git_push_unavailable\" | \"git_target_unsafe\" | \"git_unavailable\" | \"gitlink_not_followed\" | \"graduation_drain_timeout\" | \"graduation_embedding_dimension_mismatch\" | \"graduation_foreign_host_binding\" | \"graduation_in_progress\" | \"graduation_interrupted\" | \"graduation_rollback_writes_lost\" | \"graduation_source_writer_held\" | \"graduation_split_brain\" | \"graduation_target_auth_failed\" | \"graduation_target_ddl_unreachable\" | \"graduation_target_not_empty\" | \"graduation_target_unsupported\" | \"graduation_unclassified_table\" | \"graduation_unsupported_platform\" | \"graduation_verify_failed\" | \"graph_incomplete\" | \"host_identity_mismatch\" | \"harness_hook_duplicates\" | \"harness_hook_unowned\" | \"head_blocked\" | \"held_failed\" | \"held_out_overlaps_benchmark\" | \"held_out_required_for_bundled\" | \"independent_principal_required\" | \"insufficient_scope\" | \"integrate_conflict\" | \"internal\" | \"internal_error\" | \"interrupted\" | \"invalid_acknowledgment\" | \"invalid_client\" | \"invalid_fence\" | \"unclosed_ambiguous_tail\" | \"tail_exposure_approval\" | \"sync_in_progress\" | \"invalid_frontmatter\" | \"invalid_grant_clock_skew\" | \"invalid_grant_revoked\" | \"invalid_grant_testing_expiry\" | \"invalid_rating\" | \"invalid_receipt\" | \"invalid_receipt_transition\" | \"invalid_request\" | \"invalid_source\" | \"invalid_source_pin\" | \"invalid_token\" | \"invalid_write_wait\" | \"ipc_path_too_long\" | \"legacy_job_selection_invalid\" | \"legacy_jobs_active\" | \"legacy_lock_removal_refused\" | \"link_cursor_invalid\" | \"local_conflict\" | \"lock_busy\" | \"loops_extraction_skipped\" | \"maintenance_backpressure\" | \"maintenance_lock_busy\" | \"managed_failure_unsettled\" | \"managed_remedy_unavailable\" | \"merge_recommended\" | \"movement_unknown\" | \"managed_sync_flag_refused\" | \"managed_pull_skipped\" | \"manual_only_skipped\" | \"membership_inactive\" | \"membership_not_found\" | \"method_not_allowed\" | \"migration_lease_lost\" | \"migration_declined\" | \"migration_failed\" | \"migration_host_work_pending\" | \"migrations_pending\" | \"migrations_running\" | \"missing_source_scope\" | \"missing_source_value\" | \"models_strict_violation\" | \"no_context_ceiling\" | \"no_refresh_token\" | \"no_routing_eval\" | \"no_skill_md\" | \"no_worker\" | \"no_worker_surface\" | \"not_a_git_repo\" | \"not_owner_host\" | \"not_connected\" | \"no_brain\" | \"overlapping_path\" | \"page_projection_conflict\" | \"page_body_rows_unreadable\" | \"page_projection_stale\" | \"page_shrink_refused\" | \"page_too_large_for_inline\" | \"parse_error\" | \"part_splits_code_point\" | \"part_too_large\" | \"frontmatter_alias_limit\" | \"parser_regression\" | \"pasted_wrong_url\" | \"payload_too_large\" | \"pattern_claims_pending\" | \"patterns_min_interval\" | \"pending_verify\" | \"pending_writes\" | \"persistence_restart_required\" | \"pool_inflight_over_budget\" | \"deep_health_probe_failed\" | \"refresh_required\" | \"serve_self_exit_suppressed\" | \"serve_unhealthy_exit\" | \"persistence_write_stall\" | \"push_unconfirmed\" | \"schema_lock_blocked\" | \"pg_connection_recovery_failed\" | \"pg_connection_stuck\" | \"pg_pool_stalled\" | \"pg_statement_build_failed\" | \"pglite_busy\" | \"pglite_vector_index_too_large\" | \"plan_output_failed\" | \"plan_stale\" | \"port_in_use\" | \"preview_changed\" | \"profile_incompatible\" | \"projection_owner_resident\" | \"knock_on_exhausted\" | \"keyword_skipped_after_timeout\" | \"publication_pending\" | \"pull_blocked_local_changes\" | \"purge_blocked_pending_recovery\" | \"purge_lookup_timeout\" | \"purge_mirror_unwritable\" | \"question_not_found\" | \"question_owner_only\" | \"read_budget_exhausted\" | \"receipt_conflict\" | \"receipt_fence_changed\" | \"receipt_fence_required\" | \"receipt_identity_mismatch\" | \"pat_file_unreadable\" | \"reconcile_read_incomplete\" | \"recovery_prior_stage_unavailable\" | \"recovery_version_unsupported\" | \"redirect_uri_mismatch\" | \"ref_not_in_answer\" | \"refresh_dirty\" | \"refresh_diverged\" | \"refresh_drain_timeout\" | \"refresh_no_upstream\" | \"refresh_not_managed\" | \"refresh_not_owner\" | \"refresh_source_changed\" | \"relay_disabled\" | \"relay_session_expired\" | \"relay_unreachable\" | \"rename_held\" | \"rename_identity_unreadable\" | \"rename_reconcile_failed\" | \"request_already_submitted\" | \"requirements_changed\" | \"requires_local_engine\" | \"reset_upstream_refused\" | \"resume_spec_mismatch\" | \"result_too_large\" | \"revision_unavailable\" | \"schema_owner_required\" | \"scope_missing\" | \"search_cursor_requires_keyword\" | \"search_mode_local_only\" | \"scorecard_group_by_local_only\" | \"search_offset_over_cap\" | \"segmented_mirror_writer_gate\" | \"serve_build_drift\" | \"serve_port_in_use\" | \"serve_status_only\" | \"setup_harness_unsupported\" | \"setup_hosted_connection\" | \"setup_owner_conflict\" | \"shared_skills_unavailable\" | \"shared_skills_unsupported\" | \"skill_asset_not_found\" | \"skill_candidate_invalid\" | \"skill_not_found\" | \"skill_retention_capacity\" | \"skill_unavailable\" | \"slug_page_mismatch\" | \"slug_root_mode_mismatch\" | \"source_binding_required\" | \"source_id_taken\" | \"source_mismatch\" | \"source_not_ready\" | \"source_profile_no_backfill\" | \"source_referenced\" | \"source_root_conflict\" | \"split_bad_ratio\" | \"split_unparseable\" | \"stale_unavailable\" | \"state_mismatch\" | \"sync_not_applicable\" | \"sync_drain_lease_held\" | \"content_receipt_stale\" | \"sync_first_run_in_progress\" | \"sync_no_successful_sync\" | \"sync_cursor_replaced\" | \"sync_parser_regression\" | \"target_escape\" | \"timeline_comment_markup\" | \"topology_change_required\" | \"transcript_secret_exposure\" | \"triage_unreliable_backoff\" | \"trust_raise_refused\" | \"two_consumers_on_host\" | \"trusted_local_only\" | \"unexpected_file_bytes\" | \"unexpected_staging_bytes\" | \"unknown_command\" | \"unknown_flag\" | \"unknown_method\" | \"unknown_source\" | \"unknown_tool\" | \"unpriced_model\" | \"unmanaged_database_path\" | \"unmanaged_path\" | \"unsupported_export_data\" | \"unsupported_path\" | \"upload_expired\" | \"upload_not_found\" | \"upload_protected_content\" | \"upstream\" | \"upstream_diverged\" | \"upstream_rewritten\" | \"upstream_unknown\" | \"verification_failed\" | \"withdrawal_capacity\" | \"withdrawal_mirror_failed\" | \"withdrawal_mirror_pending\" | \"withdrawal_provenance\" | \"write_capacity_low\" | \"write_gate_rejected\" | \"write_held\" | \"worktree_dirty\" | \"writer_admin_intent_required\" | \"writer_admin_state_changed\" | \"writer_busy\" | \"writer_identity_publish_failed\" | \"writer_manifest_mismatch\" | \"writer_manifest_rescope_required\" | \"writer_manifest_unsafe\" | \"writer_regrant_required\" | \"writer_transfer_conflict\" | \"writer_transfer_required\" | \"wrong_account_consented\" | \"schema_pack_too_large\" | \"schema_pack_emit_mismatch\" | undefined",
- "canonical?: \"unknown\" | \"keyword_candidates_incomplete\" | \"projection_pending\" | \"timeout\" | \"rate_limited\" | \"embedding_disabled\" | \"writer_lock_unavailable\" | \"writer_pool_capacity\" | \"owner_unavailable\" | \"recovery_required\" | \"queue_capacity\" | \"write_quota_exhausted\" | \"write_quota_insufficient\" | \"write_capacity_backpressure\" | \"revision_required\" | \"revision_conflict\" | \"idempotency_conflict\" | \"source_changed\" | \"write_pending\" | \"storage_error\" | \"cancelled\" | \"permission_denied\" | \"scope_denied\" | \"invalid_params\" | \"not_found\" | \"page_not_found\" | \"page_identity_changed\" | \"write_claim_lost\" | \"request_too_large\" | \"response_too_large\" | \"writer_registration_required\" | \"writer_identity_invalid\" | \"writer_not_initialized\" | \"writer_coordinator_required\" | \"fact_already_expired\" | \"source_writeback_required\" | \"unsupported_mutation_protocol\" | \"writer_upgrade_required\" | \"writer_not_quiesced\" | \"skill_bundle_required\" | \"take_row_collision\" | \"invalid_source_uri\" | \"writer_admin_locked\" | \"connector_account_changed\" | \"connector_intent_outdated\" | \"checkpoint_validation_timeout\" | \"invalid_connector_text\" | \"connector_holds_exhausted\" | \"connector_fence_below_timeline\" | \"core_budget_exceeded\" | \"core_mark_owner_only\" | \"core_remote_edit_refused\" | \"core_delete_owner_only\" | \"timeline_rows_would_be_removed\" | \"purged_content\" | \"preparation_stalled\" | \"fence_unrenderable\" | \"page_body_segmented\" | \"write_outcome_unknown\" | \"write_interrupted\" | \"embedding_failed\" | \"bucket_not_found\" | \"database_error\" | \"unknown_transport\" | \"extraction_failed\" | \"fact_not_found\" | \"provenance_required\" | \"unavailable\" | \"budget_unsatisfiable\" | \"embedding_budget_below_worst_case\" | \"absent_from_worktree\" | \"access_command_failed\" | \"access_denied_test_user\" | \"access_env_missing\" | \"acknowledgment_unavailable\" | \"admin_policy_enforced\" | \"admission_paused\" | \"ambient_capture_off\" | \"ambiguous_id\" | \"ambiguous_ref\" | \"ambiguous_skill\" | \"answer_not_yours\" | \"answer_pending\" | \"answer_unavailable\" | \"api_not_enabled\" | \"approval_required\" | \"atom_drain_incomplete\" | \"atom_drain_no_progress\" | \"atom_drain_provider_failure\" | \"autopilot_job_owned_by_other_brain\" | \"body_staging_expired\" | \"budget_below_recent_runtime\" | \"backup_dump_failed\" | \"backup_too_large\" | \"belief_coverage_required\" | \"belief_stale_preparation\" | \"benchmark_duplicate_task_id\" | \"benchmark_empty\" | \"benchmark_exists\" | \"benchmark_judge_llm_no_rubric\" | \"benchmark_judge_qrels_no_expected\" | \"benchmark_judge_rule_no_checks\" | \"benchmark_judge_unknown_kind\" | \"benchmark_malformed\" | \"benchmark_missing_judge\" | \"benchmark_missing_task\" | \"benchmark_missing_task_id\" | \"benchmark_not_found\" | \"benchmark_rule_check_bad_arg\" | \"benchmark_rule_check_malformed\" | \"benchmark_rule_check_unknown_op\" | \"bootstrap_cleanup_pending\" | \"bootstrap_empty\" | \"bootstrap_pending_review\" | \"bridge_ownership_conflict\" | \"coverage_from\" | \"coverage_gap\" | \"clock_mismatch\" | \"extract_write_lost\" | \"item_failures_systemic\" | \"known_as_of_unproven\" | \"cache_quota_exceeded\" | \"calendar_unreadable\" | \"capacity_paused\" | \"catalog_capacity_exceeded\" | \"catalog_unavailable\" | \"changed_since_preview\" | \"chronicle_skipped\" | \"no_pricing\" | \"checkpoint_missing\" | \"claim_already_used\" | \"client_json_unreadable\" | \"client_json_wrong_type\" | \"client_not_found\" | \"client_shape_invalid\" | \"code_callees_requires_symbol\" | \"code_callers_requires_symbol\" | \"code_def_requires_symbol\" | \"code_refs_requires_symbol\" | \"code_reused\" | \"colon_slug_windows_write_through\" | \"command_failed\" | \"commit_lock_busy\" | \"commit_paths_invalid\" | \"concurrent_write\" | \"config_error\" | \"confirmation_required\" | \"conflicting_source_scope\" | \"connection_lost\" | \"chunkless_pages_healable\" | \"consent_required\" | \"consent_timeout\" | \"consumers_without_heartbeat\" | \"content_repair_needs_human\" | \"content_null_bytes\" | \"content_rejected\" | \"continuation_unproven\" | \"corpus_chat_unavailable\" | \"corpus_window_backoff\" | \"corpus_window_dead_lettered\" | \"convergence_read_failed\" | \"cost_cap_exceeded\" | \"cost_preview_requires_yes\" | \"cursor_incarnation_retired\" | \"cycle_failed\" | \"d_sel_too_small\" | \"delta_cursor_upgrade_required\" | \"deleted_page_chunks_overdue\" | \"demo_graph_failed\" | \"demo_import_failed\" | \"demo_verification_failed\" | \"derived_cap_exhausted\" | \"destination_not_ready\" | \"drain_stalled\" | \"managed_sync_not_moving\" | \"dream_breaker_tripped\" | \"dirty_tree\" | \"doctor_tier_unavailable\" | \"effect_not_failed\" | \"embed_backfill_stalled\" | \"embedding_auth_failed\" | \"embedding_configuration\" | \"embedding_identity_unqualified\" | \"embedding_model_mismatch\" | \"embedding_plane_split\" | \"embedding_state_unknown\" | \"embedding_storage_unavailable\" | \"embedding_unavailable\" | \"embedding_unconfigured\" | \"embedding_width_mismatch\" | \"engine_graduated\" | \"entity_types_unavailable\" | \"eval_suite_unwired\" | \"export_limit\" | \"extractor_identity_mismatch\" | \"fact_withdrawn\" | \"fact_rows_collide\" | \"facts_absorb_write_refused\" | \"facts_backstop_skipped\" | \"facts_drain_deferred\" | \"facts_drain_job_failed\" | \"facts_payload_expired\" | \"feedback_disabled\" | \"feedback_not_authorized\" | \"fetch_failed\" | \"file_database_drift\" | \"fix_not_writable\" | \"file_drift\" | \"file_drift_mixed_selection\" | \"file_drift_state_required\" | \"file_removed_during_scan\" | \"file_unreadable\" | \"file_too_large\" | \"follow_approval_required\" | \"forget_requires_owner\" | \"frontmatter_slug_conflict\" | \"full_resync_required\" | \"gate_failed\" | \"ghost_mass_delete_refused\" | \"notifier_stalled\" | \"origin_twin_mass_merge_refused\" | \"ghost_storage_unknown\" | \"git_branch_unborn\" | \"git_durability_not_enabled\" | \"git_checkout_required\" | \"git_detached_head\" | \"git_index_locked\" | \"git_index_stale\" | \"git_target_pending\" | \"git_operation_in_progress\" | \"git_push_unavailable\" | \"git_target_unsafe\" | \"git_unavailable\" | \"git_object_missing\" | \"gitlink_not_followed\" | \"graduation_drain_timeout\" | \"graduation_embedding_dimension_mismatch\" | \"graduation_foreign_host_binding\" | \"graduation_in_progress\" | \"graduation_interrupted\" | \"graduation_rollback_writes_lost\" | \"graduation_source_writer_held\" | \"graduation_split_brain\" | \"graduation_target_auth_failed\" | \"graduation_target_ddl_unreachable\" | \"graduation_target_not_empty\" | \"graduation_target_unsupported\" | \"graduation_unclassified_table\" | \"graduation_unsupported_platform\" | \"graduation_verify_failed\" | \"grant_scope\" | \"graph_incomplete\" | \"host_identity_mismatch\" | \"harness_hook_duplicates\" | \"harness_hook_unowned\" | \"head_blocked\" | \"held_failed\" | \"held_out_overlaps_benchmark\" | \"held_out_required_for_bundled\" | \"independent_principal_required\" | \"insufficient_scope\" | \"integrate_conflict\" | \"internal\" | \"internal_error\" | \"interrupted\" | \"invalid_acknowledgment\" | \"invalid_client\" | \"invalid_fence\" | \"unclosed_ambiguous_tail\" | \"tail_exposure_approval\" | \"sync_in_progress\" | \"invalid_frontmatter\" | \"invalid_grant_clock_skew\" | \"invalid_grant_revoked\" | \"invalid_grant_testing_expiry\" | \"invalid_rating\" | \"invalid_receipt\" | \"invalid_receipt_transition\" | \"invalid_request\" | \"invalid_source\" | \"invalid_source_pin\" | \"invalid_token\" | \"invalid_write_wait\" | \"ipc_path_too_long\" | \"legacy_twin_mass_merge_refused\" | \"legacy_twins_storage_unknown\" | \"legacy_job_selection_invalid\" | \"legacy_jobs_active\" | \"legacy_lock_removal_refused\" | \"link_cursor_invalid\" | \"local_conflict\" | \"lock_busy\" | \"loops_extraction_skipped\" | \"maintenance_backpressure\" | \"maintenance_lock_busy\" | \"managed_failure_unsettled\" | \"managed_remedy_unavailable\" | \"merge_recommended\" | \"movement_unknown\" | \"managed_sync_flag_refused\" | \"managed_pull_skipped\" | \"manual_only_skipped\" | \"membership_inactive\" | \"membership_not_found\" | \"method_not_allowed\" | \"migration_lease_lost\" | \"migration_declined\" | \"migration_failed\" | \"migration_host_work_pending\" | \"migrations_pending\" | \"migrations_running\" | \"missing_source_scope\" | \"missing_source_value\" | \"models_strict_violation\" | \"no_context_ceiling\" | \"no_refresh_token\" | \"no_routing_eval\" | \"no_skill_md\" | \"no_worker\" | \"no_worker_surface\" | \"not_a_git_repo\" | \"not_converged\" | \"not_owner_host\" | \"not_connected\" | \"no_brain\" | \"overlapping_path\" | \"page_projection_conflict\" | \"page_body_rows_unreadable\" | \"page_projection_stale\" | \"page_shrink_refused\" | \"page_too_large_for_inline\" | \"parse_error\" | \"frontmatter_alias_limit\" | \"parser_regression\" | \"pasted_wrong_url\" | \"payload_too_large\" | \"path_not_utf8\" | \"pattern_claims_pending\" | \"patterns_min_interval\" | \"pending_verify\" | \"pending_writes\" | \"persistence_restart_required\" | \"pool_inflight_over_budget\" | \"deep_health_probe_failed\" | \"refresh_required\" | \"serve_self_exit_suppressed\" | \"serve_unhealthy_exit\" | \"persistence_write_stall\" | \"push_unconfirmed\" | \"schema_lock_blocked\" | \"pg_connection_recovery_failed\" | \"pg_connection_stuck\" | \"pg_pool_stalled\" | \"pg_statement_build_failed\" | \"pglite_busy\" | \"pglite_vector_index_too_large\" | \"plan_output_failed\" | \"plan_stale\" | \"port_in_use\" | \"preview_changed\" | \"profile_incompatible\" | \"projection_owner_resident\" | \"knock_on_exhausted\" | \"keyword_skipped_after_timeout\" | \"publication_pending\" | \"pull_blocked_local_changes\" | \"purge_blocked_pending_recovery\" | \"purge_lookup_timeout\" | \"purge_mirror_unwritable\" | \"question_not_found\" | \"question_owner_only\" | \"read_budget_exhausted\" | \"receipt_conflict\" | \"receipt_fence_changed\" | \"receipt_fence_required\" | \"receipt_identity_mismatch\" | \"pat_file_unreadable\" | \"reconcile_host_required\" | \"reconcile_read_incomplete\" | \"recovery_prior_stage_unavailable\" | \"recovery_version_unsupported\" | \"redirect_uri_mismatch\" | \"ref_not_in_answer\" | \"refresh_dirty\" | \"refresh_diverged\" | \"refresh_drain_timeout\" | \"refresh_no_upstream\" | \"refresh_not_managed\" | \"refresh_not_owner\" | \"refresh_source_changed\" | \"relay_disabled\" | \"relay_session_expired\" | \"relay_unreachable\" | \"rename_held\" | \"rename_identity_unreadable\" | \"rename_reconcile_failed\" | \"request_already_submitted\" | \"requirements_changed\" | \"requires_local_engine\" | \"reset_upstream_refused\" | \"resume_spec_mismatch\" | \"result_too_large\" | \"revision_changed\" | \"revision_unavailable\" | \"schema_owner_required\" | \"scope_missing\" | \"search_cursor_requires_keyword\" | \"search_mode_local_only\" | \"scorecard_group_by_local_only\" | \"search_offset_over_cap\" | \"segmented_mirror_writer_gate\" | \"serve_build_drift\" | \"serve_port_in_use\" | \"serve_status_only\" | \"settle_mismatch\" | \"setup_harness_unsupported\" | \"setup_hosted_connection\" | \"setup_owner_conflict\" | \"shared_skills_unavailable\" | \"shared_skills_unsupported\" | \"skill_asset_not_found\" | \"skill_candidate_invalid\" | \"skill_not_found\" | \"skill_retention_capacity\" | \"skill_unavailable\" | \"slug_page_mismatch\" | \"slug_root_mode_mismatch\" | \"source_binding_required\" | \"source_id_taken\" | \"source_mismatch\" | \"source_not_ready\" | \"source_profile_no_backfill\" | \"source_referenced\" | \"source_root_conflict\" | \"split_bad_ratio\" | \"split_unparseable\" | \"stale_unavailable\" | \"state_mismatch\" | \"sync_not_applicable\" | \"sync_admission_restricted\" | \"sync_drain_lease_held\" | \"content_receipt_stale\" | \"sync_first_run_in_progress\" | \"sync_no_successful_sync\" | \"sync_cursor_replaced\" | \"sync_parser_regression\" | \"target_escape\" | \"timeline_comment_markup\" | \"topology_change_required\" | \"transcript_secret_exposure\" | \"triage_unreliable_backoff\" | \"trust_raise_refused\" | \"two_consumers_on_host\" | \"trusted_local_only\" | \"unexpected_file_bytes\" | \"unexpected_staging_bytes\" | \"unknown_command\" | \"unknown_flag\" | \"unknown_method\" | \"unknown_source\" | \"unknown_tool\" | \"unpriced_model\" | \"unmanaged_database_path\" | \"unmanaged_path\" | \"unsupported_export_data\" | \"unsupported_path\" | \"upstream\" | \"upstream_diverged\" | \"upstream_rewritten\" | \"upstream_unknown\" | \"verification_failed\" | \"withdrawal_capacity\" | \"withdrawal_mirror_failed\" | \"withdrawal_mirror_pending\" | \"withdrawal_provenance\" | \"write_capacity_low\" | \"write_gate_rejected\" | \"write_held\" | \"worktree_dirty\" | \"writer_admin_intent_required\" | \"writer_admin_state_changed\" | \"writer_busy\" | \"writer_identity_publish_failed\" | \"writer_manifest_mismatch\" | \"writer_manifest_rescope_required\" | \"writer_manifest_unsafe\" | \"writer_regrant_required\" | \"writer_transfer_conflict\" | \"writer_transfer_required\" | \"wrong_account_consented\" | \"schema_pack_too_large\" | \"schema_pack_emit_mismatch\" | undefined",
++ "canonical?: \"unknown\" | \"keyword_candidates_incomplete\" | \"projection_pending\" | \"timeout\" | \"rate_limited\" | \"embedding_disabled\" | \"writer_lock_unavailable\" | \"writer_pool_capacity\" | \"owner_unavailable\" | \"recovery_required\" | \"queue_capacity\" | \"write_quota_exhausted\" | \"write_quota_insufficient\" | \"write_capacity_backpressure\" | \"revision_required\" | \"revision_conflict\" | \"idempotency_conflict\" | \"source_changed\" | \"write_pending\" | \"storage_error\" | \"cancelled\" | \"permission_denied\" | \"scope_denied\" | \"invalid_params\" | \"not_found\" | \"page_not_found\" | \"page_identity_changed\" | \"write_claim_lost\" | \"request_too_large\" | \"response_too_large\" | \"writer_registration_required\" | \"writer_identity_invalid\" | \"writer_not_initialized\" | \"writer_coordinator_required\" | \"fact_already_expired\" | \"source_writeback_required\" | \"unsupported_mutation_protocol\" | \"writer_upgrade_required\" | \"writer_not_quiesced\" | \"skill_bundle_required\" | \"take_row_collision\" | \"invalid_source_uri\" | \"writer_admin_locked\" | \"connector_account_changed\" | \"connector_intent_outdated\" | \"checkpoint_validation_timeout\" | \"invalid_connector_text\" | \"connector_holds_exhausted\" | \"connector_fence_below_timeline\" | \"core_budget_exceeded\" | \"core_mark_owner_only\" | \"core_remote_edit_refused\" | \"core_delete_owner_only\" | \"timeline_rows_would_be_removed\" | \"purged_content\" | \"preparation_stalled\" | \"fence_unrenderable\" | \"page_body_segmented\" | \"revision_changed\" | \"tail_changed\" | \"write_outcome_unknown\" | \"write_interrupted\" | \"embedding_failed\" | \"bucket_not_found\" | \"database_error\" | \"unknown_transport\" | \"extraction_failed\" | \"fact_not_found\" | \"provenance_required\" | \"unavailable\" | \"budget_unsatisfiable\" | \"embedding_budget_below_worst_case\" | \"absent_from_worktree\" | \"access_command_failed\" | \"access_denied_test_user\" | \"access_env_missing\" | \"acknowledgment_unavailable\" | \"admin_policy_enforced\" | \"admission_paused\" | \"ambient_capture_off\" | \"ambiguous_id\" | \"ambiguous_ref\" | \"ambiguous_skill\" | \"answer_not_yours\" | \"answer_pending\" | \"answer_unavailable\" | \"api_not_enabled\" | \"approval_required\" | \"atom_drain_incomplete\" | \"atom_drain_no_progress\" | \"atom_drain_provider_failure\" | \"autopilot_job_owned_by_other_brain\" | \"body_staging_expired\" | \"budget_below_recent_runtime\" | \"backup_dump_failed\" | \"backup_too_large\" | \"belief_coverage_required\" | \"belief_stale_preparation\" | \"benchmark_duplicate_task_id\" | \"benchmark_empty\" | \"benchmark_exists\" | \"benchmark_judge_llm_no_rubric\" | \"benchmark_judge_qrels_no_expected\" | \"benchmark_judge_rule_no_checks\" | \"benchmark_judge_unknown_kind\" | \"benchmark_malformed\" | \"benchmark_missing_judge\" | \"benchmark_missing_task\" | \"benchmark_missing_task_id\" | \"benchmark_not_found\" | \"benchmark_rule_check_bad_arg\" | \"benchmark_rule_check_malformed\" | \"benchmark_rule_check_unknown_op\" | \"bootstrap_cleanup_pending\" | \"bootstrap_empty\" | \"bootstrap_pending_review\" | \"bridge_ownership_conflict\" | \"coverage_from\" | \"coverage_gap\" | \"clock_mismatch\" | \"extract_write_lost\" | \"item_failures_systemic\" | \"known_as_of_unproven\" | \"cache_quota_exceeded\" | \"calendar_unreadable\" | \"capacity_paused\" | \"catalog_capacity_exceeded\" | \"catalog_unavailable\" | \"changed_since_preview\" | \"chronicle_skipped\" | \"no_pricing\" | \"checkpoint_missing\" | \"claim_already_used\" | \"client_json_unreadable\" | \"client_json_wrong_type\" | \"client_not_found\" | \"client_shape_invalid\" | \"code_callees_requires_symbol\" | \"code_callers_requires_symbol\" | \"code_def_requires_symbol\" | \"code_refs_requires_symbol\" | \"code_reused\" | \"colon_slug_windows_write_through\" | \"command_failed\" | \"commit_lock_busy\" | \"commit_paths_invalid\" | \"concurrent_write\" | \"config_error\" | \"confirmation_required\" | \"conflicting_source_scope\" | \"connection_lost\" | \"chunkless_pages_healable\" | \"consent_required\" | \"consent_timeout\" | \"consumers_without_heartbeat\" | \"content_repair_needs_human\" | \"content_null_bytes\" | \"content_rejected\" | \"continuation_unproven\" | \"corpus_chat_unavailable\" | \"corpus_window_backoff\" | \"corpus_window_dead_lettered\" | \"convergence_read_failed\" | \"cost_cap_exceeded\" | \"cost_preview_requires_yes\" | \"cursor_incarnation_retired\" | \"cycle_failed\" | \"d_sel_too_small\" | \"delta_cursor_upgrade_required\" | \"deleted_page_chunks_overdue\" | \"demo_graph_failed\" | \"demo_import_failed\" | \"demo_verification_failed\" | \"derived_cap_exhausted\" | \"destination_not_ready\" | \"drain_stalled\" | \"managed_sync_not_moving\" | \"dream_breaker_tripped\" | \"dirty_tree\" | \"doctor_tier_unavailable\" | \"effect_not_failed\" | \"embed_backfill_stalled\" | \"embedding_auth_failed\" | \"embedding_configuration\" | \"embedding_identity_unqualified\" | \"embedding_model_mismatch\" | \"embedding_plane_split\" | \"embedding_state_unknown\" | \"embedding_storage_unavailable\" | \"embedding_unavailable\" | \"embedding_unconfigured\" | \"embedding_width_mismatch\" | \"engine_graduated\" | \"entity_types_unavailable\" | \"eval_suite_unwired\" | \"export_limit\" | \"extractor_identity_mismatch\" | \"fact_withdrawn\" | \"fact_rows_collide\" | \"facts_absorb_write_refused\" | \"facts_backstop_skipped\" | \"facts_drain_deferred\" | \"facts_drain_job_failed\" | \"facts_payload_expired\" | \"feedback_disabled\" | \"feedback_not_authorized\" | \"fetch_failed\" | \"file_database_drift\" | \"fix_not_writable\" | \"file_drift\" | \"file_drift_mixed_selection\" | \"file_drift_state_required\" | \"file_removed_during_scan\" | \"file_unreadable\" | \"file_too_large\" | \"follow_approval_required\" | \"forget_requires_owner\" | \"frontmatter_slug_conflict\" | \"full_resync_required\" | \"gate_failed\" | \"ghost_mass_delete_refused\" | \"notifier_stalled\" | \"origin_twin_mass_merge_refused\" | \"ghost_storage_unknown\" | \"git_branch_unborn\" | \"git_durability_not_enabled\" | \"git_checkout_required\" | \"git_detached_head\" | \"git_index_locked\" | \"git_index_stale\" | \"git_target_pending\" | \"git_operation_in_progress\" | \"git_push_unavailable\" | \"git_target_unsafe\" | \"git_unavailable\" | \"git_object_missing\" | \"gitlink_not_followed\" | \"graduation_drain_timeout\" | \"graduation_embedding_dimension_mismatch\" | \"graduation_foreign_host_binding\" | \"graduation_in_progress\" | \"graduation_interrupted\" | \"graduation_rollback_writes_lost\" | \"graduation_source_writer_held\" | \"graduation_split_brain\" | \"graduation_target_auth_failed\" | \"graduation_target_ddl_unreachable\" | \"graduation_target_not_empty\" | \"graduation_target_unsupported\" | \"graduation_unclassified_table\" | \"graduation_unsupported_platform\" | \"graduation_verify_failed\" | \"grant_scope\" | \"graph_incomplete\" | \"host_identity_mismatch\" | \"harness_hook_duplicates\" | \"harness_hook_unowned\" | \"head_blocked\" | \"held_failed\" | \"held_out_overlaps_benchmark\" | \"held_out_required_for_bundled\" | \"independent_principal_required\" | \"insufficient_scope\" | \"integrate_conflict\" | \"internal\" | \"internal_error\" | \"interrupted\" | \"invalid_acknowledgment\" | \"invalid_client\" | \"invalid_fence\" | \"unclosed_ambiguous_tail\" | \"tail_exposure_approval\" | \"sync_in_progress\" | \"invalid_frontmatter\" | \"invalid_grant_clock_skew\" | \"invalid_grant_revoked\" | \"invalid_grant_testing_expiry\" | \"invalid_rating\" | \"invalid_receipt\" | \"invalid_receipt_transition\" | \"invalid_request\" | \"invalid_source\" | \"invalid_source_pin\" | \"invalid_token\" | \"invalid_write_wait\" | \"ipc_path_too_long\" | \"legacy_twin_mass_merge_refused\" | \"legacy_twins_storage_unknown\" | \"legacy_job_selection_invalid\" | \"legacy_jobs_active\" | \"legacy_lock_removal_refused\" | \"link_cursor_invalid\" | \"local_conflict\" | \"lock_busy\" | \"loops_extraction_skipped\" | \"maintenance_backpressure\" | \"maintenance_lock_busy\" | \"managed_failure_unsettled\" | \"managed_remedy_unavailable\" | \"merge_recommended\" | \"movement_unknown\" | \"managed_sync_flag_refused\" | \"managed_pull_skipped\" | \"manual_only_skipped\" | \"membership_inactive\" | \"membership_not_found\" | \"method_not_allowed\" | \"migration_lease_lost\" | \"migration_declined\" | \"migration_failed\" | \"migration_host_work_pending\" | \"migrations_pending\" | \"migrations_running\" | \"missing_source_scope\" | \"missing_source_value\" | \"models_strict_violation\" | \"no_context_ceiling\" | \"no_refresh_token\" | \"no_routing_eval\" | \"no_skill_md\" | \"no_worker\" | \"no_worker_surface\" | \"not_a_git_repo\" | \"not_converged\" | \"not_owner_host\" | \"not_connected\" | \"no_brain\" | \"overlapping_path\" | \"page_projection_conflict\" | \"page_body_rows_unreadable\" | \"page_projection_stale\" | \"page_shrink_refused\" | \"page_too_large_for_inline\" | \"parse_error\" | \"part_splits_code_point\" | \"part_too_large\" | \"frontmatter_alias_limit\" | \"parser_regression\" | \"pasted_wrong_url\" | \"payload_too_large\" | \"path_not_utf8\" | \"pattern_claims_pending\" | \"patterns_min_interval\" | \"pending_verify\" | \"pending_writes\" | \"persistence_restart_required\" | \"pool_inflight_over_budget\" | \"deep_health_probe_failed\" | \"refresh_required\" | \"serve_self_exit_suppressed\" | \"serve_unhealthy_exit\" | \"persistence_write_stall\" | \"push_unconfirmed\" | \"schema_lock_blocked\" | \"pg_connection_recovery_failed\" | \"pg_connection_stuck\" | \"pg_pool_stalled\" | \"pg_statement_build_failed\" | \"pglite_busy\" | \"pglite_vector_index_too_large\" | \"plan_output_failed\" | \"plan_stale\" | \"port_in_use\" | \"preview_changed\" | \"profile_incompatible\" | \"projection_owner_resident\" | \"knock_on_exhausted\" | \"keyword_skipped_after_timeout\" | \"publication_pending\" | \"pull_blocked_local_changes\" | \"purge_blocked_pending_recovery\" | \"purge_lookup_timeout\" | \"purge_mirror_unwritable\" | \"question_not_found\" | \"question_owner_only\" | \"read_budget_exhausted\" | \"receipt_conflict\" | \"receipt_fence_changed\" | \"receipt_fence_required\" | \"receipt_identity_mismatch\" | \"pat_file_unreadable\" | \"reconcile_host_required\" | \"reconcile_read_incomplete\" | \"recovery_prior_stage_unavailable\" | \"recovery_version_unsupported\" | \"redirect_uri_mismatch\" | \"ref_not_in_answer\" | \"refresh_dirty\" | \"refresh_diverged\" | \"refresh_drain_timeout\" | \"refresh_no_upstream\" | \"refresh_not_managed\" | \"refresh_not_owner\" | \"refresh_source_changed\" | \"relay_disabled\" | \"relay_session_expired\" | \"relay_unreachable\" | \"rename_held\" | \"rename_identity_unreadable\" | \"rename_reconcile_failed\" | \"request_already_submitted\" | \"requirements_changed\" | \"requires_local_engine\" | \"reset_upstream_refused\" | \"resume_spec_mismatch\" | \"result_too_large\" | \"revision_unavailable\" | \"schema_owner_required\" | \"scope_missing\" | \"search_cursor_requires_keyword\" | \"search_mode_local_only\" | \"scorecard_group_by_local_only\" | \"search_offset_over_cap\" | \"segmented_mirror_writer_gate\" | \"serve_build_drift\" | \"serve_port_in_use\" | \"serve_status_only\" | \"settle_mismatch\" | \"setup_harness_unsupported\" | \"setup_hosted_connection\" | \"setup_owner_conflict\" | \"shared_skills_unavailable\" | \"shared_skills_unsupported\" | \"skill_asset_not_found\" | \"skill_candidate_invalid\" | \"skill_not_found\" | \"skill_retention_capacity\" | \"skill_unavailable\" | \"slug_page_mismatch\" | \"slug_root_mode_mismatch\" | \"source_binding_required\" | \"source_id_taken\" | \"source_mismatch\" | \"source_not_ready\" | \"source_profile_no_backfill\" | \"source_referenced\" | \"source_root_conflict\" | \"split_bad_ratio\" | \"split_unparseable\" | \"stale_unavailable\" | \"state_mismatch\" | \"sync_not_applicable\" | \"sync_admission_restricted\" | \"sync_drain_lease_held\" | \"content_receipt_stale\" | \"sync_first_run_in_progress\" | \"sync_no_successful_sync\" | \"sync_cursor_replaced\" | \"sync_parser_regression\" | \"target_escape\" | \"timeline_comment_markup\" | \"topology_change_required\" | \"transcript_secret_exposure\" | \"triage_unreliable_backoff\" | \"trust_raise_refused\" | \"two_consumers_on_host\" | \"trusted_local_only\" | \"unexpected_file_bytes\" | \"unexpected_staging_bytes\" | \"unknown_command\" | \"unknown_flag\" | \"unknown_method\" | \"unknown_source\" | \"unknown_tool\" | \"unpriced_model\" | \"unmanaged_database_path\" | \"unmanaged_path\" | \"unsupported_export_data\" | \"unsupported_path\" | \"upload_expired\" | \"upload_not_found\" | \"upload_protected_content\" | \"upstream\" | \"upstream_diverged\" | \"upstream_rewritten\" | \"upstream_unknown\" | \"verification_failed\" | \"withdrawal_capacity\" | \"withdrawal_mirror_failed\" | \"withdrawal_mirror_pending\" | \"withdrawal_provenance\" | \"write_capacity_low\" | \"write_gate_rejected\" | \"write_held\" | \"worktree_dirty\" | \"writer_admin_intent_required\" | \"writer_admin_state_changed\" | \"writer_busy\" | \"writer_identity_publish_failed\" | \"writer_manifest_mismatch\" | \"writer_manifest_rescope_required\" | \"writer_manifest_unsafe\" | \"writer_regrant_required\" | \"writer_transfer_conflict\" | \"writer_transfer_required\" | \"wrong_account_consented\" | \"schema_pack_too_large\" | \"schema_pack_emit_mismatch\" | undefined",
"canonicalCode: string",
"cause?: unknown",
"code: ErrorCode",