Skip to content

chore: sync standards components - #565

Merged
melodic-standards-sync[bot] merged 1 commit into
mainfrom
chore/standards-sync
Nov 15, 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@cd6f753ad1e9f0917adb28b8447c2551cf048ab8 (requested ref main).

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

Fix

Managed component mappings applied to melodic-software/ci-runner:

  • 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)
  • dependabot-policy: components/dependabot-policy/policy.json → .github/standards/dependabot-policy/policy.json (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)
  • go-analysis: .golangci.yml → .golangci.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)
  • shellcheck: .shellcheckrc → .shellcheckrc (mode 100644)
  • typos: _typos.toml → _typos.toml (mode 100644)
  • zizmor: .github/zizmor.yml → .github/zizmor.yml (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 15, 2026
@melodic-standards-sync
melodic-standards-sync Bot enabled auto-merge (squash) November 15, 2026 15:58
@melodic-standards-sync
melodic-standards-sync Bot merged commit 666ad51 into main Nov 15, 2026
56 of 57 checks passed
@melodic-standards-sync
melodic-standards-sync Bot deleted the chore/standards-sync branch November 15, 2026 16:00
kyle-sexton added a commit that referenced this pull request Nov 15, 2026
No related issue: the first-party action pin work, tracked in the
owner's audit session.

## Summary

Dependabot ignored this repository's `melodic-software/ci-workflows`
action pins, and `release/dependencies.json`
held a second copy of the pinned commit that every bump had to edit by
hand. After this change the workflow `uses:`
lines are the only record of that pin, as they already are for every
other Action, Dependabot keeps the pins on the
newest ci-workflows release, and the auto-merge caller merges that bump
with no manual edit.

## Fix

Tooling (first commit, green with the pins still on v0.73.0):

- `release/dependencies.json`: the `melodic-software/ci-workflows` entry
leaves `repositoryPins` (now `[]`).
- `scripts/ReleasePinSources.ps1` (`Get-WorkflowActionPins`):
ci-workflows composite actions are read like every other
Action, so every use must name one commit and one `# vX.Y.Z` release.
Two ci-workflows references are skipped: a
reusable workflow called at `@main`, and the pin in a `SYNC-MANAGED
FILE`.
- `scripts/Test-DependencyFreshness.ps1`: one expression made safe for
an empty `repositoryPins` under StrictMode.
- `.github/scripts/workflow-pin-metadata.test.cjs`: the
manifest-agreement test is removed; the caller inventory, the
one-commit and the one-release assertions stay.
`.github/scripts/release-pins.test.cjs` gains two cases: a grouped
ci-workflows bump passes with no manifest edit, and two different
ci-workflows releases fail with their locations.
- `docs/releases.md`: states the rule as it now is.

Pins and Dependabot (second commit):

- `.github/workflows/pr-require-checks.yml`: the sixteen ci-workflows
action pins move from v0.73.0 to the v0.74.0
release commit `944d346c487c79eaf85dff752586fb59b0f5c539`. The pin in
the sync-managed
  `pr-check-managed-files-hosted.yml` is unchanged.
- `.github/dependabot.yml`, the `github-actions` entry: the ignore of
`melodic-software/ci-workflows/*` becomes an
ignore of that one sync-managed pin; first-party releases are excluded
from the cooldown; a `first-party-actions`
  group moves every ci-workflows pin in one pull request.

## What the release freshness gate checks for ci-workflows

- Before: the `repositoryPins` commit had to be an ancestor of
ci-workflows' default branch, and drift was counted
from later commits on that branch. No tag or `# v` comment was checked.
- After: as for every other Action, drift is measured against the newest
stable release, exactly one release must
exist for the pinned version, and that release's tag must map to the
pinned commit.
- Lost: the ancestry check and drift counted from unreleased commits.
Gained: the release and tag-to-commit checks.

The published `compatibility.json` never recorded the ci-workflows
commit, so no release artifact changes shape.
No other repository reads `repositoryPins`.

## Verification

- `node --test .github/scripts/workflow-pin-metadata.test.cjs
.github/scripts/release-pins.test.cjs`: 10 pass, 0 fail.
- `pwsh -NoProfile -File scripts/Test-ReleasePins.ps1 -RepositoryRoot
.`: `Release and workflow pins are internally
  consistent.`
- A copy of the tree with all sixteen pins rewritten to another commit
and `# v0.75.0`, manifest untouched: both
  checks pass. With one pin rewritten and fifteen left: both fail.
- standards `components/dependabot-policy/dependabot-policy.mjs --root
.`: `Dependabot policy passed.`
- Not run: `Test-DependencyFreshness.ps1`, which needs the network and
Docker; ci-workflows v0.74.0 is a published
  release whose tag maps to `944d346c`.

## Related

- melodic-software/agent-plugins#143, melodic-software/standards#1026,
#565

🤖 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