Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs: classify atomic contextual projection writer

time-attack600f7b26016f
diff --git a/docs/architecture/canonical-writers.tsv b/docs/architecture/canonical-writers.tsv
index 6f8d6b84cd..17b999f4b1 100644
--- a/docs/architecture/canonical-writers.tsv
+++ b/docs/architecture/canonical-writers.tsv
@@ -57,7 +57,7 @@ src/core/engine-constants.ts 1 contract Engine contract or explanatory SQL refer
src/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 16 engine_guard Canonical table SQL trigger requires coordinator capability; legacy calls fail before canonical DB publication. #5761: markPagesAttendanceBlocked writes only the derived attendance-marker columns, which the managed guard does not track.
+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/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.