{"content":"Development journal for commit 18e404a7 (feat: per-bot chain history store (chain-history round 1)).\n\nPort of the IDBots bot-chain-history feature, round 1: file-backed per-bot chain content history store. One JSON per pin under .runtime/chain-history/{writes,reads}/YYYY-MM/.json (month-sharded, atomic writes, lazy materialization, tolerant reads, no index files — per the approved design and a local benchmark showing O(1) record/lookup and sub-second windowed scans at the 200-records/day scale for years). Adds MetabotPaths.chainHistoryRoot, src/core/chainhistory (types, monthShard, store: write/read recording with idempotency and upsert, KB marking, day-window queries, 2-month pending-summary scan, 90-day-default search, summary outcome lifecycle), a 2026-09-03 amendment to the storage layout v2 spec, and 16 store tests. No behavior change yet; write/read hooks land in later rounds.\n\nVerification:\nexport PATH=\"$HOME/.nvm/versions/node/v24.13.1/bin:$PATH\" && npm run build && node --test tests/chainhistory/store.test.mjs tests/state/stateLayout.test.mjs\n\nFiles:\ndocs/superpowers/specs/2026-04-23-metabot-storage-layout-v2-design.md\nsrc/core/chainhistory/monthShard.ts\nsrc/core/chainhistory/store.ts\nsrc/core/chainhistory/types.ts\nsrc/core/state/paths.ts\ntests/chainhistory/store.test.mjs","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}