Repository navigation
docs(adr): clarify when to file a decision record - #9628
Conversation
Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 6:18 PM UTC · Completed 6:26 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.45 |
|
Ella asked me to post this to get clarity on #9265 |
PR Summary by QodoClarify when to file an architecture decision record
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
|
Risk Assessment: moderate (2/5) DetailsSmall documentation edit touching a protected skill file with moderate recent churn, multi-author contention, and change coupling in git history. Previous runRisk Assessment: moderate (2/5) DetailsSmall documentation edit touching a protected skill file with moderate recent churn, multi-author contention, and change coupling in git history. Previous run (2)Risk Assessment: moderate (2/5) DetailsSmall documentation edit touching a protected skill file with moderate recent churn, multi-author contention, and change coupling in git history. |
ReviewFindingsHigh
Low
Earlier findings
Next steps:
1 finding(s) below the Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6InBhdHRlcm4taW5jb25zaXN0ZW5jeSIsImZpbGUiOiJza2lsbHMvd3JpdGluZy1hZHJzL1NLSUxMLm1kIiwiaWQiOiJmXzAwMzJhYWZjODhiNTNhOTIiLCJsaW5lIjo5MywiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6InN0eWxlLWNvbnZlbnRpb25zIn0seyJzZXZlcml0eSI6ImluZm8iLCJjYXRlZ29yeSI6Im1pc3NpbmctYXV0aG9yaXphdGlvbiIsImZpbGUiOiJza2lsbHMvd3JpdGluZy1hZHJzL1NLSUxMLm1kIiwiaWQiOiJmXzk5ZDgxMzA3OWViNTBkZTUiLCJsaW5lIjo2NCwiYWN0aW9uYWJsZSI6ZmFsc2UsImRpbWVuc2lvbiI6ImludGVudC1jb2hlcmVuY2UifSx7InNldmVyaX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oiZl83MmUyNjk1YjlkM2JiMjNkIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNzAyNjU1YTAzNzkyYzRmYiIsInN0YXR1cyI6Im9wZW4ifV19 --> ReviewFindingsMedium
Low
Info
Earlier findings
Blocking prior findings:
Next steps:
1 finding(s) below the Previous run (2)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJsb3ciLCJjYXRlZ29yeSI6ImRvYy1zdHlsZSIsImZpbGUiOiJza2lsbHMvd3JpdGluZy1hZHJzL1NLSUxMLm1kIiwiaWQiOiJmXzliNWU1MjgxOTQ5M2I1OGEiLCJsaW5lIjo2NCwiYWN0aW9uYWJsZSI6dHJ1ZSwiZGltZW5zaW9uIjoic3R5bGUtY29udmVudGlvbnMifSx7InNldmVyaXR5IjoibG93IiwiY2F0ZWdvcnkiOiJkb2Mtc3R5bGUiLCJmaWxlIjoic2tpbGxzL3dyaXRpbmctYWRycy9TS0lMTC5tZCIsImlkIjoiZl9kYTBkMGRmYzQwYzUwOTcwIiwibGluZSI6OTQsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6InN0eWxlLWNvbnZlbnRpb25zIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoiZGVzaWduLXNtZWxsIiwiZmlsZSI6InNraWxscy93cml0aW5nLWFkcnMvU0tJTEwubWQiLCJpZCI6ImZfNzJlMjY5NWI5ZDNiYjIzZCIsImxpbmUiOjkxLCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoibWlzc2luZy1hdXRob3JpemF0aW9uIiwiZmlsZSI6InNraWxscy93cml0aW5nLWFkcnMvU0tJTEwubWQiLCJpZCI6ImZfNzAyNjU1YTAzNzkyYzRmYiIsImxpbmUiOjY0LCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJpbnRlbnQtY29oZXJlbmNlIn1dfQ== --> ReviewFindingsHigh
Low
Labels: PR edits the writing-adrs skill. Next steps:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Signed-off-by: Ralph Bean <rbean@redhat.com>
|
Following up on this review: I removed the PR-specific verdict and clarified the security-boundary guidance. I also added ADR 0170 to show that its expanded gate coverage and compatibility commitments are the architectural decision, not the version bump itself. |
|
Following up on this review: I fixed the heading and wrapping comments, removed the PR-specific judgment, and clarified the security-boundary guidance. The skills path is intentional because ADR filing guidance belongs in the writing-adrs skill; the discussion that prompted it is linked in the PR description. |
|
🤖 Finished Review · ✅ Success · Started 7:54 PM UTC · Completed 8:02 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.34 |
Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 1:17 PM UTC · Completed 1:24 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.07 |
jwm4
left a comment
There was a problem hiding this comment.
I support the direction here. Asking "what durable rule does this establish?" is a more useful test than "is it a feature?", and when I ran it over my own ADRs it sorted most of them the way I'd expect. I left one inline comment on a case I found hard to call.
Optional suggestion, not blocking: the new filing test only lives in the writing-adrs skill, which an agent loads when it writes an ADR. The rules for reviewing ADR PRs are in docs/contributing/adrs.md, which AGENTS.md points to for "reviewing ADR changes," and that file doesn't say when an ADR is warranted. So a review agent wouldn't think to ask whether a proposed ADR just applies an existing invariant. A one-sentence pointer in adrs.md to the new "Decide Whether to Write a New ADR" section would close that gap. docs/contributing/documentation.md also still says "Design decisions belong in an ADR," which is broader than the new test, so it could link there too.
Posted by Bill Murdock with assistance from Claude Code.
|
🤖 Finished Review · ✅ Success · Started 3:08 PM UTC · Completed 3:16 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.72 |
Site previewPreview: https://9c66c308-site.fullsend-ai.workers.dev Commit: |
|
Risk Assessment: moderate (2/5) DetailsExpanded documentation changes now touch two protected paths (AGENTS.md and the writing-adrs skill) with moderate multi-author contention and change coupling in git history, but remain small docs-only edits without CI or code dependencies, maintaining a moderate risk score. |
ReviewFindingsMedium
Low
Earlier findings
Labels: The PR changes ADR filing guidance, so it fits the existing type/adr label. 1 finding(s) below the |
Superseded by updated review
|
Finding threads left open (1):
|
Signed-off-by: Ralph Bean <rbean@redhat.com>
a71722f to
ada6664
Compare
|
🤖 Finished Review · ✅ Success · Started 3:41 PM UTC · Completed 3:50 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.46 |
|
Risk Assessment: moderate (2/5) DetailsAlthough AGENTS.md was removed to leave only one protected path (skills/writing-adrs/SKILL.md), moderate multi-author contention and regression history across the touched files maintain a moderate risk score for these documentation edits. |
ReviewFindingsMedium
Low
Next steps:
2 finding(s) below the |
Summary
We have been using ADRs for both lasting architectural choices and follow-on work that applies choices already made. This adds a filing test to the writing-adrs skill: identify the invariant a new ADR would establish or change, then check whether an existing record already covers it.
Related Discussion
This guidance grew out of a request to clarify ADR scope around PR #9265. I noted that request in the original comment on this PR. No separate tracking issue was filed for this documentation change.
Changes
Testing
make lintpasses after staging the skill file.Checklist