failure-codifier
Extract recurring failure patterns from breezing orchestration logs and Judgment Ledger, emit failure-rule.v1 proposals with confidence scores. SSOT promotion to patterns.md or decisions.md is proposal-only — human-approval-required. Use when user mentions failure codifier, failure patterns, self-learning loop, codify failures, or failure-rule proposals. Do NOT load for: direct SSOT edits, auto-promotion, or implementation unrelated to failure analysis.
- License 许可
- MIT
- 所属仓库
- foden303/harness
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- failure-codifier
- description
- Extract recurring failure patterns from breezing orchestration logs and Judgment Ledger, emit failure-rule.v1 proposals with confidence scores. SSOT promotion to patterns.md or decisions.md is proposal-only — human-approval-required. Use when user mentions failure codifier, failure patterns, self-learning loop, codify failures, or failure-rule proposals. Do NOT load for: direct SSOT edits, auto-promotion, or implementation unrelated to failure analysis.
- allowed-tools
- [ "Read", "Bash", "Grep" ]
- argument-hint
- [propose|explain]
- description-en
- Extract recurring failure patterns from breezing orchestration logs and Judgment Ledger, emit failure-rule.v1 proposals with confidence scores. SSOT promotion to patterns.md or decisions.md is proposal-only — human-approval-required. Use when user mentions failure codifier, failure patterns, self-learning loop, codify failures, or failure-rule proposals. Do NOT load for: direct SSOT edits, auto-promotion, or implementation unrelated to failure analysis.
- user-invocable
- true
02 资源文件 1
- 参考文档references/promotion-workflow.md2.5 KB
03 SKILL.md 正文
Failure Codifier
Extracts recurring failures read-only from the breezing orchestration ledger + Judgment Ledger and proposes failure-rule.v1 candidates with confidence scores.
Core contract
- human-approval-required: the codifier makes dry-run proposals only. Auto-promotion to
patterns.md/decisions.mdis structurally prohibited. - Confidence thresholds: occurrence count ≥ 3 → medium, count ≥ 5 → high (
go/internal/failurecodifier/confidence.go). - Promotion-target heuristic: only proposes
patterns.mdordecisions.mdvia theproposed_ssot_targetfield.
Usage
Dry-run proposal (recommended)
./scripts/failure-codifier-propose.sh --dry-run
stdout is a JSON array (failure-rule.v1 candidates). It writes nothing to SSOT files.
Go tests
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
- Write / Edit to
patterns.md/decisions.md(not allowed via the codifier even after human approval) AutoPromote/ unattended SSOT updates- Changing the
cc:*markers in Plans.md
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
memory
Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.
maintenance
File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: /maintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.
harness-work
HAR: Execute Plans.md tasks from single task to full parallel team run. Trigger: implement, execute, do everything, breezing, team run, parallel. Do NOT load for: planning, review, release, setup.
harness-sync
HAR: Sync Plans.md with implementation. Drift detect, marker update, retrospective. Trigger: sync-status, where am I, check progress. --snapshot for snapshots. Do NOT load for: planning, implementation, review, release.