Docs and decision records do not separate the goal of a choice from its means
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github, markdown, shell
- Domain
- documentation
Research direction
Start with docs/doc-rules.md and the listed sections in CONTRIBUTING.md, .agents/skills/review-design/SKILL.md, .agents/skills/review-architecture/SKILL.md, and the issue and pull request templates. Read the proposal and evidence, then review issues #37 and #34 and the pull-request skill's cold-read check. Done means the maintainer's concept and scope decisions are resolved and the affected guidance is updated consistently; the issue is active, but those decisions make it design work.
Written by the indexing model from the issue text.
Description
Kind
Missing
Location
docs/doc-rules.md: no definition of a goal. Skills row of Where to write (line 30) and layer 4 of the AI text layers (line 57)CONTRIBUTING.mdMessage format, theWhyfield (line 32).agents/skills/review-design/SKILL.mdline 49: "A rule indocs/design/overview.mdis always a goal.".agents/skills/review-architecture/SKILL.mdline 8.github/ISSUE_TEMPLATE/feature_request.ymlline 13,.github/pull_request_template.mdsections Why and Validations
Version
17e73ed
Problem
This project keeps decision records so that a later reader can judge a decision. The reader asks: is the chosen means still right, and can a different means do the same job? To answer, the reader needs the goal: the effect that every acceptable means must give. No doc defines a goal or asks a writer to state one.
What this issue must reach:
- A reader of a commit, an issue, a PR, a rule or a skill step can tell its goal from its means.
- A reader can replace a means that does not fit, and knows what the replacement must still give.
- A reader can tell a means that the maintainer requires from a means that is only suggested.
What goes wrong now:
- An agent follows a skill step literally and loses the goal of the step. Step 5.4 of trace-decision stops at "the sources do not give the reason" (#37).
- The PR rule for Validations asks for an action, "Write the commands that you ran", not for the facts that a reviewer needs. PR bodies then repeat CI results (#34).
- Commit
Whylines state the goal at the level of the mechanism. A reader who takes that statement as the goal can miss a different means for the real goal (see Evidence). Whyholds different kinds of content: the old state, the goal, the new means, and why the new means works. Nothing tells them apart.- review-design treats each rule in
docs/design/overview.mdas a goal. A maintainer can require a means. The requirement does not make the means a goal. - review-architecture sets "make them deep" as the target. Code that is easy to change and to test is the goal. A deeper module is one means.
- The Feature request form asks "what is missing?". A writer then gives a missing means as the problem.
Evidence
- 9c27000 removes the
Design:line. Its Why says that the line "breaks when the heading changes or the section moves". The goal is that a reader can find the decision record for a piece of code. TheDesign:line and a comment link are two means for this goal. - fcba19d allows placeholders in skill commands. Its Why says that "every command that gave a wrong result ended with empty output and no error". The goal is that an agent does not misjudge the result of a command. A command that fails on wrong input is one means: it gives the agent feedback. 48d854b is another means for the same goal: a script with tests replaces the Git commands of step 5.
Whycontent, by kind: old state or missing means (30afb57 "The Feature request form did not ask which revision"), goal (80dc651 "the reader cannot tell if it was accepted or missed"), new means (3ff09db "Use Git move detection", e5d6a9e "It now prints"), why the means works (48d854b "A script handles these cases in code, and tests check them").Rejectedreasons depend on conditions, but the field does not name them: 30afb57 "a new idea may not depend on a checkout", fe1355f "no case has needed a search … yet".
Proposal
Decide the concepts first. Change the texts after that.
- Define these in
docs/doc-rules.md.CONTRIBUTING.mdand the skills point to the section:- Goal: the effect that a replacement means must still give. Test: "If this means were impossible, what would you still want?"
- State a goal as the effect on a reader or a user, for example "an agent does not misjudge the result of a command". Do not state a property of the means as the goal.
- Required means: a means that the maintainer requires. Its goal is still stated.
- Apply the concepts to the commit
Whydefinition, the issue and PR templates, the cold-read check of the pull-request skill, review-design line 49, review-architecture line 8, #37 and #34. - Keep the field names. Consider a
Goal:field only if newWhylines still mix the goal with the other content after step 2. After a rename, Git history keeps the old names, so the trace-decision skill and the docs must read two sets of names. The collector prints full commit messages and does not parse field names.
Decisions for the maintainer:
- Which unit states a goal: each choice or procedure that someone can replace alone, or a finer or larger unit?
- Can a contributor replace a skill step with a means that gives the same goal, or must the contributor propose the change first?
- Must a commit body state its goal so that a reader without GitHub understands it, or is a link to the issue enough?
- Where does the current goal of a rule or design live: next to the rule, in a design doc, or both with the commit citing it?
- Dominant language
- Shell
- Stars
- 1
- Forks
- 0
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 26
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from c-w-z/commit-decision-record
-
type/documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
c-w-z/commit-decision-record#90 · 1 comment ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
c-w-z/commit-decision-record#85 ·
Maintainers usually reply within 1 day
-
type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
c-w-z/commit-decision-record#84 ·
Maintainers usually reply within 1 day
-
type/feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
c-w-z/commit-decision-record#35 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue type/documentation
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
c-w-z/commit-decision-record#33 ·
Maintainers usually reply within 1 day
All issues in c-w-z/commit-decision-record
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsotto/sotto-authenticator#139 ·
Maintainers usually reply within 1 day
-
Battery "top up once" ends immediately when UPower reports fully-charged below 100%Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
omacom/omarchy#21286 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
libretro/libretro-super#2238 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ChurchCRM/docs.churchcrm.io#328 ·
Maintainers usually reply within 1 day