Repository navigation
chore: sync standards components - #237
Merged
Merged
Conversation
kyle-sexton
added a commit
that referenced
this pull request
Nov 11, 2026
No related issue: owner-approved design (org issue and PR template interview, Q34 and Q36-Q38, 2026-11-11) ## Summary The org issue forms are now generated in `melodic-software/standards` from the issue-body contract and synced here with the contract beside them (#237). This adds the local drift check the design called for, and fixes the PR template's `Refs` example to the `Refs: #<issue>` form the PR body contract names. ## Fix - `.github/scripts/issue-form-drift.mjs` and its tests: compare each form in `.github/ISSUE_TEMPLATE/` to `.github/standards/issue-body-contract/contract.json` (name, native type, labels, and each field's id, kind, heading and required flag); report a form the contract does not declare and a declared form that is missing; skip `config.yml` and contract types with no form. Local files only, no network. - `pr-require-checks.yml`: new `check-issue-forms` job running the tests then the check. Advisory, like `check-pr-sections`: not in `ci-status` `needs:`. - `.github/PULL_REQUEST_TEMPLATE.md`: the Related example reads `Refs: #<issue-number>`. - `README.md`: the templates entry names the generated forms and where to change them, and the CI entry names the new lane. ## Verification - `node --test .github/scripts/issue-form-drift.test.mjs`: 7 pass. - `node .github/scripts/issue-form-drift.mjs` on this branch (main merged in, with #237's forms): `4 forms match .github/standards/issue-body-contract/contract.json`. - `node --test .github/scripts/pr-section-drift.test.mjs`: 27 pass. - Live community page, 4:29 PM EST: "Issue templates" now shows added on `claude-code-plugins`, `.github`, `standards` and `cursor-plugins` (it read "Not added yet" on all 11 public repos before #237). ## Related - melodic-software/standards#986 (the contract and generator) - #237 (the sync that delivered the forms) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VQb9Q2ceZLXhTR4d1vkTCe --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 11, 2026
kyle-sexton
added a commit
that referenced
this pull request
Nov 16, 2026
Refs: melodic-software/claude-code-plugins#15726 ## Summary This repository now resolves its build, test and lint commands from its own ecosystem records instead of the toolchain plugin's bundled defaults: `.claude/ecosystems/{bash,markdown,yaml,typescript,cross-cutting}.yaml`, one per ecosystem it uses. Each command, flag and pinned version follows `.github/workflows/pr-require-checks.yml` and the ci-workflows composites it pins at `594987a` (v0.39.8). The only other change is the README inventory line that lists them. The repository has no Python, PowerShell, .NET or Go, so it gets no record for those: no tracked file matches their bundled globs. ## Fix Each intended difference from toolchain's bundled defaults (`plugins/toolchain/reference/ecosystems/` in claude-code-plugins), with the rule source in this repository: | Ecosystem | Difference from the bundled default | Rule source | |---|---|---| | bash | `check-cmd` is `shellcheck --rcfile="$REPO_ROOT/.shellcheckrc" <files>`, dropping `-x -S warning` and `shfmt -d`; `test-cmd` stays null; `tool-pin` shellcheck 0.11.0 | `pr-require-checks.yml:294-307`; shellcheck composite `run.sh:172-176` passes `--rcfile` and omits `--severity`, `action.yml:66` pins 0.11.0; `.shellcheckrc` sets `external-sources=true`, the `-x` equivalent. CI runs no shfmt and no shell tests | | markdown | `check-cmd`/`fix-cmd` call `markdownlint-cli2 --config "$REPO_ROOT/.markdownlint-cli2.jsonc" <files>` from PATH (bundled `npx markdownlint-cli2 <files>`); `tool-pin` 0.23.2 | `pr-require-checks.yml:89-102`; markdownlint composite `action.yml:24` (0.23.2) and `:57` (`npx --yes markdownlint-cli2@$VERSION --config "$CONFIG"`) | | yaml | `check-cmd` runs `actionlint` plus every check-jsonschema call of CI's jsonschema lane: `vendor.dependabot`, `vendor.github-workflows`, `vendor.github-issue-forms` (the forms CI's roster step derives), `vendor.github-issue-config`, and `--schemafile https://json.schemastore.org/claude-code-settings.json` on `.claude/settings.json`. Globs add `.claude/settings.json`. Pins actionlint 1.7.12, check-jsonschema 0.38.2 | `pr-require-checks.yml:198-209`, `:211-285` (roster `:238-265`); actionlint composite `action.yml:20`, check-jsonschema composite `action.yml:39` | | typescript | Globs are `*.mjs` and `*.js` only (bundled adds `package.json`, lockfiles, `tsconfig*.json`); `project-discovery: []`; `test-cmd` is `node --test .github/scripts/pr-section-drift.test.mjs .github/scripts/issue-form-drift.test.mjs`; build and check null | `pr-require-checks.yml:340` and `:362`. No `package.json`, tsconfig or JS linter config is tracked, and CI lints no JavaScript | | cross-cutting | `typos --config _typos.toml .`, then the hidden tracked files by name; `gitleaks dir . --config .gitleaks.toml --no-banner --redact` (bundled `gitleaks detect --no-git`); `"$EC_BIN" -config .editorconfig-checker.json`; `lychee --offline --no-progress --config lychee.toml` over CI's three globs. Every check runs and any failure fails the command. Pins typos 1.50.3, gitleaks 8.30.1, editorconfig-checker 4.0.2, lychee 0.24.2 | `pr-require-checks.yml:104-196` (hidden-path typos step `:118-141`, lychee globs `:193-196`); composites: typos `action.yml:46`, gitleaks `action.yml:50` with `scan.sh:136`, editorconfig-checker `action.yml:35`, lychee-offline `action.yml:19` | | all five | Every key set explicitly (`enabled`, `project-discovery: []`, `gates: []`, `null` for each absent command); `anchor` omitted | the precedent of melodic-software/claude-code-proxy#394 | **Where a record differs from CI on purpose:** - markdownlint: CI runs `npx --yes [email protected]` over every `**/*.md`. The record runs the PATH binary over the changed files, so a local run never downloads; the pin warns on drift. - check-line-endings (`pr-require-checks.yml:309-320`) has no record command: the composite re-stages the whole index with `git add --renormalize`, which is not read-only on a working tree. `bash .cursor/check.sh` runs a safe copy. - The advisory drift comparisons (`node .github/scripts/pr-section-drift.mjs`, `node .github/scripts/issue-form-drift.mjs`) are not run, since CI does not gate on them; their test files are the typescript `test-cmd`. CI runs each test file in its own lane, the record runs both in one call. - CI's node comes from the `ubuntu-latest` image, which this repository does not pin, so typescript has no `tool-pin`. - `.cursor/install.sh` pins older typos, editorconfig-checker and check-jsonschema versions (its "v0.29.1" authority); the records follow the composites CI calls now. ## Verification **Range.** `9e784beccaf54aca24eaae3720ab591587a27712` (#236, excluded) to `bbe1ebed2f09ee088f91e947fd1db8a3038f00cf` (#238): 2 first-parent commits, #237 and #238, 13 files. It is the smallest merged window that touches every ecosystem the repository has: - `.sh`: `.cursor/check.sh` - `.mjs`: `.github/scripts/issue-form-drift.mjs` and its test - `.github` YAML: four issue forms and two workflows - markdown: `.github/PULL_REQUEST_TEMPLATE.md`, `README.md`, `docs/standards/issue-tracker.md` - JSON: `.github/standards/issue-body-contract/contract.json`, claimed by no ecosystem **Method.** A throwaway `git clone --shared` in the worktree's gitignored `.work/`, on a branch at `bbe1ebe` with `refs/remotes/origin/main` and `origin/HEAD` set to `9e784be`, so the skills' branch-diff detection yields exactly the range. For the record runs the records were copied in and hidden through the clone's `.git/info/exclude`; `diff -r` against this branch's records printed nothing. Every command ran as `env -C <clone> <command>`. No install ran: there is no lockfile. Toolchain plugin 1.4.0. | Run | Skill | Records | Overall | |---|---|---|---| | 1 | `/toolchain:check all` | bundled defaults | PASS (3 of 3 ecosystems passed) | | 2 | `/toolchain:lint` | bundled defaults | PASS (5 of 5 ecosystems passed) | | 3 | `/toolchain:check all` | this PR's records | PASS (3 of 3 ecosystems passed) | | 4 | `/toolchain:lint` | this PR's records | PASS (5 of 5 ecosystems passed) | No run has a `skip (unresolved` cell. Run 3's recorded table: ```text | Ecosystem | Build | Test | Lint | Status | |------------|-------|------|------|--------| | typescript | — | pass | — | PASS | | bash | — | — | pass | PASS | | markdown | — | — | pass | PASS | Outside every ecosystem: .github/standards/issue-body-contract/contract.json Overall: PASS (3 of 3 ecosystems passed) ``` **Baseline command lists (bundled defaults).** ```text # run 1, /toolchain:check all dotnet, python, powershell, go: nothing ran (no project, no changed file) typescript (selected by the two .mjs files): no package.json or tsconfig; biome/eslint opt-in unmet -> nothing ran shellcheck -x -S warning .cursor/check.sh && shfmt -d .cursor/check.sh # pass npx markdownlint-cli2 <3 md> # npx resolved 0.24.1; 0 issues record-result.mjs --skill check # run 2, /toolchain:lint typescript: opt-in unmet shellcheck -x -S warning .cursor/check.sh && shfmt -d .cursor/check.sh # pass npx markdownlint-cli2 <3 md> # 0 issues actionlint # pass typos # pass gitleaks detect --source . --redact --no-banner --no-git # no leaks ec # pass lychee --offline --no-progress './**/*.md' # 165 links, 0 errors record-result.mjs --skill lint ``` **Record command lists (runs 3 and 4).** `$R` is the clone root. ```text # run 3, /toolchain:check all node --test .github/scripts/pr-section-drift.test.mjs .github/scripts/issue-form-drift.test.mjs # 34 tests, 34 pass shellcheck --rcfile=$R/.shellcheckrc .cursor/check.sh # pass markdownlint-cli2 --config $R/.markdownlint-cli2.jsonc <3 md> # 0 issues dotnet, python, powershell, go: as in run 1 record-result.mjs --skill check # run 4, /toolchain:lint: the bash and markdown lines above, plus actionlint # pass check-jsonschema --builtin-schema vendor.dependabot .github/dependabot.yml # ok check-jsonschema --builtin-schema vendor.github-workflows <5 workflows> # ok check-jsonschema --builtin-schema vendor.github-issue-forms <4 forms> # ok check-jsonschema --builtin-schema vendor.github-issue-config .github/ISSUE_TEMPLATE/config.yml # ok check-jsonschema --schemafile https://json.schemastore.org/claude-code-settings.json .claude/settings.json # ok typos --config _typos.toml . + hidden tracked files | xargs typos --config _typos.toml # pass gitleaks dir . --config .gitleaks.toml --no-banner --redact # no leaks ec -config .editorconfig-checker.json # pass lychee --offline --no-progress --config lychee.toml '**/*.md' '.claude/**/*.md' '.github/**/*.md' # 165 links, 0 errors typescript: check-cmd null record-result.mjs --skill lint ``` The two lists differ only as the Fix table lists: the typescript test added, the scoped `--rcfile`/`--config` arguments, shfmt dropped, the CI jsonschema calls added, the hidden-file typos pass, `gitleaks dir` and CI's lychee globs. The yaml and cross-cutting `check-cmd` block scalars ran whole, under bash and again under zsh, both exit 0. **Installed versions that differ from the pins:** markdownlint-cli2 0.24.0 (pin 0.23.2), typos 1.52.2 (1.50.3), editorconfig-checker 3.11.1 (4.0.2), check-jsonschema 0.39.0 (0.38.2). shellcheck 0.11.0, gitleaks 8.30.1, lychee 0.24.2 and actionlint 1.7.12 match. No drift changed a result. **Schema.** `check-jsonschema --schemafile ecosystem.schema.json` (claude-code-plugins `main`, blob `26f92e2`) over all five files: `ok -- validation done`. Every key was also checked by hand against the schema's `properties`. typos, editorconfig-checker and gitleaks are clean on the new files; the lefthook pre-commit and commit-msg hooks passed. ## Related - melodic-software/claude-code-plugins#15726 (this item); sibling record PR: melodic-software/claude-code-proxy#394. - Not changed here (out of scope): `.cursor/install.sh` pins tool versions older than the composites CI calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated exact-file synchronization from
melodic-software/standards@817897d347764826f2d36c73b31cfc6e024e7ef7(requested refmain).No linked issue — recurring automated distribution, not tied to a tracked change.
Fix
Managed component mappings applied to
melodic-software/.github:components/claude-lanes-hosted/claude-review.yml→.github/workflows/pr-review-hosted.yml(mode100644)components/claude-lanes-hosted/claude-security-review.yml→.github/workflows/pr-review-security-hosted.yml(mode100644)components/cloud-bootstrap/cloud-bootstrap.sh→.claude/cloud-bootstrap.sh(mode100755)components/commit-convention/commit-convention.yml→docs/conventions/source-control/commit-convention.yml(mode100644).editorconfig-checker.json→.editorconfig-checker.json(mode100644)components/engineering-standards/standards-index.md→docs/standards/README.md(mode100644)standards/engineering/bulk-mutation.md→docs/standards/bulk-mutation.md(mode100644)standards/engineering/concise-prose.md→docs/standards/concise-prose.md(mode100644)standards/engineering/design-for-change.md→docs/standards/design-for-change.md(mode100644)standards/engineering/deterministic-work-execution.md→docs/standards/deterministic-work-execution.md(mode100644)standards/engineering/documentation-and-citations.md→docs/standards/documentation-and-citations.md(mode100644)standards/engineering/reference-dont-duplicate.md→docs/standards/reference-dont-duplicate.md(mode100644)standards/engineering/simpler-code.md→docs/standards/simpler-code.md(mode100644)standards/engineering/source-authority-tiers.md→docs/standards/source-authority-tiers.md(mode100644)standards/process/issue-tracker.md→docs/standards/issue-tracker.md(mode100644).gitleaks.toml→.gitleaks.toml(mode100644)components/issue-body-contract/contract.json→.github/standards/issue-body-contract/contract.json(mode100644)components/issue-body-contract/forms/agent-ready.yml→.github/ISSUE_TEMPLATE/agent-ready.yml(mode100644)components/issue-body-contract/forms/bug-report.yml→.github/ISSUE_TEMPLATE/bug-report.yml(mode100644)components/issue-body-contract/forms/feature-request.yml→.github/ISSUE_TEMPLATE/feature-request.yml(mode100644)components/issue-body-contract/forms/task.yml→.github/ISSUE_TEMPLATE/task.yml(mode100644)lychee.toml→lychee.toml(mode100644)components/managed-files-guard/managed-files-guard.yml→.github/workflows/pr-check-managed-files-hosted.yml(mode100644).markdownlint-cli2.jsonc→.markdownlint-cli2.jsonc(mode100644).claude/rules/pr-body-contract.md→.claude/rules/pr-body-contract.md(mode100644).editorconfig→.editorconfig(mode100644).gitattributes→.gitattributes(mode100644)REVIEW.md→REVIEW.md(mode100644)_typos.toml→_typos.toml(mode100644)Verification
Review and merge this PR normally. Do not hand-edit these managed files downstream; change their standards source instead.
Related
melodic-software/standards@817897d347764826f2d36c73b31cfc6e024e7ef7— source commit this sync distributes.