#5203·gbrain

Managed mode (0.51.0.0): no fact-extraction path after writer activation — backstop skipped, queued jobs skip forever, inline extract_facts runs the model then refuses the fence write

Author: benswinneyCreated Sep 18, 2026Updated Sep 30, 2026

Summary

After sources writer activate on 0.51.0.0 there is no supported path that extracts facts from a page. The documented skip covers the durable backstop, but the inline extract_facts verb refuses too, so the only working fact writer on a managed brain is remember/forget. Pages written after activation, and the backlog of pre-activation facts-absorb jobs, get no extraction.

Environment

gbrain 0.51.0.0 (bun global from tag v0.51.0.0), Postgres 18.6 + pgvector, Linux x86_64, bun 1.4.0. One filesystem source (default), activated 2026-09-18 02:34Z. facts.extraction_enabled on; chat model claude-cli:claude-sonnet-5 (reachable: the extractor runs and returns before the refusal).

What happens

  1. Durable backstop — skipped. prepareFactsBackstop returns { skipped: 'writer_coordinator_required' } when persistence_brain.enabled (src/core/persistence/effect-facts.ts:39), and dispatchFactsBackstopEffect short-circuits the same way (:72). Every put_page receipt since activation reports "facts_backstop": { "skipped": "writer_coordinator_required" } (effect-journal.ts:35) and no facts-backstop effect is journaled — only embedding and git.
  2. Queued jobs — skip forever. The facts-absorb handler calls readFactsBackstopJobPage, which returns skipped: 'writer_coordinator_required' before reading the page (effect-facts.ts:47, src/commands/jobs.ts:2546). 60 pre-activation jobs (dead from an unrelated provider outage) cannot be revived by retry, authorize-legacy, or a re-put.
  3. Inline extract_facts — model runs, write refused. Both the MCP tool and gbrain call extract_facts call the model (~6 s), then fail at the fence write:
    {"error":"writer_coordinator_required","message":"This file belongs to a managed canonical worktree.","suggestion":"Submit the change through the persistence coordinator."}
    absorbFacts → writeFactsToFence → atomic-write.ts:70 → assertManagedFilesystemWrite (filesystem-guard.ts:38). Nothing on that path enters withCoordinatedWrite/withFilesystemPublication; remember does (memory-mutations.ts → admitWrite), which is why it still works.

docs/guides/concurrent-writes.md:131 documents (1) and (2) as intended ("After activation the legacy extractor reports writer_coordinator_required and skips … Activation also causes previously queued extraction jobs to skip"). (3) is not documented, and the extract_facts verb is still advertised on the managed surface with no hint that it cannot commit.

Expected

Either a managed-mode extraction path (the facts backstop submitted as a coordinated write, the way remember is), or — until it ships — extract_facts refusing before the model call with a message that names remember as the supported route, and the activation --dry-run / migration guide stating that fact extraction stops at activation.

Why it matters

Activation is irreversible (#5182), and the release procedure recommends it. An operator who activates loses automated fact extraction for every subsequent page write. The per-write receipt does say skipped: writer_coordinator_required, but nothing at activation time does — skills/migrations/v0.51.0.0.md and the 0.51.0.0 changelog entry do not mention it; only docs/guides/concurrent-writes.md:131 does — so in practice the loss goes unnoticed until someone asks why the jobs counter stopped moving.

Related: #5198 (push has no coordinator path), #5175 (maintenance dies on the same guard), #5177 / #5201.