Repository navigation
Read the Open Handoff Chain Through handoff.py tracks --json in Both Skills - #2910
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed implementation, tests, and distributed instructions have no unresolved findings.
0 open findings
What changed in this PR
This PR makes handoff selection read the repository's issue connection instead of GitHub's lagging search index, so recently opened or closed links are reflected in the handoff workflow.
Changes:
- Adds
tracks --jsonwith the fields needed to select and rank open handoffs. - Updates both handoff skills to use that output and adds focused tests.
| File | Description |
|---|---|
tests/test_handoff.py |
Covers JSON output, edge cases, and connection-based reads. |
scripts/README.md |
Shows the new command option. |
scripts/handoff.py |
Implements tracks --json and label retrieval. |
.github/skills/unattended-handoff/SKILL.md |
Updates the distributed unattended workflow. |
.github/skills/session-handoff/SKILL.md |
Updates the distributed attended workflow. |
.claude-plugin/fleet-skills/skills/unattended-handoff/SKILL.md |
Updates the plugin's unattended workflow. |
.claude-plugin/fleet-skills/skills/session-handoff/SKILL.md |
Updates the plugin's attended workflow. |
.claude-plugin/fleet-skills/.source-digests/unattended-handoff |
Refreshes the generated source digest. |
.claude-plugin/fleet-skills/.source-digests/session-handoff |
Refreshes the generated source digest. |
.agents/skills/unattended-handoff/SKILL.md |
Changes the canonical unattended workflow. |
.agents/skills/session-handoff/SKILL.md |
Changes the canonical attended workflow. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2910 +/- ##
===========================================
+ Coverage 59.75% 59.77% +0.01%
===========================================
Files 16 16
Lines 8709 8713 +4
===========================================
+ Hits 5204 5208 +4
Misses 3505 3505
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…t Citation Fixes to Main (#2919) - #2910 reads the open handoff chain through `handoff.py tracks --json` in the `session-handoff` and `unattended-handoff` skills, not the search index - #2913 names the shared stash in the GOVERNANCE.md write-safety law and the host-wide agent-safety block - #2914 shares one GraphQL transport and cursor walker between `pr_review.py` and `handoff.py` - #2911 states the no-`push` condition in D4.1 and drops the `!= 'schedule'` form from the audit - #2918 lets a comment cite a contract section without echoing it, and cites the Concurrency exceptions by number Closes #2902 Closes #2900 Closes #2903 Closes #2904 Closes #2907 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Closes on promotion: #2902
Both handoff skills read the open chain with
gh issue list --label handoff, which GitHub answers from its lagging search index. They now runhandoff.py tracks --json, which reads the repository's issue connection.tracks --jsonprints number, title, track (null where the block is absent or unreadable), labels, and updatedAt. Exit codes are unchanged.Local review: 7 findings. Fixed: strict labels read, label page size, step references, walk wording,
$handoffpath, null-track wording. Declined: the closed-side read fetching labels it does not use, since a shared query is simpler than two.🤖 Generated with Claude Code