Skip to content

feat: queued epics drive shifts; briefs allow RAL by default - #697

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/queued-epics-drive-shifts
Nov 19, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/queued-epics-drive-shifts

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Queuing an epic in queue.md now drives shifts, and shift briefs allow RAL by default (#696). In shift 2026-11-19-pm2 four queued epics contributed nothing: brief --new wrote lanes: any, the queued ledger is human-required, and its phase prompts counted as unqueued so the 2026-11-16 scoped-reach rule rejected every medium/multi-repo phase — with no line saying why.

API Changes

  • batch brief --new writes lanes: any local-dev ral and a ral-allowance: block (packets 2, partition ral, cpu-hours 64), and adds the queued epics to scoped: epics.
  • A queue entry naming an epic ledger queues that epic's members at the ledger's rank (queue_standing); they are exempt from scoped_reach_why. All other gates unchanged.
  • New per-queued-epic summary (queued_epics): plan text "Queued epics:" block, plan --json key, brief --check warnings, digest block.
  • Phase order now also counts members the brief scope or a repo claim withheld (tightens the gate).
    See full details below.

Test Plan

  • Full Brain suite: 2538 passed, 1 skipped
  • New tests: queued ledger + medium 2-repo phase taken; later phase still "not next"; no-draft idle line; human-required idle line; unedited brief --new passes --check
  • Witness on 2026-11-19 Mind state: check OK with ral; results_library_p5c and numba_wtilde no longer rejected "beyond queue.md"; p5a still "phase 5 is not next"

Heart RED override (development only)

Live human, 2026-11-19, this session: asked to choose "1. Override Heart RED for this dev ship … 2. Fix the drift first … 3. Wait" and answered "Override red".

  • Exact RED reason (scoped readiness --dev --repos PyAutoBrain,PyAutoMind): PyAutoMind: Lifecycle Drift failure on main — pre-existing: planned.md entry cortex-development-split points at active/development_projects_split.md (filed by another session); not caused or fixed by this change.
  • Passed gates: Brain full suite 2538 passed, 1 skipped (worktree, PyAuto313); Mind queue/lifecycle/spawn tests 167 passed; Witness passes on the 2026-11-19 Mind state; smoke n/a (organ tooling, no workspace impact); review: in-session diff read — independent review at /prm.
  • Merge needs a separate /prm with every required check green. Heart stays RED for release purposes.
Full API Changes (for automation & release notes)

Added

  • _batch.is_ledger_text, read_epic_ledgers(mind), queued_epics(queue, records, epic_ledgers), queue_standing(r, queue, epic_ranks), queued_epic_summary(...), queued_epic_lines(d), NEW_BRIEF_RAL_ALLOWANCE
  • plan(..., epic_ledgers=, withheld=) keyword arguments; plan()["queued_epics"]

Changed

  • NEW_BRIEF_DEFAULTS["lanes"] → any local-dev ral
  • _brief check runs the claim-aware plan (check_plan) even with no named tasks; _digest prints a Queued epics block
  • Docs: AUTONOMY.md (2026-11-16 ruling narrowed 2026-11-19), batch conductor AGENTS.md, skills/batch/batch.md, skills/queue/queue.md

Closes #696 (with PyAutoLabs/PyAutoMind companion PR).

🤖 Generated with Claude Code

- brief --new writes lanes: any local-dev ral plus a default ral-allowance
  (packets 2, partition ral, cpu-hours 64)
- a queue.md entry naming an epic ledger queues the epic's members at the
  ledger's rank (queue_standing); the 2026-11-16 scoped-reach rule no longer
  blocks them; every other gate unchanged
- one line per queued epic (taken / why idle) in plan text+json, brief --check
  and the shift digest
- phase order now also reads members the brief scope or claims withheld

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 42ecfdc into main Nov 19, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/queued-epics-drive-shifts branch November 19, 2026 22:25
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: queued epics drive shifts; briefs allow RAL by default

1 participant