Skip to content

Cut the model-read ecosystem specifics from performance #16767

Description

@kyle-sexton

Parent

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

Depends on

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

Outcome

performance ships no model-read tool, library or command choice outside ADR 0101's named exceptions: the 5 rows below are cut (R11 3, R4 1, R8 1), each R8 row unless its targeted case fails without it.

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): 5 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
F0305 R4 K4 plugins/performance/reference/techniques.md:213-222, 860-861 The instruction-count recipe names Cachegrind's Ir as the counter to use ("This plugin counts instructions with Cachegrind's Ir event", techniques.md:320), so it picks a tool for the consumer. Two readings (other: R11). Reader's note: F0289, F0305: the alternative is R11 (K4 guidance) if R4 is limited to K3-style bundled values.
F0307 R8 K4 plugins/performance/reference/techniques.md:318-346, 862-863 The "Verification records" in techniques.md:318-346 record a probe of an outside tool against a reasonable default: node --predictable is not trusted to make counts repeat, "probed on Node v24.20.0", as-of 2026-09-23. Two readings (other: R4). Reader's note: F0307: R4 is also possible, because the same section says "This plugin counts instructions with Cachegrind's Ir" (a tool pick). I chose R8 because the row's maintenance trigger and its dated probe are about node --predictable.
F0308 R11 K5 plugins/performance/reference/techniques.md:125, 132, 255, 454-460, 856-859 techniques.md:125, 132, 255, 460 and 858-861 are web.dev and MDN layout-shift pointers, which are one platform's documentation (excluded from R9), given as the thing to read next.
F0311 R11 K5 plugins/performance/skills/target/SKILL.md:81; plugins/performance/README.md:101 target SKILL.md:120-123 and README.md:101 point at the Cachegrind manual, which is one tool's documentation and so not a cited source under R9. Two readings (other: R9). Reader's note: F0311: R9 is also possible, since the Cachegrind manual is the source of a neutral principle (a counter is reproducible, not more truthful). R9's exclusion of one tool's documentation decided R11.
F0312 R11 K7 plugins/performance/skills/snapshot/SKILL.md:97; plugins/performance/skills/goal/SKILL.md:80; plugins/performance/skills/target/SKILL.md:55-59 goal SKILL.md:80, snapshot SKILL.md:100 and target SKILL.md:56-60 use Python-flavored examples (a Python run path, a Python guard body) for ecosystem-neutral rules.

