fix: record settled ADR decisions inline when grilling #120

Merged
jercik merged 1 commit from fix/grill-record-adr into main 2026-10-08 10:27:39 +00:00
Owner

Follows up #106 and its unresolved review finding: grill-with-docs said to offer an ADR once a decision passed the admission test, while project-docs says to write settled decisions down right then.

The line now says to record the ADR inline when the user settles a qualifying decision. The admission test is unchanged. I did not run an agent interview to measure how often the old wording left a decision unrecorded, so the failure is inferred from the two skills as written.

🤖 Generated with Claude Code

Follows up #106 and its unresolved review finding: `grill-with-docs` said to offer an ADR once a decision passed the admission test, while `project-docs` says to write settled decisions down right then. The line now says to record the ADR inline when the user settles a qualifying decision. The admission test is unchanged. I did not run an agent interview to measure how often the old wording left a decision unrecorded, so the failure is inferred from the two skills as written. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(skills): record settled ADR decisions inline when grilling
All checks were successful
commit-msg / commitlint (pull_request) Successful in 21s
Node tests / node:test (pull_request) Successful in 3m7s
Review / Review (pull_request_target) Successful in 1m49s
12f741f6b0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Review 01M4832P4QHEAMDTNCDGYN3H73 — head 12f741f6b01ed2b466700bbec03ad29a4df71d75

Review — j4k-oss/agent-skills @ 60b5e29e7d

Scope: diff against base tree 160c43773584
Status: dispatched — coverage complete (5/5 slots terminal)
Facts: current review-wide projection

Computed under:

{
  "abandonment": "abandonment-v1",
  "anchor_recipe": 1,
  "batch_policy": "batch-v1",
  "coverage": "coverage-v3",
  "dispatch_policy": "dispatch-v2",
  "grounder_version": 1,
  "grounding_read_rule": "grounding-read-v1",
  "promotion_policy": "promotion-v1",
  "report": "report-v4",
  "tally": "tally-v1",
  "triage_settle": "triage-settle-v2"
}

Findings (1)

low — Inline documentation rules repeat the required project-docs skill

  • claim: 01M4838YECPT4ST015KB8R8688
  • anchor: skills/grill-with-docs/SKILL.md (snippet)
**Update `CONTEXT.md` inline.** When a term is resolved, update `CONTEXT.md` right then, not in a batch at the session's end. `CONTEXT.md` is a glossary and nothing else — never a spec, a scratch pad, or a home for implementation decisions.

**Record ADRs sparingly.** When the user settles a decision that passes the admission test in `project-docs`, record its ADR inline; otherwise skip the ADR.
  • lens: writing-quality · arm: default
  • verdicts: 1 valid / 0 invalid / 0 uncertain
    • pass 01M4D6HHGC18MKXESHZJMEA4QW · valid: The exact-grounded excerpt repeats inline recording, CONTEXT.md's glossary-only boundary, and the ADR admission requirement. The installed project-docs skill confirms those rules, and the reviewer supplies a concrete account of the earlier instruction that explicitly calls that dependency and requires following its formats and maintenance rules. This is a targeted redundancy deletion: the reported call preserves each removed obligation, and neither the excerpt nor the body identifies an interview-specific constraint lost by removing the paragraphs. The writing skill's One Idea, One Place rule specifically favors calling declared dependencies over repeating their instructions. The low-severity quality finding is supported.
  • disposition: none

The final paragraphs make each interview load a second copy of documentation rules and create another place to maintain them when the canonical policy changes. They add no behavior beyond the dependency this skill already requires and explicitly loads.

Earlier, the file says to call project-docs and follow its canonical formats and maintenance rules before creating or updating project docs. That dependency's maintenance rule says, ‘When the user settles a term or a decision mid-session, write it down right then.’ Its CONTEXT.md format says, ‘A glossary and nothing else,’ and excludes implementation details and scratch content. Its ‘When a decision deserves an ADR’ section supplies the admission test to which the final paragraph already points.

Delete both anchored paragraphs. The existing instruction to follow project-docs preserves prompt recording of settled terms and qualifying decisions, the glossary boundary, and the ADR admission requirement. This follows the writing standard's ‘One Idea, One Place’ guidance to call declared dependencies instead of duplicating their instructions, and its no-op test.

I read the complete changed skill, its required project-docs and grilling skills, and the diff. This is a static comparison of the loaded instructions; I did not run an interview. A distinct interview-specific exception or evidence that these repeated reminders prevent a mistake despite loading and following project-docs would warrant retaining the necessary part; neither is stated here.

Other claims

  • grounding-pending (0)
  • ungrounded (0)
  • rejected (0)
  • duplicate-of (0)
  • unadjudicated (0)

Coverage

Coverage pass: 01M4B3M9K0N9GQY4KQ0PRGKW2D
Accounting: complete
Slot health: healthy

