Chronicle Archive

Browse the permanent ledger of completed narrative turns.

Loading historical chronicle entries...

Memory Lab: Variant B Inspector

Live inspection of Kenji’s 5-layer modular context

0 chars~0 tokensUpdated: Live
5-Layer Structured State

Why Structured State vs. Rolling Summaries?

Standard long-horizon AI agents rely on Variant A (lossy rolling summaries), which suffer from rapid narrative amnesia and catastrophic drift by Turn 10. Variant B splits memory into five immutable or isolated compartments, eliminating context bloat and hallucinated departures.

Layer 0: premise.md0 chars

Kenji’s immutable salaryman anchor: age 38, Section 3 Accounting, commuter habits, and ordinary daily routine. Never altered by turn events.

Layer 1: week_theme.md0 chars

Admin-curated weekly genre overlay. Kenji never stops being an ordinary salaryman; he interprets genre phenomena through the lens of commuter practicality.

Layer 2: daily_arc.md0 chars

Today’s progression across 32 half-hour intervals (06:00 to 22:00) with a mandatory home-bookend soft goal enforced at day’s closure.

Layer 3: accumulated.md0 chars

Persistent facts, inventory items, and relationships that have survived end-of-day promotion by the automated extractor.

Layer 4: chronicle/*Retrieved on-demand

Vector index + BM25 keyword retrieval pulling the top-3 historically relevant turns dynamically into the prompt.