Skip to content

Move ecosystem records from .claude/ecosystems to the convention home #16682

Closed

Description

@kyle-sexton

Problem

Every repository's ecosystem records (its build, test and lint commands) live under .claude/ecosystems/<ecosystem>.yaml. That folder belongs to one agent provider, so another agent or tool has to reach into it to read them. This repository already decided that plugin settings live in docs/conventions/<concern>.yaml (ADR 0064, ADR 0075); the ecosystem-commands contract chose .claude/ecosystems/ on purpose and recorded it as a deviation (docs/contracts/ecosystem-commands/README.md, "Seam classification").

Decision

Owner, 2026-11-16, typed in the GitHub Work session, verbatim: ".claude/ecosystems/.yaml is the wrong location ... We need some sort of provider-agnostic location to put this stuff, and also so that, for other agents, it's all kind of centralized. It's clean, it's compartmentalized, just like we do with the normative state, with our docs/standards, docs/conventions". He then accepted the recommendation that the move be its own issue after #16646 ("Yes, go with recommendations."). Posted by an agent session.

Done when

  • Toolchain's reader, the ecosystem-commands contract, the setup skill and code-metrics (the second reader) resolve records from the convention home, docs/conventions/ecosystems/<ecosystem>.yaml, with the personal and user-global layers given a matching home.
  • Every repository that holds records is migrated in one sweep, and none reads PASS from a record the new reader no longer sees.
  • The contract's deviation note is replaced by the new location, and how long the old location is still read, if at all, is stated with its end.

Related

Refs: #16646 (lands first; its requires field is the same in either location), #15733, #15703.

session: GitHub Work

Activity

  1. added
    needs-triage
    on Nov 17, 2026
  2. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: #16646

    Understood: move ecosystem records (build, test and lint commands) from .claude/ecosystems/<ecosystem>.yaml to the provider-agnostic docs/conventions/ecosystems/<ecosystem>.yaml. The readers (toolchain, the ecosystem-commands contract, the setup skill and code-metrics) would switch to the new home. Every repository holding records would be migrated in one sweep. The contract's deviation note would be replaced, with an explicit end date for any legacy read.

    The body says #16646 lands first, and it is still open, so it is listed as blocking. How long the old location is still read is left to the implementation, which must state it in the contract. I found no duplicate among the open issues and no merged pull request that already does this.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 17, 2026
  4. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: blocker #16646 is not closed by a listed human or a merge.

  5. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"0b3d0fb5eddf3ce0a1e8083d2090b05ea71b1a980fa6c0e3e5cdb74b3fd450c5","body_sha256":"74fb4c45d1b79ffd7a8dcc2f4aaecf6bdfaa03bd3a57b7ec581752ce284a8b21"}

  6. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor
    No description provided.
  7. added
    host-run
    on Nov 17, 2026
  8. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (patch-protected-path): the change needs a path the issue lane may not push, which a maintainer session builds by hand.
    It added host-run and set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    The run stopped early (patch-protected-path): its change needs a path the issue lane may not push, which a person changes instead. In the run's words: patch-protected-path: .claude/ecosystems/ (bash.yaml, cross-cutting.yaml, dotnet.yaml, go.yaml, markdown.yaml, powershell.yaml, python.yaml, typescript.yaml, yaml.yaml). Done-when item 2 requires migrating every repository that holds ecosystem records in one sweep, and this repository's own tracked records live under .claude/ecosystems/. Moving them to docs/conventions/ecosystems/ means deleting files under a .claude/ directory, which this lane cannot push. The autonomy setup fixtures under plugins/autonomy/skills/setup/scripts/fixtures/**/repo/.claude/ecosystems/ have the same problem.

    What the run says it did not do:

    • Every done-when item: nothing was edited, because migrating this repository's records needs a protected .claude/ path.
    • Repository checks (check-changelog-fragments, check-changed-skills, check-affected) were not run because the working tree has no change to check.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44069882415

    To hand it back to the lane, remove host-run and set Work status to agent-ready again.

  9. kyle-sexton commented on Nov 23, 2026

    @kyle-sexton
    MemberAuthor

    Closing: every done-when item is delivered.

    • Readers and contract: feat(ecosystems): move ecosystem records to docs/conventions/ecosystems #18187 moved toolchain's reader, the ecosystem-commands contract, the setup skill and code-metrics to docs/conventions/ecosystems/<ecosystem>.yaml. It released in toolchain 3.1.0 and code-metrics 1.7.0 (release PR 18232; Release Publish Plugins run 45070009177 succeeded).
    • Old location: contract 1.8.0's changelog (feat(source-control): provision a record's declared prerequisites #18184) states that the legacy .claude/ecosystems/ read ends in the next major version.
    • Sweep: one PR per repository that holds records, each a pure rename. Where a repository's CI filters counted .claude/** as code, the PR adds the new path to the same group, so record edits keep their test lanes. pr-pipeline-sandbox was left out.
    • Readers on the lanes: installed_plugins.json shows toolchain 3.1.0 and code-metrics 1.7.0 on both WSL hosts and this host's Windows lane, so no lane reads PASS from a record it no longer sees.

    Left open as a follow-up: standards' .github/CODEOWNERS covered /.claude/ and not the new path. The owner-review coverage it gave the records gets restored there in its own PR.

  10. removed
    host-run
    on Nov 23, 2026
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

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions