8000 gate-supervisor-scope: no ScheduleWakeup during a sprint; task-worktree --help; record run 32 by adeelahmad · Pull Request #54 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

gate-supervisor-scope: no ScheduleWakeup during a sprint; task-worktree --help; record run 32 - #54

Merged
adeelahmad merged 2 commits into
masterfrom
claude/project-thread-qerfr9
Oct 19, 2026
Merged

adeelahmad merged 2 commits into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: in live run 32 (semver, master after #53), the work reached the final gate in 11m05s, but the run took 23m30s. When the host moved the planner to the background, the supervisor set a 1200s ScheduleWakeup as a "fallback heartbeat". The headless session then waited on it for 12 minutes after the sprint was done. The same run called task-worktree add --help, which created a worktree and an agentic/--help branch that the supervisor had to delete by hand.

After: gate-supervisor-scope now also matches ScheduleWakeup. It blocks the supervisor's wakeup while a sprint is live, because an agent's completion notification already starts the next turn. Sub-agents and sessions with a stale lock are not judged. task-worktree <cmd> --help prints usage, and a TASK_ID starting with - is refused with exit 64.

How: there is a new ScheduleWakeup branch in the gate that uses the same lock rule as the commit-on-main check, plus a one-line SKILL rule. task-worktree maps a --help/-h task argument to the help command and adds -* to the rejected-name guard.

Evidence:

  • supervisor-scope.test.py is now 23 checks: a live-sprint wakeup is blocked, a sub-agent's wakeup is allowed, and a wakeup under a stale lock is allowed.
  • commit-trace.test.py is now 9 checks: --help and -h print usage, -x is refused, and no worktree or branch is created.
  • make test is green and conformance is 78/78.
  • Run 32 also confirms gate-scaffold-verify: an unchanged symbol from an earlier task needs no stub; record run 31 #53: 0 scaffold blocks, down from 4 in run 31. The run is recorded in the evidence ledger, ROADMAP M0.8 and CHANGELOG.

Generated by Claude Code

…ee --help; record run 32

Live run 32 (semver, master after #53) passed 12/12 with no scaffold
blocks, but took 23m30s for 11m of work: the supervisor set a 1200s
wakeup when the host backgrounded the planner, and the headless session
waited on it after the final gate. It also ran `task-worktree add
--help`, which created a worktree and branch named --help.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad marked this pull request as ready for review October 19, 2026 02:07
@adeelahmad
adeelahmad merged commit 002e4ff into master Oct 19, 2026
4 checks passed
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.

2 participants

0