Overview
Build the AFK workflow in stages:
- Maintain backlog items as local markdown files or work-tracking issues with clear scope
and dependencies.
- Write a runner that injects the backlog and a concise implementation prompt into a new
coding-agent session.
- Define how the agent identifies eligible work and what it outputs when no work remains.
- Require repository exploration before editing.
- Require TDD and named feedback loops.
- Require a commit and completion summary for each successful task.
- Run the process once with a human watching.
- Tune the prompt until one iteration behaves predictably.
- Only then place it inside an unattended loop and sandbox it.
Task prioritization can be explicit. A queue may prefer critical bug fixes, development infrastructure, tracer-bullet issues, polishing work, quick wins, and refactors in a defined order. The exact priority is less important than making the selection rule visible and controllable.