lens part arm unit status runs loss
general-bug whole default no-claims 1 no
writing-quality whole default no-claims 1 no
test-trimming whole default no-claims 1 no
restated-sets whole default no-claims 1 no
project-docs whole default no-claims 1 no
<!-- review:summary --> **Review** `01M4832P4QHEAMDTNCDGYN3H73` — head `12f741f6b01ed2b466700bbec03ad29a4df71d75` # Review — j4k-oss/agent-skills @ 60b5e29e7d3e Scope: diff against base tree `160c43773584` Status: dispatched — coverage complete (5/5 slots terminal) Facts: current review-wide projection Computed under: ```json { "abandonment": "abandonment-v1", "anchor_recipe": 1, "batch_policy": "batch-v1", "coverage": "coverage-v3", "dispatch_policy": "dispatch-v2", "grounder_version": 1, "grounding_read_rule": "grounding-read-v1", "promotion_policy": "promotion-v1", "report": "report-v4", "tally": "tally-v1", "triage_settle": "triage-settle-v2" } ``` ## Findings (1) ### low — Inline documentation rules repeat the required project-docs skill - claim: `01M4838YECPT4ST015KB8R8688` - anchor: `skills/grill-with-docs/SKILL.md` (snippet) ``` **Update `CONTEXT.md` inline.** When a term is resolved, update `CONTEXT.md` right then, not in a batch at the session's end. `CONTEXT.md` is a glossary and nothing else — never a spec, a scratch pad, or a home for implementation decisions. **Record ADRs sparingly.** When the user settles a decision that passes the admission test in `project-docs`, record its ADR inline; otherwise skip the ADR. ``` - lens: writing-quality · arm: default - verdicts: 1 valid / 0 invalid / 0 uncertain - pass `01M4D6HHGC18MKXESHZJMEA4QW` · valid: The exact-grounded excerpt repeats inline recording, CONTEXT.md's glossary-only boundary, and the ADR admission requirement. The installed project-docs skill confirms those rules, and the reviewer supplies a concrete account of the earlier instruction that explicitly calls that dependency and requires following its formats and maintenance rules. This is a targeted redundancy deletion: the reported call preserves each removed obligation, and neither the excerpt nor the body identifies an interview-specific constraint lost by removing the paragraphs. The writing skill's One Idea, One Place rule specifically favors calling declared dependencies over repeating their instructions. The low-severity quality finding is supported. - disposition: none > The final paragraphs make each interview load a second copy of documentation rules and create another place to maintain them when the canonical policy changes. They add no behavior beyond the dependency this skill already requires and explicitly loads. > > Earlier, the file says to call `project-docs` and follow its canonical formats and maintenance rules before creating or updating project docs. That dependency's maintenance rule says, ‘When the user settles a term or a decision mid-session, write it down right then.’ Its CONTEXT.md format says, ‘A glossary and nothing else,’ and excludes implementation details and scratch content. Its ‘When a decision deserves an ADR’ section supplies the admission test to which the final paragraph already points. > > Delete both anchored paragraphs. The existing instruction to follow `project-docs` preserves prompt recording of settled terms and qualifying decisions, the glossary boundary, and the ADR admission requirement. This follows the writing standard's ‘One Idea, One Place’ guidance to call declared dependencies instead of duplicating their instructions, and its no-op test. > > I read the complete changed skill, its required `project-docs` and `grilling` skills, and the diff. This is a static comparison of the loaded instructions; I did not run an interview. A distinct interview-specific exception or evidence that these repeated reminders prevent a mistake despite loading and following `project-docs` would warrant retaining the necessary part; neither is stated here. ## Other claims - grounding-pending (0) - ungrounded (0) - rejected (0) - duplicate-of (0) - unadjudicated (0) ## Coverage Coverage pass: 01M4B3M9K0N9GQY4KQ0PRGKW2D Accounting: complete Slot health: healthy | lens | part | arm | unit status | runs | loss | | --- | --- | --- | --- | --- | --- | | general-bug | whole | default | no-claims | 1 | no | | writing-quality | whole | default | no-claims | 1 | no | | test-trimming | whole | default | no-claims | 1 | no | | restated-sets | whole | default | no-claims | 1 | no | | project-docs | whole | default | no-claims | 1 | no |
Author
Owner

Unadjudicated claim 01M4838YECPT4ST015KB8R8688 (low, "Inline documentation rules repeat the required project-docs skill"): confirmed. skills/project-docs/SKILL.md ("Update inline, don't batch") already says to write settled terms and decisions down right then, so the two inline bullets in grill-with-docs restate it. It is not a defect this PR introduces and does not make merging harmful, so it is tracked in #123, stacked on this PR.

The 12f741f review run failed with triage-failed (agent execution failed) and wrote no findings; a fresh review is being requested for this head.

