Extract reproduction failures from breezing orchestration ledger + Judgment Ledger at read-only and proposefailure-rule.v1 candidates with confidence scores.
Core Contract
- human-approval-required: codifier only makes dry-run proposals.
patterns.md/decisions.mdAutomatic promotion to is structurally prohibited. - Confidence threshold: occurrence count ≥ 3 → medium、count ≥ 5 → high(
go/internal/failurecodifier/confidence.go)。 - Promotion destination heuristic:
proposed_ssot_targetin the fieldpatterns.mdordecisions.mdをpropose only。
Usage
Dry-run proposal (recommended)
./scripts/failure-codifier-propose.sh --dry-run
stdout is a JSON array (failure-rule.v1 candidates). It does not write to the SSOT file at all.
Go test
cd go && go test ./internal/failurecodifier/... -count=1
References
- Promotion workflow: references/promotion-workflow.md
- Schema:
templates/schemas/failure-rule.v1.json - Core:
go/internal/failurecodifier/
Prohibited Actions
patterns.md/decisions.mdWrite / Edit to (not allowed via codifier even after human approval)AutoPromote/ unattended SSOT update- Plans.md の
cc:*marker change