Skip to content

standards: per-concern standards layout #7583

Open
0 of 2 issues completed
Open

Description

@kyle-sexton

Parent

Refs #7555. Source: PLAN Phase 15, topic poteto-review. Thread: Standards layout.

Depends on

Outcome

Standards live in per-concern files loaded by progressive disclosure; AGENTS.md holds no review
rules; REVIEW.md and other tool-specific files point at the per-concern files or are generated from
them, opt-in.

Decisions

  • No single coding-standards file and no review rules inside AGENTS.md; standards split per concern,
    loaded by progressive disclosure; tool-specific files point at that source or are generated from it
    (D97, Q150, Q570). Origin: ours (rejects Matt's single file and Lauren's rule table in the
    instruction file).
  • REVIEW.md: generation is opt-in, keeps a hand-maintained section; the nit cap lives in its
    per-concern file (Q570). The Q565 link-following probe is withdrawn (GUIDE 122): this repository's
    reviewers are the GitHub Actions review lanes running the review plugin, which follow REVIEW.md
    citations, so no probe gates this thread.
  • Gardening (retro, post-merge sampling, cleanup, scheduled) keeps the standards current (D97).
  • REVIEW.md syncs from melodic-software/standards, so the change there is another-repository work
    (owner stop).

Key interfaces

Variation verdicts: "REVIEW.md and other tool-specific review files: contain now; point at, or opt-in
generated from, per-concern files (Q570)."

Slices, filed when this phase starts: per-concern-split, review-md.

Done when

  • Every per-concern standards file exists and REVIEW.md links each one (the folder does not exist
    on main).
  • The drift check exits non-zero after a hand edit inside a generated block of a fixture copy and
    0 after regeneration.
  • Every slice sub-issue is closed by a merged PR.

Out of scope

  • Loading the standards index by default (parked item).
  • Fanout criteria slices (review thread).

