Repository navigation
gate-supervisor-scope: no ScheduleWakeup during a sprint; task-worktree --help; record run 32 - #54
Merged
Merged
Conversation
…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
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.
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
ScheduleWakeupas a "fallback heartbeat". The headless session then waited on it for 12 minutes after the sprint was done. The same run calledtask-worktree add --help, which created a worktree and anagentic/--helpbranch that the supervisor had to delete by hand.After:
gate-supervisor-scopenow also matchesScheduleWakeup. 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> --helpprints usage, and a TASK_ID starting with-is refused with exit 64.How: there is a new
ScheduleWakeupbranch in the gate that uses the same lock rule as the commit-on-main check, plus a one-line SKILL rule.task-worktreemaps a--help/-htask argument to the help command and adds-*to the rejected-name guard.Evidence:
supervisor-scope.test.pyis 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.pyis now 9 checks:--helpand-hprint usage,-xis refused, and no worktree or branch is created.make testis green and conformance is 78/78.Generated by Claude Code