You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should the dotfiles instructions drop the stale multi-line commit message rule? #15664
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-owner-decisionAwaiting a human or maintainer judgment call.needs-triageNot yet classified. Floor until a type and one priority tier are set.wayfind: interviewWayfind decision item: contract/requirements call the user must make; human in the loop.
Should the dotfiles user instructions drop the rule "never a multi-line -m" for commit messages?
From the talk
Chapter 2 and 3, slides 11 and 23: prose is the judgment layer; a rule a check already decides, or that is wrong, should go.
Today and the gap
The guardrails hook measured multi-line messages as safe and blocks only $ and backticks (plugins/guardrails/hooks/block-noncanonical-commit.sh:11-15), so the prose rule is stale.
Recommendation
Delete it (immediate takeaway, menu priority P0). Basis: the hook lines above.
Alternatives
Reword it to match what the hook blocks; keep it.
Done would add
Decided here, built in the dotfiles repository: one line removed from the shared agent instructions.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: intent
Blocked by: none
I understand the question: should the dotfiles user instructions drop the "never a multi-line -m" commit rule? The issue recommends deleting it. The hook comment in plugins/guardrails/hooks/block-noncanonical-commit.sh:5-16 agrees. It blocks only $ and backticks that the shell would rewrite, and it passes multi-line messages. The edit itself would be made in the dotfiles repository, not here.
Which of the listed options to take is an owner decision.
Delete the rule, reword it to match the hook, or keep it? RECOMMENDED: delete it. Basis: plugins/guardrails/hooks/block-noncanonical-commit.sh:15-16, where the hook measured multi-line messages as safe and a check already decides the real hazard.
To answer, post a comment that starts with this line:
Resolved (owner, 2026-11-13: "go w/ recommendations"): delete the whole sentence ("Give git commit a multi-line message with -F <file> or a heredoc, never a multi-line -m") from the dotfiles user instructions. The worker-brief line that names git commit -F <file> as a working form stays: it states a form, not a ban.
Basis:
The talk, slide 11, transcript 1:04:06: prose is for "things that require judgment"; a rule a check already decides is not judgment. Slide 20, 1:07:56 to 1:08:26: agents "over-rotate on some small correction that you made, and they treat it like a hard rule that can never be broken ever again."
Her correct skill: "Drop a rule once its mistake can't happen" (pstack/skills/correct/SKILL.md:30).
The rule was written on 2026-10-16. The same day, guardrails 0.52.0 changed the hook so it "no longer blocks a message only because it spans several lines" (plugins/guardrails/CHANGELOG.md:1067-1069). The hook now blocks only a $ or backtick the shell would expand, and its block message names the fix (plugins/guardrails/hooks/block-noncanonical-commit.sh:5-16,992-1007).
Not chosen: rewording it to the hazard (restates the hook's own message); keeping it (forbids a form the hook measured safe).
Caveat: a fleet lane that renders the instructions without guardrails enabled loses both the hook and the rule.
Build: a one-line edit in the dotfiles repository, riding with dotfiles #1556.
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-owner-decisionAwaiting a human or maintainer judgment call.needs-triageNot yet classified. Floor until a type and one priority tier are set.wayfind: interviewWayfind decision item: contract/requirements call the user must make; human in the loop.
Activity
github-actions commentedon Nov 12, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: intent
Blocked by: none
I understand the question: should the dotfiles user instructions drop the "never a multi-line
-m" commit rule? The issue recommends deleting it. The hook comment inplugins/guardrails/hooks/block-noncanonical-commit.sh:5-16agrees. It blocks only$and backticks that the shell would rewrite, and it passes multi-line messages. The edit itself would be made in the dotfiles repository, not here.Which of the listed options to take is an owner decision.
plugins/guardrails/hooks/block-noncanonical-commit.sh:15-16, where the hook measured multi-line messages as safe and a check already decides the real hazard.To answer, post a comment that starts with this line:
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 12, 2026
The triage verdict left this issue at
needs-owner-decision:Reason:
intentkyle-sexton commentedon Nov 13, 2026
Resolved (owner, 2026-11-13: "go w/ recommendations"): delete the whole sentence ("Give
git commita multi-line message with-F <file>or a heredoc, never a multi-line-m") from the dotfiles user instructions. The worker-brief line that namesgit commit -F <file>as a working form stays: it states a form, not a ban.Basis:
correctskill: "Drop a rule once its mistake can't happen" (pstack/skills/correct/SKILL.md:30).plugins/guardrails/CHANGELOG.md:1067-1069). The hook now blocks only a$or backtick the shell would expand, and its block message names the fix (plugins/guardrails/hooks/block-noncanonical-commit.sh:5-16,992-1007).Not chosen: rewording it to the hazard (restates the hook's own message); keeping it (forbids a form the hook measured safe).
Caveat: a fleet lane that renders the instructions without guardrails enabled loses both the hook and the rule.
Build: a one-line edit in the dotfiles repository, riding with dotfiles #1556.
kyle-sexton commentedon Nov 13, 2026
Done (2026-11-13): Resolved; see the resolution comment.