Skip to content

chore(ecosystems): keep tool-pin only where the repository owns the version - #18241

Merged
kyle-sexton merged 4 commits into
mainfrom
chore/17311-tool-pin-ownership
Nov 22, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
chore/17311-tool-pin-ownership

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Closes #17311

Summary

Keep a tool-pin entry in this repository's ecosystem records only where the repository owns the
tool's version, per the owner decision quoted in the issue (control-hub#17 row 2, 2026-11-18). The
records now live in docs/conventions/ecosystems/ (moved by #18187); of the nine records, only
markdown.yaml and yaml.yaml carry tool-pin.

Record Entry Verdict Where the version is owned
yaml.yaml actionlint: "1.17.0" Deleted ci-workflows' actionlint composite, version input default, .github/actions/actionlint/action.yml:25 (sha256 default at :30). Both call sites, .github/workflows/pr-require-checks.yml:1760 and :3733, pass no version input.
yaml.yaml zizmor: "1.32.0" Kept (already equal) .github/requirements-ci.txt:201, zizmor==1.32.0, this repository's hash-locked requirements file that pr-require-checks.yml installs before scripts/run-zizmor.sh.
markdown.yaml markdownlint-cli2: "0.24.0" Kept, corrected to 0.24.1 package.json:17 ("markdownlint-cli2": "0.24.1") and package-lock.json:1223. The record had drifted from its own source.

Fix

  • docs/conventions/ecosystems/yaml.yaml: drop the actionlint pin; the actionlint install-hint
    names the ci-workflows composite's version and sha256 defaults instead of copying the number
    and hash; the zizmor hint names .github/requirements-ci.txt.
  • docs/conventions/ecosystems/markdown.yaml: pin and hint set to 0.24.1, equal to package.json.
  • docs/contracts/ecosystem-commands/README.md ("Command prerequisites"), the tool-pin
    description in ecosystem.schema.json, and plugins/toolchain/skills/lint/SKILL.md: set
    tool-pin only when the repository owns the version itself (a manifest, lockfile, or version
    input or env its own workflow sets); omit it when the version comes from a shared default, since
    a copy drifts. Contract CHANGELOG 1.8.1 (docs-only, no schema shape change), after feat(source-control): provision a record's declared prerequisites #18184's
    1.8.0; toolchain patch fragment.

Verification

  • docs/contracts/ecosystem-commands/examples.test.sh: PASS=10 FAIL=0.
  • check-jsonschema --schemafile docs/contracts/ecosystem-commands/ecosystem.schema.json over both
    edited records: ok.
  • No test or check reads tool-pin values or the reworded sentence (git grep tool-pin hits only
    the contract, the two records and toolchain docs).

Related

Follow-ups

  • Pre-existing (advisory): CI lints markdown with markdownlint-cli2 0.23.3, the default of
    ci-workflows' .github/actions/markdownlint/action.yml version input, while this repository's
    package.json:17 and the record pin 0.24.1, so a local lint and CI can disagree.
  • Pre-existing (advisory): .claude/cloud-bootstrap.sh:65-66 hand-copies the actionlint version
    and SHA-256 from ci-workflows' actionlint composite, the same drift-prone copy this change removes
    from the record.

🤖 Generated with Claude Code

kyle-sexton and others added 4 commits November 22, 2026 15:56
…ersion

Delete the actionlint pin, whose version is the ci-workflows actionlint
composite's input default; keep zizmor (owned by
.github/requirements-ci.txt) and markdownlint-cli2, corrected to the
0.24.1 package.json pins. The contract README, schema description and
the lint skill now say a record sets tool-pin only for a version the
repository owns itself. Contract 1.7.1, docs-only.

Closes #17311

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RAoAtViDMW2P121uLvSb35
…ownership

# Conflicts:
#	docs/contracts/ecosystem-commands/CHANGELOG.md
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 22, 2026 22:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T22:56:42.088710Z eb10a46 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs

