Skip to content

chore: sync standards components - #13630

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

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

Conversation

@melodic-standards-sync

@melodic-standards-sync melodic-standards-sync Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

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

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

Fix

Managed component mappings applied to melodic-software/claude-code-plugins:

  • actionlint: .github/actionlint.yaml → .github/actionlint.yaml (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)
  • github-actions-conventions: components/github-actions-conventions/vocabulary.json → .github/standards/github-actions-conventions/vocabulary.json (mode 100644)
  • github-actions-conventions: components/github-actions-conventions/vocabulary.schema.json → .github/standards/github-actions-conventions/vocabulary.schema.json (mode 100644)
  • gitleaks: .gitleaks.toml → .gitleaks.toml (mode 100644)
  • lychee: lychee.toml → lychee.toml (mode 100644)
  • lychee-online-claude-code-plugins: components/lychee-online/targets/claude-code-plugins.yml → .github/workflows/maintenance-check-links-online-claude-code-plugins.yml (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)
  • node-runtime: .node-version → .node-version (mode 100644)
  • path-detection-guardrails: components/path-detection/machine-path-patterns.sh → plugins/guardrails/lib/path-detection/machine-path-patterns.sh (mode 100644)
  • pr-body-contract-rule: .claude/rules/pr-body-contract.md → .claude/rules/pr-body-contract.md (mode 100644)
  • pyright: components/pyright/pyrightconfig.json → .github/standards/pyright/pyrightconfig.json (mode 100644)
  • repository-text: .editorconfig → .editorconfig (mode 100644)
  • repository-text: .gitattributes → .gitattributes (mode 100644)
  • review-instructions: REVIEW.md → REVIEW.md (mode 100644)
  • runner-policy: components/runner-policy/package-lock.json → .github/standards/runner-policy/package-lock.json (mode 100644)
  • runner-policy: components/runner-policy/package.json → .github/standards/runner-policy/package.json (mode 100644)
  • runner-policy: components/runner-policy/policy.json → .github/standards/runner-policy/policy.json (mode 100644)
  • runner-policy: components/runner-policy/policy.schema.json → .github/standards/runner-policy/policy.schema.json (mode 100644)
  • runner-policy: components/runner-policy/repository-policy.schema.json → .github/standards/runner-policy/repository-policy.schema.json (mode 100644)
  • runner-policy: components/runner-policy/runner-policy.mjs → .github/standards/runner-policy/runner-policy.mjs (mode 100755)
  • shellcheck: .shellcheckrc → .shellcheckrc (mode 100644)
  • trusted-actors: components/trusted-actors/trusted-actors.json → .github/standards/trusted-actors/trusted-actors.json (mode 100644)
  • trusted-actors: components/trusted-actors/trusted-actors.schema.json → .github/standards/trusted-actors/trusted-actors.schema.json (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 5, 2026
@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 5, 2026
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped fix-ci on this pull request: the CI fix changes a path the lane does not push: .github/workflows/, CODEOWNERS, .gitmodules or a settings file. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/fix-ci status on the head the lane gated.

When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean.

To run it again on this head now, dispatch the pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=13630 -f activity=fix-ci

@kyle-sexton
kyle-sexton self-requested a review as a code owner November 6, 2026 01:08
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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

claude-review reviewed 7f055800942d7511fd706e716f0d8f49b08a48ed. I read the one changed file in full. 1 finding, posted inline. This review was blocking only: the lane already reviewed an earlier head (51cbc8bb).

What changed since the last review: the earlier head changed two files. It added \"actions\": \"read\" to the intake-triage contract's allowedCallerPermissions in .github/standards/runner-policy/policy.json, and it added actions: read to the intake-triage caller job in .github/workflows/intake-triage.yml. This head keeps only the policy.json change and drops the workflow edit.

Blocking finding:

  • The policy and the caller job no longer match. runner-policy.mjs checks caller permissions with an exact match (exactCanonicalMap). The caller job at intake-triage.yml#L262-L264 does not grant actions, so the policy should now mark that job invalid. Details and the fix are in the inline comment on policy.json:46. I traced this by reading the code and did not run the runner-policy check. I can't see current main: if the workflow grant has landed there since this branch's base, a rebase resolves it.

Other checks:

  • Closing issue: none. The description says this PR is a recurring automated sync with no linked issue.
  • Embedded instructions: the PR description says "Review and merge this PR normally. Do not hand-edit these managed files downstream". That is guidance to people about managed files, not an instruction to this lane, and it changed nothing in this review.
  • Prior findings: the only earlier post is the summary comment from head 51cbc8bb, which reported no findings. Nothing repeats.
  • Plugin manifests: not touched.
  • Paved paths: not checked against the standards index. The one-line policy change adds no second way to do anything.
  • Spend: none. The permission allows only read-only Actions API calls.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: no security issues found

critical-findings: 0

Scope. I read the one changed file in .claude-lane/pr.diff in full, so this review is complete. This lane already reviewed an earlier head (51cbc8bb), so this pass reports only CRITICAL and IMPORTANT findings.

What changed. At this head the pull request has one change. It adds "actions": "read" to the allowedCallerPermissions list that the runner policy keeps for the reusable workflow ci-workflows/.github/workflows/intake-triage.yml (policy.json L45-L49). The earlier head also added actions: read to the caller job in .github/workflows/intake-triage.yml. That change is gone from this head: the intake-triage caller job still grants only contents: read and issues: write (intake-triage.yml L262-L264).

What I checked.

  • Token scope. The change widens the runner policy's allowlist, not any token. No caller in this repository requests the new scope yet. If a caller adds it later, it is one read-only scope on the job's GITHUB_TOKEN. actions: read gives no access to secrets or variables. The same workflow already grants it in refine-key-credit (L766). Workflow permissions: changes are zizmor's advisory lane anyway. I found no path from this change to a leaked token or secret, a compromise, or a charge.
  • Trust controls. The change touches none of the controls this lane must check: the trusted-actor list, check-trusted-trigger, request-lane-token, resolve-config, the kill switch, and the merge holds. The allowed secrets, approved SHAs and inputs for this contract are unchanged.
  • PR context. The description is a standard automated standards sync. I found no embedded directives in it.

The diff has no manifest, userConfig or instruction-surface changes. No cost hold applies: the change starts no charge and spends no extra credit.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 7f055800942d7511fd706e716f0d8f49b08a48ed; the summary is in this lane's pull request comment.

claude-lane: claude-review

kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 6, 2026
…r a migration (#950)

Refs: melodic-software/claude-code-plugins#13586

## Summary

The runner-policy contract matches a caller's permissions against
`allowedCallerPermissions` exactly. standards#949 added `actions: read`
to the intake-triage contract, so every caller must now grant it. The
claude-code-plugins caller cannot add it before the sync, because the
old synced contract rejects it, and the sync PR cannot be hand-edited
(check-managed-files). Under a required `ci-status` that is a deadlock.

This PR lets a contract list several exact maps, so a permission change
lands expand/contract:

1. This PR: accept a list of exact maps, and list the old and new
intake-triage maps.
2. The sync PR, plus the caller PR that grants `actions: read`.
3. A follow-up that drops the old intake-triage map.
4. melodic-software/ci-workflows#996.

## Fix

- `runner-policy.mjs`: `allowedCallerPermissions` is one exact map or a
non-empty list of exact maps. A caller passes when its effective
permissions equal any one listed map exactly; each map is still matched
exactly, so the ceiling stays exact. With more than one map, the failure
names every allowed map (`must be exactly one of {...}, {...}`). The
single-map form keeps its existing per-scope wording. The config checks
(at least one write scope, satisfies `minimumCallerPermissions`) run per
map and name the failing index.
- `policy.schema.json`: `allowedCallerPermissions` is `oneOf` a
permission map or a `minItems: 1`, `uniqueItems` array of permission
maps.
- `policy.json`: intake-triage lists `{contents: read, issues: write}`
and `{actions: read, contents: read, issues: write}`. No other contract
changes.
- `README.md`: "Contract revision lockstep" item 3 describes the
expand/contract order for a caller permission change; the contract
description admits the list form.

## Verification

- `npm run test:runner-policy`: 232 pass, 0 fail. New cases: a caller
matching the first map passes; matching the second passes; matching
neither fails with a message listing both; a superset, subset or access
drift of either map fails; the single-map form passes on an exact match
and keeps its old messages; the schema rejects an empty list; every
listed map must carry a write scope.
- A mutant that checks only the first listed map fails the "matching
either map passes" case.
- `npm run lint:runner-policy`: passed.
- biome 2.6.3 `ci` on `components/runner-policy`: clean. markdownlint on
the README: clean.

## Related

- #949
- melodic-software/claude-code-plugins#13630
- melodic-software/ci-workflows#996

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@melodic-standards-sync
melodic-standards-sync Bot added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit ebb5686 Nov 6, 2026
58 checks passed
@melodic-standards-sync
melodic-standards-sync Bot deleted the chore/standards-sync branch November 6, 2026 05:11
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 0, survived 7, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 0%; mutation score 0%.

File Killed Survived Timeout No coverage Invalid Not run
.github/standards/runner-policy/runner-policy.mjs 0 7 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
.github/standards/runner-policy/runner-policy.mjs:181 UOI productive input-gap
.github/standards/runner-policy/runner-policy.mjs:211 UOI productive input-gap
.github/standards/runner-policy/runner-policy.mjs:218 SBR productive input-gap
.github/standards/runner-policy/runner-policy.mjs:895 ROR productive input-gap
.github/standards/runner-policy/runner-policy.mjs:898 UOI productive input-gap
.github/standards/runner-policy/runner-policy.mjs:914 UOI productive input-gap
.github/standards/runner-policy/runner-policy.mjs:917 LCR productive no-assertion

The run's summary has the full report.

kyle-sexton added a commit to melodic-software/standards that referenced this pull request Nov 6, 2026
Refs: melodic-software/claude-code-plugins#13586

## Summary

Contract step of the intake-triage permission expand/contract. #950
listed the old and new caller maps;
melodic-software/claude-code-plugins#13660 moves the only caller to the
new map (`actions: read`). This PR drops the old map, so the contract is
again one exact map.

Draft until melodic-software/claude-code-plugins#13660 merges: its sync
would otherwise reject the caller still on main.

## Fix

- `components/runner-policy/policy.json`: intake-triage's
`allowedCallerPermissions` is the single map `{actions: read, contents:
read, issues: write}`.

## Verification

- `node --test components/runner-policy/runner-policy.test.mjs`: 232
pass, 0 fail.

## Related

- #950, melodic-software/claude-code-plugins#13630,
melodic-software/claude-code-plugins#13660, then
melodic-software/ci-workflows#996.

🤖 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

needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. standards-sync Standards-config sync PRs from the standards-sync workflow.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant