Proposal: Add gated promotion to skills and constitution rules
1 KB - Открыть исходный файл
Why
A lesson that keeps coming back across changes should stop being a memory entry the agent has to find and become a skill (a procedure) or a constitution rule (a principle). Promotion must not create over-fitted or wrong skills, so it needs evidence (recurrence), an objective gate (evals), and a human decision.
What Changes
flywheel.py candidates: entries whose distinct-change occurrences reach the threshold.- The
promote-skillskill and theflywheel-promoteragent: draft the skill as an OpenSpec change with a delta spec, a draftSKILL.md, and draft evals inside the change folder. - The
promote-constitution-ruleskill: rule draft, contradiction check, regression check. - Promoted skills carry provenance fields that
flywheel.py checkenforces.
Out of scope: multi-model eval coverage, promotion into a shared team scope.
Capabilities
New Capabilities
promotion: how recurring lessons become skills or constitution rules.
Modified Capabilities
Related knowledge
None yet.
Impact
New skills, one agent, and the candidates and set-status --promoted-to CLI paths.