Skip to content

docs(managed-files-guard): state the sync-PR exemption rule - #708

Merged
kyle-sexton merged 1 commit into
mainfrom
docs/managed-files-guard-skip-rule
Oct 5, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
docs/managed-files-guard-skip-rule

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: wording follow-up to melodic-software/ci-workflows#690.

Summary

ci-workflows#690 changed the check-managed-files composite so that a pull request skips the managed-files guard only when melodic-standards-sync[bot] authored it and it carries the standards-sync label. Before, either one was enough. The component's caller headers and README still described the old rule.

Fix

  • The headers in managed-files-guard.yml and managed-files-guard-fleet.yml and one README line now state the rule: authored by melodic-standards-sync[bot] and labelled standards-sync.
  • The change is comment and docs only; no YAML key, value or job changed.
  • The README's dated per-version history (around lines 144-151) is left as written, since it describes past releases.

Verification

  • components/managed-files-guard/managed-files-guard.test.sh: 0 FAIL.
  • markdownlint: 0 issues.

Related

🤖 Generated with Claude Code

@kyle-sexton
kyle-sexton enabled auto-merge (squash) October 5, 2026 01:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T01:49:29.924935Z 398b7e3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@claude

claude Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 1m 27s —— View job


CI code review — PR #708

  • Gather context (diff vs origin/main, PR body, repo conventions)
  • Review changed files for correctness
  • Check for other docs that state the same exemption rule (cross-doc reconciliation)
  • Post findings

Scope: 3 files, comment/docs-only (+5/-5): components/managed-files-guard/managed-files-guard.yml, managed-files-guard-fleet.yml, and README.md. No YAML keys, values, or job logic changed — only header comments and one README line.

What changed: Updates the stated exemption rule for the managed-files guard from "labeled standards-sync, or authored by melodic-standards-sync[bot]" (OR) to "authored by melodic-standards-sync[bot] and labeled standards-sync" (AND), matching the upstream behavior change in ci-workflows#690.

Review findings: None. The wording is accurate, consistent across all three files, and grammatically clear. I checked for other files in the repo that restate this specific rule (conventions/review/ai-review-bot-composition.md mentions a different bot-skip exemption for the AI review lane, not this one) — no other file needed reconciliation. The README's dated per-version history (lines ~144-151) correctly describes the old OR behavior as it was at the time of the v0.24.0 quoting fix, so leaving it untouched is correct rather than an inconsistency.

I could not independently verify the upstream ci-workflows#690 behavior change itself (that composite's source lives in a different repository), so I'm treating the PR author's description of that change as the basis for the wording fix, per the PR body's own citation.

No code changes needed; this is a clean, narrowly-scoped docs/comment fix.

@claude

claude Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Claude finished @kyle-sexton's task in 37s —— View job


Security review — PR #708

Scope: components/managed-files-guard/README.md, managed-files-guard.yml, managed-files-guard-fleet.yml

  • Gather context (diff vs origin/main, read changed files)
  • Apply skip-gate / instruction-surface check
  • Report result

Result: no security-relevant surface. No findings.

All three hunks are comment/prose-only edits inside already SHA-pinned workflow files and a README — no YAML key, value, trigger, permission, or job changed:

Instruction-surface check: these comments describe the sync-PR exemption rule for the check-managed-files composite, but the composite itself is an external, SHA-pinned action (uses:) consumed from ci-workflows; the actual enforcement logic is unchanged here. The edit tightens the stated rule from "label OR author" to "author AND label," matching the stricter behavior already shipped upstream in ci-workflows#690 — a narrowing of the exemption surface, not a softening, and the guardrail itself still lives (and is still enforced) in the pinned external composite, not in this prose. No rule is being removed or weakened by this diff.

docs/conventions/instruction-exception-register/README.md is not present in this checkout, so the protected-class list could not be consulted directly; the consequence-based check above was used as the documented fallback.

@kyle-sexton
kyle-sexton merged commit 7cc773f into main Oct 5, 2026
22 checks passed
@kyle-sexton
kyle-sexton deleted the docs/managed-files-guard-skip-rule branch October 5, 2026 01:49
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

claude-security-review has reviewed this pull request through 398b7e3; a later push is reviewed from there.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

claude-review has reviewed this pull request through 398b7e3; a later push is reviewed from there.

kyle-sexton added a commit that referenced this pull request Oct 7, 2026
No related issue: fleet repin to ci-workflows v0.39.0 in the GitHub
Actions conventions migration (standards-sync automation, phase C).

## Summary

Moves this repository's repo-owned ci-workflows pins from v0.38.2
(`cf316d1`) to v0.39.0 (`6ba73b97b058602c4dd2bb6e2cce234d11011787`), and
renames the secrets this repository passes to
`maintenance-sync-standards` to the names v0.39.0 declares.

## Fix

- Pin SHA and `# v0.39.0` comment on 31 lines across five workflows.
- `maintenance-sync-standards.yml`: `app-client-id` / `app-private-key`
become `STANDARDS_SYNC_APP_CLIENT_ID` / `STANDARDS_SYNC_APP_PRIVATE_KEY`
(values unchanged). Environment secret names allow only `[A-Za-z0-9_]`,
so the hyphenated names could never be supplied from an environment. No
`environment` input is passed: the default `standards-sync` is intended,
and its main-only branch policy is declared in github-iac separately.
Until then the job auto-creates the environment and still reads the
repo-level secrets.
- Component sources under `components/` are untouched; managed callers
move through `maintenance-repin-ci-workflows`.

## Verification

- actionlint passes on `.github/workflows/*.yml`; every pinned path
exists at `6ba73b9`.
- Runner-policy contracts for `6ba73b9`, including the renamed secret
keys, are in #732; this PR's runner-policy check passes once #732
merges.

## Related

- #732 (v0.39.0 runner-policy contracts)
- melodic-software/ci-workflows#707 (environment input, secret rename),
#708 (sync-verify mode); release v0.39.0

🤖 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant