Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(facts): anchor the facts_backstop_skipped registry entry's guide section (#6232)

time-attackd6b10cf6ab80
diff --git a/docs/guides/concurrent-writes.md b/docs/guides/concurrent-writes.md
index a1c5bfa365..239d4ff492 100644
--- a/docs/guides/concurrent-writes.md
+++ b/docs/guides/concurrent-writes.md
@@ -537,6 +537,7 @@ require connecting a second process to an already-owned PGLite store.
this source. Preserve my edits and the withdrawal, and ask before explicit
recovery if the original processing options are unknown."*
+<a id="facts-backstop"></a>
Before and after managed activation, eligible `put_page` and `capture` writes
record durable facts-extraction intent. `facts_backstop.queued` means that
intent committed with the page; the `facts-backstop` effect becomes
diff --git a/src/core/error-registry.ts b/src/core/error-registry.ts
index e40840de1e..d5a3c1ab49 100644
--- a/src/core/error-registry.ts
+++ b/src/core/error-registry.ts
@@ -153,7 +153,7 @@ export const CODES = {
fact_already_expired: { class: 'caller', summary: "The fact had already expired before this write." },
fact_not_found: { class: 'caller', summary: "Fact not found." },
facts_absorb_write_refused: { class: 'caller', summary: "Facts absorb refused the write." },
- facts_backstop_skipped: { class: 'unavailable', summary: "A page write queued no automatic fact extraction; the receipt's `facts_backstop.skipped` reason says why (a `kind:<type>` reason names a page type that is not extracted).", reasons: ['opted_out', 'body_unchanged', 'extraction_disabled', 'dream_generated', 'subagent_namespace', 'too_short', 'no_parsed_page', 'slug_bound_client', 'operation_bound_client', 'not_imported', 'backstop_error'], docs: 'docs/guides/concurrent-writes.md', suggestion: 'Nothing failed. `opted_out` means the page frontmatter sets `facts_backstop: false`; remove that line and save the page to extract it.', fix: { argv: ['gbrain', 'get', '--source', '{source_id}', '--', '{slug}'], consent: [], actor: 'agent', why: 'Shows the page frontmatter that decided the skip.', requires_exclusive: false } },
+ facts_backstop_skipped: { class: 'unavailable', summary: "A page write queued no automatic fact extraction; the receipt's `facts_backstop.skipped` reason says why (a `kind:<type>` reason names a page type that is not extracted).", reasons: ['opted_out', 'body_unchanged', 'extraction_disabled', 'dream_generated', 'subagent_namespace', 'too_short', 'no_parsed_page', 'slug_bound_client', 'operation_bound_client', 'not_imported', 'backstop_error'], docs: 'docs/guides/concurrent-writes.md#facts-backstop', suggestion: 'Nothing failed. `opted_out` means the page frontmatter sets `facts_backstop: false`; remove that line and save the page to extract it.', fix: { argv: ['gbrain', 'get', '--source', '{source_id}', '--', '{slug}'], consent: [], actor: 'agent', why: 'Shows the page frontmatter that decided the skip.', requires_exclusive: false } },
facts_drain_deferred: { class: 'unavailable', summary: "The automatic facts drain left queued facts-absorb jobs waiting; `reason` says why and `fix`, when present, is the next step. Nothing is dropped: the jobs run on a later drain.", reasons: ['no_key', 'extraction_unavailable', 'budget_exhausted', 'daily_budget_exhausted', 'job_over_budget', 'no_pricing', 'provider_halted', 'drain_error'], docs: 'docs/guides/facts-drain.md#deferrals', suggestion: 'Read doctor `facts_drain`: its message names the cause and its fix the next step (raising a spend cap is paid; ask the user first).', fix: { argv: ['gbrain', 'doctor', '--only', 'facts_drain', '--json'], consent: [], actor: 'agent', why: 'Shows the drain status, the backlog and the last error with its fix.', requires_exclusive: false } },
facts_drain_job_failed: { class: 'server', summary: "A facts-absorb job failed inside the automatic facts drain; it retries with backoff until its attempts run out.", docs: 'docs/guides/facts-drain.md#deferrals', suggestion: 'Read doctor `facts_drain`: its message names the cause and its fix the next step (raising a spend cap is paid; ask the user first).', fix: { argv: ['gbrain', 'doctor', '--only', 'facts_drain', '--json'], consent: [], actor: 'agent', why: 'Shows the drain status, the backlog and the last error with its fix.', requires_exclusive: false } },
facts_payload_expired: { class: 'server', summary: "The accepted fact extraction failed and its retained payload has expired." },