Skip to content

docs: autonomous orchestrators p3a — shift-brief usage caps - #524

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/autonomous-orchestrators-p3a
Nov 3, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/autonomous-orchestrators-p3a

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Phase 3a of the autonomous-orchestrators epic, tracked on PyAutoLabs/PyAutoBrain#555. Read with PyAutoLabs/PyAutoBrain/pull/556; merge this one first.

What changes

  • batches/AGENTS.md — the brief's optional usage caps max-workers: (default 2) and max-sessions: (default 6): what the watcher does at a cap, and that a non-number refuses the brief.
  • batches/examples/shift_brief_example.md carries both caps (still brief --check OK).

Tier: judge — merge mode: human /prm. Heart YELLOW reason set acknowledged by the human at ship.

Witness

$ pytest tests/test_orchestrator_watcher.py -v   (witness clauses a–e, fake workers)
test_overlapping_tick_processes_dispatch_one_worker_per_task  PASSED
test_a_held_lock_makes_the_second_tick_back_off  PASSED
test_an_existing_lease_is_never_spawned_twice  PASSED
test_a_dead_worker_is_redispatched_once_then_abandoned  PASSED
test_a_dead_lease_waits_out_its_grace  PASSED
test_a_finished_worker_is_released_and_never_redispatched  PASSED
test_stop_is_read_before_anything_else  PASSED
test_stop_halts_a_running_shift_at_the_next_tick  PASSED
test_max_workers_refuses_the_next_spawn  PASSED
test_max_sessions_refuses_past_the_shift_total  PASSED
test_a_cap_that_is_not_a_number_refuses_the_brief  PASSED
test_a_brief_past_review_at_dispatches_nothing  PASSED
test_a_refused_brief_dispatches_nothing  PASSED
test_real_dispatch_is_refused_until_3b  PASSED
test_home_comes_from_the_environment  PASSED
test_entry_script_runs_one_idle_tick  PASSED

$ grep -c 'Revert condition' AUTONOMY.md   → main 11, branch 12
$ pytest tests/test_autonomy_doctrine.py   → 14 passed in 0.07s
$ repos_sync.py --check --only 'tenant firewall (organ code)' --root <task worktree>   → check tenant firewall (organ code): OK
$ batch brief --check PyAutoMind/batches/examples/shift_brief_example.md   → OK ==

full suites (PYAUTO_* unset): PyAutoBrain 1456 passed in 163.14s (0:02:43)  ·  PyAutoMind 712 passed in 69.66s (0:01:09)
repos_sync.py --check --root ~/Code/PyAutoLabs: exit 0 · lifecycle.py check: DRIFT only the pre-existing active/chapter2-explanations.md
skill line-count (report-only): batch 268 vs main 263 — watcher detail lives in agents/conductors/batch/AGENTS.md

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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