# Tasks ## 1. Candidates and lifecycle - [x] 1.1 `flywheel.py candidates` with threshold from `.flywheel/config.json` (unit tests) - [x] 1.2 `set-status promoted --promoted-to` and provenance checks for promoted skills (unit tests) ## 2. Skills and agent - [x] 2.1 `promote-skill` skill (evidence, cluster, draft in change folder, gate, approval, install) - [x] 2.2 `promote-constitution-rule` skill (draft, contradiction check, regression check, approval) - [x] 2.3 `flywheel-promoter` agent (writes only inside the change folder) - [x] 2.4 Golden-set evals in `.flywheel/evals/promote-skill/` and `.flywheel/evals/promote-constitution-rule/` - [ ] 2.5 Run the evaluate skill on `promote-skill` and `promote-constitution-rule`; record results - [x] 2.6 Review fixes: `check` requires `eval` as a map with a numeric score at or above the gate, a non-empty `models` list, and a date; `promoted_to` must name an existing skill or `constitution`; `set-status` refuses an unknown `--promoted-to` skill (unit tests `TestSkillsAndEvals`, `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`