You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
review-inputs.sh finds no issue for a feature/<N>-adr branch, so ADR reviews miss the spec #1608
.agents/scripts/review-inputs.sh finds a PR's issue from its branch (<kind>/<n>) or a Closes #n line. A feature's ADR branch is feature/<N>-adr (delivery skill, step 3), so n is 602-adr, not a number. An ADR PR's body says "for feature #602", not "Closes". The inputs then hold no issue.md or feature.md, and the spec lens cannot check the ADR against the spec.
Seen on #1593 (ADR 0079 for #602): review round 1 reported Assessment: incomplete — the #602 spec and design tables were not in the inputs. Earlier ADR PRs (#467, #478, #418) had the same branch shape.
Expected
feature/<N>-adr* resolves to issue <N>, the feature itself, so the spec lens gets its body.
Confirmed. A feature/<N>-adr or feature/<N>-adr-<suffix> branch gives no issue.md. Branch bug/1608-repro, src/review-inputs.test.ts, "writes the feature as issue.md for a feature/-adr branch and a feature/-adr- one". It covers both shapes the deliver skill uses (feature/602-adr, feature/466-adr-amend).
pnpm exec vitest run --project unit src/review-inputs.test.ts
× writes the feature as issue.md for a feature/<N>-adr branch and a feature/<N>-adr-<suffix> one
AssertionError: expected null to be 'Feature 602.\n'
❯ src/review-inputs.test.ts:141:84
Tests 1 failed | 8 passed (9)
Root cause
Defect. .agents/scripts/review-inputs.sh:171 takes everything after the slash (602-adr), and line 172 drops it because it is not a number. The deliver skill names ADR branches feature/<N>-adr* (.claude/skills/deliver/SKILL.md:326). An ADR PR body has no Closes #n, so the fallback at 175-179 finds nothing too. The symptom shows in the spec lens, which gets no issue.md.
Simplest fix
Strip the -adr suffix on feature branches before the number check, and update the issue.md line of the header comment to match:
Activity
V3RON commentedon Nov 16, 2026
Reproduction
Confirmed. A
feature/<N>-adrorfeature/<N>-adr-<suffix>branch gives noissue.md. Branchbug/1608-repro,src/review-inputs.test.ts, "writes the feature as issue.md for a feature/-adr branch and a feature/-adr- one". It covers both shapes the deliver skill uses (feature/602-adr,feature/466-adr-amend).Root cause
Defect.
.agents/scripts/review-inputs.sh:171takes everything after the slash (602-adr), and line 172 drops it because it is not a number. The deliver skill names ADR branchesfeature/<N>-adr*(.claude/skills/deliver/SKILL.md:326). An ADR PR body has noCloses #n, so the fallback at 175-179 finds nothing too. The symptom shows in the spec lens, which gets noissue.md.Simplest fix
Strip the
-adrsuffix on feature branches before the number check, and update theissue.mdline of the header comment to match:Alternatives rejected
-<suffix>on every kind: no rule defines other suffixed branch shapes, so this widens what the script matches without a reason.Closes.Risk
feature.md. That is harmless but new for ADR reviews.Fast track
Written by an agent.
V3RON commentedon Nov 16, 2026
Delivery run
Merged: #1611 (#1608)
Parked: none
Waiting: none
Decided: none
Written by an agent.
fix(delivery): review-inputs.sh resolves feature/<N>-adr to the featu…