Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
PR 2: move the branch's placeholders to .261
garrytan499ec405aad5
diff --git a/docs/guides/live-sync.md b/docs/guides/live-sync.mdindex b10c2edb37..091d3c081e 100644--- a/docs/guides/live-sync.md+++ b/docs/guides/live-sync.md@@ -115,7 +115,7 @@ Timing knobs the drain uses:| `preparation_deadlines` write switch (`persistence.preparation_deadlines`, `GBRAIN_PREPARATION_DEADLINES`) | Kill switch for the four keys above and the attempt counter. `remember`, `put_page` and `edit_page` keep their own 30 s budget either way. | on | `gbrain config set persistence.preparation_deadlines false` (or `GBRAIN_PREPARATION_DEADLINES=0`) restores the previous behaviour exactly: no deadline on sync or maintenance writes, no counter, no `preparation_stalled` holds. A running `serve` picks the change up within 5 seconds. || Page write wait | One page's (or group's) publication before the drain re-checks. | 30 s inside a drain (5 s, checkpoint 8 s, for a single pass) | The drain re-enters; this is not a stop. || `sync` job deadline | A managed `sync` Minions job's drain: its `timeout_ms` (autopilot stamps `max(2 × --interval, 300 s)`), or the queue's wall-clock limit for a job without one, capped at an hour, less a 60 s reserve. `sync.job_drain=false` (or job data `drain: false`) keeps the single pass. | per job | Stops as `resumable` / `deadline`; on a worker-backed brain a stop that is safe to repeat queues one follow-up job (`continuation_job_id`). |-| `GBRAIN_SYNC_BULK_MAX_TXN_MS` (was `sync.bulk_max_txn_ms`, retired in 0.60.260.0) | Target time per bulk group; sizes the next group from the last one's time per page. | 15000 | A smaller next group. |+| `GBRAIN_SYNC_BULK_MAX_TXN_MS` (was `sync.bulk_max_txn_ms`, retired in 0.60.261.0) | Target time per bulk group; sizes the next group from the last one's time per page. | 15000 | A smaller next group. || `sync.bulk_size` / `GBRAIN_SYNC_BULK_SIZE` | Largest bulk group. | 16 | — |### Sync config keys@@ -128,7 +128,7 @@ Timing knobs the drain uses:`sync.federated_v2`, `sync.waive_batch`, `sync.bulk`. Each one set to `false` restores the earlier behavior, andstays honored until at least 2027-01-14 (`CONFIG_ROLLBACK_WINDOWS` in `src/core/wire-skew.ts`). They are nottunables: `config set` says so, and no help text or printed fix recommends them.-- **Retired keys**, no longer read since 0.60.260.0, each with an environment variable for the process that syncs+- **Retired keys**, no longer read since 0.60.261.0, each with an environment variable for the process that syncs(the serve when it runs the catch-up, the cron line or the shell):| Retired key | Replacement | Default |diff --git a/docs/guides/repair.md b/docs/guides/repair.mdindex 72344a18c1..0d02ef6d94 100644--- a/docs/guides/repair.md+++ b/docs/guides/repair.md@@ -1465,7 +1465,7 @@ reference: [`preparation_stalled`](write-refusals.md#preparation_stalled).Settings, all read by every sync (`sync.holds` is a brain config key; the `GBRAIN_SYNC_*` variables are read from theenvironment of the process that syncs and replace the `sync.hold_*` and `sync.parser_regression` keys retired in-0.60.260.0, see [sync config keys](live-sync.md#sync-config-keys)):+0.60.261.0, see [sync config keys](live-sync.md#sync-config-keys)):| Setting | Default | Effect || --- | --- | --- |diff --git a/llms-full.txt b/llms-full.txtindex 0ab2a8ec7d..cf068309e4 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -6717,7 +6717,7 @@ Timing knobs the drain uses:| `preparation_deadlines` write switch (`persistence.preparation_deadlines`, `GBRAIN_PREPARATION_DEADLINES`) | Kill switch for the four keys above and the attempt counter. `remember`, `put_page` and `edit_page` keep their own 30 s budget either way. | on | `gbrain config set persistence.preparation_deadlines false` (or `GBRAIN_PREPARATION_DEADLINES=0`) restores the previous behaviour exactly: no deadline on sync or maintenance writes, no counter, no `preparation_stalled` holds. A running `serve` picks the change up within 5 seconds. || Page write wait | One page's (or group's) publication before the drain re-checks. | 30 s inside a drain (5 s, checkpoint 8 s, for a single pass) | The drain re-enters; this is not a stop. || `sync` job deadline | A managed `sync` Minions job's drain: its `timeout_ms` (autopilot stamps `max(2 × --interval, 300 s)`), or the queue's wall-clock limit for a job without one, capped at an hour, less a 60 s reserve. `sync.job_drain=false` (or job data `drain: false`) keeps the single pass. | per job | Stops as `resumable` / `deadline`; on a worker-backed brain a stop that is safe to repeat queues one follow-up job (`continuation_job_id`). |-| `GBRAIN_SYNC_BULK_MAX_TXN_MS` (was `sync.bulk_max_txn_ms`, retired in 0.60.260.0) | Target time per bulk group; sizes the next group from the last one's time per page. | 15000 | A smaller next group. |+| `GBRAIN_SYNC_BULK_MAX_TXN_MS` (was `sync.bulk_max_txn_ms`, retired in 0.60.261.0) | Target time per bulk group; sizes the next group from the last one's time per page. | 15000 | A smaller next group. || `sync.bulk_size` / `GBRAIN_SYNC_BULK_SIZE` | Largest bulk group. | 16 | — |### Sync config keys@@ -6730,7 +6730,7 @@ Timing knobs the drain uses:`sync.federated_v2`, `sync.waive_batch`, `sync.bulk`. Each one set to `false` restores the earlier behavior, andstays honored until at least 2027-01-14 (`CONFIG_ROLLBACK_WINDOWS` in `src/core/wire-skew.ts`). They are nottunables: `config set` says so, and no help text or printed fix recommends them.-- **Retired keys**, no longer read since 0.60.260.0, each with an environment variable for the process that syncs+- **Retired keys**, no longer read since 0.60.261.0, each with an environment variable for the process that syncs(the serve when it runs the catch-up, the cron line or the shell):| Retired key | Replacement | Default |diff --git a/skills/migrations/v0.60.260.0.md b/skills/migrations/v0.60.261.0.mdsimilarity index 97%rename from skills/migrations/v0.60.260.0.mdrename to skills/migrations/v0.60.261.0.mdindex 8a4190c5fd..0ef334c805 100644--- a/skills/migrations/v0.60.260.0.md+++ b/skills/migrations/v0.60.261.0.md@@ -1,4 +1,4 @@-# Upgrade to v0.60.260.0: retired sync config keys move to environment variables+# Upgrade to v0.60.261.0: retired sync config keys move to environment variablesFive `sync.*` config keys are no longer read: `sync.bulk_max_txn_ms`, `sync.hold_cap`,`sync.hold_escalate_count`, `sync.hold_escalate_pct` and `sync.parser_regression`. Each one is now an environmentdiff --git a/skills/skills.lock.json b/skills/skills.lock.jsonindex 9af14bf205..9bc7e47ee5 100644--- a/skills/skills.lock.json+++ b/skills/skills.lock.json@@ -158,7 +158,7 @@"migrations/v0.60.11.0.md": "1e503113f591c5cd142b78ab4472bbdbceb890c6cbac2fbdf8aa61cd087200b8","migrations/v0.60.20.0.md": "9266863a9f76164c64a72b1be17b8ddb3bb97e1c3c5db9f666b69ebc7a228fdd","migrations/v0.60.26.0.md": "30d761ef5a2361bad66053f97b7b659304a591274be33e281f4f6df0d7d5566e",- "migrations/v0.60.260.0.md": "b6b2afb173b0781a97a3cee89c7c9adcd65baec73fcb97b9a0d5da986137b7e4",+ "migrations/v0.60.261.0.md": "c7f7a7ca90cd50a02843305448ceb97fa87cc3397be23ca1a107500b0eeaae22","migrations/v0.60.27.0.md": "1c3ac6a23ccfce8ad299457799b02958f7d21fcd967c471634f73bdb66f2b603","migrations/v0.60.28.0.md": "f7fa936066fb188f6f3f54bb6c720f57743792e4371d0b98dd3cb5a57d1bd9c9","migrations/v0.60.30.0.md": "2dd24bb319cad80ae15c52fb163c704fc3adfc1182d44ab563f636f07434a9e0",diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex 5414535e68..21013b3425 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -693,17 +693,17 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText }// LHF wave 2 item 0 (GBRA-94): tokenmax `query` no longer expands by default.{ since: '0.60.259.0', text: '`gbrain query` no longer runs LLM query expansion by default on `tokenmax`, so no search mode expands by default. On 300 LongMemEval-S questions with the reranker, `query` without expansion kept retrieval within noise (298 vs 299 of 300) and its p50 fell from about 2 s to about 230 ms (gbrain-evals expansion-latency report, 2026-10-14). To keep expanding: `gbrain config set search.expansion true` for the brain, or pass `--expand` / `expand: true` per call.' },// #6712 PR 2 lane L3 (flags and config keys): `since` is a placeholder until the merge-slot stamp.- { since: '0.60.260.0', text: 'Five `sync.*` config keys are no longer read (#6712): `sync.bulk_max_txn_ms`, `sync.hold_cap`, `sync.hold_escalate_count`, `sync.hold_escalate_pct` and `sync.parser_regression`. Set `GBRAIN_SYNC_BULK_MAX_TXN_MS`, `GBRAIN_SYNC_HOLD_CAP`, `GBRAIN_SYNC_HOLD_ESCALATE_COUNT`, `GBRAIN_SYNC_HOLD_ESCALATE_PCT` or `GBRAIN_SYNC_PARSER_REGRESSION` in the environment of the process that syncs instead; a value stored on the brain is kept but not applied, so a tuned brain runs with the defaults (15000, 500, 50, 5, stop) until the variable is set. `gbrain doctor --only sync_config_keys` lists stored values that stopped applying, `gbrain config get <key>` prints the value in effect and where it comes from, and `gbrain config set` of a retired key warns, names the variable and writes nothing (exit 0).' },- { since: '0.60.260.0', text: '`sync.job_drain`, `sync.foreground_priority`, `sync.federated_v2`, `sync.waive_batch` and `sync.bulk` are rollback keys (#6712): `false` still restores the earlier behavior a notice named, and they stay honored until at least 2027-01-14 (`CONFIG_ROLLBACK_WINDOWS` in `src/core/wire-skew.ts`), but `config set` now writes them with a note that they are not tunables and help text no longer recommends them. `sync.foreground_priority` is accepted without `--force` (it was refused as an unknown key). A serve or PGLite owner that receives a retired field from an older sync client (`explicitProcessing` today) prints one `[gbrain notice]` naming it and its window, and the PGLite owner lane accepts `--lanes N` and `--no-lanes` (ignored there) instead of refusing them.' },+ { since: '0.60.261.0', text: 'Five `sync.*` config keys are no longer read (#6712): `sync.bulk_max_txn_ms`, `sync.hold_cap`, `sync.hold_escalate_count`, `sync.hold_escalate_pct` and `sync.parser_regression`. Set `GBRAIN_SYNC_BULK_MAX_TXN_MS`, `GBRAIN_SYNC_HOLD_CAP`, `GBRAIN_SYNC_HOLD_ESCALATE_COUNT`, `GBRAIN_SYNC_HOLD_ESCALATE_PCT` or `GBRAIN_SYNC_PARSER_REGRESSION` in the environment of the process that syncs instead; a value stored on the brain is kept but not applied, so a tuned brain runs with the defaults (15000, 500, 50, 5, stop) until the variable is set. `gbrain doctor --only sync_config_keys` lists stored values that stopped applying, `gbrain config get <key>` prints the value in effect and where it comes from, and `gbrain config set` of a retired key warns, names the variable and writes nothing (exit 0).' },+ { since: '0.60.261.0', text: '`sync.job_drain`, `sync.foreground_priority`, `sync.federated_v2`, `sync.waive_batch` and `sync.bulk` are rollback keys (#6712): `false` still restores the earlier behavior a notice named, and they stay honored until at least 2027-01-14 (`CONFIG_ROLLBACK_WINDOWS` in `src/core/wire-skew.ts`), but `config set` now writes them with a note that they are not tunables and help text no longer recommends them. `sync.foreground_priority` is accepted without `--force` (it was refused as an unknown key). A serve or PGLite owner that receives a retired field from an older sync client (`explicitProcessing` today) prints one `[gbrain notice]` naming it and its window, and the PGLite owner lane accepts `--lanes N` and `--no-lanes` (ignored there) instead of refusing them.' },// #6712 PR 2 lane L5 (truthful receipts, fast status). `since` is a placeholder until the merge-slot stamp.- { since: '0.60.260.0', text: 'A managed `gbrain sync` returns `synced` when its checkpoint commits: the tail after it (planner statistics, link extraction for the imported pages) now runs after the drain lease is released, bounded at 5 minutes, and a second sync can take the lease while it runs. A tail that fails, is cut short or gets no time keeps the run `synced` and adds a `[gbrain notice sync_tail_degraded]` with its fix (`gbrain extract --stale --source <id>`); a tail a crash skipped runs on the next sync of the source.' },- { since: '0.60.260.0', text: 'The `drain_stalled` cause `no_admission` is retired: a sync pass that admits nothing with no unfinished request stops `drain_stalled` / `no_progress` with the same step and statement, a delegated run no longer falls back to its own consumer for it, and the transaction-pooler warning line is gone. Scripts matching `no_admission` should match `no_progress`.' },- { since: '0.60.260.0', text: 'A plain `gbrain sync status` skips the terminal-failure summary, the checkpoint blocker list and the cursor list (their fields stay, empty or `unknown`, with `terminal_failures_read` / `checkpoint_blockers_read` / `cursors_read` set to `not_read` and a `--detail` fix); `gbrain sync status --detail` reads them. New fields: `state`, `reason`, `oldest_blocker`, `recovery`, and `public_category` on holds, `last_error`, receipts and doctor `sync_failures`.' },+ { since: '0.60.261.0', text: 'A managed `gbrain sync` returns `synced` when its checkpoint commits: the tail after it (planner statistics, link extraction for the imported pages) now runs after the drain lease is released, bounded at 5 minutes, and a second sync can take the lease while it runs. A tail that fails, is cut short or gets no time keeps the run `synced` and adds a `[gbrain notice sync_tail_degraded]` with its fix (`gbrain extract --stale --source <id>`); a tail a crash skipped runs on the next sync of the source.' },+ { since: '0.60.261.0', text: 'The `drain_stalled` cause `no_admission` is retired: a sync pass that admits nothing with no unfinished request stops `drain_stalled` / `no_progress` with the same step and statement, a delegated run no longer falls back to its own consumer for it, and the transaction-pooler warning line is gone. Scripts matching `no_admission` should match `no_progress`.' },+ { since: '0.60.261.0', text: 'A plain `gbrain sync status` skips the terminal-failure summary, the checkpoint blocker list and the cursor list (their fields stay, empty or `unknown`, with `terminal_failures_read` / `checkpoint_blockers_read` / `cursors_read` set to `not_read` and a `--detail` fix); `gbrain sync status --detail` reads them. New fields: `state`, `reason`, `oldest_blocker`, `recovery`, and `public_category` on holds, `last_error`, receipts and doctor `sync_failures`.' },// #6712 PR 2 lane L4 (exits, escalation, soak counters): placeholder since; the fresh-install cases in behavior-change-notice.test.ts pass once VERSION is stamped.- { since: '0.60.260.0', text: 'A held file now asks for a person (`needs_human`) only after its safe action failed three times and at least 24 hours have passed since it was first held (#6712). Three re-holds within an hour stay the agent\'s to retry. A `worktree_dirty` file whose uncommitted bytes changed in the last day, and an image held while multimodal embedding is off, never escalate this way. A failed `sync unblock --apply` (still dirty) or a repair that holds the file again counts as an attempt.' },- { since: '0.60.260.0', text: 'A managed-sync file that `write_gate.external_mode=reject` refuses is now held as `write_gate_rejected` when sync freezes it, instead of failing its receipt and stopping the rest of the source. A held file that leaves the source (excluded with `sync.exclude`, or an image while multimodal embedding is off) is released by the next sync even when nothing new was committed. Every sync re-screens a `write_gate_rejected`, `content_rejected` or `purged_content` hold, so switching the setting, an owner allow rule or `gbrain pages unpurge` clears it.' },- { since: '0.60.260.0', text: 'A `source_changed` write receipt\'s fix now follows its recorded reason: two-sided drift previews `gbrain repair file-drift --source <id> --slug <slug> --prefer database` (a group of them `--all-drifted --since <instant>`), a missing canonical file previews `gbrain repair ghost-pages`, an admission race is retried, and a changed binding or unsafe target names `gbrain sources writer status`. `gbrain repair file-drift` takes `--since <ISO-8601 | age>` to narrow `--all-drifted`.' },- { since: '0.60.260.0', text: 'Doctor `managed_sync_not_moving` now fails (it used to list the source as parked) when a managed source\'s queue holds admitted requests with no consumer and nothing has moved for longer than `persistence.preparation_ceiling_ms`; its fix is the resume sync, which consumes the queue (#6552). A managed sync now prints a line when live pages of the source have no canonical file, naming the read-only `gbrain repair ghost-pages` preview; it never deletes them.' },+ { since: '0.60.261.0', text: 'A held file now asks for a person (`needs_human`) only after its safe action failed three times and at least 24 hours have passed since it was first held (#6712). Three re-holds within an hour stay the agent\'s to retry. A `worktree_dirty` file whose uncommitted bytes changed in the last day, and an image held while multimodal embedding is off, never escalate this way. A failed `sync unblock --apply` (still dirty) or a repair that holds the file again counts as an attempt.' },+ { since: '0.60.261.0', text: 'A managed-sync file that `write_gate.external_mode=reject` refuses is now held as `write_gate_rejected` when sync freezes it, instead of failing its receipt and stopping the rest of the source. A held file that leaves the source (excluded with `sync.exclude`, or an image while multimodal embedding is off) is released by the next sync even when nothing new was committed. Every sync re-screens a `write_gate_rejected`, `content_rejected` or `purged_content` hold, so switching the setting, an owner allow rule or `gbrain pages unpurge` clears it.' },+ { since: '0.60.261.0', text: 'A `source_changed` write receipt\'s fix now follows its recorded reason: two-sided drift previews `gbrain repair file-drift --source <id> --slug <slug> --prefer database` (a group of them `--all-drifted --since <instant>`), a missing canonical file previews `gbrain repair ghost-pages`, an admission race is retried, and a changed binding or unsafe target names `gbrain sources writer status`. `gbrain repair file-drift` takes `--since <ISO-8601 | age>` to narrow `--all-drifted`.' },+ { since: '0.60.261.0', text: 'Doctor `managed_sync_not_moving` now fails (it used to list the source as parked) when a managed source\'s queue holds admitted requests with no consumer and nothing has moved for longer than `persistence.preparation_ceiling_ms`; its fix is the resume sync, which consumes the queue (#6552). A managed sync now prints a line when live pages of the source have no canonical file, naming the read-only `gbrain repair ghost-pages` preview; it never deletes them.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */diff --git a/src/core/error-registry.ts b/src/core/error-registry.tsindex 4172d40a45..6edea37956 100644--- a/src/core/error-registry.ts+++ b/src/core/error-registry.ts@@ -197,7 +197,7 @@ export const CODES = {why: "A renewed lease is not progress: the detector keys on the head claim's phase and step. With a live owner on this host the drain prints `stalled <N>s on <step>` from the allowance (budget plus 30 s) and keeps going; it stops only when `persistence.preparation_ceiling_ms` passes without the root being released, or when that owner's heartbeat row reads wedged (`cause: owner_wedged_here`, with the owner's kind, pid and nonce and `retry_after_ms` to the ceiling, after which the owner frees the root and the next pass holds the entry). A lapsed claim (`owner_missing`) stops at once unless this host owns the checkout and a live full consumer can reclaim it, which gets one more window. `drain.stall.cause` names which.",reasons: ['owner_wedged_here', 'owner_missing', 'preparation_overdue', 'publication_overdue', 'no_progress'],// #6712 PR 2: a pass that admits nothing with no unfinished request stops `no_progress`; an older build wrote `no_admission` for it.- retired_reasons: { no_admission: '0.60.260.0' },+ retired_reasons: { no_admission: '0.60.261.0' },docs: 'docs/guides/write-refusals.md#drain-stalled',suggestion: 'Inspect the writer with gbrain sources writer status --source <id> --json (read-only: the owner process, its step and what it waits on, and the next action). Before the ceiling (`next.safe_to_loop` true) rerun next.command after retry_after_ms; past it, or with a wedged owner, restart the named owner process on the brain host and rerun the same sync.',fix: { argv: ['gbrain', 'sources', 'writer', 'status', '--source', '{source_id}', '--json'], consent: [], actor: 'agent', why: "Read-only: names the owner process holding the head write (kind, pid), its step and wait cause, and ends in a next_action.", requires_exclusive: false,diff --git a/src/core/sync-config-keys.ts b/src/core/sync-config-keys.tsindex bcbcca3de1..15fa7c2048 100644--- a/src/core/sync-config-keys.ts+++ b/src/core/sync-config-keys.ts@@ -25,15 +25,15 @@ export interface RetiredSyncKey {}export const RETIRED_SYNC_KEYS = {- 'sync.bulk_max_txn_ms': { key: 'sync.bulk_max_txn_ms', retired_in: '0.60.260.0', tuned: 'the target time of one bulk group without lanes, in ms',+ 'sync.bulk_max_txn_ms': { key: 'sync.bulk_max_txn_ms', retired_in: '0.60.261.0', tuned: 'the target time of one bulk group without lanes, in ms',replacement: { env: 'GBRAIN_SYNC_BULK_MAX_TXN_MS', default: '15000' } },- 'sync.hold_cap': { key: 'sync.hold_cap', retired_in: '0.60.260.0', tuned: 'how many held files a sync result lists in detail',+ 'sync.hold_cap': { key: 'sync.hold_cap', retired_in: '0.60.261.0', tuned: 'how many held files a sync result lists in detail',replacement: { env: 'GBRAIN_SYNC_HOLD_CAP', default: '500' } },- 'sync.hold_escalate_count': { key: 'sync.hold_escalate_count', retired_in: '0.60.260.0', tuned: 'the held-file count above which a source escalates',+ 'sync.hold_escalate_count': { key: 'sync.hold_escalate_count', retired_in: '0.60.261.0', tuned: 'the held-file count above which a source escalates',replacement: { env: 'GBRAIN_SYNC_HOLD_ESCALATE_COUNT', default: '50' } },- 'sync.hold_escalate_pct': { key: 'sync.hold_escalate_pct', retired_in: '0.60.260.0', tuned: 'the share of a run\'s screened imports above which it escalates, in percent',+ 'sync.hold_escalate_pct': { key: 'sync.hold_escalate_pct', retired_in: '0.60.261.0', tuned: 'the share of a run\'s screened imports above which it escalates, in percent',replacement: { env: 'GBRAIN_SYNC_HOLD_ESCALATE_PCT', default: '5' } },- 'sync.parser_regression': { key: 'sync.parser_regression', retired_in: '0.60.260.0', tuned: 'whether sync stops (stop) or holds the file (hold) when bytes that imported before are refused',+ 'sync.parser_regression': { key: 'sync.parser_regression', retired_in: '0.60.261.0', tuned: 'whether sync stops (stop) or holds the file (hold) when bytes that imported before are refused',replacement: { env: 'GBRAIN_SYNC_PARSER_REGRESSION', default: 'stop' } },'sync.knock_on_refreeze_limit': { key: 'sync.knock_on_refreeze_limit', retired_in: '0.60.255.0', tuned: 'the knock-on re-freeze budget', replacement: null },'sync.knock_on_run_limit': { key: 'sync.knock_on_run_limit', retired_in: '0.60.255.0', tuned: 'the knock-on re-freeze budget per run', replacement: null },diff --git a/src/core/wire-skew.ts b/src/core/wire-skew.tsindex a3f5470e5d..95801d5c5a 100644--- a/src/core/wire-skew.ts+++ b/src/core/wire-skew.ts@@ -47,14 +47,14 @@ export function retiredWireNotice(fields: readonly string[]): string {export interface ConfigRollbackWindow { key: string; floor: string; honored_until: string; named_in: string; restores: string }export const CONFIG_ROLLBACK_WINDOWS = {- 'sync.job_drain': { key: 'sync.job_drain', floor: '0.60.260.0', honored_until: '2027-01-14', named_in: '0.60.233.0 behavior notice (#6706)',+ 'sync.job_drain': { key: 'sync.job_drain', floor: '0.60.261.0', honored_until: '2027-01-14', named_in: '0.60.233.0 behavior notice (#6706)',restores: 'single-pass managed `sync` jobs instead of draining to the job deadline' },- 'sync.foreground_priority': { key: 'sync.foreground_priority', floor: '0.60.260.0', honored_until: '2027-01-14', named_in: 'docs/guides/live-sync.md (#5984)',+ 'sync.foreground_priority': { key: 'sync.foreground_priority', floor: '0.60.261.0', honored_until: '2027-01-14', named_in: 'docs/guides/live-sync.md (#5984)',restores: 'first-in-first-out bulk groups instead of letting foreground writes go first' },- 'sync.federated_v2': { key: 'sync.federated_v2', floor: '0.60.260.0', honored_until: '2027-01-14', named_in: 'skills/migrations/v0.40.5.md',+ 'sync.federated_v2': { key: 'sync.federated_v2', floor: '0.60.261.0', honored_until: '2027-01-14', named_in: 'skills/migrations/v0.40.5.md',restores: 'the v0.39 sequential sync --all instead of the federated v2 path' },- 'sync.waive_batch': { key: 'sync.waive_batch', floor: '0.60.260.0', honored_until: '2027-01-14', named_in: '#5984 behavior notice',+ 'sync.waive_batch': { key: 'sync.waive_batch', floor: '0.60.261.0', honored_until: '2027-01-14', named_in: '#5984 behavior notice',restores: 'one waived entry per transaction instead of batched waivers' },- 'sync.bulk': { key: 'sync.bulk', floor: '0.60.260.0', honored_until: '2027-01-14', named_in: '#5984 behavior notice and docs/guides/live-sync.md',+ 'sync.bulk': { key: 'sync.bulk', floor: '0.60.261.0', honored_until: '2027-01-14', named_in: '#5984 behavior notice and docs/guides/live-sync.md',restores: 'one page per transaction on managed Postgres sync instead of bulk groups' },} as const satisfies Record<string, ConfigRollbackWindow>;diff --git a/test/error-registry-6317-contract.test.ts b/test/error-registry-6317-contract.test.tsindex 801a046552..96a6f277ca 100644--- a/test/error-registry-6317-contract.test.ts+++ b/test/error-registry-6317-contract.test.ts@@ -97,7 +97,7 @@ describe('drain_stalled: the same-host stop has a cause vocabulary and a filledconst entry = CODES.drain_stalled as CodeEntry;expect(entry.reasons).toEqual(['owner_wedged_here', 'owner_missing', 'preparation_overdue', 'publication_overdue', 'no_progress']);// #6712 PR 2: the in-pass governor's no-admission stop (#6423) is `no_progress` now; the retired reason keeps its tombstone.- expect(entry.retired_reasons).toEqual({ no_admission: '0.60.260.0' });+ expect(entry.retired_reasons).toEqual({ no_admission: '0.60.261.0' });expect(entry.why).toContain('owner_wedged_here');expect(entry.why).toContain('retry_after_ms');expect(entry.why).not.toContain('nothing here can claim it');diff --git a/test/sync-config-keys-6712.test.ts b/test/sync-config-keys-6712.test.tsindex 87a53d2721..db60e8d5ec 100644--- a/test/sync-config-keys-6712.test.ts+++ b/test/sync-config-keys-6712.test.ts@@ -62,7 +62,7 @@ test('the three kinds are disjoint; tunables and rollback keys are registered, rtest('config set of a retired key warns, names its replacement and writes nothing', async () => withEnv(CLEAR, async () => {const set = await config(['set', 'sync.hold_cap', '200']);expect(set.exit).toBeNull();- expect(set.err).toContain('sync.hold_cap was retired in 0.60.260.0');+ expect(set.err).toContain('sync.hold_cap was retired in 0.60.261.0');expect(set.err).toContain('GBRAIN_SYNC_HOLD_CAP=<value>');expect(set.err).toContain('nothing was written');expect(await engine.getConfig('sync.hold_cap')).toBeNull();