/learn
Promote improvements with upgrade-only gate. Root cause before fix.
Kinds
setup · sync · arch · playbook · token-save · context-save · caveman · handbook-fix · handbook-install · handbook-skill · matrix-cell
Workflow
- Reproduce → classify (
learn/error-map/orNew-ErrorMapEntry) - Stage:
scripts/Invoke-Learn.ps1 -Kind <kind> -Title "..." -Body "..."- matrix-cell:
New-MatrixCellProposal -TaskKind implement -Family copilot-auto -Effort medium→share/learnings/matrix-cell/
- matrix-cell:
- L1 (+ L2 if behavior change) pass
- Promote:
- Generic:
-Promote -StagingFile ... -TargetFile ... [-DualSync] - Matrix:
Invoke-MatrixCellPromote -StagingFile ...(evidence gate + L2 + ICS + patchesconfig/models/matrix.json)
- Generic:
- Handbook:
-Promote -Handbook -StagingFile ...(VERIFY blocks must remain)
Rules
- Refuse degrade —
Test-LearnUpgradeOnlyblocks shrink-without-replacement - matrix-cell — need
n >= evidenceMin, better okRate (or quality), and avgQuality ≥ taskqualityMinwhen scored -Sources/-Modelsrefresh: explicit user ask only- Playbooks →
/createfor new blocks
Scripts
Invoke-Learn.ps1 · modules Learn.psm1 · Ladder.psm1 (recommend / quality)