Repository navigation
feat(batch): M3.6b named tasks and planner skips (R5, R2) - #668
Merged
Merged
Conversation
- One-slice-per-epic and phase order bind only Phase: tasks; a side task orders itself by Blocked-by:, and the rejection names what it waits for. - brief --check lists each named task that will not start, with the planner's own reason (claims on Mind origin/main, then plan), and the watcher records the same reasons for the digest's Not started line. - R2: a coordination:/conflict-override: line frees a repo only for the task it names (PyAutoFit#1777 was dispatched onto such a claim). - A shift's backlog dip skips drafts with no Witness:, counted in the digest. - brief --new with no goal epic or tag writes backlog: scoped, tiers notify, glance (the 2026-11-16 reach ruling), not fill-idle. - brief --check applies the organ rule to named tasks: refused when the prompt names the shift's own code, passed with a line otherwise, a warning when it names no path. Closes #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
…rdination key, named-task gaps - organ rule: read absolute, ./ and PyAutoLabs/-prefixed paths, bare file names of the shift's own code and unbackticked paths; a path naming another repo, a slash command, glob, Repo#N or action@ref is not a self path; an unprefixed self-looking path is a warning when the task also declares other repos; read the Target: header, not the draft folder. - Phase: takes its leading number (5A -> 5, 6b2 -> 6); an unnumbered label is still a declared phase for the per-epic limit and order. - a coordination line frees a repo only by the text after its key. - a named task with no draft (issued to active/) says why, at --check and in the digest; a resumed task is not held back for want of a Witness. - batch AGENTS.md matches the code; the brief --new comment says what the scope does. Refs #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
- a self directory with a trailing slash, a glob of own code, a worktree or absolute path, any case, and a bare own file name (backticked or not, worker_template.md included) are the shift's own code; - a repo name alone, a path in an undeclared repo, a Mind record (draft/, active/, complete/, batches/), a version string and a branch name show nothing either way (no path -> the human decides); - Target: naming several repos is read; - an unnumbered declared phase says so; a resumed record carries phase_declared; brief --check words an active/ named task as issued. Refs #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
… repo dirs, relative records - an unprefixed .github/workflows/ path is not Mind's when the task targets another repo; only agents/conductors/batch/ (DISTINCT_PREFIXES) names its organ unprefixed, and a self prefix deeper in a path counts only for an organ the task targets; - a self directory written without its slash (.github/workflows, scripts) is still read; a repo written as a directory (PyAutoBrain/) and a relative Mind record (../../active/x.md) show nothing. Refs #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
… whatever the task declares Refs #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
The firewall leg of Brain CI refused PyAutoFit, PyAutoLabs and workspace repo names in _orchestrator.py and the new tests; the tests use organ names and a fictional org instead. Refs #667 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8QyUpAfUVYByA1UgVc
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.
Closes #667. M3.6b of the autonomous-orchestrators epic; prompt
PyAutoMind/active/shift_named_tasks_and_planner_skips.md. Applies human rulings R5 (option a) and R2 from 2026-11-17, plus the three design choices the human approved on 2026-11-17.What changes
Phase:number. A side task of the epic shares the shift, and orders itself byBlocked-by:; the rejection names what it waits for. APhase:value now counts by its leading number (5A→ 5,6b2→ 6). A label with no number (C2) is still a declared phase.batch brief --checkruns the watcher's own gates: the claims on Mind's localorigin/main(never a fetch), thenplan. It printsbrief.tasks: <task> will not start — <reason>for each named task the planner would not start. The watcher records the same reasons incounters["backlog_gates"]["named"], so the digest's "Not started" line reads "not started — skipped: ". A named task with no draft prompt says so.coordination:orconflict-override:line in anactive.mdclaim frees the claimed repo only for the task it names. Before, it freed the repo for every task, which is how PyAutoFit#1777 was dispatched onto PyAutoFit's claim.Witness:and counts them in the digest ("No Witness: N draft(s) not dipped"). Named and resumed tasks are exempt.brief --new. When no goal names an epic or tag, it writesbacklog: scopedwithtiers: notify, glance(the 2026-11-16 reach ruling) instead offill-idle.--check(_brief.organ_findings):SELF_PATHS: Brainagents/conductors/batch/, Mindscripts/and.github/workflows/, any PyAutoHands path).AUTONOMY.md("Human rulings R5 and R2"),skills/batch/batch.md(one line) andagents/conductors/batch/AGENTS.md.Changed tests (the rulings change their behaviour)
test_one_slice_per_epicnow usesPhase:tasks.test_goals_without_epics_or_tags_take_the_reach_scope(renamed from thefill_idleversion).test_m31_live_shift_findings.pynow names the task it frees.test_orchestrator_digest: a named task with no prompt now says why it did not start.Checks
tests/test_batch_named_tasks.py. Clauses 1–7 each failed on main 8f36ae6 and now pass; 39 more tests pin the review fixes (46 in all).bin/check_skill_line_counts.sh 200 PyAutoBrainpasses.brief --checkon the 2026-11-16-pm brief takes about 9 s.shift_launch_from_phone, which does touch the watcher.Follow-ups (not here)
Blocked-by:never clears once its blocker ships (same as before). R5 makes it the ordering mechanism for side tasks, so a human must delete the header.brief --newdefault, a queuedjudgetask is outsidetiers: notify, glanceand is not dipped; name it in the brief.Merge mode: human /prm.
Generated by Claude Code