Run 45080396028, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 45080396028

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed eb10a4639528ed2d57637e8e45e5bca26be0b1f6: read 7 of 7 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read all 7 changed files in full. This pull request changes documentation and config data only. None of the changed files matches a TRUSTED PATHS glob, and no trust control, merge hold, token scope, kill switch, workflow or plugin manifest is touched.

What changed and why it is not a finding:

  • docs/conventions/ecosystems/yaml.yaml: the change removes the actionlint tool-pin and replaces the hard-coded actionlint version and SHA-256 in install-hint with a pointer to ci-workflows' actionlint composite defaults.
    • tool-pin only drives a drift warning (README "Command prerequisites" and the schema description). It does not check integrity.
    • The contract says the install-hint/hint is "display text it shows and never runs" (docs/contracts/ecosystem-commands/README.md ~L218).
    • CI's archive check by SHA-256 still lives in the ci-workflows composite, and this diff does not change it. No enforced check is removed.
  • docs/conventions/ecosystems/markdown.yaml: the pin and hint move from 0.24.0 to 0.24.1, matching the repository's own package.json. This is a version string in display and warning text, and nothing installs from it.
  • ecosystem.schema.json: only a description string changes. The schema shape is the same.
  • plugins/toolchain/skills/lint/SKILL.md: I read it under the instruction-surface lens. The edit adds authoring guidance on when a record sets tool-pin. It does not remove or soften a rule that prevents an action, and the rules "Never install a declared prerequisite and never run its hint" are unchanged. docs/contracts/instruction-exception-register/README.md was not consulted. No removed rule needed it, because none of the removed text guarded an action.
  • CHANGELOG and the .changes fragment: prose only.

The PR context file contains no embedded instructions directed at this lane.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed eb10a4639528ed2d57637e8e45e5bca26be0b1f6: read 7 of 7 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

I read every hunk of the 7 changed files. This is a docs and config change with no executable code.

Closing issue #17311

  • AC1 is met: "No tool-pin entry in this repository's ecosystem records restates a version owned outside it; the PR body lists each entry as deleted or kept with the source file:line."

    • actionlint pin removed. Both ci-workflows actionlint composite call sites in .github/workflows/pr-require-checks.yml pass no version input:

      • L1760 has no with: block.
      • L3733 passes only paths and color.

      So the version comes from a shared default, and removing the pin is right.

    • zizmor 1.32.0 kept. It matches .github/requirements-ci.txt:201.

    • markdownlint-cli2 0.24.1. It matches package.json:17.

    I checked each of these with Read and Grep. The issue names the records' old location, .claude/ecosystems/; the PR body says feat(ecosystems): move ecosystem records to docs/conventions/ecosystems #18187 moved them to docs/conventions/ecosystems/, which is where this change edits them.

  • AC2 is met: "The contract README and the lint skill state the rule above." The rule is now in the README "Command prerequisites" text, in the schema description and in plugins/toolchain/skills/lint/SKILL.md:150. A grep finds no remaining live "typically mirrors" wording outside historical changelog entries.

  • No test covers this. No test reads tool-pin values or this wording. That is expected for a docs-only rule, so I don't count it as a finding.

Verification claimed by the author, which I did not run: examples.test.sh PASS=10 and check-jsonschema over both edited records.

Wording difference, not a finding: the README lists "a version input or env its own workflow sets" and "a file synced from another repository". The schema description and the lint skill give a shorter list without those two cases. The rule itself is the same in all three.

Loosened checks: the wrapper supplied no loosened_check_verdict: or loosened_check_patterns: lines, so I used fail with no consumer entries. The change loosens no check: it removes a drift warning for a version the repository does not own, which is what the issue asks for. The citation requirement was not checked because there was no decision-record line. I did not read the criterion file, so I can't report its Loosened checks would be marked: line.

Spend: none. No workflow, model or billing settings change.

Verifier dropped 0 of 0 candidates.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit f267c2f Nov 22, 2026
80 checks passed
@kyle-sexton
kyle-sexton deleted the chore/17311-tool-pin-ownership branch November 22, 2026 23:36
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(ecosystems): keep tool-pin only where the repository owns the version

1 participant