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 }}
Repository navigation
fix(delivery): review-inputs.sh resolves feature/<N>-adr to the feature - #1611
feature/<N>-adr* resolves to issue <N>, the feature itself, so the spec lens gets its body. — test in src/review-inputs.test.ts covers feature/602-adr and feature/466-adr-amend
No actionable comments were generated in the recent review.
Walkthrough
The branch parser now removes the -adr suffix and any following text from feature branch names before validating the issue number. The test fixture accepts a configurable pull-request head ref. Tests verify that feature/602-adr and feature/602-adr-amend select the feature issue body for issue.md.
Severity of issue fixed: Medium
Merge Risk: Minimal · up to 48e04
ADR branches such as feature/602-adr and feature/602-adr-amend now resolve to their feature issue, so ADR reviews receive the feature body. No merge-blocking risk remains.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: review-inputs.sh now resolves feature/-adr branches to feature issue N. The changeset adds that branch parsing (stripping the -adr suffix) and a test for feature/60…
Description check
The description links issue #1608 and describes the change: feature/-adr branches resolve to issue N, with a test covering feature/602-adr and feature/466-adr-amend. It also includes status and rev…
Linked Issues check
Issue #1608 requires that feature/-adr branches resolve to feature issue so the spec lens receives the feature body. At the reviewed head, .agents/scripts/review-inputs.sh adds a case clause th…
Out of Scope Changes check
The whole-PR diff against the merge base changes three areas: the branch-to-issue parsing in review-inputs.sh, the usage comment for issue.md in the same script, and the test file with its fixture cha…
Full details: Title check
Explanation
The title names the main change: review-inputs.sh now resolves feature/<N>-adr branches to feature issue N. The changeset adds that branch parsing (stripping the -adr suffix) and a test for feature/602-adr and feature/602-adr-amend. The title uses a conventional commit prefix and is specific, so it is a clear match.
Full details: Description check
Explanation
The description links issue #1608 and describes the change: feature/<N>-adr branches resolve to issue N, with a test covering feature/602-adr and feature/466-adr-amend. It also includes status and review notes. It is related to the changeset, so the check passes.
Full details: Linked Issues check
Explanation
Issue #1608 requires that feature/<N>-adr branches resolve to feature issue <N> so the spec lens receives the feature body. At the reviewed head, .agents/scripts/review-inputs.sh adds a case clause that matches feature/[0-9]-adr and feature/[0-9]-adr-* and strips the -adr suffix from n before the numeric check. The issue number is then set to <N>. Branches with no numeric prefix still resolve to no issue. The new test in src/review-inputs.test.ts asserts that feature/602-adr and feature/602-adr-amend write the feature body ("Feature 602.") to issue.md. The test fixture gains a configurable head ref and a FEATURE issue fixture. The issue has no non-coding requirements. The test was not executed during this review; the assertion was checked by reading the diff only.
Full details: Out of Scope Changes check
Explanation
The whole-PR diff against the merge base changes three areas: the branch-to-issue parsing in review-inputs.sh, the usage comment for issue.md in the same script, and the test file with its fixture changes. All three directly implement or verify the #1608 requirement. No unrelated files or behavior changes appear in the summary or the diffs read. The default head value of the test helper keeps existing tests on bug/12.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: QUIET
Plan: Advanced
Run ID: a6e265b7-00c1-41b4-aa6c-4ce0766bd97f
Commits
Reviewing files that changed from the base of the PR and between 5e639b4 and 48e045a.
Files selected for processing: 2
.agents/scripts/review-inputs.sh
src/review-inputs.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.
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
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.
Closes #1608
Status
Implement: done (9/9 green) Review: round 1 passed, 0 findings Hardware: n/a Gate: running
Next: gate
feature/<N>-adr*resolves to issue<N>, the feature itself, so the spec lens gets its body. — test in src/review-inputs.test.ts covers feature/602-adr and feature/466-adr-amendAssumptions
none
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 1.1M.
Runs: 6. Cost USD: 0.8628. Agent seconds: 423.
Assessment: complete
Written by an agent.