Kept rows, not touched here (count per rule): R6 3.

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.
  • R8 rows: cut each like the other rows and mark it in the pull request body as pending its targeted case; the host session's result (below) decides whether it comes back.
  • Fence ratchet: lower the skill-stack-fences ceiling in .performance/ratchets.json for each of these files whose fences the cut removes: plugins/performance/skills/snapshot/SKILL.md.
  • References outside the plugin: these files on main name a cut file; update or remove each entry the cut makes stale: plugins/performance/skills/target/SKILL.md in scripts/test_check_vocabulary.py, scripts/vocabulary-senses.json; plugins/performance/README.md in .github/CODEOWNERS, .github/actions/check-kill-switch/README.md, .github/actions/check-signed-commits/README.md, .github/actions/check-trusted-trigger/README.md, .github/actions/check-trusted-trigger/check-trusted-trigger.test.mjs, .github/actions/check-wip-cap/check-wip-cap.mjs, .github/actions/collect-base-activity/action.yml, .github/actions/collect-base-activity/collect-base-activity.test.mjs, .github/actions/log-api-budget/rate-guard.test.mjs, .github/actions/open-lane-output/README.md, .github/actions/report-check-run/README.md, .github/actions/request-lane-token/README.md, .github/actions/request-lane-token/action.yml, .github/actions/request-lane-token/request-lane-token.test.mjs, .github/actions/resolve-config/README.md, .github/actions/resolve-config/callers.test.mjs, .github/actions/resolve-config/dispatch-limits.test.mjs, .github/actions/resolve-config/lane-grants.test.mjs, .github/actions/resolve-config/live-config.test.mjs, .github/actions/resolve-config/patch-rules.schema.json, .github/actions/resolve-config/resolve-config.test.mjs, .github/actions/resolve-config/resolve.test.mjs, .github/actions/resolve-config/self-checks.test.mjs, .github/actions/resolve-config/verify-scripts.test.mjs, .github/actions/resolve-config/web-access.test.mjs, .github/actions/seal-lane-output/README.md, .github/actions/seal-lane-output/seal.mjs, .github/actions/seal-lane-output/seal.test.mjs, .github/actions/select-trusted-text/README.md, .github/actions/upload-lane-transcript/README.md, .github/actions/upload-lane-transcript/seal-transcript.mjs, .github/dependabot.yml, .github/lane-funding.schema.json, .github/scripts/apply-patch/apply-patch.test.mjs, .github/scripts/apply-patch/deny-rules.test.mjs, .github/scripts/apply-patch/protected-paths.test.mjs, .github/scripts/branch-cleanup/cleanup.mjs, .github/scripts/branch-cleanup/cleanup.test.mjs, .github/scripts/branch-cleanup/rules.mjs, .github/scripts/branch-cleanup/workflow.test.mjs, .github/scripts/intake-reenter/reenter.mjs, .github/scripts/intake-triage/admit.mjs, .github/scripts/intake-triage/admit.test.mjs, .github/scripts/intake-triage/refine.test.mjs, .github/scripts/maintenance-audit-lane-runs/collect.test.mjs, .github/scripts/maintenance-audit-lane-runs/findings.test.mjs, .github/scripts/maintenance-audit-lane-runs/prompt.md, .github/scripts/maintenance-audit-lane-runs/workflow.test.mjs, .github/scripts/maintenance-monitor-signals/workflow.test.mjs, .github/scripts/maintenance-tidy-code-upkeep/upkeep.test.mjs, .github/scripts/plugin-eval/hill-climb-edit.test.mjs, .github/scripts/plugin-eval/select-plugins.test.mjs, .github/scripts/post-merge-demotion-alert/merge-path.mjs, .github/scripts/post-merge-demotion-alert/merge-path.test.mjs, .github/scripts/post-merge-demotion-alert/red-main.mjs, .github/scripts/post-merge-demotion-alert/red-main.test.mjs, .github/scripts/post-merge-demotion-alert/report.mjs, .github/scripts/post-merge-demotion-alert/report.test.mjs, .github/scripts/post-merge-demotion-alert/workflow.test.mjs, .github/scripts/post-merge-test-mutation/execute.test.mjs, .github/scripts/post-merge-test-mutation/generate.prompt.md, .github/scripts/post-merge-test-mutation/triage.prompt.md, .github/scripts/pr-merge/clear-escalations.mjs, .github/scripts/pr-merge/clear-escalations.test.mjs, .github/scripts/pr-merge/enable-auto-merge.mjs, .github/scripts/pr-merge/enable-auto-merge.test.mjs, .github/scripts/pr-merge/merge-holds.test.mjs, .github/scripts/pr-merge/merge-job.test.mjs, .github/scripts/pr-merge/post-unarmed-status.mjs, .github/scripts/pr-merge/refire-refused.test.mjs, .github/scripts/pr-merge/release-eval-hold.mjs, .github/scripts/pr-merge/workflow.test.mjs, .github/scripts/pr-refine/plan-passes.test.mjs, .github/scripts/pr-review-main/prompt.md, .github/scripts/pr-review-main/workflow.test.mjs, .github/scripts/pr-review/wait-refine.test.mjs, .github/scripts/pr-unblock/address-feedback.mjs, .github/scripts/pr-unblock/address-feedback.test.mjs, .github/scripts/pr-unblock/adjudicate-feedback.test.mjs, .github/scripts/pr-unblock/apply-dependency-verdict.test.mjs, .github/scripts/pr-unblock/dependency-classify.mjs, .github/scripts/pr-unblock/dispatch.test.mjs, .github/scripts/pr-unblock/feedback-dispatch.mjs, .github/scripts/pr-unblock/feedback-dispatch.test.mjs, .github/scripts/pr-unblock/fix-ci-context.mjs, .github/scripts/pr-unblock/gate-recheck.test.mjs, .github/scripts/pr-unblock/gate-source.mjs, .github/scripts/pr-unblock/gate-source.test.mjs, .github/scripts/pr-unblock/publish-feedback.test.mjs, .github/scripts/pr-unblock/request-budget.mjs, .github/scripts/pr-unblock/request-budget.test.mjs, .github/scripts/pr-unblock/thread-scope.test.mjs, .github/scripts/pr-verify/probe/fixtures/06-blocking-missing-criterion/diff.patch, .github/scripts/pr-verify/probe/fixtures/21-blocking-unjudged-binary/diff.patch, .github/scripts/pr-verify/resolve-pr.test.mjs, .github/scripts/pr-verify/upstream-jobs.test.mjs, .github/scripts/pr-verify/workflow.test.mjs, .github/scripts/pr-verify/write-verdict.test.mjs, .github/scripts/release-publish-plugins/decide-rebuild.test.sh, .github/scripts/work-resolve-issue/report-outcome.mjs, .github/scripts/work-resolve-issue/report-outcome.test.mjs, .github/scripts/work-resolve-issue/stop-routes.mjs, .github/scripts/work-resolve-issue/stop-routes.test.mjs, .github/scripts/work-resolve-issue/write-issue.test.mjs, .github/standards/dependabot-policy/policy.json, .github/workflows/maintenance-audit-lane-runs.yml, .github/workflows/maintenance-check-links-online.yml, .github/workflows/maintenance-delete-stale-branches.yml, .github/workflows/maintenance-measure-skill-edit.yml, .github/workflows/maintenance-monitor-signals.yml, .github/workflows/maintenance-reconcile-lost-runs.yml, .github/workflows/post-merge-file-demotion-issues.yml, .github/workflows/pr-check-managed-files-hosted.yml, .github/workflows/pr-require-checks.yml, .github/workflows/pr-run-activity-read.yml, .github/workflows/pr-run-plugin-evals.yml, .github/workflows/pr-test-platforms.yml, .github/workflows/pr-verify.yml, .performance/ratchets.json, scripts/README.md, scripts/affected-tests-live.sh, scripts/affected-tests.sh, scripts/affected-tests.test.sh, scripts/ai-slop-report.test.sh, scripts/as-of-recheck-baseline.txt, scripts/check-adr-numbers.sh, scripts/check-adr-numbers.test.sh, scripts/check-affected.sh, scripts/check-affected.test.sh, scripts/check-app-key-references.sh, scripts/check-artifact-retention.sh, scripts/check-as-of-recheck.sh, scripts/check-as-of-recheck.test.sh, scripts/check-cant-fail-scan.sh, scripts/check-cant-fail-scan.test.sh, scripts/check-changed-links-online.sh, scripts/check-changed-skills.test.sh, scripts/check-changelog-fragments.sh, scripts/check-changelog-fragments.test.sh, scripts/check-changelog-parity.sh, scripts/check-changelog-parity.test.sh, scripts/check-comment-hygiene.sh, scripts/check-conformance-registry.sh, scripts/check-convention-yaml.sh, scripts/check-cost-figures.sh, scripts/check-cost-figures.test.sh, scripts/check-cross-plugin-source-drift.sh, scripts/check-cross-plugin-source-drift.test.sh, scripts/check-data-root.test.sh, scripts/check-declared-prerequisites.mjs, scripts/check-detector-eval-coverage.sh, scripts/check-detector-findings-crosswalk.sh, scripts/check-docs-naming.sh, scripts/check-docs-naming.test.sh, scripts/check-docs-only.test.sh, scripts/check-drive-root-litter.sh, scripts/check-exec-form-windows-probe.sh, scripts/check-guardrails-ps-differential.sh, scripts/check-hook-exec-form.sh, scripts/check-hook-exec-form.test.sh, scripts/check-hook-slow-shapes.sh, scripts/check-hook-userconfig-argv.sh, scripts/check-hooks-description.sh, scripts/check-html-assets.sh, scripts/check-killswitch-hoist.sh, scripts/check-loop-lane-floor-drift.sh, scripts/check-pipefail-grep-q.sh, scripts/check-plugin-imports.sh, scripts/check-plugin-profiles.sh, scripts/check-purged-em-dashes.sh, scripts/check-queue-front-matter.sh, scripts/check-queue-front-matter.test.sh, scripts/check-read-caller-keys.sh, scripts/check-script-contract.test.sh, scripts/check-shell-portability.test.sh, scripts/check-silent-revert.sh, scripts/check-skill-count-claims.sh, scripts/check-skill-count-claims.test.sh, scripts/check-skill-portability.test.sh, scripts/check-spoke-plugin-root.sh, scripts/check-standards-contract-bump.sh, scripts/check-standards-contract-bump.test.sh, scripts/check-test-tmp-cleanup.sh, scripts/check-upstream-drift.sh, scripts/check-upstream-drift.test.sh, scripts/check-vendor-version-bump.test.sh, scripts/check-view-medium-lists.mjs, scripts/check-view-medium-lists.test.mjs, scripts/ci-broker-pin.test.sh, scripts/ci-hold-cost-decision.test.sh, scripts/ci-lanes-pr-hold.test.sh, scripts/ci-review-lanes.test.sh, scripts/contract-clause-registry.json, scripts/cost-figures-baseline.txt, scripts/cross-plugin-source-registry.txt, scripts/docs-only-paths.txt, scripts/em-dash-purged-paths.txt, scripts/emit-windows-path.sh, scripts/guardrails-ps-differential-corpus.jsonl, scripts/lane-transcripts/README.md, scripts/lane-transcripts/pull.mjs, scripts/lib/changed-files.test.sh, scripts/lib/changelog-fragments.test.sh, scripts/lib/test-harness.sh, scripts/lint-shell-filter.test.sh, scripts/maintenance-file-dead-links.test.sh, scripts/pilot-plugin-quality-sim.test.sh, scripts/prerequisites-tools.txt, scripts/repin-ci-workflows.test.sh, scripts/run-plugin-tests-serial.txt, scripts/run-plugin-tests.sh, scripts/shared-copies.txt, scripts/shell-portability-skill-md-baseline.txt, scripts/silent-revert-incidents.txt, scripts/suite-budget-exceptions.txt, scripts/sync-config-cascade-semantics.py, scripts/sync-config-cascade-semantics.test.sh, scripts/sync-plugin-options-docs.py, scripts/test-windows-inert-paths.txt, scripts/test_check_vocabulary.py, scripts/test_count_capture_sources.py, scripts/test_skill_stack_fences.py, scripts/upstream-drift-issues.sh, scripts/upstream-drift-issues.test.sh, scripts/upstream-drift-vendored-report.test.sh, scripts/validate-plugin-contracts.mjs, scripts/validate-plugin-contracts.test.sh, scripts/vocabulary-senses.json; plugins/performance/skills/snapshot/SKILL.md in .performance/ratchets.json; plugins/performance/skills/goal/SKILL.md in .github/scripts/pr-unblock/adjudicate-feedback.test.mjs.
  • 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).
  • R8 rows: the row's targeted case with and without the row. On a case drop or a mean fall of 0.15 or more without it, the host session restores the row on the pull request branch, annotated portability-ok: measured <case-id>; otherwise it stays cut. A deterministic grader states before the run in how many of n runs it must fail.
  • 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.
    • R8 (measured fact): it records a measurement or probe of an outside tool that contradicts a reasonable default, or pairs our rule id with an outside diagnostic. Moves into the record at drafting time when a record key can hold it; otherwise stays as one stamped row annotated portability-ok: measured <case-id> only if the row's targeted case shows a case drop or a mean fall of 0.15 or more without it, under the eval policy in force; a deterministic grader states before the run in how many of n runs it must fail; else goes.

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): performance ships no model-read tool, library or command choice outside the named exceptions; each listed R11 and R4 row is cut, and each R8 row is cut and marked pending its targeted case.
  • The pull request body states the row count (5) 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-ready
    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. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"a7fd9155644fd74c0b81ffebb674270f7f83c86f9022a5d23da1e3226ff6d638","body_sha256":"aa45fe9ab992931fc916f3834a8a9fd7ca263dcfe05714b50796f6a9e038da52"}

  5. github-actions commented on Nov 17, 2026

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

    @github-actions
    Contributor
    No description provided.
  9. melodic-automation-lanes commented on Nov 18, 2026

    @melodic-automation-lanes
    Contributor

    Pull request #16811 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  10. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  11. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the performance plugin's techniques reference, target, snapshot and goal skills, its README, the snapshot fence ratchet, and a vocabulary test and data file. Anyone who reads or runs those performance skills is affected.
    Reversible: yes; revert the pull request, or restore an R8 row on the branch if its targeted case shows a loss.
    Open questions: none
    Understood: cut the 5 listed rows (F0305, F0307, F0308, F0311, F0312) from the performance plugin. That means removing the Cachegrind, Node and layout-shift tool guidance and pointers, and the Python-flavored examples. The ratchet and the stale references get updated. The pull request body must state the row count and list each row. The eval work after the pull request opens belongs to a host session. The outcome and done-when are exact. No duplicate or already-merged fix was found among the open issues or the recent merged pull requests. Similar "Cut the model-read ecosystem specifics from " issues cover other plugins, so they are not duplicates.

    Automated triage. A maintainer reviews it.

  12. melodic-automation-lanes commented on Nov 18, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: merged pull request #16811 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

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

    agent-ready

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions