Repository navigation
chore: sync standards components - #13630
Conversation
|
The pr-unblock lane stopped
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 gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=13630 -f activity=fix-ci |
|
claude-review reviewed claude-review reviewed What changed since the last review: the earlier head changed two files. It added Blocking finding:
Other checks:
|
|
claude-security-review reviewed Security review: no security issues foundcritical-findings: 0 Scope. I read the one changed file in What changed. At this head the pull request has one change. It adds What I checked.
The diff has no manifest, |
51cbc8b to
7f05580
Compare
…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]>
7f05580 to
dd733b6
Compare
Post-merge mutation testingKilled 0, survived 7, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
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]>
Summary
Automated exact-file synchronization from
melodic-software/standards@9663302853f9b4cf83c206a6fa93468a39e535ef(requested refmain).No linked issue — recurring automated distribution, not tied to a tracked change.
Fix
Managed component mappings applied to
melodic-software/claude-code-plugins:.github/actionlint.yaml→.github/actionlint.yaml(mode100644)components/dependabot-policy/policy.json→.github/standards/dependabot-policy/policy.json(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)components/github-actions-conventions/vocabulary.json→.github/standards/github-actions-conventions/vocabulary.json(mode100644)components/github-actions-conventions/vocabulary.schema.json→.github/standards/github-actions-conventions/vocabulary.schema.json(mode100644).gitleaks.toml→.gitleaks.toml(mode100644)lychee.toml→lychee.toml(mode100644)components/lychee-online/targets/claude-code-plugins.yml→.github/workflows/maintenance-check-links-online-claude-code-plugins.yml(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).node-version→.node-version(mode100644)components/path-detection/machine-path-patterns.sh→plugins/guardrails/lib/path-detection/machine-path-patterns.sh(mode100644).claude/rules/pr-body-contract.md→.claude/rules/pr-body-contract.md(mode100644)components/pyright/pyrightconfig.json→.github/standards/pyright/pyrightconfig.json(mode100644).editorconfig→.editorconfig(mode100644).gitattributes→.gitattributes(mode100644)REVIEW.md→REVIEW.md(mode100644)components/runner-policy/package-lock.json→.github/standards/runner-policy/package-lock.json(mode100644)components/runner-policy/package.json→.github/standards/runner-policy/package.json(mode100644)components/runner-policy/policy.json→.github/standards/runner-policy/policy.json(mode100644)components/runner-policy/policy.schema.json→.github/standards/runner-policy/policy.schema.json(mode100644)components/runner-policy/repository-policy.schema.json→.github/standards/runner-policy/repository-policy.schema.json(mode100644)components/runner-policy/runner-policy.mjs→.github/standards/runner-policy/runner-policy.mjs(mode100755).shellcheckrc→.shellcheckrc(mode100644)components/trusted-actors/trusted-actors.json→.github/standards/trusted-actors/trusted-actors.json(mode100644)components/trusted-actors/trusted-actors.schema.json→.github/standards/trusted-actors/trusted-actors.schema.json(mode100644)_typos.toml→_typos.toml(mode100644).github/zizmor.yml→.github/zizmor.yml(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@9663302853f9b4cf83c206a6fa93468a39e535ef— source commit this sync distributes.