# Tasks ## 1. Memory store - [x] 1.1 Entry schema and frontmatter parser in `.flywheel/bin/flywheel.py` (verified by unit tests) - [x] 1.2 `check` validates entries, index freshness, index budget, ASCII, and poisoning patterns (unit tests) - [x] 1.3 `index`, `new`, `add-source`, `set-status`, `status` commands (unit tests) - [x] 1.4 Templates `.flywheel/templates/memory-entry.md` and `flywheel-config.json` - [x] 1.5 `CLAUDE.md` imports `AGENTS.md`, `constitution.md`, and the index ## 2. Capture - [x] 2.1 `capture-observation` skill (search, classify, create or add-source, poisoning guard) - [x] 2.2 `context-flywheel` orchestration skill (forward arc, capture pass, checks, after archive) - [x] 2.3 Golden-set evals in `.flywheel/evals/capture-observation/` and `.flywheel/evals/context-flywheel/` - [ ] 2.4 Run the evaluate skill on `capture-observation` and `context-flywheel`; record results (gate: min_score per eval) - [x] 2.5 Review fixes: writes stop on a malformed entry before any file changes; frontmatter values starting with `#` are quoted and quotes and backslashes escaped; `set-status` clears stale lifecycle fields and refuses self-supersession; TODO placeholders are a `check` warning; `capture-observation` runs `dupes` after `new` (unit tests `TestCommands`) ## 3. Flywheel - [ ] 3.1 Run the capture pass (context-flywheel skill) - [ ] 3.2 Run `python3 -m unittest discover -s tests`, `flywheel.py check`, and `openspec validate --all`