Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Register Train B's new doctor alert argv and embedding restamp write with master's census guards

garrytandee0ceb4503e
diff --git a/docs/architecture/canonical-writers.tsv b/docs/architecture/canonical-writers.tsv
index e9aa1ba585..8d3ce9200c 100644
--- a/docs/architecture/canonical-writers.tsv
+++ b/docs/architecture/canonical-writers.tsv
@@ -73,6 +73,7 @@ src/core/cycle.ts 2 engine_guard Canonical table SQL trigger requires coordinato
src/core/destructive-guard.ts 3 coordinator Managed source archive, restore and expiry purge use native exclusion and guarded topology transitions; remaining canonical maintenance keeps its engine guard.
src/core/embedding-dim-check.ts 1 projection Derived indexing, retrieval telemetry, or source settings; canonical fields remain guarded by SQL triggers.
src/core/embedding-invalidation.ts 2 projection Derived vector invalidation; signature restamping requires matching chunk context and a current text projection. Canonical fields remain guarded by SQL triggers.
+src/core/embedding-restamp.ts 1 projection The embed phase's free signature restamp (W3 #7836) sets only pages.embedding_signature, per page under lockPageKeys, and its UPDATE re-checks the revision, the old signature, the projection seal and every chunk's current vector; canonical fields remain guarded by SQL triggers.
src/core/embedding-migration.ts 1 projection Derived indexing, retrieval telemetry, or source settings; canonical fields remain guarded by SQL triggers.
src/core/engine-constants.ts 1 contract Engine contract or explanatory SQL references; execution is in guarded engine implementations.
src/core/engine-sql/bootstrap.ts 1 schema Schema installation and forward-reference DDL; coordinated activation quiesces canonical writers.
diff --git a/test/cli-flag-equals.test.ts b/test/cli-flag-equals.test.ts
index a3fdf414c5..c59d41bb08 100644
--- a/test/cli-flag-equals.test.ts
+++ b/test/cli-flag-equals.test.ts
@@ -295,6 +295,8 @@ describe('#7619 split rules', () => {
'src/commands/doctor.ts': ['doctor'],
'src/commands/doctor/budget.ts': ['doctor'],
'src/commands/doctor/registry.ts': ['doctor'],
+ 'src/commands/doctor/alert.ts': ['doctor'],
+ 'src/commands/doctor/remote-tier.ts': 'doctor argv the alert tier passes to buildChecks (--scope=brain), not a CLI reader',
'src/commands/edge-proposals.ts': ['edge-proposals list'],
'src/commands/embed.ts': ['embed'],
'src/commands/eval-conversation-parser.ts': ['eval conversation-parser'],