feat(agents): triage defer subtypes + partial-rollout linkage rule#953
Merged
feat(agents): triage defer subtypes + partial-rollout linkage rule#953
Conversation
Step 1 broadens child-of-open-parent detection (prose references and file-overlap, not just Fixes/Closes). Outcome 4 splits Defer into Out-of-cycle / Blocked-on / Fold candidate so blocked issues always leave a resurfacing trigger comment. Bundling adds an explicit Refs-vs-Closes rule for partial-rollout PRs (motivated by adcp-client#937 closing #935 despite shipping only 1 of 5 kinds). Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Aligns this repo's triage prompt with the canonical change in adcontextprotocol/adcp: broader detection of child-of-open-parent issues, a three-flavor split of the Defer outcome, and an explicit linkage rule for partial-rollout PRs.
What changes
Step 1 — broader child-of-open-parent detection. Now triggers on:
Fixes #N/Closes #Nreferences (existing)mainOutcome 4 — Defer split into three flavors:
Blocked-on: #N — resurfaces on mergeregardless of author tier. The comment is the audit trail and the resurfacing trigger.Linkage rule for partial-rollout PRs. When the issue proposes multiple items and the PR ships a subset, the body uses
Refs #N, notCloses #N.Closesis reserved for PRs that fulfill the entire issue scope. Motivated by adcp-client#937, which closed #935 despite shipping only 1 of 5 proposedStoryboardStepHintkinds — the Bundling spirit said "leave the parent open," but the PR-drafting step emittedCloses #Nby reflex. The new rule makes it explicit.Why now
The motivating gap: triage runs that defer an issue blocked on an open PR currently apply
claude-triagedand go silent for repo members. The dependency disappears — when the parent PR merges, nothing resurfaces the child issue. Same shape as the linkage bug, just on the opposite side: bot's intent ("track this work") and bot's wire-output ("close it / silently defer") were misaligned.No PR-creation logic changes. No expert cycles burned on deferred issues. Just better dependency tracking and clearer linkage discipline.
🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com