1
Set task environment variables
Before starting any autonomous work, export the required variables so the runner knows what to target.
The runner reads tasks from
~/workspace/llm_map/master_tasks.json. Ensure your task entry exists there before you begin.2
Start the autonomous runner
Launch the main loop that picks tasks from the registry and drives them to completion.Expected output:
3
Dispatch a sandboxed task
Use Expected output:
dispatch_task.py to execute a single unit of work in isolation. This is the preferred way to run changes that need rollback protection.4
Monitor with mirror
Open a live mirror of the runner state to watch progress, logs, and agent heartbeats in real time.Expected output:
5
Auto-repair failures
If a task fails, invoke Expected output:
auto_repair.py to retry with adjusted parameters or fallback strategies.Preferred execution loop
Follow this sequence to keep the monorepo stable and auditable:- Registry: Add or update the task in
docs/proposals/registry.yaml - Pick item: Select the next open item from
docs/proposals/active/<id>/ITEMS.md - Branch: Create a feature branch for the change
- Implement: Run
dispatch_task.pyorautonomous_runner.pyto apply the change - PR: Open a pull request with the branch
- Gates green: Run
python3 scripts/ci/repo_gate.pyandpython3 scripts/ci/termux_smoke.py - Merge: Merge only after both gates pass
- Update ITEMS.md: Mark the item complete in the active proposal file