Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Count the source origin record write in the canonical writer inventory

garrytanaec0e0b2ccfb
diff --git a/docs/architecture/canonical-writers.tsv b/docs/architecture/canonical-writers.tsv
index 2835eb0911..d546f89093 100644
--- a/docs/architecture/canonical-writers.tsv
+++ b/docs/architecture/canonical-writers.tsv
@@ -144,6 +144,7 @@ src/core/think/index.ts 1 engine_guard Canonical table SQL trigger requires coor
src/core/timeline-dedup-repair.ts 3 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication.
src/core/timeline-write-through.ts 2 filesystem_guard Managed semantic operation journals page changes; legacy atomic writes check root.
src/core/transcripts/ingest.ts 2 engine_guard On writer-claimed brains the CLI ingest submits rendered parts as put_page write requests (submitPageMutation with its trusted-local context). The remaining direct importFromContent (unmanaged brains) and stale-part deletePage calls refuse on managed brains before any write (assertUnmanagedCanonicalWriter / canonical table trigger).
+src/core/url-source-origin.ts 1 projection Source settings (the sources.config merge in recordSourceOrigin, for the trusted local sources record-origin command, under a FOR UPDATE row lock in one transaction); canonical fields remain guarded by SQL triggers.
src/core/workspace-push.ts 0 filesystem_guard The resolved git root is checked before staging, committing or pulling.
src/core/write-through.ts 1 filesystem_guard Source filesystem lock and canonical page SQL guards reject legacy publication.
src/eval/brainbench/seed.ts 3 isolated_eval Explicit isolated evaluation database only; never opened against the active managed brain. Direct importFromContent calls without prepare refuse on managed brains before any write (assertUnmanagedCanonicalWriter).