Skip to content

Read decision records in decision subfolders - #241

Merged
polewskm merged 5 commits into
mainfrom
worktree-issue-230
Nov 22, 2026
Merged

polewskm merged 5 commits into
mainfrom
worktree-issue-230

Conversation

@polewskm

Copy link
Copy Markdown
Contributor

The context stage reads the decision records in each decision folder's direct subfolders too, so the template's records in docs/decisions/project-template/ reach the context picker and the reviewers. A subfolder's record gets an id that names its subfolder, such as project-template ADR-0150, so it can't clash with the project's record of the same number; records directly in a decision folder keep ADR-<number>.
gather reads the proposed decision records from the project's own changed files only, so a template update that changes dozens of the template's records doesn't hand each one to every reviewer: they stay with the picker, which reads the default branch's copy.
Tests cover subfolder records, their ids, nested and superseded records, and a template-owned record in an adoption; the changelog moves [Unreleased] into v1.5.1.

Protected paths changed:
none

Release: v1.5.1
Closes #230

@polewskm
polewskm deployed to code-review November 22, 2026 15:14 — with GitHub Actions Active

@ncode-review ncode-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 NCode Review at 2b3b649: 2 new findings on the changed lines.

Comment thread src/context.ts Resolved
Comment thread src/context.ts Resolved

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 2b3b649: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Superseded by the review at 63baa40.

@polewskm polewskm self-assigned this Nov 22, 2026
@polewskm
polewskm marked this pull request as ready for review November 22, 2026 15:15
@polewskm
polewskm deployed to code-review November 22, 2026 15:15 — with GitHub Actions Active
@polewskm

Copy link
Copy Markdown
Contributor Author

/review

@ncode-review-approver ncode-review-approver Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 63baa40: no blocker or should-fix finding remains.

@ncode-review

ncode-review Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

🤖 Review complete

Verdict: ✅ Approve — Re-review of what changed since the last review at 2b3b649: 4 hunks in 1 file and changes taken back in 1 file, by correctness only. Earlier findings: F1 fixed, F2 fixed. No further findings above nits.

Approval: Approved — no blocker or should-fix finding remains.

1 reviewer run — 0 findings (run details)

Reviewer Model Findings Top
correctness sonnet-5-5 0 🟢

Trial: findings are posted as review threads and in the check run. $0.03 on Amazon Bedrock, 8s, at 63baa40. (how to interact)

📋 Outcomes

Merged at 63baa40: 2 fixed, 0 dismissed, 0 acknowledged, 0 ignored.

Finding Reviewer Severity Outcome
F1 hygiene, rule-check 🟡 Nit ✅ fixed
F2 rule-check 🟡 Nit ✅ fixed

@polewskm

Copy link
Copy Markdown
Contributor Author

Autopilot: this pull request is ready to merge as far as this run can tell.

  • One round of feedback: NCode Review's two nits on 2b3b649, F1 (decision id computed twice behind a !) and F2 (a comment past 120 columns), were both fixed in 63baa40, which the Landing gate passed before the push.
  • NCode Review re-reviewed 63baa40 on request: it found both findings fixed and nothing new, and the NCode Review Approver approved that head.
  • Nothing was declined, and no item was put to the maintainer.

Threads still unresolved, which the maintainer resolves before the merge:

@polewskm
polewskm merged commit 1d49231 into main Nov 22, 2026
6 checks passed
@polewskm
polewskm deleted the worktree-issue-230 branch November 22, 2026 15:29
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.

Reviewers never see the template's decision records in docs/decisions/project-template/

1 participant