prompts: use markdown output contracts
a75810ccfb1156177244f305fbb42f80c9980097
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
- Parent 1: 837833043b48
There are many coding harnesses - but this one is fast
a75810ccfb1156177244f305fbb42f80c9980097
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
+97 / −69 text lines
+25 / −18 text lines
```json{ "status": "complete|blocked|failed", "compressionCandidates": [ { "paths": ["files"], "duplication": "what repeats or bloats", "proposal": "simpler shared shape", "benefit": "less drift, fewer concepts, smaller surface", "risk": "behavior/public API/perf risk" } ], "edits": ["files changed or proposed"], "behaviorRisk": "low|medium|high", "tests": ["tests run or needed"], "nextSteps": ["follow-up cleanup"]}Use this shape:```markdown## Statuscomplete | blocked | failed## Compression Candidates- `path/or/file` - Duplication: what repeats or bloats - Proposal: simpler shared shape - Benefit: less drift, fewer concepts, smaller surface - Risk: behavior/public API/perf risk## Edits- files changed or proposed## Behavior Risklow | medium | high## Tests- tests run or needed## Next Steps- follow-up cleanup+27 / −18 text lines
```json{ "status": "complete|blocked|failed", "proved": ["spec claims supported by prototype evidence"], "disproved": ["spec claims contradicted by prototype evidence"], "specIssues": [ { "file": "path", "issue": "what spec must clarify or change", "evidence": "prototype path, command, compiler/test result", "severity": "P0|P1|P2|P3" } ], "prototypeArtifacts": ["paths created"], "commands": ["commands run"], "nextSteps": ["concrete spec or design actions"]}Use this shape:```markdown## Statuscomplete | blocked | failed## Proved- spec claims supported by prototype evidence## Disproved- spec claims contradicted by prototype evidence## Spec Issues- `path` - Issue: what spec must clarify or change - Evidence: prototype path, command, compiler/test result - Severity: P0 | P1 | P2 | P3## Prototype Artifacts- paths created## Commands- commands run## Next Steps- concrete spec or design actions+26 / −23 text lines
```json{ "status": "complete|blocked|failed", "slopFindings": [ { "path": "file", "pattern": "LLM slop pattern found", "evidence": "specific code symptom", "severity": "P0|P1|P2|P3" } ], "expertRewrite": [ { "path": "file", "change": "expert Rust improvement", "why": "type safety, dependability, clarity, or testability gain" } ], "risks": ["behavior, API, security, or migration risks"], "tests": ["tests run or needed"], "nextSteps": ["remaining cleanup"]}Use this shape:```markdown## Statuscomplete | blocked | failed## Slop Findings- `file` - Pattern: LLM slop pattern found - Evidence: specific code symptom - Severity: P0 | P1 | P2 | P3## Expert Rewrite- `file` - Change: expert Rust improvement - Why: type safety, dependability, clarity, or testability gain## Risks- behavior, API, security, or migration risks## Tests- tests run or needed## Next Steps- remaining cleanup+19 / −10 text lines