evolve_apply
Implement a promoted format-evolution suggestion by editing render_brief, adding tests, and opening a pull request.
Instructions
Implement a PROMOTED + not-yet-applied format-evolution suggestion.
Spawns an evolve_applier child that: edits render_brief() in
threadkeeper/brief.py to make the change; adds/extends a GOLDEN test
asserting the new behavior appears AND the existing brief still renders;
runs the FULL suite (.venv/bin/python -m pytest -q) until green; then
opens a PULL REQUEST on a feature branch via gh — it NEVER pushes or
commits to main (a human reviews + merges).
applied=1 is set ONLY when the child reports a real PR back via evolve_mark_applied — opening the PR is the autonomy gate.
Rejects ids that don't exist or aren't promoted+unapplied. Single-flight: refuses while another applier child is in flight. Returns a status line (spawned … / applier_running … / ERR …). Get ids from evolve_review().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evolve_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |