Skip to content

fix(skills): settle launched worker threads after merge, bump to 0.2.1 - #14

Merged
justcarlson merged 1 commit into
mainfrom
fix/settle-launched-workers
Nov 26, 2026
Merged

justcarlson merged 1 commit into
mainfrom
fix/settle-launched-workers

Conversation

@justcarlson

Copy link
Copy Markdown
Owner

Summary

Top-level worker threads launched via t3_thread_launch stayed unsettled after an orchestrator merged their PRs because sidebarAutoSettleOnMerge is off, workers cannot settle while PRs are open, and epic v0.2.0 forbade settling another thread by threadId; this adds safe t3_thread_read-gated worker settling to epic and t3-launch-worktrees, adds T3 merge-settle to babysit-pr, and bumps jstack to 0.2.1.

 skills/
 ├── epic/                # Stage 5/6 settle launched workers after exact t3_thread_read check; prefer delegate_task worktrees
 ├── t3-launch-worktrees/ # step 7: settle agent-launched orchestrated workers after merge/closeout
 └── babysit-pr/          # settle this thread last after merging owned PRs when unpinned
 patches/
 └── 09-t3-thread-settle.patch  # updated cleanly on top of patches/01..08 (adds babysit-pr hunk)

Evidence

  • Before: epic 8,475 B ceiling forbade settling another thread by threadId and had no worker-settle step; t3-launch-worktrees and babysit-pr had no settle rules; version 0.2.0.
    After: epic 8,326 B ceiling (size-budget.json ratcheted down); epic, t3-launch-worktrees, and babysit-pr cover orchestrated worker and merge-time settling; version 0.2.1 in all 3 manifests.
$ python3 scripts/validate_skills.py
ok: 17 skills valid, version 0.2.1

$ python3 scripts/check_privacy.py --all
privacy: clean (tree + all history, without private pattern)

$ uv run --with pytest --with pyyaml pytest -q tests/
215 passed in 5.77s

$ git archive 9716f6c | tar -x -C /tmp/jstack-patch-check && git -C /tmp/jstack-patch-check apply patches/09-t3-thread-settle.patch
(exit 0: byte-for-byte match on babysit-pr, full-send, full-stop)

Merge Danger

Door: two-way

Blast Radius: low

Skill text, patch, and manifest version only. Revert restores v0.2.0 rules.

Review ledger

Id Reviewer Round Severity Decision Reason
S1 Claude Opus 5.5 1 should fixed Restored epic Stage 4.3 to use delegate_task worktrees by default and t3_thread_launch only when top-level issue threads are requested
S2 Claude Opus 5.5 1 should fixed Replaced nonexistent watches / narrow completed checks with exact t3_thread_read fields (status, pinned, openPullRequestCount, pendingRequestCount, pendingBackgroundTasks)
S3 Claude Opus 5.5 1 nit fixed Changed babysit-pr settle guard to check any pin and defer to parent workflows such as epic
S4 Claude Opus 5.5 1 nit fixed Scoped t3-launch-worktrees step 7 to createdBy: "agent" threads launched by this agent unless asked to stay open
S5 Claude Opus 5.5 1 nit fixed Made epic Stage 6.2 reuse the full Stage 5 t3_thread_read check
S6 Claude Opus 5.5 1 nit fixed Restored trimmed qualifiers in epic while staying 149 B under the grandfathered budget

Reviewed with sol-loop: 2 rounds with Claude Opus 5.5 on high. Sol verdict: approved at a5beb21.

Created with Gemini 4 Neon in Antigravity.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T03:11:33.757562Z a5beb21 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@justcarlson
justcarlson merged commit 1ae12d3 into main Nov 26, 2026
5 checks passed
@justcarlson
justcarlson deleted the fix/settle-launched-workers branch November 26, 2026 03:12
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.

1 participant