Skip to content

Shift worker runs the chat loop: changed tests, witness, one review (M3.7a) - #687

Merged
Jammy2211 merged 3 commits into
mainfrom
feature/shift-speed-worker-chat-loop
Nov 19, 2026
Merged

Jammy2211 merged 3 commits into
mainfrom
feature/shift-speed-worker-chat-loop

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #686 (M3.7a of the autonomous-orchestrators epic). Records the human's rulings S1 and S3 (2026-11-19, orchestrator speed review) and makes the shift worker follow them.

  • AUTONOMY.md: new section "Shift speed — 2026-11-19" with S1 (leg 1 in a shift) and S3 (leg 5 in a shift) as the prompt states them, the measured reason, the -n 4 cap, and "Outside a shift (an --auto chat) nothing changes." The section says later rulings (S2, S4 to S7) are added to it. Legs 1 and 5 of "The autonomous-ship gate" each gain a one-line pointer.
  • agents/conductors/batch/worker_template.md: at the ship step the worker runs the test modules its diff changes or that cover the changed code, plus the Witness:, not the full suite (PR CI is the full-suite verdict); still runs the dependants' full suites on a public API change; starts one independent review (verdict CLEAN) beside the tests and the targeted smoke; opens the PR as soon as they pass; runs no adversary pass; caps pytest at -n 4.
  • skills/ship_library/ship_library.md: the step 3 tests note and the --auto adversary line keeps "five under a batch launch" and adds the shift-worker exception (S3).
  • skills/ship_library/reference.md: execution contract step 1 gains the shift-worker branch (changed modules + witness, -n 4, dependants on public API change).
  • agents/conductors/batch/AGENTS.md: the human's "one leg you must not skip" passage notes the worker no longer runs the adversary; the human's read or the close-out session is the adversary.
  • tests/test_shift_speed_worker_loop.py: 6 tests on the rendered worker prompt, AUTONOMY.md and the ship skill.

Skills are symlinked from this repo by bin/install.sh; there are no generated copies to keep in step.

API Changes

None (doctrine, prompt template and skill prose; no Python source changed).

Validation checklist

  • Tests: new tests 6/6 failed on main, 6/6 pass on the branch. Full Brain suite python -m pytest -q -n 4: 2426 passed, 1 skipped.
  • Witness: (1) AUTONOMY.md section + leg 1/5 pointers, (2) rendered prompt has the changed-modules instruction and no --adversary, (3) still requires one independent review with verdict CLEAN and the targeted smoke, (4) requires dependants' full suites on a public API change: asserted by tests/test_shift_speed_worker_loop.py; (5) suite passes.
  • Smoke: n/a (organ doc/prompt change, no downstream script surface).
  • Tenant firewall (organ code): OK.
  • Heart: pyauto-heart readiness --dev --repos PyAutoBrain GREEN (pass). Shown, non-blocking: manifest drift in end-at-deliverable blocks (46) and generated hooks (2) vs PyAutoMind/repos.yaml; release validation has no rehearsal for current source.
  • Review: architect session, round 1 FINDINGS (2 medium), fixed

Consequence: judge, so the human merges via /prm.

🤖 Generated with Claude Code

Jammy2211 and others added 3 commits November 19, 2026 12:18
…M3.7a)

Records the human's rulings S1 and S3 (2026-11-19) in AUTONOMY.md
"Shift speed — 2026-11-19", with pointers from legs 1 and 5 of the
autonomous-ship gate. Inside a shift the worker runs the changed and
covering test modules plus the Witness (PR CI is the full-suite verdict;
dependants' full suites still run on a public API change), starts one
independent review beside the tests and the targeted smoke, opens the PR
as soon as they pass, runs no adversary pass, and caps pytest at -n 4.
The worker template, ship_library and its execution contract follow.
Outside a shift nothing changes.

Closes #686

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… unchanged

Architect review round 1 of #687: ship_library restores "five under a batch
launch" and adds the shift-worker exception (ruling S3) after it; the worker
template says only legs 1 and 5 change in a shift, and the review, the
targeted smoke and the Heart verdict apply as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moves the shift-worker detail (review beside the tests and the targeted
smoke, PR as soon as they pass) into reference.md's execution contract and
leaves one pointer sentence for S1 and one for S3 in ship_library.md
(179 lines; SKILL.md + body now 198).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 66ae0cf into main Nov 19, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/shift-speed-worker-chat-loop branch November 19, 2026 12:37
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.

feat: shift worker runs the chat loop (M3.7a)

1 participant