Skip to content

batch: the human declares the review horizon; the floor is retired - #322

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/batch-flexible-slot
Aug 31, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/batch-flexible-slot

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The decision (human, 2026-08-31)

"The original plan had a 'one plus floor' approach where I would look at work once or twice a day and aim for 10% token use over 10 weekly sessions. I want this to be more flexible → I come in, pick out the work and give an estimate of when I hope to come in for review."

Translated into doctrine:

  1. The slot is not scheduled. A slot is whenever the human comes in. At dispatch they state review-at: (an ISO timestamp for when they expect to be back), and the shift is the interval dispatch → review-at:, which is where the batch's grant expires. No daily baseline, no once-a-day, no second-slot assumption.
  2. The review budget stays in review-minutes (default 45) but is the human's to set per slot — it follows the nature of the work and their schedule, not a rhythm.
  3. The FLOOR is closed, not built. It was the fill-only batch that would dispatch whether or not the human turned up; with timing carried by the human a missed review-at: dispatches nothing and the grant simply expires. Recorded as closed with the reason so nobody re-derives it (revisit only if the queue starves during a long absence). Backpressure ramping is untouched — it measures review-queue depth, not timing.
  4. Phase 7's "spend the whole allowance" decision is untouched; only its one-slot-a-day sizing assumption goes.

Files

  • AUTONOMY.md — dated 2026-08-31 amendment under "What a batch launch is" defining the shift as dispatch → review-at: (the 2026-08-30 text is left standing); leg 4's "expires with the shift" gains one clause pointing at it.
  • agents/conductors/batch/AGENTS.md — budget rationale (per-slot, human-set), "Backpressure ramps; it never deadlocks" (at the cap = fill only, still human-dispatched; the floor noted as closed), "It proposes; the human launches", and the by-hand procedure: "In the slot — whenever the human comes in", a new review-at: step, and "At review-at:" replacing "Next slot", with reviewed-at: recorded at collection.
  • skills/batch/batch.md — step 2 of "Go." writes review-at: and asks if the human did not say when they will be back; "When they come back" records reviewed-at:; one new Never.
  • agents/conductors/batch/_batch.py — text only (module docstring, the DEFAULT_REVIEW_BUDGET and backpressure comments, the at-cap message, plus one proposal-footer line: "State review-at (when you expect to be back) when you say go."). No planner logic changed.
  • tests/test_batch_plan.py — test name and docstrings only.

Tests

python -m pytest PyAutoBrain/tests -q → 691 passed. pyauto-brain batch plan smoke-run prints the new footer.

Mind-side companion PR: schema (review-at:, reviewed-at:) and the epic ledger.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DxyfT7AWrBrmKQZiRE2HAN

The slot is no longer scheduled. At dispatch the human states `review-at:`
— when they expect to be back — and the shift is the interval dispatch →
`review-at:`, which is where the batch's grant expires. No daily baseline,
no second-slot assumption.

The review budget stays in review-minutes (default 45) but is the human's
to set per slot: it follows the nature of the work and their schedule, not
a rhythm.

The FLOOR — a fill-only batch dispatched whether or not the human turned
up — is closed rather than built: with timing carried by the human, a
missed `review-at:` dispatches nothing and the grant expires on its own.
Backpressure is untouched; it ramps on review-queue depth, not timing.

- AUTONOMY.md: dated 2026-08-31 amendment under "What a batch launch is"
  defining the shift; leg 4's "expires with the shift" reads against it.
- agents/conductors/batch/AGENTS.md: budget rationale, backpressure,
  "It proposes; the human launches", and the by-hand slot procedure
  (a `review-at:` step; "At review-at:" replaces "Next slot").
- skills/batch/batch.md: step 2 of "Go." writes `review-at:` and ASKS if
  the human did not say; collection records `reviewed-at:`.
- agents/conductors/batch/_batch.py: docstrings/comments and the proposal
  footer only — no planner logic changed.
- tests/test_batch_plan.py: test name and docstrings only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DxyfT7AWrBrmKQZiRE2HAN
@Jammy2211
Jammy2211 merged commit 68a16e5 into main Aug 31, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/batch-flexible-slot branch August 31, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant