1004 B
yaml
| 1 | schema: 1 |
| 2 | name: test-writer-loop |
| 3 | owner: openagents |
| 4 | version: 1.1.0 |
| 5 | kind: harness |
| 6 | title: Test Writer Loop |
| 7 | summary: Red/green loop that picks an untested module, writes a failing test, implements it, and iterates with coverage deltas |
| 8 | license: MIT |
| 9 | tags: [testing, tdd, coverage, harness, automation] |
| 10 | runtimes: [claude-code, codex, openai-agents, generic] |
| 11 | pricing: |
| 12 | model: free |
| 13 | amount_cents: 0 |
| 14 | currency: usd |
| 15 | entry: HARNESS.md |
| 16 | files: |
| 17 | - HARNESS.md |
| 18 | - loop.md |
| 19 | - stop-conditions.md |
| 20 | inputs: |
| 21 | - name: target_path |
| 22 | type: path |
| 23 | required: false |
| 24 | description: File or directory to focus on; if omitted, the loop selects the lowest-coverage module automatically |
| 25 | - name: max_iterations |
| 26 | type: number |
| 27 | required: false |
| 28 | default: 10 |
| 29 | description: Maximum red/green cycles to run in one session |
| 30 | - name: coverage_command |
| 31 | type: string |
| 32 | required: false |
| 33 | description: "Command that prints a coverage report (e.g. \"npm test -- --coverage\"); auto-detected when omitted" |
| 34 | requires: [] |
| 35 |