CI / build (push) Has been cancelled
Self-improvement loop:
- Created via --create-loop --from-template self-improvement
- Scheduled via launchd (3600s interval)
- State: running
model-divergence-enforcement task:
- Research approved, decomposed into 3 sequential subtasks:
1. mde-manifest-detection (models.json + detect_models.py)
2. mde-interactive-enforcement (conflict matrix + --model args + audit)
3. mde-loop-enforcement (loop.json roles + {model} substitution + check-gate)
- Parent at decomposition:approved (stays active until subtasks complete)
- Each subtask has BRIEF.md with scope, deliverables, acceptance criteria
1.5 KiB
1.5 KiB
BRIEF — mde-interactive-enforcement
Parent: model-divergence-enforcement
Subtask: 2 of 3 (depends on mde-manifest-detection)
Spec ref: tasks/model-divergence-enforcement/SPEC.md §Subtask 2
Design ref: design/framework/technical.md §§4-5, §12
Objective
Add the conflict matrix, --transition --model / --claim --model enforcement,
.state.models tracking, audit category, and dashboard model badges. This is the
core enforcement layer for interactive (non-loop) workflows.
Deliverables
scripts/status.py:CONFLICT_MATRIXconstant (locked matrix from SPEC)_check_conflict(current_phase, current_model, next_phase, next_model)helpercmd_transition:--modelarg + conflict check in multi-LLM modecmd_claim:--modelarg + conflict checkcmd_audit:model_divergencecategory.state.modelswriter (JSON:{implementer, code_reviewer, bug_hunter, ...})
automaton/dashboard/html/dashboard.js— model badge on task cardsautomaton/dashboard/ui/app.py—.state.modelsin/api/tasksresponsetests/test_model_divergence.py— conflict matrix, auto-assign, audit, badges
Acceptance
- Single-LLM mode:
--modelrecords but never refuses (advisory once ifadvised: true) - Multi-LLM mode:
--transition --modelrefuses on conflict (e.g., same model for implement + code_review) - Multi-LLM mode:
--claim --modelrefuses on conflict --auditflagsmodel_divergenceviolations- Dashboard shows model badges when
.state.modelsexists pytest tests/ -qgreen