Repository navigation
chore: shift defaults — 4 workers, 8 sessions, 5M token budget - #657
Merged
Merged
Conversation
A brief that omits the caps now gets max-workers 4 and max-sessions 8 (was 2 and 6), and `batch brief --new` writes token-budget 5000000 (was 2000000). The batch AGENTS.md states the new defaults. Tests that read a brief's cap now name it in the brief; new tests pin the defaults. Closes #656 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New shifts default to 4 concurrent workers (was 2) and 8 sessions (was 6), and
batch brief --newwritestoken-budget: 5000000(was 2000000). Closes #656.Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary. For this run the PR stops open; the human will /prm.
agents/conductors/batch/_brief.py:CAP_DEFAULTS = {"max-workers": 4, "max-sessions": 8}.agents/conductors/batch/_batch.py:NEW_BRIEF_DEFAULTS["token-budget"] = "5000000".agents/conductors/batch/AGENTS.md: the watcher section states default 4 / 8.batches/AGENTS.md(brief template and caps paragraph) updated direct to main: PyAutoMind 5e769d792.API Changes
None. Only the default values change for briefs that omit
max-workers:/max-sessions:, and for new briefs frombrief --new.Test Plan
test_grouped_organ_consumers.py::test_hygiene_map_and_heart_board_find_grouped_checkouts, which comes from the task worktree'sactivate.shenvironment. It fails the same way without this change and passes in a clean environment (4/4).max-workers: 2, plusmax-sessions: 6for the/captests), so they keep their meaning: watchermax-workersrefusal, token unmeasured-session test,/capsteering tests, the/addacks, and the attach summary.test_batch_watch.pychecks the max-sessions default, so it now expects4 of 8.test_a_brief_without_caps_gets_the_code_defaults_4_workers_8_sessions(5 named tasks, no caps → 4 spawn, t5 refusedmax-workers 4 reached) andtest_new_writes_the_5m_token_budget_and_leaves_the_caps_to_the_code.Witness
brief --newoutput carriestoken-budget: 5000000(new test intests/test_batch_brief_goals.py).max-workers:spawns 4 (new test intests/test_orchestrator_watcher.py).Notes
pyauto-heart readiness --dev --repos PyAutoBrainis GREEN.worker_token_estimate(_orchestrator.py~753) only uses earlier shifts whose budget is within 2x. A 5M shift therefore skips the old 2M shifts (2.5x) but uses 2026-11-16-pm, which ran at 5M. That is sensible, so no change.🤖 Generated with Claude Code