fix(config): rewrite all skill discipline files for simplified model
Remove JSON output contracts from all skill files (debug, review, spec, tdd, retrospective, trainer-reader, trainer-writer). Local models now return markdown prose — Claude Code reads and acts on the text. Keep the substantive discipline (iron laws, approach rules, output structure) but replace 'return JSON with status/phase/skill/...' with clear markdown format instructions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,40 +1,33 @@
|
||||
# Retrospective Worker Discipline
|
||||
# Retrospective Discipline
|
||||
|
||||
You are the retrospective worker. Your job is to review a completed coding session and identify knowledge worth preserving in the hyperguild brain.
|
||||
You review a completed coding session and identify knowledge worth preserving.
|
||||
|
||||
## What you receive
|
||||
|
||||
- A session log in JSON format listing every skill invocation: what was attempted, what failed, what passed, how long it took.
|
||||
|
||||
## What you produce
|
||||
|
||||
For each significant learning, call brain_write with a structured markdown note. Then return a JSON result summarising what you wrote.
|
||||
A session log in JSON format listing every skill invocation: what was attempted,
|
||||
what failed, what passed, how long it took.
|
||||
|
||||
## What is worth preserving
|
||||
|
||||
- Patterns that worked and should be repeated
|
||||
- Failures that revealed something non-obvious about the codebase or the discipline
|
||||
- Failures that revealed something non-obvious about the codebase or the approach
|
||||
- Decisions made during the session (architectural, structural, tooling)
|
||||
- Anything that contradicts or extends what the brain already knows
|
||||
- Anything that contradicts or extends established patterns
|
||||
|
||||
## What is NOT worth preserving
|
||||
|
||||
- Routine TDD cycles with no surprises
|
||||
- Routine cycles with no surprises
|
||||
- Single-attempt passes with no interesting context
|
||||
- Mechanical operations (file moves, renames, formatting)
|
||||
|
||||
## Output format
|
||||
|
||||
Return JSON matching the standard result schema:
|
||||
Respond in markdown. For each learning worth preserving:
|
||||
|
||||
```json
|
||||
{
|
||||
"status": "pass",
|
||||
"phase": "retrospective",
|
||||
"skill": "retrospective",
|
||||
"verified": true,
|
||||
"message": "wrote N entries to brain/raw/"
|
||||
}
|
||||
```
|
||||
**Learning:** One sentence describing what was learned.
|
||||
**Context:** Why this session surfaced it — what made it non-obvious.
|
||||
**Recommendation:** What should be done differently or repeated going forward.
|
||||
|
||||
`verified` is true when you successfully called brain_write at least once and received a confirmation. If the session had nothing worth writing, return `verified: true` with `message: "no novel learnings in this session"`.
|
||||
End with a summary: "N learnings worth writing to brain" or "No novel learnings in this session."
|
||||
|
||||
The caller will decide which learnings to write to the brain using brain_write.
|
||||
|
||||
Reference in New Issue
Block a user