Skip to content

Cut the model-read ecosystem specifics from docs-hygiene #16760

Open
2 of 3 issues completed
Open

Description

@kyle-sexton

Parent

Refs #15703
Source: #15730 (blind classification under rules revision 5, #15730 comment 6950077480), cut item 9 of 47 in its filing order.

Depends on

Blocks #15732 (the portability gate widens only after every cut lands).

Outcome

docs-hygiene ships no model-read tool, library or command choice outside ADR 0101's named exceptions: the 16 rows below are cut (R11 14, R4 2).

Demo: on main after the merge, each listed row's cited text is gone or replaced by generic text at a routing site, and the pull request body lists every row id with what happened to it.

Row count (bulk-mutation standard): 16 rows. The pull request states this number and lists each row.

Rows to cut

Paths are repository-relative; line numbers are as read at 5b66a7fa and may have moved. Kind is the inventory kind (K2 detection table, K3 bundled value, K4 tool guidance, K5 tool pointer, K7 example).

Row Rule Kind Cited at Fact the classifier matched Notes
F0166 R4 K3 plugins/docs-hygiene/skills/compress/SKILL.md:153-154 (also :33, :95, :101, :146, :160, :165, :193; plugins/docs-hygiene/skills/compress/context/integration.md:9,38,45; plugins/docs-hygiene/skills/compress/context/fan-out-orchestration.md:64) compress SKILL.md:153-154 requires markdownlint-cli2 as the ship gate and names npm install --save-dev markdownlint-cli2 as the fix, so the value picks the consumer's markdown linter, and compress's description does not name that tool.
F0168 R4 K3 plugins/docs-hygiene/skills/extract-ssot/context/execution-checklist.md:45,72,87 execution-checklist.md:45,72 gives npx markdownlint-cli2 as the lint command for markdown, which picks a linter for the consumer (with the repo's own linter as an alternative).
F0169 R11 K5 plugins/docs-hygiene/skills/extract-ssot/SKILL.md:31,48 (also plugins/docs-hygiene/skills/extract-ssot/context/anti-patterns.md:37) extract-ssot SKILL.md:31,48 and anti-patterns.md:37 point to Roslyn / ts-morph / IDE rename as the code-refactor tools, a model-read K5 pointer.
F0170 R11 K7 plugins/docs-hygiene/skills/extract-ssot/actions/identify.md:173,215 (also plugins/docs-hygiene/skills/extract-ssot/context/lessons.md:143,155) identify.md:174 (was :173), :215 and lessons.md:155 give bash source, Python import, MSBuild <Import>, JSON $ref as model-read examples of language-native dedup.
F0171 R11 K7 plugins/docs-hygiene/skills/extract-ssot/context/anti-patterns.md:85 anti-patterns.md:85 uses &dotnet-build-defaults as a model-read example of a descriptive YAML anchor name.
F0172 R11 K5 plugins/docs-hygiene/skills/extract-ssot/context/decision-framework.md:67 decision-framework.md:67 cites "GitHub Copilot 4000-char hard truncation" as a basis with no pointer: a fact about one third-party tool, which R9 does not take as a cited source, read by the model. Two readings (other: R9). Reader's note: F0172: R9 is the other reading (cited in a basis column); taken as R11 because it is a one-tool fact with no pointer.
F0173 R11 K2 plugins/docs-hygiene/skills/rename-references/context/patterns.md:552-570 patterns.md:560 (mode ladder) lists plugin.json, package.json, pyproject.toml as model-read manifest signals mapped to container mode, a K2 detection list no script runs.
F0174 R11 K7 plugins/docs-hygiene/skills/rename-references/context/patterns.md:357-375 patterns.md:368-375 is the TOML-declaration alternative for pyproject.toml and Cargo.toml, a Python/Rust manifest pattern the model applies (the rename-references skill ships no scripts at 5b66a7f). Two readings (other: R6). Reader's note: F0174: R6 is the other reading (Form 14 is our own matching rule, as in F0190); taken as R11 because the cited content is the Python/Rust-specific pattern itself, not an example illustrating a neutral mechanism.
F0175 R11 K7 plugins/docs-hygiene/skills/rename-references/SKILL.md:176,191 rename-references SKILL.md:174-177 and :191 name Python class, C# type and JS function renames as model-read examples of what goes to language-aware tools.
F0176 R11 K7 plugins/docs-hygiene/skills/compress/SKILL.md:184 (also plugins/docs-hygiene/skills/compress/context/integration.md:37) compress SKILL.md:184 and integration.md:37 list .cs, .py, .ts, .sh as model-read examples of out-of-scope code files.
F0177 R11 K5 plugins/docs-hygiene/skills/write-for-humans/SKILL.md:138-140 write-for-humans SKILL.md:139-140 names Vale, markdownlint and textlint as examples of a prose linter the repository may configure, a model-read K5 pointer that picks nothing.
F0178 R11 K5 plugins/docs-hygiene/skills/audit-noise/SKILL.md:225,240 (also plugins/docs-hygiene/reference/plugin-contract.md:33,58) audit-noise SKILL.md:225,240 and plugin-contract.md:33,58 point to markdownlint(-cli2) as the owning linter and cite markdownlint's own docs as precedent, one tool's documentation that R9 excludes.
F0179 R11 K7 plugins/docs-hygiene/skills/audit-encapsulation/SKILL.md:215 audit-encapsulation SKILL.md:215 gives TypeScript export, .NET internal, Python _prefix as model-read examples of code-side visibility.
F0180 R11 K4 plugins/docs-hygiene/skills/write-for-agents/reference/agent-doc-surfaces.md:114-130 agent-doc-surfaces.md:126-135 tabulates instruction files of many harnesses (Codex, Cursor, Copilot, Gemini CLI, Windsurf, Aider, Junie, Amazon Q), several targets that write-for-agents' description does not name. Two readings (other: R3). Reader's note: F0180: R3 is the other reading (R3's examples include "another agent harness's instruction file"); taken as R11 because the table spans many harnesses that write-for-agents' description does not name.
F0181 R11 K7 plugins/docs-hygiene/skills/audit-progressive-disclosure/context/tier-model.md:121 tier-model.md:121 uses fetch.py as a model-read example of execute-vs-read intent.
F0182 R11 K5 plugins/docs-hygiene/skills/compress/SKILL.md:174 (also plugins/docs-hygiene/skills/audit-derivability/SKILL.md:74) compress SKILL.md:174 and audit-derivability SKILL.md:74 name the OpenAI Codex plugin as an example cross-vendor advisor, a model-read K5 pointer.

Kept rows, not touched here (count per rule): R3 1.

Steps

  • List every item with its rule: the pull request body repeats the table above with each row's outcome (cut, replaced at a routing site, or kept with its reason).
  • Back every R11 call with a search showing whether a script reads the file, for example git grep -n -F '<file name>' -- plugins scripts .github, quoted in the pull request body. A row whose file a script reads is not cut here: report it on Classify the remaining guidance rows blind and count the cuts per plugin #15730.
  • Name the cases that read the cut text: in the pull request body, name for each changed skill the existing eval case whose run reads the cut text, or say that none does. The lane names them; it runs none.
  • Whole page or part: in the pull request body, say for each changed file whether the cut deletes the whole page or part of it.
  • R4 rows: the bundled default goes; the choice is resolved from the consumer through the ecosystem-resolution contract (docs/contracts/ecosystem-resolution/). A shipped default that picks a library goes with this cut.
  • References outside the plugin: these files on main name a cut file; update or remove each entry the cut makes stale: plugins/docs-hygiene/skills/rename-references/context/patterns.md in scripts/shell-portability-skill-md-baseline.txt; plugins/docs-hygiene/skills/rename-references/SKILL.md in scripts/shell-portability-skill-md-baseline.txt.
  • Open the pull request with Closes this issue in its body, then stop: the lane adds no label. A sweep adds do-not-merge and the hold line when the pull request opens; the evidence below is a host session's work.

After the pull request opens (host session, not the lane)

The lane opens the pull request and stops there. The pull request stays held with do-not-merge for the eval; a host session runs only the eval and posts its record on the pull request; the merge lane releases the hold when the record matches the head; this issue closes with the pull request.

  • Hold line: the hub's sweep (or a host session) adds do-not-merge to the pull request and posts, from a listed human's account, a comment with the line <!-- pr-hold reason=eval --> on a line of its own.
  • Targeted case per changed skill (this replaces Classify the remaining guidance rows blind and count the cuts per plugin #15730's "no more than 400 runs per plugin (the changed skills' cases on the opus and sonnet aliases, three runs per side, plus control sides on one model)"): one before-and-after case, on sonnet at 3 runs a side; opus runs only to confirm a sonnet loss; a new case gets a 1 to 3 run smoke first (owner decision of 2026-11-16 in the owner-decisions record, superseding the run counts in #15703 comment 6906800940). Select cases with --case, use --runs 3 and a --max-cost-usd ceiling, and start no batch after a usage-limit error.
  • Controls: each whole-page deletion carries a sensitivity-control result, its predicted outcome written in the pull request body before the first batch; each partial cut carries a detection-control result. No paired no-loss compare per cut (#15703 comment 6906800940).
  • On a LOSS reading: a trace read of each dropped case and an opus confirm; only a loss traced to the changed text counts (#16672 comment 6935228111).
  • Record: the verdict and the control result go into the pull request body. When the run is VALID and shows no loss, the host session posts, from a listed human's account, a comment with the line <!-- eval-pair verdict=no-loss validity=VALID head=<40-hex head SHA> --> naming the pull request's current head, and keeps "do not merge" and do-not-merge out of that comment (docs/contracts/loop-lane/README.md, "Cross-lane PR hold"). A loss or a run that is not VALID leaves the hold in place; say so on the pull request.
  • Release: pr-merge's scheduled step "Release eval holds whose record matches the head" (.github/scripts/pr-merge/release-eval-hold.mjs) removes do-not-merge once that record is the newest since the label went on and names the current head, and no other hold stands. A push after the record needs a new record.
  • AC7 is met here: each whole-page deletion carries a sensitivity-control result and each partial cut a detection-control result, in the pull request body.

Decisions

  • D3: each plugin's cut is its own topic and pull request.
  • Interview Q32 (D4 of the Brief): bundled defaults that pick a tool, command or library are retired wherever they appear.
  • AC1's named exceptions are the kept classes of ADR 0101 (docs/adr/0101-resolve-ecosystem-specifics-from-the-consumer-repository.md, Decision and the 2026-11-17 amendment).
  • Bulk-mutation standard: count first, then act; the pull request states its row count.
  • The rules this item's rows fall under (rules revision 5):
    • R11 (shipped knowledge): everything else that is model-read K2, K3, K4, K5 or K7. Goes through the cutting route: the generic text replaces it only at a routing site where the skill still takes a language-specific step; anywhere else it is deleted with no replacement. An item kept only because a removed item consumes it goes in the same pull request.
    • R4 (consumer default): the value picks a tool or library for the consumer. Goes: no bundled default survives (ADR 0101 decision 2, "Ship no bundled default"); the choice is resolved from the consumer.

Key interfaces

  • "The consumer's ecosystem (language, framework, tools): abstract now. Seam: the ecosystem-resolution contract and the consumer's own records."
  • Conventions followed: a cut ships with eval evidence (the skills-and-agents review rules).

Done when

  • AC1 (this plugin's share): docs-hygiene ships no model-read tool, library or command choice outside the named exceptions; each listed R11 and R4 row is cut.
  • The pull request body states the row count (16) and lists every row id with its rule and outcome.
  • Each R11 row's script-reader search is quoted in the pull request body.
  • The pull request body names, for each changed skill, the existing case that reads the cut text, or says none does.
  • The pull request body says, for each changed file, whether the cut deletes the whole page or part of it.
  • AC10: no new enforcement-placing skill is added here.

Out of scope

Activity

  1. added
    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
    on Nov 17, 2026
  2. added theissue type on Nov 17, 2026
  3. updated Work status ready and Priority medium on Nov 17, 2026
  4. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the docs-hygiene plugin's skill and context files (compress, extract-ssot, rename-references, write-for-humans, audit-noise, audit-encapsulation, write-for-agents, audit-progressive-disclosure, audit-derivability) plus two baseline entries in scripts/shell-portability-skill-md-baseline.txt. Models that run these skills read the text, and so do the plugin's consumers.
    Reversible: yes; revert the pull request. The text lives in version control.
    Open questions: none
    I read this as a request to cut the 16 listed R11 and R4 rows from docs-hygiene. Each row is deleted or replaced with generic text at a routing site, and the ecosystem-resolution contract resolves the choice from the consumer. The pull request body must carry the row count, each row's outcome, the script-reader searches, the eval cases that read the cut text, and whether each file loses a whole page or part of it. The issue states all of this and names its route, so nothing is missing. No duplicate or merged fix appears in the recent merged pull requests.

    Automated triage. A maintainer reviews it.

  5. melodic-automation-lanes commented on Nov 17, 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).

  6. added
    host-runNeeds an unattended run on a host; the host runner takes it, not a person or the issue lane.
    on Nov 17, 2026
  7. removed
    host-runNeeds an unattended run on a host; the host runner takes it, not a person or the issue lane.
    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 (split-required): the issue's Size is too large for one run, and intake's split (owner Q93) files its sub-issues.
    Its Size is too large for one run: intake splits it into sub-issues (owner Q93).
    It set Work status to needs-triage, so the hourly triage sweep sends it back through intake triage, and it waits on no decision from a person.

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

  9. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    Intake triage did not triage this issue after 2 dispatches, so the sweep no longer dispatches it and set its Work status to needs-triage for a maintainer. Triage it by hand, and read the runs for why intake did not:

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

    @melodic-automation-lanes
    Contributor

    Not split at intake (owner Q93). This issue stays parked at status: ready: no split into whole changes was found, either by task-list line or by the targets the lines name. No person is asked to act and no hold label is added. The split settings are size-split in .github/actions/resolve-config/admission-rules.json.

    Automated by the lanes App, once per reason and body version.

  11. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Split by hand into #17773, #17774, #17777 (native sub-issues, each Small or Medium, each eval-gated): intake sized this issue Large and its size split declined no-split. Most of the Large rating came from the "References outside the plugin" list, which was built by bare file name and pulls in about 300 unrelated files. Each child lists only the outside references a full-path git grep finds. Each child carries its rows, the rules and the host-session eval method, and closes with its own pull request. This issue's AC1 is met when every child closes by merge; the per-PR done-when lines live on the children.

  12. removed
    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
    on Nov 21, 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

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions