Repository navigation
Start chief-of-staff owners as top-level sessions - #170
Merged
Merged
Conversation
Running a chief of staff now counts as a request for sessions: each owner starts as its own top-level session bound to a host worktree, watches its own PR, and reports with t3_thread_send. Owners still run their helpers as subagents. Hosts that cannot launch sessions fall back to a delegated owner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Chief of Staff now starts each program owner as its own top-level session. Inside that session, the owner runs Implement, and Implement uses subagents for its helpers. This was the user's call on 2026-11-09: chief = sessions, Implement = subagents.
Why
In a seatcommons chief thread, the user asked on Nov 2 for one session per ticket. The program record rewritten in #164 dropped that preference. On Nov 9 the chief started 5 subagents, was corrected, and stopped them. It then relaunched them as sessions, and those failed with
branch_already_existsbecause the stopped subagents still held the worktrees.Changes
chief-of-staff/SKILL.mdt3_thread_launch, in a worktree the host binds.t3_thread_send. The chief waits on each outstanding owner's run witht3_thread_wait. When a run fails, is interrupted, or goes idle without a report, the chief recovers it or marks the outcome blocked.existing_worktree, or starts on a new branch.implement/SKILL.md: the caller is "the user when they started you". Before, it was "the user in a top-level thread", which would have sent a session owner's report to the user instead of the chief.SOURCES.md: updated to match.Verification
python3 scripts/check.py: exit 0 at d435c21.Not proven
t3_thread_waitwake-up behavior have not been run in a real chief program.🤖 Generated with Claude Code