Analysis Memory System — decisions that persist, knowledge that compounds.
Highlights
- Analysis Decision Records (DR): append-only methodology decision log, adapted from software ADR concept
- DR types: Metric, Methodology, Scope, Model, Principle — each prevents AI from re-proposing rejected alternatives
- Analysis Wiki: AI-maintained knowledge base compiled from archived analyses (based on Andrej Karpathy's LLM Wiki, April 2026)
- Wiki compiles structured pages per metric, pattern, and hypothesis — knowledge compounds as analyses accumulate
- 6 specialist agents now check Decision Records before suggesting methodology alternatives
- Session hook enhanced: DR count + Wiki page count in status line
- Stop hook added: session-end audit log in `.analysis/session-log.txt`
New Commands
| Command | Description |
|---|---|
| `/analysis-dr new` | Write a new Decision Record (auto-drafts from context) |
| `/analysis-dr scan` | Scan past analyses for DR candidates |
| `/analysis-dr list` | Display DR index |
| `/analysis-dr show {NNN}` | Show specific DR |
| `/analysis-wiki update` | Rebuild wiki from archived analyses |
| `/analysis-wiki check` | Health-check: contradictions, stale pages, orphan claims |
| `/analysis-wiki show {entity}` | Display a wiki page |
Total commands: 21 → 23 (Claude Code + Cursor)
What's New
- `core/decisions/` — DR writing guide, index template, example DR-001
- `core/wiki/` — Wiki guide + metric/pattern/hypothesis templates
- `/analysis-dr` and `/analysis-wiki` commands for both Claude Code and Cursor
- 6 agent prompts updated with Step 1.5 DR check (hypothesis-gen, stats-agent, metric-definer, metric-translator, experiment-designer, causal-agent)
- `router.yml` `decision_check` policy
- `/analysis-next` Step 4.4 Decision Records check before agent dispatch
- `platforms/cursor/rules/alive-decisions.mdc` — Cursor DR check rule
- `install.sh` updated to copy `core/decisions/` and `core/wiki/`
Install / Upgrade
# Fresh install
git clone https://github.com/with-geun/alive-analysis.git
cd alive-analysis
./install.sh --claude # Claude Code
./install.sh --cursor # Cursor
./install.sh --both # Both
# Existing users: re-run install.sh to get new core/decisions/ and core/wiki/Full changelog: CHANGELOG.md