Unadjudicated claim `01M4838YECPT4ST015KB8R8688` (low, "Inline documentation rules repeat the required project-docs skill"): confirmed. `skills/project-docs/SKILL.md` ("Update inline, don't batch") already says to write settled terms and decisions down right then, so the two inline bullets in `grill-with-docs` restate it. It is not a defect this PR introduces and does not make merging harmful, so it is tracked in https://code.j4k.dev/j4k-oss/agent-skills/pulls/123, stacked on this PR. The 12f741f review run failed with `triage-failed` (agent execution failed) and wrote no findings; a fresh review is being requested for this head.
Lines 24-26
@ -32,4 +32,4 @@ Follow its loading procedure and use its canonical formats and maintenance rules
**Update `CONTEXT.md` inline.** When a term is resolved, update `CONTEXT.md` right then, not in a batch at the session's end. `CONTEXT.md` is a glossary and nothing else — never a spec, a scratch pad, or a home for implementation decisions.
**Offer ADRs sparingly.** Offer to create an ADR only when the decision passes the admission test in `project-docs`; otherwise skip it.
**Record ADRs sparingly.** When the user settles a decision that passes the admission test in `project-docs`, record its ADR inline; otherwise skip the ADR.

low — Inline documentation rules repeat the required project-docs skill

The final paragraphs make each interview load a second copy of documentation rules and create another place to maintain them when the canonical policy changes. They add no behavior beyond the dependency this skill already requires and explicitly loads.

Earlier, the file says to call project-docs and follow its canonical formats and maintenance rules before creating or updating project docs. That dependency's maintenance rule says, ‘When the user settles a term or a decision mid-session, write it down right then.’ Its CONTEXT.md format says, ‘A glossary and nothing else,’ and excludes implementation details and scratch content. Its ‘When a decision deserves an ADR’ section supplies the admission test to which the final paragraph already points.

Delete both anchored paragraphs. The existing instruction to follow project-docs preserves prompt recording of settled terms and qualifying decisions, the glossary boundary, and the ADR admission requirement. This follows the writing standard's ‘One Idea, One Place’ guidance to call declared dependencies instead of duplicating their instructions, and its no-op test.

I read the complete changed skill, its required project-docs and grilling skills, and the diff. This is a static comparison of the loaded instructions; I did not run an interview. A distinct interview-specific exception or evidence that these repeated reminders prevent a mistake despite loading and following project-docs would warrant retaining the necessary part; neither is stated here.

lens writing-quality · arm default · tally 1 valid / 0 invalid / 0 uncertain
claim 01M4838YECPT4ST015KB8R8688 of review 01M4832P4QHEAMDTNCDGYN3H73

<!-- review:claim:01M4838YECPT4ST015KB8R8688 --> **low** — Inline documentation rules repeat the required project-docs skill > The final paragraphs make each interview load a second copy of documentation rules and create another place to maintain them when the canonical policy changes. They add no behavior beyond the dependency this skill already requires and explicitly loads. > > Earlier, the file says to call `project-docs` and follow its canonical formats and maintenance rules before creating or updating project docs. That dependency's maintenance rule says, ‘When the user settles a term or a decision mid-session, write it down right then.’ Its CONTEXT.md format says, ‘A glossary and nothing else,’ and excludes implementation details and scratch content. Its ‘When a decision deserves an ADR’ section supplies the admission test to which the final paragraph already points. > > Delete both anchored paragraphs. The existing instruction to follow `project-docs` preserves prompt recording of settled terms and qualifying decisions, the glossary boundary, and the ADR admission requirement. This follows the writing standard's ‘One Idea, One Place’ guidance to call declared dependencies instead of duplicating their instructions, and its no-op test. > > I read the complete changed skill, its required `project-docs` and `grilling` skills, and the diff. This is a static comparison of the loaded instructions; I did not run an interview. A distinct interview-specific exception or evidence that these repeated reminders prevent a mistake despite loading and following `project-docs` would warrant retaining the necessary part; neither is stated here. lens `writing-quality` · arm `default` · tally 1 valid / 0 invalid / 0 uncertain claim `01M4838YECPT4ST015KB8R8688` of review `01M4832P4QHEAMDTNCDGYN3H73`
jercik marked this conversation as resolved
Author
Owner

Replying to review comment #141031

Tracked in #123, which deletes the duplicated inline-update bullets in grill-with-docs in favour of the project-docs rule. The repetition is real but this PR did not introduce it, so it does not block merging head 12f741f; #123 owns the change.

> Replying to review comment #141031 Tracked in https://code.j4k.dev/j4k-oss/agent-skills/pulls/123, which deletes the duplicated inline-update bullets in `grill-with-docs` in favour of the `project-docs` rule. The repetition is real but this PR did not introduce it, so it does not block merging head 12f741f; #123 owns the change.
jercik merged commit 6632385c08 into main 2026-10-08 10:27:39 +00:00
jercik deleted branch fix/grill-record-adr 2026-10-08 10:27:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
j4k-oss/agent-skills!120
No description provided.