Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(persistence): classify the #6454 frontmatter-keys sweep in the canonical-writer census
garrytan17a7acdb9b38
diff --git a/docs/architecture/canonical-writers.tsv b/docs/architecture/canonical-writers.tsvindex c0edd92919..37322dc742 100644--- a/docs/architecture/canonical-writers.tsv+++ b/docs/architecture/canonical-writers.tsv@@ -61,7 +61,7 @@ src/core/engine-constants.ts 1 contract Engine contract or explanatory SQL refersrc/core/engine-sql/bootstrap.ts 1 schema Schema installation and forward-reference DDL; coordinated activation quiesces canonical writers.src/core/engine-sql/chunks.ts 2 projection Derived indexing: setPageEmbeddingSignature stamps pages.embedding_signature, and a complete chunk replacement (upsertChunks sealChunkerVersion, #5984) stamps pages.chunker_version in the caller's transaction; chunk rows are derived index state and canonical fields remain guarded by SQL triggers.src/core/engine-sql/facts.ts 11 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication.-src/core/engine-sql/pages.ts 17 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication. #5761: markPagesAttendanceBlocked writes only derived attendance-marker columns. The additional UPDATE pages in updatePageContextualRetrievalState changes only contextual projection state and clears active vectors in the same statement, under the caller's page lock; canonical body fields remain guarded.+src/core/engine-sql/pages.ts 18 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication. #5761: markPagesAttendanceBlocked writes only derived attendance-marker columns. The additional UPDATE pages in updatePageContextualRetrievalState changes only contextual projection state and clears active vectors in the same statement, under the caller's page lock; canonical body fields remain guarded. #6454: stripStaleFrontmatterKeys removes only the four parser-reserved keys from pages.frontmatter (keys no canonical file can carry, so the file is unchanged) inside the repair sweep's coordinated write; it touches no body, title, type or tag column.src/core/engine-sql/salience.ts 1 projection Derived indexing, retrieval telemetry, or source settings; canonical fields remain guarded by SQL triggers.src/core/engine-sql/sources.ts 1 projection Source settings (the sources.config merge in updateSourceConfig); canonical fields remain guarded by SQL triggers.src/core/engine-sql/takes.ts 6 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication.