Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(atoms): keep runPhaseExtractAtoms inside the 300-line function cap (#6720)
garrytan208a2603693a
diff --git a/src/core/cycle/extract-atoms.ts b/src/core/cycle/extract-atoms.tsindex aa6c8fc426..b20ba9b2f2 100644--- a/src/core/cycle/extract-atoms.ts+++ b/src/core/cycle/extract-atoms.ts@@ -1227,8 +1227,7 @@ export async function runPhaseExtractAtoms(const md = serializeMarkdown({atom_type: atom.atom_type,- ...originFrontmatter,- ...(contentDate ? { date: contentDate } : {}),+ ...originFrontmatter, ...(contentDate ? { date: contentDate } : {}),// Provisional until the whole item's atoms persist (see above).source_hash: `pending:${hash16}`,visibility, ...(origin ? { managed_extraction: true } : {}),