Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions batches/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ only while a brief is open (`policy/shift_watcher.md`).
- draft/feature/autofit/<name>.md
- epics: euclid-dr1
- review-minutes: 45
- lanes: any local-dev ral # any subset of: any local-dev ral gpu wsl-data
- lanes: any local-dev ral # the default; any subset of: any local-dev ral gpu wsl-data
- merge-cap: 3 # unattended glance merges this shift, at most
- token-budget: <n> # tokens the shift may spend, all sessions
- max-workers: 4 # optional: concurrent workers (default 4)
- max-sessions: 8 # optional: sessions this shift, all told (default 8)
- worker-mode: auto # optional: auto (default) | dontAsk | acceptEdits — never bypassPermissions
- sandbox: no # optional: yes marks a test shift
- shadow: no # optional: yes plans and digests, spawns nothing
- ral-allowance: # only when lanes includes ral; phase 5 consumes it
- ral-allowance: # required when lanes includes ral; these are the defaults
- packets: 2
- partition: ral
- cpu-hours: 64
Expand All @@ -213,8 +213,11 @@ only while a brief is open (`policy/shift_watcher.md`).
**Goals come from [`goals.md`](../goals.md)** (PyAutoMind#565). `pyauto-brain
batch brief --new <slot> --review-at <ISO>` writes a skeleton brief whose
`goals:` are that file's goals in order, with `backlog: scoped` to the union of
their `epics:`/`tags:` (or `fill-idle` when no goal names any) and safe
defaults (`merge-cap: 0`) for the rest; it prints to stdout unless `--out`
their `epics:`/`tags:` (or `tiers: notify, glance` when no goal names any) plus
the epics whose ledgers `queue.md` names, and defaults for the rest: `merge-cap:
0`, and `lanes: any local-dev ral` with the `ral-allowance:` above (2 packets,
partition `ral`, 64 cpu-hours; PyAutoBrain#696), so a queued RAL phase can run.
Edit any of them per shift. It prints to stdout unless `--out`
names a file, so writing the record — the dispatch — stays the human's act.
`goals.md` is written by the human alone, so every goal is copied as written.
`--new` also prints, on stderr, how the goals changed since the newest brief.
Expand Down
9 changes: 9 additions & 0 deletions queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ outranks an unqueued one, and among queued prompts the file's order wins.
Below the queue it sorts by `Priority:`, then cheapest review first. An entry
written against `draft/…` keeps its place after the prompt moves to `active/`.

**Queuing an epic ledger queues its phases** (PyAutoBrain#696). An entry whose
ref is an epic's ledger (the file `epics.md` names as its `- ledger:`) makes
every member of that epic count as queued at the ledger's place, so a shift
takes the epic's next phase even when it is medium or spans several repos.
The other gates still apply: phase order, `Autonomy: human-required`,
`Unattended:`, `Blocked-by:`, Witness and lane. `batch plan`, `brief --check`
and the shift digest say, per queued epic, what it gave or why nothing did.
Queue a single phase prompt to queue only that phase.

**An empty list stops a shift** (M2.3, PyAutoBrain `AUTONOMY.md` "M2 rulings —
2026-11-12"): with no live entry here an unattended shift takes its brief's
named tasks and dips into no backlog. **Every ref is checked**:
Expand Down
Loading