Skip to content

fix(delivery): review-inputs.sh resolves feature/<N>-adr to the feature - #1611

Merged
V3RON merged 2 commits into
mainfrom
bug/1608
Nov 16, 2026
Merged

V3RON merged 2 commits into
mainfrom
bug/1608

Conversation

@V3RON

@V3RON V3RON commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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-amend

Assumptions

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.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed 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 Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

@V3RON

V3RON commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 48e045a

Runs: 6. Cost USD: 0.8628. Agent seconds: 423.
Tokens input 86, output 17388, cache read 1238118, cache write 176359.
- build implementer: claude-sonnet-5-5 101 s $0.1406
- audit implementer: claude-sonnet-5-5 47 s $0.0868
- review 1 reviewer: claude-sonnet-5-5 166 s $0.2321
- review 1 spec: claude-sonnet-5-5 10 s $0.0808
- review 1 code both: claude-opus-5-5 87 s $0.2481
- review 1 claims: claude-sonnet-5-5 12 s $0.0744
Finding outcomes: {}. Classes: {}.
{"findings":[]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review November 16, 2026 14:56
@V3RON
V3RON merged commit 0ca6059 into main Nov 16, 2026
65 checks passed
@V3RON
V3RON deleted the bug/1608 branch November 16, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

review-inputs.sh finds no issue for a feature/<N>-adr branch, so ADR reviews miss the spec

1 participant