Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
{
"golden": {
"counts": {
"chunks": 18,
"cjk-search": 2,
"code-edges": 5,
"facts": 19,
"files": 3,
"links": 13,
"out-of-scope:config": 5,
"out-of-scope:dream-verdicts": 3,
"out-of-scope:eval-capture": 5,
"out-of-scope:ingest-log": 2,
"out-of-scope:internal-helper (private; exercised through public callers)": 20,
"out-of-scope:lifecycle (connection, pool, transaction, raw seams)": 18,
"out-of-scope:no-sql-stub": 1,
"out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)": 14,
"out-of-scope:raw-data": 2,
"out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)": 5,
"out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)": 9,
"out-of-scope:stats-health (brain-wide aggregates)": 2,
"pages": 40,
"salience": 5,
"sources": 2,
"tags": 3,
"takes": 20,
"timeline": 8
},
"members": {
"_searchKeywordCJK": "out-of-scope:internal-helper (private; exercised through public callers)",
"_upsertChunksOnce": "out-of-scope:internal-helper (private; exercised through public callers)",
"activeEmbeddingColId": "out-of-scope:internal-helper (private; exercised through public callers)",
"addCodeEdges": "code-edges",
"addLink": "links",
"addLinksBatch": "links",
"addSynthesisEvidence": "takes",
"addTag": "tags",
"addTakesBatch": "takes",
"addTimelineEntriesBatch": "timeline",
"addTimelineEntry": "timeline",
"allocateBodyOccurrenceIds": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"applyForwardReferenceBootstrap": "out-of-scope:internal-helper (private; exercised through public callers)",
"batchLoadEmotionalInputs": "salience",
"batchRetry": "out-of-scope:internal-helper (private; exercised through public callers)",
"connRetry": "out-of-scope:internal-helper (private; exercised through public callers)",
"connect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"connectedDatabaseUrl": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"consolidateFact": "facts",
"constructor": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"countChunklessPagesWithContent": "chunks",
"countKeywordPages": "out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)",
"countPagesBy": "pages",
"countStaleChunks": "chunks",
"countStaleFrontmatterKeyPages": "pages",
"countStalePagesForExtraction": "pages",
"countStaleTakes": "takes",
"countUnconsolidatedFacts": "facts",
"createSegmentedPageShell": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"createVersion": "pages",
"deleteChunks": "chunks",
"deleteCodeEdgesForChunks": "code-edges",
"deleteEvalCandidatesBefore": "out-of-scope:eval-capture",
"deleteFactsForPage": "facts",
"deletePage": "pages",
"deletePages": "pages",
"disconnect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"disconnectInternal": "out-of-scope:internal-helper (private; exercised through public callers)",
"discoverOntologyDimensions": "facts",
"engineSql": "out-of-scope:internal-helper (private; exercised through public callers)",
"engineSqlOn": "out-of-scope:internal-helper (private; exercised through public callers)",
"executeRaw": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"executeRawDirect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"expireFact": "facts",
"explainVectorSearch": "out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)",
"findAnomalies": "salience",
"findByTitleFuzzy": "pages",
"findCandidateDuplicates": "facts",
"findDuplicatePage": "pages",
"findDuplicatePages": "pages",
"findOntologyConflicts": "facts",
"findOrphanPages": "links",
"findPages": "pages",
"findTrajectory": "facts",
"flipBodyGeneration": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"getAdjacencyBoosts": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getAllConfig": "out-of-scope:config",
"getAllSlugs": "pages",
"getBacklinkCounts": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getBacklinks": "links",
"getBulkRetryOpts": "out-of-scope:internal-helper (private; exercised through public callers)",
"getCalibrationCurve": "takes",
"getCalleesOf": "code-edges",
"getCallersOf": "code-edges",
"getChunkPage": "chunks",
"getChunkWindows": "chunks",
"getChunks": "chunks",
"getChunksWithEmbeddings": "chunks",
"getConfig": "out-of-scope:config",
"getContentFlagsByPageIds": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getContradictionCacheEntry": "takes",
"getDreamVerdict": "out-of-scope:dream-verdicts",
"getEdgesByChunk": "code-edges",
"getEffectiveDates": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getEmbeddingsByChunkIds": "chunks",
"getFactsHealth": "facts",
"getFile": "files",
"getHealth": "out-of-scope:stats-health (brain-wide aggregates)",
"getIngestLog": "out-of-scope:ingest-log",
"getLastSeen": "timeline",
"getLinks": "links",
"getOnThisDay": "timeline",
"getOntology": "facts",
"getPage": "pages",
"getPageTimestamps": "pages",
"getPoolDiagnostics": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"getRawData": "out-of-scope:raw-data",
"getRecentSalience": "salience",
"getSalienceScores": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getScorecard": "takes",
"getSince": "timeline",
"getStats": "out-of-scope:stats-health (brain-wide aggregates)",
"getTags": "tags",
"getTakeEmbeddings": "takes",
"getTimeline": "timeline",
"getTimelineForDate": "timeline",
"getUnverifiedExtractionPageIds": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"getVersions": "pages",
"holdSchemaMigrationLock": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"initSchema": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"insertFact": "facts",
"insertFacts": "facts",
"invalidateContentDriftEmbeddings": "chunks",
"invalidateStaleSignatureEmbeddings": "chunks",
"jitOffRead": "out-of-scope:internal-helper (private; exercised through public callers)",
"keywordBoundedRead": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"keywordStatementTimeoutSetting": "out-of-scope:internal-helper (private; exercised through public callers)",
"listActiveTakesForPages": "takes",
"listAllPageRefs": "pages",
"listAllSources": "sources",
"listChunklessPagesWithContent": "chunks",
"listConfigKeys": "out-of-scope:config",
"listCorpusSample": "pages",
"listEmbeddingStateRows": "chunks",
"listEnrichCandidates": "salience",
"listEvalCandidates": "out-of-scope:eval-capture",
"listEvalCaptureFailures": "out-of-scope:eval-capture",
"listFactsByEntity": "facts",
"listFactsBySession": "facts",
"listFactsKeyset": "facts",
"listFactsSince": "facts",
"listFilesForPage": "files",
"listLinkSources": "links",
"listPages": "pages",
"listPrefixSampledPages": "pages",
"listStaleChunks": "chunks",
"listStaleFrontmatterKeyPages": "pages",
"listStalePagesForExtraction": "pages",
"listStaleTakes": "takes",
"listSupersessions": "facts",
"listTakes": "takes",
"loadContradictionsTrend": "takes",
"lockPageKeys": "pages",
"logEvalCandidate": "out-of-scope:eval-capture",
"logEvalCaptureFailure": "out-of-scope:eval-capture",
"logIngest": "out-of-scope:ingest-log",
"markPagesAttendanceBlocked": "pages",
"markPagesExtractedBatch": "pages",
"mergeOntologyFact": "facts",
"migrateFactsToCanonical": "facts",
"onCheckout": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"openBodyStaging": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"purgeDeletedPages": "pages",
"putContradictionCacheEntry": "takes",
"putDreamVerdict": "out-of-scope:dream-verdicts",
"putPage": "pages",
"putRawData": "out-of-scope:raw-data",
"readEmbeddingStateCounts": "chunks",
"readManifest": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"readPageSnapshot": "pages",
"readPageSnapshotsBatch": "pages",
"readSegmentDerivations": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"readSegmentTexts": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"readTransaction": "out-of-scope:internal-helper (private; exercised through public callers)",
"reconnect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"refreshPageBody": "pages",
"registerBeforeDisconnect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"relationalChainHop": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"relationalFanout": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"removeLink": "links",
"removeLinksByPagesAndSource": "links",
"removeTag": "tags",
"replaceDerivedLinks": "links",
"replaceDerivedLinksBatch": "links",
"resolveAliases": "out-of-scope:shared-read-enrichment (already one SQL copy in search/read-enrichment.ts)",
"resolveFactsEmbeddingCast": "out-of-scope:internal-helper (private; exercised through public callers)",
"resolveSlugWithAlias": "pages",
"resolveSlugWithAliasDetailed": "pages",
"resolveSlugs": "pages",
"resolveSlugsByPaths": "pages",
"resolveTake": "takes",
"restorePage": "pages",
"retireSegmentDerivations": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"revertToVersion": "pages",
"rewriteLinks": "out-of-scope:no-sql-stub",
"rlsScopeBindingEnabled": "out-of-scope:internal-helper (private; exercised through public callers)",
"runMigration": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"runUnsafe": "out-of-scope:internal-helper (private; exercised through public callers)",
"runVectorAttempt": "out-of-scope:internal-helper (private; exercised through public callers)",
"sealChunks": "chunks",
"searchKeyword": "cjk-search",
"searchKeywordChunks": "cjk-search",
"searchKeywordPages": "out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)",
"searchTakes": "takes",
"searchTakesVector": "takes",
"searchTitles": "out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)",
"searchVector": "out-of-scope:search (FTS/vector hot paths, dialect-specific, not a W1 domain)",
"setBodyStagingState": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"setConfig": "out-of-scope:config",
"setEmotionalWeightBatch": "salience",
"setPageAliases": "pages",
"setPageEmbeddingSignature": "chunks",
"softDeletePage": "pages",
"softDeletePages": "pages",
"sql": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"stageManifestRows": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"stageSegmentChunks": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"stageSegmentTexts": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"stripStaleFrontmatterKeys": "pages",
"sumStaleChunkChars": "chunks",
"supersedeTake": "takes",
"sweepContradictionCache": "takes",
"sweepDreamVerdicts": "out-of-scope:dream-verdicts",
"sweepSegments": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"transaction": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"transactionDirect": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"transactionOn": "out-of-scope:internal-helper (private; exercised through public callers)",
"traverseGraph": "links",
"traversePaths": "links",
"traversePathsDetailed": "links",
"unsetConfig": "out-of-scope:config",
"updatePageContextualRetrievalState": "pages",
"updateSlug": "pages",
"updateSourceConfig": "sources",
"updateTake": "takes",
"updateTakeEmbeddings": "takes",
"upsertChunks": "chunks",
"upsertEventProjection": "timeline",
"upsertFile": "files",
"upsertSegmentDerivations": "out-of-scope:page-body (Wave B segmented storage, born in engine-sql/page-body.ts; pinned by test/engine-sql-page-body.test.ts)",
"vectorIterativeScanSupported": "out-of-scope:internal-helper (private; exercised through public callers)",
"withReservedConnection": "out-of-scope:lifecycle (connection, pool, transaction, raw seams)",
"withScopedReadTransaction": "out-of-scope:internal-helper (private; exercised through public callers)",
"writeContradictionsRun": "takes"
}
},
"normalizer": "sql-text-classification-v1"
}