Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
chore: say why runCycleUnscoped's baseline row moved to 1292
garrytanbbd79f6048a6
diff --git a/scripts/function-size-baseline.tsv b/scripts/function-size-baseline.tsvindex cb0c9368dd..01202716cf 100644--- a/scripts/function-size-baseline.tsv+++ b/scripts/function-size-baseline.tsv@@ -29,7 +29,7 @@ src/core/check-resolvable.ts checkResolvable 419 seed: W5 baseline, refactor wavsrc/core/config.ts loadConfigWithEngine 362 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +2 #5824: search.vector_legacy_guard DB-plane mergesrc/core/context-engine.ts createGBrainContextEngine 520 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +1 #4618: seat sidecar call before the segment spool (helper recordOpenclawSeat)src/core/context/retrieval-reflex.ts resolveEntitiesToPointers 362 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +7 fix wave 11 #6195: multi-word weak n-gram norms and the weak-title arm call (logic in weakTitleHits)-src/core/cycle.ts runCycleUnscoped 1292 #6696 (A5): the body of runCycle, renamed when runCycle became its background-origin wrapper (9 lines shorter); seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +5 #5809: extract_atoms phase gets a real abort signal; +2 #5809: cycle_already_running names the lock holder; +1 #4578: a lock steal during the last selected phase reports lock_stolen (one phase per runCycle call); +4 GBRA-40 F4b: planner-stats refresh after the freshness phases; +14 #5876: Life Chronicle phase dispatch block; +6 GBRA-40 Lane D: facts_drain phase dispatch; +10 GBRA-49: edge_contradictions phase dispatch block (adapter in cycle/edge-contradictions.ts); +6 #6188: fence_repair phase dispatch block (logic in cycle/fence-repair.ts); +2 fix wave 12 #6242: lease-set result and the maintenance-busy skip call (logic in skipBrainWidePhases and cycle/lock-set.ts); +7 C4: standing_questions phase dispatch block (logic in questions/phase.ts); +13 GBRA-438: bookkeeping_gc phase dispatch block (logic in cycle/bookkeeping-gc.ts) and the CycleOpts.stamp switch on the freshness stamp block; +2 GBRA-387 storage manifest: a cycle scoped to the storage shelf returns skipped storage_manifest_source (check in storage-manifest/door.ts), composed with 9563d748 at its merge (1292 measured)+src/core/cycle.ts runCycleUnscoped 1292 #6696 (A5): the body of runCycle, renamed when runCycle became its background-origin wrapper (9 lines shorter); seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +5 #5809: extract_atoms phase gets a real abort signal; +2 #5809: cycle_already_running names the lock holder; +1 #4578: a lock steal during the last selected phase reports lock_stolen (one phase per runCycle call); +4 GBRA-40 F4b: planner-stats refresh after the freshness phases; +14 #5876: Life Chronicle phase dispatch block; +6 GBRA-40 Lane D: facts_drain phase dispatch; +10 GBRA-49: edge_contradictions phase dispatch block (adapter in cycle/edge-contradictions.ts); +6 #6188: fence_repair phase dispatch block (logic in cycle/fence-repair.ts); +2 fix wave 12 #6242: lease-set result and the maintenance-busy skip call (logic in skipBrainWidePhases and cycle/lock-set.ts); +7 C4: standing_questions phase dispatch block (logic in questions/phase.ts); +13 GBRA-438: bookkeeping_gc phase dispatch block (logic in cycle/bookkeeping-gc.ts) and the CycleOpts.stamp switch on the freshness stamp block; +2 GBRA-387 storage manifest: a cycle scoped to the storage shelf returns skipped storage_manifest_source (check in storage-manifest/door.ts); these two lines land on top of growth master already took (1290 at 9563d748, 1292 measured after the merge), and splitting the function to hide two lines is left to the wave-2 decompositionsrc/core/cycle/extract-atoms.ts runPhaseExtractAtoms 790 seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); +12 #5809/#5832: hard/soft stop checks, chat-call signal, abortable pacing, no post-stop writes; +1 #5856: one BudgetTracker per drain attempt (reuse the attempt's tracker); +2 fix wave 9 lane P (#5041): opt-in write-through hook creation and its per-item call (derived-write-through.ts); +1 #5031: per-run page-atom title memo for the case-insensitive adoption fallbacksrc/core/cycle/extract-atoms.ts runPhaseExtractAtoms>withBudgetTracker(#1) 302 +2 #7923: an idempotency conflict on a batch another run of the origin admitted waits on that batch and is counted (logic in persistence/atom-maintenance.ts concurrentAtomBatch); decomposition deferred with runPhaseExtractAtoms (refactor wave 2, plan D1)src/core/cycle/extract-facts.ts runExtractFacts 385 +3 GBRA-438: a macrotask yield every 50 pages of the walk so idle upkeep can abort it, re-measured at the master 3f138e1b4 merge; seed: W5 baseline, refactor wave 1 (decomposition deferred to wave 2, plan D1); -129 wave 9 follow-ups (receipts): the page reconcile plan and writes moved into planFenceReconcile/reconcileWrites/writeFenceReconcile, shared with the managed preparer; +2 #6264 (landed alongside): ontology observations never gate the unfenced-rows count; +2 #6259 (landed alongside): a quarantined page projects no fence facts; +1 #5575 I2 (L1a-taint): the run result sums the write-gate tally each page reconcile returns; +1 merge v0.60.249.0: Wave B PR 1 segmented-page skip (+4, absorbed before) and master growth compose at 382; +2 GBRA-438 PR 2: the reconcile walk yields a macrotask every 50 pages so an abort from a timer or stdin lands mid-walk on PGLite