Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(release): v0.60.34.0 CHANGELOG entry and fix wave 8 notes
garrytandf2f795bc08f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 268e081448..4995407985 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,142 @@ credits are retained; no result has been reassigned to another provider. Originaidentifiers and attribution are available in the pre-removal Git revision`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).+## [0.60.34.0] - 2026-10-03++**Fix wave 8: Postgres stops poisoning its connection pool after one failed statement, managed brains keep ingesting remote sources, Windows can publish skills and run the write queue, scripts can tell a pending write from a failed one, agents can edit one line of a page without resending it, and legacy tokens can be granted (or denied) exactly the sources they should see.**++This wave fixes the bugs that hurt the most people first. On Postgres, one statement that failed inside a transaction could hand its half-finished connection back to the pool, and every later query on that connection failed until you restarted. On a managed brain, any cycle asked to `git pull` (autopilot always asks) failed its sync, so remote-tracking sources quietly stopped ingesting. On Windows, the managed write queue wedged and every skill-bundle publication failed, including the pack `gbrain init` installs. All three are fixed, and each has a test that fails on the previous release. Searching did not get slower: agent (MCP) search on a 10,000-page brain, as shipped with no manual tuning, answers in about 105 ms, where the previous release took 105 to 130 ms on the same machine.++Writes got an honest exit code. A CLI write that was accepted but had not committed when the wait ended used to exit 1, the same as a failure, even though it landed a moment later. It now exits 10 with a receipt you can poll, the CLI waits 30 seconds instead of 5, and `--accept-pending` maps pending to 0 for hooks and cron. Agents get `edit_page`: ordered exact-text replacements against a revision, so a one-line fix no longer means sending the whole page back.++| After upgrading | Before | After |+| --- | --- | --- |+| MCP search p50, 10k pages, as shipped (PGLite, same fixture, same machine) | 105-130 ms (v0.60.32.0, five runs) | 105 ms |+| Postgres query after one statement failed inside a pooled transaction | every later query on that connection fails (25P02) until restart | the connection is discarded; the next query succeeds |+| Managed cycle asked to pull (autopilot) | sync fails, remote sources stop ingesting | syncs the checkout as it is and warns with the refresh steps |+| Windows: managed write queue, skill-bundle publication, `gbrain init` pack | EPERM, wedged or failed | work |+| `migrate embeddings` to a new model on 4k vectors (PGLite, 1024d) | vector index built first, 67.9 s | index built after the re-embed, 16 s |+| Upgrading a pre-v150 brain with a damaged row | whole `pages` table rewritten, upgrade blocked | column added in place, backfilled in batches, damaged row reported |+| CLI write still pending when the wait ends | exit 1 after 5 s | exit 10 with a receipt after 30 s (`--wait`, `--accept-pending`) |+| Changing one line of a large page from an agent | resend the whole page | `edit_page` with the exact text to replace |+| `find_orphans` on a 23k-page multi-source brain | 2.3 MB, every row, no source per row | 100 rows a page, `source_id` filter, source and type per row |+| Legacy token whose stored source list is empty | silently reads `default` | refused for every operation (`auth rescope-token --sources` regrants) |+| A bare "started" or "joined" next to a markdown link | link typed `founded` or `works_at` | the tuned matchers decide |+| The sixth and later searches in one PGLite process (2,000-page brain) | about 7 s each (a generic query plan) | about 40 ms |+| A cost cap you set, with a model gbrain has no price for | cap dropped or the model billed at $0 | refused, with the steps to register its price (`gbrain pricing set`) |++Version 0.60.28.0 said skill bundles publish on Windows. They did not: the bundle publisher still flushed a read-only handle, which Windows refuses. This release is the one where Windows `gbrain init` and skill-bundle publication work, and a Windows CI step now runs those regressions on every change.++The release also folds in community PR #5587 (idea-ingest stops creating stub author pages), contributed by @screamingaikitty-ship-it, and GBRA-35's change that turns connector atom extraction back on by default. Thank you.++## To take advantage of v0.60.34.0++`gbrain upgrade` installs the binary and runs three schema migrations (v190 upstream-observation columns on `sources`, v191 alias rows that cascade with their source, v192 take-vector identity). Restart every `gbrain serve`, autopilot and worker afterwards.++1. **Check scripts that run gbrain writes.** A pending write now exits 10. Treat 10 as "accepted, still committing", or pass `--accept-pending` (or set `GBRAIN_ACCEPT_PENDING=1`). Poll a receipt with `gbrain call get_write_request '{"request_id":"<id>"}'`. Change the wait with `--wait <seconds>`, `GBRAIN_WRITE_WAIT_MS` or `gbrain config set persistence.write_wait_ms <ms>`.+2. **Regrant legacy tokens that should read sources.** A token whose stored source list is explicitly empty is now refused instead of reading `default`:+ ```bash+ gbrain auth rescope-token <name> --sources default # or a,b+ gbrain auth rescope-token <name> --refresh-operations # preview operations newer than the token+ ```+3. **Expect one paid re-embed of takes.** Takes now embed with pages, and existing take vectors re-embed once so they record their model. `gbrain embed --stale --dry-run` shows the work; `gbrain config set takes.auto_embed false` turns it off.+4. **A pre-v150 brain backfills page revisions.** `gbrain apply-migrations --yes` prints progress and resumes if interrupted. If a row keeps failing, `gbrain repair orphan-children` previews the cleanup and the damaged-row probe.+5. **Re-derive markdown link types** if you rely on `founded` and `works_at` edges: `gbrain extract links --source db`.+6. **Verify:**+ ```bash+ gbrain doctor+ gbrain remember "upgrade check" --provenance upgrade; echo "exit=$?" # 0 = committed+ ```+7. **If any step fails,** file an issue at https://github.com/garrytan/gbrain/issues with the output of `gbrain doctor` and `~/.gbrain/upgrade-errors.jsonl` if it exists.++### Behavior changes++- **Pending CLI writes exit 10, not 1,** and print their receipt; the CLI waits 30 s (agents keep 5 s). Scripts that treated 1 as failure: check for 10, or pass `--accept-pending` / `GBRAIN_ACCEPT_PENDING=1` (`--no-accept-pending` beats the variable). Wait: `--wait <s>` > `GBRAIN_WRITE_WAIT_MS` > `persistence.write_wait_ms` > 30 s. A refusal before admission ("the owner is closing") still exits 1 (#5232).+- **Accepted-but-pending writes are no longer errors in the admin request log** (`accepted_pending` class, out of the error rate) (#5249).+- **A managed cycle asked to pull runs as no-pull** and reports `details.upstream_refresh` with a warning naming the safe refresh sequence; an explicit `gbrain sync` without `--no-pull` on a managed brain still refuses (#5255).+- **Doctor `sync_freshness` reports upstream freshness separately.** A remote-tracking source whose upstream was not checked in 24 hours is "upstream unknown", and one whose upstream moved is "behind"; neither reads fresh (#5255, #5176).+- **Doctor checks that could not verify anything now warn "not verified"** instead of ok, so a green install can turn yellow until the cause is fixed (#5432).+- **`auto_chronicle=true` is reported as having no effect** by doctor (`auto_chronicle`) and the advisor; nothing reads the setting yet (#5876).+- **Pre-v150 brains backfill page revisions on upgrade,** resumable and safe to interrupt; until a row is backfilled, a write naming a revision for it is refused with `revision_backfill_pending` (#5216, #4738).+- **Takes are embedded with pages** by `gbrain embed --stale` and the cycle's embed phase when an embedding provider is configured, and existing take vectors re-embed once. Turn off: `gbrain config set takes.auto_embed false` or `GBRAIN_EMBED_TAKES=0`. Doctor `fact_take_vectors` counts missing and old-model vectors (#5885, #5188).+- **Dream reads imported `type: conversation` pages** when a corpus directory is set, which means model calls on those pages. Turn off: `gbrain config set dream.synthesize.conversation_pages false` (#4419).+- **Atom extraction of connector `email` and `meeting` pages is on by default again** on every brain, still bounded by the per-attempt auto-drain budget. Turn off: `gbrain config set cycle.extract_atoms.connector_pages false`; `gbrain config set autopilot.auto_drain.enabled false` stops all automatic atom drains (GBRA-35, #5856 follow-up).+- **Atom pages no longer feed the facts backstop,** and facts with no entity no longer count as pending consolidation (`recall --pending`), because consolidation never reads them. Doctor `facts_health` names how many active facts earlier atom extraction left (#5831).+- **A legacy token with an explicit empty source list is refused** for every operation instead of reading `default`, and harness rotation carries the replaced token's grants without adding operations newer than the token (#5231, #5893).+- **`find_orphans` returns 100 rows a page by default** (`limit` up to 1000, `offset`, `next_offset`, `count_only`), takes a `source_id` inside the caller's grant, and names each row's `source_id` and `type`; `total_orphans` still counts every orphan (#5891).+- **Markdown link typing no longer uses the bundled packs' bare-word verb regexes.** They are now `ner_only`, so "started" or "joined" near a link no longer makes it `founded` or `works_at`; NER keeps using them (#5882).+- **`put_page` warns on a page type the active pack does not declare** (`type_warning`); the write still lands (#5880). Brain score's timeline component grades only entity and temporal pack types (#5828).+- **A connector sync that ends partial exits 1 and prints its real cause** instead of exit 0 and `reason=timeout` (#5012).+- **facts-absorb write refusals go straight to `dead`** with their real code instead of five retries logged as provider failures, and before activation a job whose source root is a claimed worktree is refused before any model call (#5362).+- **Postgres discards any pooled or released connection left inside a transaction** (no opt-out; `getPoolDiagnostics().poisonedDiscards` counts them), token-usage updates skip a locked row, and backfills stop on a failed `SET LOCAL` or `ROLLBACK` (#5730).+- **`gbrain serve --http` writes one stderr line per tool call before dispatch** (`[gbrain-serve] dispatch op=<name> args_sha256=<16 hex>`, never the arguments) (#4817).+- **Pool guidance names 6 as the floor for resident processes** (`GBRAIN_POOL_SIZE`), and the serve boot-deadline line names the stuck phase and pool pressure (#5205).+- **Migration v191 deletes alias rows whose source no longer exists** before adding the cascade (#5094).+- **`migrate embeddings` builds vector indexes after the re-embed;** search runs unindexed until the build finishes, and the migration stays in flight until every recorded index is valid (#5088).+- **Global maintenance resumes at the phase where the last job stopped** and skips phases its deadline would cut off; set the deadline with `autopilot.global_maintenance_timeout_ms` or `GBRAIN_GLOBAL_MAINTENANCE_TIMEOUT_MS` (#4578).+- **Search no longer stalls after the fifth query in a PGLite process.** Postgres may switch a statement it has run five times to a generic plan, and without planner statistics the search adjacency read's generic plan walked pages against links: on a 2,000-page brain every search after the fifth took about 7 s. That read now always plans for its actual page ids (about 40 ms).+- **`tools/list` marks the core reads read-only** (`readOnlyHint: true` for `get_page`, `fetch`, `list_pages`, `search`, `query`, `assemble_evidence`, `search_modes` and every read op explicitly tagged non-mutating); ops without a tag stay unannotated (#5037).+- **Doctor `google_oauth` no longer calls a refresh token healthy** it never probed; `gbrain google status` tests each one (#5012).+- **A cost cap you set, including `cycle.extract_atoms.budget_usd`, now refuses a model gbrain has no price for** instead of silently dropping the cap or billing it at $0. The refusal tells your agent to look up the provider's per-token price and register it with the new `gbrain pricing set <model> --input <usd/1M> --output <usd/1M>` (or `--rate` for embeddings), then retry, and `gbrain doctor` shows the command until you do. `gbrain pricing list` and `gbrain pricing unset` manage registered prices without overwriting each other. Registration is local-CLI only, so agents connected over MCP ask the operator. Default caps still warn and run.++### Itemized changes++#### Postgres engine (#5730, #5842, #5233, #5801, #4732, #5205, #4817)++- The vendored driver gains `onpoisoned(statusByte)`, called when it terminates a pooled or released connection whose ReadyForQuery status was not idle; `postgres-engine.ts` counts the discards and logs one redacted line each (#5730).+- `apply-migrations --export-db-only` excludes its own orchestration lease (by holder token) from the quiescence check (#5842).+- The persistence consumer's idle probe reserves from the ordinary pool instead of the direct/session route and logs a redacted, length-capped error (#5233).+- Consumer phase observations carry `first_conn_ms` (or `checkout: not_observed` with `conn_wait_ms`) and `loop_lag_ms` (#5801).+- `get_health` reports `embedding_column` on both engines (#4732).++#### Managed ingestion (#5255, #5176, #5566, #5206, #5362, #5219, #5279)++- Managed checkpoints stamp `sources.chunker_version` after a full walk, so `sync_freshness` stops failing falsely (#5566).+- Activation with a vanished source directory is a named `source_changed` blocker with its remedies, `--dry-run` included (#5206).+- Archiving or removing a zero-page, sole-member source whose checkout vanished retires it with a receipt (#5219).+- The managed-worktree refusal names its root, source and evidence (marker file, managed-root registry or source binding) in the message and `detail` (#5279).++#### Windows (#5595, #5475)++- `src/core/fs-durable.ts` (`flushFile`, `flushDirectory`) replaces every copied flush idiom; `scripts/check-durable-flush.ts` fails on an fsync of a read-only descriptor anywhere else (its allowlist is now empty: the self-upgrade download flushes the descriptor it wrote through). `auth local-writer register --dry-run` is accepted.++#### Takes, data and doctor (#5886, #5883, #5527, #5822, #5884, #5158, #5094, #5879, #5881, #5626)++- A superseded take keeps the pointer on the old fence row (`"<source>; superseded by #N"`), so managed projection sets `superseded_by` (#5886).+- Same-date timeline entries sort by id (#5883); the mixed-model warning ignores restamp-only chunks (#5527); gbrain's own facts and takes fences no longer count as markup (#5822); dream pattern pages carry a raw-trace exemption (#5884); frontmatter key order alone is not a content change, without changing the stored `content_hash` (#5158).+- Orphan, consistency and coverage surfaces treat undeclared page types as untyped, gbrain's own outputs use declared types, and `gbrain lint` checks types against the active pack (#5879, #5881, #5626).++#### Agent write contract (#5232, #5249, #5616, #5037, #5891)++- `PENDING_WRITE_EXIT_CODE = 10` in `src/core/exit-codes.ts`; the wait reaches resident owners and thin clients, and each transport deadline is the wait plus 15 s of admission headroom.+- `edit_page`: required `expected_revision`, 1-50 ordered `{ old_text, new_text }` edits that each match exactly once, protected facts and takes fences preserved, a unified diff (8 KB cap) built from the caller's authorized view. It shares `put_page`'s preparation deadline and its DB-only `write_through.warning`.+- A connector sync waiting for a retained publication to recover honors the configured write wait (default 5 s).+- A conformance suite runs the changed contracts on PGLite and Postgres over stdio and HTTP MCP: accepted to committed and to failed, replay after a lost response (verbs surface too), `edit_page` revision conflicts, a grant revoked between acceptance and publication, `auth rescope-token` deny-all, and the `find_orphans` source filter.++#### Grants and multi-serve (#5231, #5893, #5878, #5042, #4768)++- `gbrain auth rescope-token <name>` edits a legacy token's `--sources`, `--takes-holders` and `--operations` (`none` = explicit empty list), `--reset-default`, and `--refresh-operations` with `--add` or `--all-new`.+- `recall`'s fact arms widen across the transport-computed federated set like its page-search arm.+- Shared skills refresh a superseded enrollment epoch (`gbrain bootstrap --refresh-skills`) and doctor compares the receipt epoch with the server (#5878).+- The Postgres resolve socket is keyed by database URL and source, so several stdio serves answer their own hooks (#5042).+- `gbrain serve --access read-only` lists and dispatches only read operations over stdio (#4768).++#### Scale and recovery (#5088, #4578, #5216, #4738, #5181, #5154, #5297, #5821)++- `gbrain repair orphan-children` (preview, then `--apply`) cleans page child tables and probes for torn TOAST rows; an XX000 error names it.+- Reindex sizes its worker pool from the pending total (#5181); `list_pages` selects listing columns only (#5154); the managed-root registry chmods only when the mode differs (#5297); doctor `timeline_history` keeps its scan cursor between runs (#5821).++#### Skills++- idea-ingest links an existing author page, creates one only when the author passes the notability gate with at least two durable facts beyond the ingested item, and otherwise credits the author inline; ingest gains the matching no-stub rule (#5587). Contributed by @screamingaikitty-ship-it.++### For contributors++- `bun run test:scale -- --pages N` runs the report-only scale harness on PGLite (import rate, planner statistics, known-answer p50 timings for the key ops).+- Fix-wave records live in `docs/fix-wave-notes/`; this wave's per-issue table is `docs/fix-wave-notes/capy-fix-wave-8.md`.+- Bundled schema packs mark sketch inference regexes `ner_only: true`; `inferLinkTypeFromPack` runs them only with `{ ner: true }`.+- `docs/ENGINES.md` now says `migrate --to` refuses managed brains and brains with write history, and names forward repair.+## [0.60.32.0] - 2026-10-02**Fix wave 7: automatic capture stops double-storing what you `remember`, the maintenance sweep reads whole transcripts, Gmail commitments and timelines work again on managed brains, `gbrain upgrade` refuses a Bun it can't run, the contradiction judge stops excusing undated conflicts, "who is waiting on me" ages and ranks requests honestly, and 62 community pull requests land.**diff --git a/docs/fix-wave-notes/capy-fix-wave-8.md b/docs/fix-wave-notes/capy-fix-wave-8.mdnew file mode 100644index 0000000000..3fd57edbef--- /dev/null+++ b/docs/fix-wave-notes/capy-fix-wave-8.md@@ -0,0 +1,168 @@+# Fix wave 8 notes (`capy/fix-wave-8`, v0.60.34.0)++One integrated PR. Eight lanes (A-G, with D split into D1 and D2) were built in+parallel on master v0.60.31.0, merged here, then merged with master v0.60.32.0+(fix wave 7, #5908) before the items that touch fix wave 7's files were built.+Lane H (explicit-cap `no_pricing` guidance and `gbrain pricing`) was built on+v0.60.32.0 and merged last. The branch also folds in community PR #5587 and+GBRA-35's `capy/gbra35-defaults-on` (see [its notes](capy-gbra35-defaults-on.md)).++## Headline++MCP-path `search` p50 at 10k brain pages, as shipped (PGLite, no manual+ANALYZE, `bun run test:scale -- --pages 10000 --seed 1`, five runs after a+warmup, same machine and fixture for both arms):++| Build | MCP search p50 | get_health p50 | Import rate ratio (last/first 10%) |+|---|---|---|---|+| v0.60.31.0 (wave 8 base) | 145.5 ms | 1,390 ms | 8.2 |+| v0.60.32.0 (master the wave merged), five runs | 110.5 / 105.3 / 115.6 / 129.8 / 106.0 ms | 1,263-1,279 ms | 7.4-9.7 |+| This branch before the alias-read fix, three runs | 134.9 / 126.3 / 147.8 ms | 1,269-1,439 ms | 7.0-9.7 |+| This branch after the alias-read fix | 104.9 ms | 1,290 ms | 8.1 |+| This branch as shipped (also with the adjacency-read fix), paired with v0.60.32.0 at 106.0 ms | 105.3 ms | 1,275 ms | 6.9 |++Each row is a separate run of the full harness on the same 4-core machine+(seed 1, five timed runs after a warmup). Runs of the same build vary by up to+25 ms, so "as shipped" means no regression, not a speed-up. The three+mid-wave runs showed a real 20-30 ms regression: the #5094 foreign key from+`page_aliases` to `sources` flipped PGLite's statistics-free plan for the alias+read, so every MCP search walked all readable pages (10 ms at 3k pages, 24 ms+at 10k). The alias read now looks the matching aliases up first and reaches+each page by its unique key (`test/search/alias-read-plan.test.ts`).++This wave does not target search latency, and the number confirms it did not+regress it. The scale harness also shows what F4 has to fix: the per-page import+cost of the last 10% of a 10k import is about 8x the first 10% (gate 1.5), and no+hot table has planner statistics after import.++S1 regressions that now pass (each fails on master v0.60.31.0):++| Issue | What used to happen | Regression test |+|---|---|---|+| #5730 | One aborted statement left a pooled Postgres connection inside a transaction, so every later query failed with 25P02 until restart | `test/e2e/postgres-poisoned-connection.test.ts` (direct and PgBouncer) |+| #5842 | `apply-migrations --export-db-only` refused on its own orchestration lease | `test/e2e/export-db-only-own-lease-postgres.test.ts` |+| #5595 (item 1) | The managed write queue wedged on Windows (fsync of a read-only handle, EPERM) | `test/persistence-windows-flush-5595.test.ts` |+| #5475 (parts 2-3) | Every skill-bundle publication, including init's packaged pack, failed on Windows | `test/bundle-files-windows-5475.test.ts`, `test/init-packaged-skills-native.test.ts` |+| #5255 | A managed cycle with `pull: true` failed sync, so remote-tracking sources silently stopped ingesting | `test/managed-cycle-pull-upstream.test.ts`, `test/managed-phase-matrix.test.ts` |+| #5088 | `migrate embeddings` rebuilt the HNSW index before the bulk re-embed (index-first 67.9 s vs load-then-build 16 s on a 4k-vector PGLite probe) | `test/migrate-embeddings-ann-deferred-5088.serial.test.ts`, `test/e2e/migrate-embeddings-ann-build-5088-postgres.test.ts` |+| #5216, #4738 | Migration 150 rewrote the whole `pages` table and a torn TOAST row blocked the upgrade | `test/page-revision-backfill-5216.test.ts`, `test/e2e/page-revision-rollout-5216-postgres.test.ts` |++## Overlap with fix wave 7 (O-CEO-1)++Computed at integration from `git diff --name-only master...origin/capy/fix-wave-7`+and `...origin/capy/fw7-community`: 70 files shared with wave 8, 41 of them+non-generated: `.github/workflows/test.yml`, `docs/guides/repair.md`,+`docs/guides/write-refusals.md`, `package.json`, `plugin/README.md`,+`scripts/e2e-test-map.ts`, `skills/skills.lock.json`, `src/cli.ts`,+`src/commands/{autopilot-fanout,bootstrap,config,hook,serve-http-mcp,sync,upgrade}.ts`,+`src/commands/sync/run.ts`, `src/commands/doctor/{bootstrap-checks,checks/extraction-sync,checks/graph-health,checks/search-eval}.ts`,+`src/core/{cycle,cycle/synthesize,doctor-categories,engine,import-file,pglite-engine,postgres-engine}.ts`,+`src/core/ops/{contract,pages}.ts`,+`src/core/persistence/{activation,coordinator,page-prepare,prepared-maintenance,service,source-lifecycle,sync-prepare}.ts`,+`src/core/repair/{core,registry}.ts`, and three tests+(`fix-wave-5-integration`, `managed-maintenance`, `repair-explicit-only`).++After the master merge, the conflicted files were `config.ts` (lane E's+`persistence.write_wait_ms` re-applied onto wave 7's file-plane refactor),+`activation.ts`, the repair registry and its tests (wave 7's `captured-facts` and+`loop-facts` beside lane G's `orphan-children`), the e2e map, the size ratchets+and four key-files docs. The focused run afterwards covered 244 files (every lane+regression test, every test wave 7 changed, the conflicted tests; 24 of them E2E+on Postgres): all green except `hook-command.serial`, which fails only in the+Capy sandbox.++## Per-issue record++Status values: fixed, hardening, data requested, deferred (TODO), dropped (fixed+in fix wave 7), skipped (owner named), closed as already fixed.++| Issue | Lane | Fix commit | Regression test | Status |+|---|---|---|---|---|+| #5730 | A | da9fafb2e, 993cfbf2f | `test/e2e/postgres-poisoned-connection.test.ts`, `test/e2e/token-usage-skip-locked.test.ts`, `test/backfill-base.test.ts` | fixed |+| #5842 | A | 593816220, eb4dc7744 | `test/e2e/export-db-only-own-lease-postgres.test.ts` | fixed |+| #5233 | A | eb809b0f2 | `test/e2e/persistence-idle-pool.test.ts`, `test/persistence-consumer-log.test.ts` | fixed |+| #5801 | A | 184646b8d, 3cb95172c | `test/e2e/postgres-checkout-observer.test.ts`, `test/persistence-consumer-log.test.ts` | hardening (instrumentation) + data requested |+| #4732 | A | a926bcce0 | `test/get-health-embedding-column.test.ts`, `test/e2e/get-health-embedding-column-postgres.test.ts` | hardening (diagnostic) + data requested |+| #5205 | A | 023c8bb9b, fde6e11d4 | `test/pool-diagnostics-fix-commands.test.ts`, `test/serve-stdio-lifecycle.test.ts` | fixed (guidance) |+| #4817 | A | dae21ecd4 | `test/serve-http-mcp-dispatch-context.serial.test.ts` | hardening + data requested |+| #5255 | B | fc9a100df, 21137ae09 | `test/managed-cycle-pull-upstream.test.ts`, `test/managed-phase-matrix.test.ts` | fixed |+| #5176 | B | fc9a100df | `test/managed-cycle-pull-upstream.test.ts` | fixed (short half); coordinated ff-only refresh moved to Foundations 1 (F0) |+| #5566 | B | c34dcff55 | `test/managed-sync-chunker-version.test.ts` | fixed |+| #5206 | B | fda586152 | `test/activation-missing-source-path.test.ts` | fixed |+| #5362 | B + integrator | 17e0b6f2d, afe0cc596 | `test/facts-absorb-write-refusal.test.ts`, `test/facts-absorb-log.test.ts` | fixed (codes, no retry, bound-root precheck before inference) |+| #5219 | B | 83a05825e | `test/source-retire-missing-checkout.test.ts` | fixed |+| #5279 | integrator (AFTER-FW7) | 09b401aa2 | `test/filesystem-guard-names-root-5279.test.ts` | fixed (residual: guard detail names root, source, evidence) |+| #5341 | B | (fix wave 7) | | dropped (fixed in fix wave 7) |+| #5186, #5799, #5606, #5808 | B | | | skipped (fw7 community PRs #5371, #5796); #5808 doctor check is a TODO |+| #5595 | C | 5c40fd812, e5e290005, 0480ab3bc; integrator 07e03dc23 | `test/persistence-windows-flush-5595.test.ts`, `test/fs-durable.test.ts`, `test/scripts/durable-flush-guard.test.ts`, `test/binary-self-update-durable-download.test.ts` | fixed (self-upgrade download migrated after fix wave 7; guard allowlist now empty) |+| #5475 | C | 5c40fd812, e9119c2d3 | `test/bundle-files-windows-5475.test.ts`, `test/init-packaged-skills-native.test.ts` | fixed |+| (no issue) `auth local-writer register --dry-run` | C | 14336e756 | `test/auth-local-writer-dry-run.test.ts` | fixed |+| #5886 | D1 | 15d499bc7 | `test/takes-supersede-pointer.test.ts` | fixed; repair of older chains is a TODO |+| #5885, #5188 | D1 | f7cb66c98 | `test/takes-vector-lifecycle-5885.serial.test.ts`, `test/takes-engine.test.ts`, `test/embedding-recovery.serial.test.ts` | fixed |+| #5527 | D1 | 05a7f504d | `test/embed-null-signature-warning-5527.serial.test.ts` | fixed |+| #5822 | D1 | accf339a3 | `test/content-sanity-gbrain-fences-5822.test.ts` | fixed |+| #5884 | D1 | b2e9751d2 | `test/managed-maintenance.test.ts` | fixed |+| #5094 | D1 | 58c3051b7, 48b1722c5 | `test/alias-source-cascade-5094.test.ts` | fixed (migration v191) |+| #5883 | D1 | ff99ffa1a | `test/engine-sql-timeline-tiebreak.test.ts` | fixed |+| #5158 | D1 | ae3fa2d37 | `test/import-frontmatter-key-order-5158.test.ts` | fixed |+| #5876 | D1 | e8e4f7a90 | `test/auto-chronicle-no-effect-5876.test.ts` | fixed (honest half); restoring the trigger moved to Foundations 1 (TODO) |+| #5831 | integrator (AFTER-FW7) | 8a03e4be8, ef6b28574 | `test/facts-eligibility.test.ts`, `test/facts-recall-audit-rows.test.ts`, `test/doctor-atom-facts-5831.test.ts` | fixed |+| #5879 | D2 | 8905ca86b | `test/doctor-schema-pack-checks.test.ts`, `test/schema-pack-type-conformance.test.ts` | fixed |+| #5881 | D2 | aa0d7fa7b | `test/gbrain-owned-page-types.test.ts` | fixed |+| #5626 | D2 | ab40b5e3d | `test/lint-page-type-vocabulary.test.ts` | fixed |+| #5880 | D2 | 094d3e680 | `test/put-page-type-warning.test.ts` | fixed (warn); managed retype is a TODO |+| #5828 | D2 | d35a2169a | `test/brain-score-timeline-grading.test.ts` | fixed |+| #5432 | D2 | 8905ca86b, 4df9e0269 | `test/doctor-not-verified-5432.test.ts` | fixed; quote-presence check is a TODO |+| #5012 | D2 + integrator | db832b5c3, b52fbd939 | `test/sync-connector-partial-exit.test.ts`, `test/github-source-materialize.test.ts`, `test/google-oauth-doctor.test.ts` | fixed (connector partials exit 1 with the real reason; doctor no longer calls an unprobed refresh token healthy). The `apply-migrations` exit and `jobs smoke` parts of the issue were not in this wave's triage |+| #4419 | D2 | 8aa8ba751 | `test/dream-conversation-pages.test.ts` | fixed (on by default with a corpus dir) |+| #5882 | integrator (AFTER-FW7) | ab5ed1672, 7b6e87bd8 | `test/link-inference-pack.test.ts` | fixed |+| #5232 | E + integrator | d8e39fb75, cbcfab691, c27421c31; 3b2320e1f | `test/pending-write-exit.serial.test.ts`, `test/pending-write-exit-owner.serial.test.ts`, `test/thin-client-write-errors.serial.test.ts`, `test/persistence-connector-recovery.test.ts` | fixed (connector recovery honors the configured wait) |+| #5249 | E | d5ed54007 | `test/accepted-pending-status.test.ts` | fixed |+| #5616 | E + integrator | b25ed496b, c3b1b2c99, f39b1a9ce; 1feb4038a | `test/edit-page.test.ts`, `test/persistence-consumer-scheduling.test.ts`, `test/ingestion/put-page-write-through.test.ts` | fixed (feature) |+| #5037 | E + integrator | 954d6684a; 4d53c7cf5 | `test/mcp-tool-defs.test.ts` | fixed |+| #5891 | integrator (AFTER-FW7) | 37bb8d79e | `test/orphans-paging-5891.test.ts`, `test/write-contract-conformance.test.ts`, `test/e2e/write-contract-conformance.test.ts` | fixed |+| O-CEO-13 conformance gate | E + integrator | c4f3127a1 | `test/write-contract-conformance.test.ts`, `test/e2e/write-contract-conformance.test.ts` | both lane-F and #5891 cases enabled |+| #5231 (CLI half), #5893 | F + integrator | 32621e183, 90d618cc8, 50984ea99; 07b1ba9aa | `test/auth-rescope-token.serial.test.ts`, `test/e2e/auth-rescope-token.test.ts`, `test/harness-rotation-grants.serial.test.ts`, `test/recall-federated-search-scope.test.ts` | fixed (recall facts arms use the federated scope) |+| #5878 | F | baf4abe31 | `test/harness-skills-epoch.test.ts` | fixed |+| #5042 | F | 52ac5e8bb | `test/resolve-ipc-source-keyed.test.ts` | fixed |+| #4768 | F | 9d64aa078 | `test/serve-stdio-read-only.test.ts` | fixed (stdio half); issue retitled |+| #5181 | G | 9cb30a2d9 | `test/e2e/reindex-auto-workers-5181.test.ts` | fixed |+| #5297 | G | 9c4b8846e | `test/root-registry-idle-chmod-5297.test.ts` | fixed (chmod leftover); closed as already fixed for the main bug |+| #5154 | G | 0a37ed8eb | `test/list-pages-columns-5154.test.ts` | hardening + data requested |+| #5821 | G | e9e70b840 | `test/doctor-timeline-history-cursor-5821.test.ts` | fixed |+| #4578 | G | 5e7cff18d, 11f147c12, 3f68931e2 | `test/autopilot-global-maintenance-resume-4578.test.ts` | fixed |+| #5088 | G | a66fbdbcf, cc9a872d0 | `test/migrate-embeddings-ann-deferred-5088.serial.test.ts`, `test/e2e/migrate-embeddings-ann-build-5088-postgres.test.ts` | fixed (takes join the deferred worklist at integration) |+| #5216, #4738 | G + integrator | 61ae59fe5, 70afd929a, 592c48f1a, ca6a21f95; cc7c9956a | `test/page-revision-backfill-5216.test.ts`, `test/e2e/page-revision-rollout-5216-postgres.test.ts`, `test/pg-access-storage-corrupt-5216.test.ts`, `test/revision-backfill-pending-request-error.test.ts` | fixed |+| `no_pricing` under an explicit cap; `gbrain pricing set/list/unset` | H | 181ac34fa, fec4875a8, 4e126ce5e, b078f584d, 81631b879 | `test/budget/no-pricing-registration.test.ts`, `test/extract-atoms-explicit-cap-no-pricing.test.ts`, `test/extract-atoms-embed-cost-gate.test.ts` | fixed (product change approved) |+| (no issue) PGLite generic-plan stall: the sixth and later searches in a process took ~7 s at 2k pages | integrator | 9aa88eb31 | `test/search/adjacency-generic-plan.test.ts` | fixed (found while measuring the headline metric) |+| #5587 (community PR) | integrator | 658d6109e | skill tests, `scripts/check-plugin-tree.sh` | absorbed; close as superseded |+| #5856 follow-up (GBRA-35) | GBRA-35 | 7530e1d4a | `test/connector-atom-pages.test.ts`, `test/autopilot-auto-drain-dispatch.test.ts`, `test/managed-connector-job-contract.test.ts` | fixed (connector atoms on by default) |+| #5349 (X11) | | | | skipped (GBRA-35) |+| #5203 residual `jobs requeue-facts` (X12) | | | | skipped (GBRA-35) |+| #5203, #5217, #5204, #5127, #5006, #5414, #5250, #5218, #5420 | | see below | | closed as already fixed |+| #3783, #5848, #4951, #5547 | | | | data requested |+| #5406 | | | | reporter asked to confirm on v0.60.31.0+ |+| #4612 | | | | deferred (TODO) |++## Already fixed on master (close-out evidence)++| Issue | Fixing change | Evidence |+|---|---|---|+| #5203 | 6040075c6 (#5381, v0.54.1.0), f8d1e3936 (#5747, v0.60.11.0) | `extract_facts` is a coordinated writer (`src/core/cycle/phase-table.ts`); `test/managed-facts-backstop.test.ts`, `test/managed-facts-writers.test.ts`. Residual `jobs requeue-facts` is GBRA-35's |+| #5217 | 6040075c6 (#5381, v0.54.1.0), f8d1e3936 (#5747) | consolidate runs the managed maintenance preflight; `test/managed-maintenance.test.ts` |+| #5204 | f8d1e3936 (#5747, v0.60.11.0) | bootstrap verify purges probes through the coordinator; `test/bootstrap-verify.serial.test.ts` |+| #5127 | 7ef5165b4 (#5194, v0.60.15.0) | People 400 on an expired sync token maps to `GoogleCursorExpiredError`; `test/google-clients.test.ts` |+| #5006 | 1fc8b6c2d (#5026, v0.49.0.0) | an `agent` grant with no bindings is refused (`delegated_tools_missing`); `test/client-grants.test.ts` |+| #5414 | db56c778e (#5412, v0.56.2.0) | restore flushes through a writable handle; `test/backup-portability-native.serial.test.ts` |+| #5250 | 5fffbe5b9 (#5658, v0.59.10.0) | stdio startup warns for `GBRAIN_SOURCE=__all__`; `test/mcp-stdio-source-preflight.test.ts` |+| #5218 | 5fffbe5b9 (#5658), f8d1e3936 (#5747), 3e60b2439 (#5792, v0.60.20.0) | restamp-only chunks are counted and processed apart from embed work; `test/embed-stale-dry-run-restamp-5289.serial.test.ts` (same root cause as #5289/#5226) |+| #5297 | 6e1e82628 (#5689, v0.60.5.0), 608a174dc (#5684, v0.60.10.0); chmod leftover 9c4b8846e (this wave) | idle refresh bounded; `test/root-registry-idle-chmod-5297.test.ts` |+| #5420 | f8d1e3936 (#5747, v0.60.11.0) | no managed bulk writer is refused any more; `test/managed-unsupported-preflight.serial.test.ts`. Residual tracked in #5867 |++## Gate++GATE_RESULTS++## Measured cold-home time to first readback (O-DX-11)++Not measured in this wave; the keyless quickstart work is a Foundations 1 item.