Skip to content

Which of this repository's own checkable prose rules should get a check? #15663

Closed

Description

@kyle-sexton

Question

Should this repository add checks for its own prose rules that have a pattern and no check?

From the talk

Chapter 3, slides 12 and 23: every correction becomes a check; applied here to ourselves.

Today and the gap

8 of 13 checkable prose rules here have no check or only an advisory one. Candidates: prices in skills and docs (.claude/rules/cost-claims.md); stored-value stamps; a bare ruff call (.claude/rules/ruff-pin.md); the Pre-existing (advisory): marker; agent-shell VAR=, export and redirects. Stamp defects are swept by hand today, for example docs: cut restated upstream behavior left by the stamp sweep (batch 5).

Recommendation

Do it (menu priority P0, full slice): one check per rule, each with a message that names the fix and proven against the old code via /corrections:codify. Basis: the count above.

Alternatives

Pick a subset by how often the rule is broken; keep advisory checks advisory.

Done would add

New scripts/check-* entries wired into CI, and the prose rule shortened to a pointer where the check now owns it.

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: Large
    Complexity: Medium
    Uncertainty: Knowable
    Flags: intent
    Blocked by: none

    I understood this as a request to add CI checks (scripts/check-*) for the 8 prose rules that have a pattern but no check or only an advisory one. Examples are prices in docs, stored-value stamps, a bare ruff call, the Pre-existing (advisory): marker, and agent-shell VAR=, export and redirects. The prose rules would then shrink to pointers. I found no duplicate and no merged fix.

    The issue gives a recommendation and an alternative (a subset), so the scope is an owner call.

    1. Should all 8 rules get a check in one slice, or only a subset?
      RECOMMENDED: All 8, split into one change per rule. Basis: the issue's count of 8 of 13 unchecked rules, and its own P0 recommendation.
    2. Should existing advisory checks become blocking?
      RECOMMENDED: No, keep them advisory. Basis: the issue's stated alternative and its "keep advisory checks advisory" wording.

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    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"): a subset ranked by evidence, not every checkable rule. A full inventory found 22 checkable rules in AGENTS.md, .claude/rules/ and docs/review/ (the issue's "8 of 13" could not be reconstructed): 4 blocking, 3 partly blocking, 3 advisory, 12 with no check.

    Five checks, in this order, each through /corrections:codify (rung and proof) and built by /implementation:implement; every check's message names the fix (decision on check output); each prose rule is shortened to a pointer once its check lands:

    1. Rules index matches .claude/rules/: the check exists (plugins/instruction-placement/git-hooks/index-check.sh); wire it into CI. Two past drift fixes.
    2. A stored value's as-of date carries a recheck trigger: 16 current stamps without one; shrink-only baseline.
    3. The Pre-existing (advisory): marker on follow-ups: 20 of 75 merged pull requests with ## Follow-ups had unmarked bullets. AGENTS.md first says whether a non-advisory follow-up is allowed.
    4. A docs-page pointer has a section anchor: 246 anchorless docs links in about 85 skill and agent files; advisory first, with a baseline.
    5. No prices or savings figures: about 6 fix commits; a regex with an exemption list for the two stated exceptions.

    Also: align the force-push prose and the hook (plugins/guardrails/hooks/block-dangerous-git.sh:245 accepts --force-with-lease --force-if-includes, which AGENTS.md does not allow).

    Skipped, each because it has 0 current violations and no fix history; revisit on the first violation: a bare ruff call, raw transcripts in eval cases, bypass mode in lanes, the review-finding caps. The shell-shape rule belongs to the dotfiles decision.

    Basis:

    • The talk, slide 23, transcript 1:10:19: "every time we correct our agents, it turns into one of these deterministic checks". Slide 39, 1:16:34: "Start with a lint rule to prevent new occurrences of anti-patterns. And then clean up those old patterns as well", which is the shrink-only baseline.
    • Her correct skill: "If the pattern is already common, fail only when a change adds more" and "Drop a rule once its mistake can't happen" (pstack/skills/correct/SKILL.md:20,30).
    • The inventory was built by a read-only subagent; two rows were spot-checked.

    Open points for the builds: whether the follow-ups marker check lives here or in the pull-request contract action in melodic-software/ci-workflows; whether the testing calibration file meets the measured-run exception.

    Build: six agent-ready items (five checks and the force-push alignment), filed when the map closes; they feed the rule-to-enforcer inventory.

  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

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions