Skip to content

Should folder-per-feature and file-suffix conventions be offered as derivable conventions? #15660

Closed

Description

@kyle-sexton

Question

Should folder-per-feature and file-suffix conventions (for example *.hot.ts) be offered as derivable conventions?

From the talk

Chapter 4, slide 19: directory structure and file names are context for agents; import bans keep it.

Today and the gap

Not offered. The ladder's architecture-test rung exists, but no skill derives or proposes these conventions.

Recommendation

Investigate (menu priority P2), as a conventions lens in /architecture:improve, discovering the consumer's language at run time (no shipped language specifics). Basis: the gap above; constraint C1.

Alternatives

Leave it to /corrections:codify when a correction recurs; decline as consumer-specific.

Done would add

A conventions lens that reports where a repository's structure would carry more context. Dogfood: run against this repository's plugins/ tree.

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

    Understood: you ask whether folder-per-feature and file-suffix conventions should be offered as derivable conventions, probably as a conventions lens in /architecture:improve. The lens would discover the consumer's language at run time. The issue lists alternatives (leave it to /corrections:codify, or decline as consumer-specific), so the owner needs to pick the direction. No duplicate or merged fix found.

    1. Should this be built as a conventions lens in /architecture:improve, rather than left to /corrections:codify or declined? RECOMMENDED: build the lens, as the issue proposes. It fills the gap named in the issue: no skill derives these conventions today.

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

    **Decision recorded.** <answer>
    

    Automated triage. A maintainer reviews it.

  4. added
    needs-owner-decision
    needs-triage
    on Nov 12, 2026
  5. 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

  6. kyle-sexton commented on Nov 13, 2026

    @kyle-sexton
    MemberAuthor

    Resolved: yes, as a layout lens on /architecture:improve, not as shipped folder or suffix conventions.

    From the talk. Slides 17 and 19 and the transcript at 1:07:27 to 1:07:56: "context through directory structure". Two top-level folders with imports between them banned, one folder per feature, and a file suffix (tick.hot.ts) that signals a rule. None of it is in her public plugin; they are designs of her own codebase.

    What we already have. The conventions lens derives folder and naming patterns a repository already repeats (plugins/architecture/skills/improve/research/conventions/README.md:13-18); the boundaries lens covers import bans; /corrections:codify turns a correction into structure; /coupling:reduce mines which files change together (SKILL.md:104).

    The gap. No skill asks whether the layout itself helps: whether files that change together live together, whether a feature is scattered across folders named for technical concerns, whether an agent can find everything for one feature from one place.

    Decision (owner, 2026-11-12: "Perfect. Okay, let's go with recommendations."). A fourth lens on /architecture:improve: style-agnostic (it reads the repository's recorded architecture and never imposes one), evidence first (co-change from history), proposing and never moving files. Built as Add a layout lens to architecture:improve that checks whether files that change together live together, held for its own interview.

    Declined. Shipping folder-per-feature or a file suffix as a convention (the shape depends on the consumer's architecture), and a separate skill (the scan, pick and interview flow is the same as the other lenses).

    Basis: the lens table and the lines cited above were read; each lens's full method was not.

  7. kyle-sexton commented on Nov 13, 2026

    @kyle-sexton
    MemberAuthor

    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