Repository navigation
Add an Unattended Handoff Loop and an Attended Resume Procedure - #1806
Conversation
Adds the unattended-handoff skill: a lean orchestrator that loops a picker subagent (choose or create a handoff needing no maintainer decision) and a worker subagent (fix it, merge as far as the invocation scope allows, close it, or park it on a decision issue under the blocked label). Scope is develop by default, main or release when named. Adds "The Attended Session" to session-handoff, so "resume the handoff" alone picks the newest open link, drives to a mergeable promotion PR, asks every question as a dialog with a reasoned recommendation first, writes the next link, and saves memories last. Widens the blocked label to cover a handoff parked on a decision issue in the same repository. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Answers the local strict review: skip issues already fixed on develop, pick only auto-* lanes, read the parking comment on resume, close an answered decision issue, add a STOP return line, recognize the scope grant in merge-and-release, and state the parked-handoff exceptions in the label taxonomy. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Answers the second strict review pass: exclude any issue a develop-only PR names, test develop against main by content and re-check before the promotion, keep blocked on while an attended session works a lane, let the picker clear a blocker whose decision was answered, close out a finished auto-* lane in the attended procedure, recognize the attended target in drive-pr, and state the closed-out track in Session Scope. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Answers the third strict review pass: only the session handing a lane back removes blocked, a lane-only content test replaces the file-name check and exempts the lane's own merge, the picker skips issues claimed by a handoff or a burndown group, and a resumed worker reads the maintainer's answer. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Deletes the lane-only promotion test, which kept failing on multi-merge lanes and halted a run after one park. Also keeps a cleared parked handoff blocked until a session hands it back, and carries the maintainer's answer into the handed-back link. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Answers the pre-push strict review: STOP instead of re-parking on a promotion already waiting on a decision, bound the loop to one run per repository, exclude the canonical-sweep issue, and keep presenting the parked queue when an attended session closes out an auto-* lane. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
A few updated procedures contain avoidable ambiguities/formatting breaks that should be tightened to prevent mis-execution when followed verbatim.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 3
Open (3)
What changed in this PR
This PR extends the fleet’s handoff workflow by adding a new unattended-handoff skill (an orchestrated picker/worker loop designed to keep orchestrator context flat), and by formalizing the attended “resume the handoff” procedure in session-handoff. It also widens the meaning of the blocked label to cover parked handoffs waiting on an in-repo decision issue, with corresponding updates to governance, label payloads, and related skills.
Changes:
- Add the new
unattended-handoffskill (source + generated distributions) describing the unattended picker/worker loop, scope grants, and parking procedure. - Expand
session-handoffwith an explicit attended resume procedure that prioritizes resolving parked decisions and driving to a mergeable promotion PR. - Update
blockedlabel semantics across GOVERNANCE, label docs, and label payload; update related skills (merge-and-release,drive-pr,agent-conduct) to recognize the unattended run and attended resume flow.
| File | Description |
|---|---|
| repo-config/README.md | Updates blocked label documentation to include parked handoff semantics and exceptions. |
| repo-config/labels.json | Updates blocked label description text (must stay within label API constraints). |
| GOVERNANCE.md | Adds a governance rule clarifying blocked usage for parked handoffs awaiting maintainer decisions. |
| AGENTS.md | Clarifies handoff chain closure behavior and documents the new unattended-handoff skill in the skill map. |
| .github/skills/unattended-handoff/SKILL.md | Generated distribution copy of the new unattended-handoff skill. |
| .github/skills/session-handoff/SKILL.md | Generated distribution copy reflecting the new attended resume procedure. |
| .github/skills/merge-and-release/SKILL.md | Generated distribution copy reflecting the standing grant behavior for unattended runs. |
| .github/skills/drive-pr/SKILL.md | Generated distribution copy noting resume the handoff implies “to a mergeable promotion PR”. |
| .github/skills/agent-conduct/SKILL.md | Generated distribution copy mirroring the new blocked parked-handoff governance rule. |
| .claude-plugin/fleet-skills/skills/unattended-handoff/SKILL.md | Plugin distribution copy of the new unattended-handoff skill. |
| .claude-plugin/fleet-skills/skills/session-handoff/SKILL.md | Plugin distribution copy reflecting the attended resume procedure. |
| .claude-plugin/fleet-skills/skills/merge-and-release/SKILL.md | Plugin distribution copy reflecting unattended-run standing grant behavior. |
| .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md | Plugin distribution copy reflecting attended resume implications. |
| .claude-plugin/fleet-skills/skills/agent-conduct/SKILL.md | Plugin distribution copy mirroring the new parked-handoff blocked governance rule. |
| .claude-plugin/fleet-skills/.source-digests/unattended-handoff | New digest entry for the new skill source. |
| .claude-plugin/fleet-skills/.source-digests/session-handoff | Digest updated for the session-handoff skill source change. |
| .claude-plugin/fleet-skills/.source-digests/merge-and-release | Digest updated for merge-and-release skill source change. |
| .claude-plugin/fleet-skills/.source-digests/drive-pr | Digest updated for drive-pr skill source change. |
| .claude-plugin/fleet-skills/.source-digests/agent-conduct | Digest updated for agent-conduct skill source change. |
| .claude-plugin/fleet-skills/.claude-plugin/plugin.json | Registers the new unattended-handoff skill in the plugin manifest. |
| .agents/skills/unattended-handoff/SKILL.md | Hand-authored source for the new skill (canonical content). |
| .agents/skills/session-handoff/SKILL.md | Canonical skill source updated with “The Attended Session” procedure. |
| .agents/skills/merge-and-release/SKILL.md | Canonical skill source updated to recognize unattended-run standing grants. |
| .agents/skills/drive-pr/SKILL.md | Canonical skill source updated to treat attended resume as implying the “to main promotion PR” target. |
| .agents/skills/agent-conduct/SKILL.md | Canonical skill source updated with the parked-handoff blocked governance rule. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The promotion-decision STOP moves from the worker, where it left a merged lane unrecorded, to the picker, and a parking decision issue now names the pull request it concerns so that check can find it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A parked decision now names each pull request it blocks, the open promotion included, and reuses an open decision already asking the same question, so the picker's promotion check finds it and no duplicate is filed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Answers Copilot on #1806: the attended pick walks the open links newest first and takes the first one not skipped, and the README states the cross-repository blocker and the parked-handoff differences plainly. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The attended pick now takes blocked links first, as parking promises, and asks when every link is skipped. A reused decision issue gains a comment naming the new handoff and every pull request it blocks. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes are internally consistent across governance, label taxonomy, and skill procedures, and the updated label description remains within the enforced labels.json contract.
Review effort: Lite
Findings: None
…rship to Main (#1827) Promotes `develop` to `main`. ## Carried - #1806: adds the unattended handoff loop and the attended resume procedure. - #1807: renames three skills and states which skill wins each shared trigger. - #1809: names a pin by its mechanism rather than its value, and audits for copies. - #1808: leads every choice with a recommendation and closes every session in order. - #1813: bans every version literal in the four instruction documents and catches abbreviated SHAs, following #1809. - #1820: refuses a coverage marker indented into a code block, per #1725. - #1823: states that the hub commits audit reports and that a downstream session resyncs itself. This covers the Fleet Bootstrap section, the host fleet block, `RESYNC.md`, `AUDIT.md`, `check-this-repo`, and `resync-a-repo`, and settles #1822. The Fleet Bootstrap section is byte-locked, so every carrier reports drift on it until its next resync. - #1825: strips a tilde or unclosed fence before reading review coverage, per #1821. Closes #1725 Closes #1821 Closes #1822 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
unattended-handoffskill. A lean orchestrator runs rounds. Each round dispatches a picker subagent, which picks or creates anauto-<issue>handoff whose work needs no maintainer decision. It then dispatches a worker subagent, which fixes the issue, merges as far as the invocation scope allows, and closes the lane out. The orchestrator holds only one-line returns, so its context stays flat over a long run.developis the default.mainalso merges each round's promotion PR, andreleasealso dispatches the release.merge-and-releaserecognizes this as its one standing grant.decisionissue with a recommended option, comments the lane's state on the handoff, and labels the handoffblocked.session-handoff. "Resume the handoff" alone now picks the newest open link and resolves a parked lane's decision first. It drives to a mergeable promotion PR, asks every question as a dialog with the recommendation and its reason, writes the next link, and saves memories last.blockedis widened (GOVERNANCE,repo-config/README.md,labels.json) to cover a handoff parked on adecisionissue in the same repository. Only a session handing the link back removes it.AGENTS.md"Session Scope" now names the closed-out track.drive-prrecognizes the attended procedure's main target.Verification
build_dist.py --check,prose_lint.py --diff origin/develop,docker_lint.py(7 linters),spec/validate.py, and thetest_build_dist/test_prose_lintsuites pass.🤖 Generated with Claude Code