Activity

  1. added
    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
    on Oct 16, 2026
  2. added theissue type on Oct 16, 2026
  3. github-actions commented on Oct 16, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: structural
    Basis: automated intake triage; the lanes App applied this class.

    Size: Large
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Decision recorded. This issue's - [ ] criteria are already in its body, written by a listed human. The owner amended D97/Q150 on 2026-10-16 to allow one pointer line in AGENTS.md. Nothing new is decided here. [...]
    [quote truncated; the full decision is at the link]

    #7583 (comment)

    The decision settles the open questions: standards go into per-concern files, AGENTS.md keeps one pointer line, and the issue closes through its sub-issues (per-concern-split, review-md). Nothing is left to ask.

    I found no open duplicates. The dependency #7571 isn't in the open-issue list I was given, so I couldn't confirm its state. Part of the work is in melodic-software/standards, which is a separate repository.

    Automated triage, applied by the lanes App.

  4. kyle-sexton commented on Oct 16, 2026

    @kyle-sexton
    MemberAuthor

    What the article adds to the standards layout, and the owner's 2026-10-16 decisions. Source: https://claude.dev/blog/solving-code-review-at-anthropic (2026-10-15); ids are digest unit and claim.

    Owner decisions, 2026-10-16.

    • D97/Q150 (GUIDE 97) is amended to allow one pointer line in CLAUDE.md/AGENTS.md to the per-concern review files. Reason: local /code-review reads CLAUDE.md, and its docs say of REVIEW.md: "It doesn't read REVIEW.md" (https://code.claude.com/docs/en/code-review-local). Without a pointer, a local review sees none of this repository's review rules. The line is a pointer, not a rule, so Q150's "no review rules inside AGENTS.md" holds.
    • The rule list now under AGENTS.md ## Code Review Rules moves into the per-concern files, leaving only the pointer line.

    The gap is narrow: under Q500 (GUIDE 75) a repository with a CI lane runs no local review, and the CI lanes follow REVIEW.md citations (GUIDE 122). It affects ad hoc local sessions and consumers set to review_venue: local.

    A suggestion from the ADR review consensus, not an owner decision: load the per-concern files by path scope, so each enters context only when a file it covers is touched.

    This thread already puts the nit cap in its per-concern file (Q570). The article's REVIEW.md traits it lacks (04 C18-C20), which belong in those files:

    • Keep it short.
    • Say what failure looks like in this repository (for docs "it lies", for config "it misroutes").
    • List paths to skip.
    • Ask for a file and line as evidence instead of a guess from a name.
    • Ask for a summary that starts with a count and says plainly when there is nothing to fix.

    The article also checks separately whether the reviewer follows REVIEW.md (04 C17).

    Background only: managed Code Review is not used here (GUIDE 122, Q594). Q570's generated REVIEW.md stays an opt-in for consumers on that service.

    Against the originating sources. This thread rejects Matt's single standards file and Lauren's rule table in the instruction file. The article agrees with pointing out of a short CLAUDE.md (04 C14); its reviewer also flags code that breaks a CLAUDE.md convention (04 C15). The pointer line meets 04 C15 without putting rules in the instruction file.

    Related: #7576 (PR template), #7573 (codify destinations), #7638 (whether rules take effect).

  5. removed
    needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
    on Oct 24, 2026
  6. kyle-sexton commented on Oct 24, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-24 rule: an issue stops for a person only for an intent or vision question, a security call, a host or attended run, or spend outside prepaid credit. The hold label came off and intake triage runs again now; it re-applies a hold, with a numbered question, when one of those applies.

    To hold this issue again, add needs-human (or status: needs-decision) and say why in a comment.

  7. added
    needs-triageNot yet classified. Floor until a type and one priority tier are set.
    on Oct 24, 2026
  8. 4 remaining items

  9. added
    work-class: structuralRefactors, migrations, contract changes; cross-cutting and hard to reverse.
    status: needs-decisionAwaiting a human or maintainer judgment call.
    and removed
    status: readyTriaged, unblocked, and fully specified; eligible to pick up.
    on Oct 24, 2026
  10. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: Size large: the split into sub-issues at intake is pending (owner Q93).

  11. melodic-automation-lanes commented on Oct 24, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  12. changed the issue type fromtoon Oct 25, 2026
  13. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. This issue's - [ ] criteria are already in its body, written by a listed human. The owner amended D97/Q150 on 2026-10-16 to allow one pointer line in AGENTS.md. Nothing new is decided here. Intake posted no refinement comment on this issue, so no refinement questions are open. It closes through its sub-issues (per-concern-split, review-md), never by a lane run on it.

    Sources, quoted verbatim:

    • standards: per-concern standards layout #7583 (comment) (owner decisions, 2026-10-16):

      D97/Q150 (GUIDE 97) is amended to allow one pointer line in CLAUDE.md/AGENTS.md to the per-concern review files.
      The line is a pointer, not a rule, so Q150's "no review rules inside AGENTS.md" holds.
      The rule list now under AGENTS.md ## Code Review Rules moves into the per-concern files, leaving only the pointer line.

    The same comment's path-scope loading idea is marked "not an owner decision" and is not part of this record.

    Body criteria as amended by those decisions (only the amended lines; the rest of the body's list stands as written):

    • The rule list under AGENTS.md ## Code Review Rules lives in the per-concern files, and AGENTS.md keeps only one pointer line to those files.
  14. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    Split at intake (owner Q93). This issue is Size Large, so its done-when is split into 2 sub-issues, each holding its task-list lines as written.

    Automated split by the lanes App. Admission waits on this issue while a sub-issue is open; work-unblock closes it as completed once every sub-issue is closed by a merge or a listed human.

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-specNeeds a Brief or plan before anyone can build it.priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.work-class: structuralRefactors, migrations, contract changes; cross-cutting and hard to reverse.

    Type

    Fields

    Work status

    needs-spec

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions