Skip to content

Should the dotfiles instructions drop the stale multi-line commit message rule? #15664

Closed

Description

@kyle-sexton

Question

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.

Activity

  1. added
    wayfind: interview
    needs-human
    on Nov 12, 2026
  2. added theissue type on Nov 12, 2026
  3. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    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.

    1. 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:

    **Decision recorded.** Delete the rule.
    

    Automated triage. A maintainer reviews it.

  4. added
    needs-owner-decision
    on Nov 12, 2026
  5. added
    needs-triage
    on Nov 12, 2026
  6. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

    The triage verdict left this issue at needs-owner-decision:

    • flagged: intent
    • held by needs-owner-decision
    • held by needs-human
    • no lanes App verdict comment shows whether an earlier verdict was flagged

    Reason: intent

  7. kyle-sexton commented on Nov 13, 2026

    @kyle-sexton
    MemberAuthor

    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.

  8. kyle-sexton commented on Nov 13, 2026

    @kyle-sexton
    MemberAuthor

    Done (2026-11-13): Resolved; see the resolution comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanneeds-owner-decisionneeds-triagewayfind: interview

    Type

    Fields

    Work status

    needs-human

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions