Skip to content

chore: sync standards components - #237

Merged
melodic-standards-sync[bot] merged 1 commit into
mainfrom
chore/standards-sync
Nov 11, 2026
Merged

melodic-standards-sync[bot] merged 1 commit into
mainfrom
chore/standards-sync

Conversation

@melodic-standards-sync

Copy link
Copy Markdown
Contributor

Summary

Automated exact-file synchronization from melodic-software/standards@817897d347764826f2d36c73b31cfc6e024e7ef7 (requested ref main).

No linked issue — recurring automated distribution, not tied to a tracked change.

Fix

Managed component mappings applied to melodic-software/.github:

  • claude-review-hosted-caller: components/claude-lanes-hosted/claude-review.yml → .github/workflows/pr-review-hosted.yml (mode 100644)
  • claude-security-review-hosted-caller: components/claude-lanes-hosted/claude-security-review.yml → .github/workflows/pr-review-security-hosted.yml (mode 100644)
  • cloud-bootstrap: components/cloud-bootstrap/cloud-bootstrap.sh → .claude/cloud-bootstrap.sh (mode 100755)
  • commit-convention: components/commit-convention/commit-convention.yml → docs/conventions/source-control/commit-convention.yml (mode 100644)
  • editorconfig-checker: .editorconfig-checker.json → .editorconfig-checker.json (mode 100644)
  • engineering-standards: components/engineering-standards/standards-index.md → docs/standards/README.md (mode 100644)
  • engineering-standards: standards/engineering/bulk-mutation.md → docs/standards/bulk-mutation.md (mode 100644)
  • engineering-standards: standards/engineering/concise-prose.md → docs/standards/concise-prose.md (mode 100644)
  • engineering-standards: standards/engineering/design-for-change.md → docs/standards/design-for-change.md (mode 100644)
  • engineering-standards: standards/engineering/deterministic-work-execution.md → docs/standards/deterministic-work-execution.md (mode 100644)
  • engineering-standards: standards/engineering/documentation-and-citations.md → docs/standards/documentation-and-citations.md (mode 100644)
  • engineering-standards: standards/engineering/reference-dont-duplicate.md → docs/standards/reference-dont-duplicate.md (mode 100644)
  • engineering-standards: standards/engineering/simpler-code.md → docs/standards/simpler-code.md (mode 100644)
  • engineering-standards: standards/engineering/source-authority-tiers.md → docs/standards/source-authority-tiers.md (mode 100644)
  • engineering-standards: standards/process/issue-tracker.md → docs/standards/issue-tracker.md (mode 100644)
  • gitleaks: .gitleaks.toml → .gitleaks.toml (mode 100644)
  • issue-forms: components/issue-body-contract/contract.json → .github/standards/issue-body-contract/contract.json (mode 100644)
  • issue-forms: components/issue-body-contract/forms/agent-ready.yml → .github/ISSUE_TEMPLATE/agent-ready.yml (mode 100644)
  • issue-forms: components/issue-body-contract/forms/bug-report.yml → .github/ISSUE_TEMPLATE/bug-report.yml (mode 100644)
  • issue-forms: components/issue-body-contract/forms/feature-request.yml → .github/ISSUE_TEMPLATE/feature-request.yml (mode 100644)
  • issue-forms: components/issue-body-contract/forms/task.yml → .github/ISSUE_TEMPLATE/task.yml (mode 100644)
  • lychee: lychee.toml → lychee.toml (mode 100644)
  • managed-files-guard-caller: components/managed-files-guard/managed-files-guard.yml → .github/workflows/pr-check-managed-files-hosted.yml (mode 100644)
  • markdownlint: .markdownlint-cli2.jsonc → .markdownlint-cli2.jsonc (mode 100644)
  • pr-body-contract-rule: .claude/rules/pr-body-contract.md → .claude/rules/pr-body-contract.md (mode 100644)
  • repository-text: .editorconfig → .editorconfig (mode 100644)
  • repository-text: .gitattributes → .gitattributes (mode 100644)
  • review-instructions: REVIEW.md → REVIEW.md (mode 100644)
  • typos: _typos.toml → _typos.toml (mode 100644)

Verification

Review and merge this PR normally. Do not hand-edit these managed files downstream; change their standards source instead.

Related

@melodic-standards-sync melodic-standards-sync Bot added the standards-sync Standards-config sync PRs from the standards-sync workflow. label Nov 11, 2026
@melodic-standards-sync
melodic-standards-sync Bot enabled auto-merge (squash) November 11, 2026 20:16
@melodic-standards-sync
melodic-standards-sync Bot merged commit 5896612 into main Nov 11, 2026
38 of 39 checks passed
@melodic-standards-sync
melodic-standards-sync Bot deleted the chore/standards-sync branch November 11, 2026 21:27
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]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

standards-sync Standards-config sync PRs from the standards-sync workflow.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants