Skip to content

chore(distribution): sync the comment and machine-path composites to their renamed ci-workflows directories - #679

Merged
kyle-sexton merged 4 commits into
mainfrom
chore/sync-destinations-renamed
Oct 4, 2026
Merged

kyle-sexton merged 4 commits into
mainfrom
chore/sync-destinations-renamed

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: Phase 4 follow-up of the GitHub Actions conventions program (tracking: #672)

Summary

Moves the two ci-workflows sync destinations to the action directory names the org naming convention assigns (components/github-actions-conventions/rename-map.json):

  • comment-hygiene-action: .github/actions/comment-hygiene/ to .github/actions/check-comment-markers/
  • path-detection-action: .github/actions/machine-specific-paths/ to .github/actions/check-machine-paths/

Merge order: this merges after #674 (trusted-actors), which it is branched from, and is followed by a ci-workflows release.

Fix

  • distribution/sync-manifest.yml: the two destination paths change. Component sources and file names do not.
  • components/managed-files-guard/managed-files-guard.yml and managed-files-guard-fleet.yml: the guarded paths follow the new destinations.

Per distribution/README.md (Lifecycle, Relocate), the sync does not delete the old paths. The ci-workflows sync PR must delete them in the same PR, move the repo-owned action.yml files into the new directories, and switch the $/.github/actions/... references in pr-run-checks.yml.

Verification

  • distribution/sync-manifest.sh validate: Manifest valid: 40 components, 13 targets.
  • harness/shell/run-tests.sh distribution/sync-manifest.test.sh components/managed-files-guard/managed-files-guard.test.sh: 2 passed, 0 failed. This includes the check that each guard path list is the sorted union of managed destinations.

Related

🤖 Generated with Claude Code

🤖 Generated with Claude Code

kyle-sexton and others added 3 commits October 4, 2026 02:47
Adds the trusted-actors component: the account list CI lanes read from
the base commit to decide whose text reaches a Claude prompt, matched
on numeric user id. The sync materializes the list and its schema at
.github/standards/trusted-actors/ in claude-code-plugins, and the
managed-files-guard path filters gain the two destinations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds a node --test suite for the trusted-actor list (schema validity, a
string id and an extra actor key rejected, unique ids, github-actions[bot]
absent) and runs it in the distribution job, which installs ajv.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ction dirs

Relocate the comment-hygiene-action and path-detection-action destinations
to .github/actions/check-comment-markers/ and .github/actions/check-machine-paths/
per the github-actions-conventions rename map, and update both
managed-files-guard path lists to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Base automatically changed from feat/trusted-actors-component to main October 4, 2026 13:52
…ns-renamed

# Conflicts:
#	components/trusted-actors/README.md
#	components/trusted-actors/trusted-actors.json
#	components/trusted-actors/trusted-actors.test.mjs
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 4, 2026 13:53
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 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-04T13:56:27.216426Z e19e616 Draft marked ready
ℹ️ 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 4, 2026 •

Copy link
Copy Markdown

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


Security review

  • Gather context (diff, changed files)
  • Apply skip gate
  • Report result

Result: skipped — no security-relevant surface.

This PR changes 3 files, all pure path-string renames with no logic:

No authz/access-control logic, no injection surface (command/SQL/path/template), no secret or token handling, and no workflow permissions:, trigger, or action-pin changes — these are advisory-tool concerns outside this lane's scope anyway, and none apply here regardless. The diff doesn't touch CLAUDE.md/AGENTS.md/rules files or any guardrail definition, so the instruction-surface-deletion lens doesn't apply either. Skip-gate criterion 2 (no security-relevant surface after reading the diff) is met.

No findings.

@claude

claude Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

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


Code review complete ✅

  • Gather context (PR body, changed files)
  • Review diff against origin/main
  • Check alignment with AGENTS.md / REVIEW.md / pr-body-contract.md
  • Post findings (inline + summary)

Scope: 3 files, ±6/-6 lines — a pure path rename in two destination strings (.github/actions/comment-hygiene/ → .github/actions/check-comment-markers/, .github/actions/machine-specific-paths/ → .github/actions/check-machine-paths/), applied consistently to distribution/sync-manifest.yml and the two managed-files-guard guarded-path lists.

Findings: None. The renames match the canonical mapping in components/github-actions-conventions/rename-map.json exactly, component sources and file basenames are untouched, and both guard files' paths: lists remain in sorted order after the edit (check-comment-markers < check-machine-paths alphabetically, same position as before). A repo-wide grep for the old destination strings found no other reference in this repo that needed updating — the two remaining hits in rename-map.json are the plan's own historical notes, and the one in naming-lint.test.mjs is a fixture exercising the linter against the old name, not a live destination.

The ci.yml reference to melodic-software/ci-workflows/.github/actions/machine-specific-paths@... is the upstream action's current name (not this repo's sync destination) and is correctly left alone — the PR body notes the ci-workflows rename/release follows this merge.

Not run: distribution/sync-manifest.sh validate and harness/shell/run-tests.sh (the commands the PR body cites) — tool permissions in this environment blocked script execution, so those results are author-claimed and unverified by me, not independently confirmed.

PR body contract: satisfied — No related issue: line present, all four required sections (Summary, Fix, Verification, Related) non-empty.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e19e616a4b

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread distribution/sync-manifest.yml Resolved
kyle-sexton added a commit to melodic-software/ci-workflows that referenced this pull request Oct 4, 2026
…s to their convention names (#675)

No related issue: convention-driven path rename tracked by the org
rename map.

## Summary
Moves `.github/actions/comment-hygiene` to `check-comment-markers` and
`.github/actions/machine-specific-paths` to `check-machine-paths`, per
standards `rename-map.json`.

## Fix
`git mv` of both directories; path references updated in
`pr-run-checks.yml`, `pr-require-checks.yml`, `README.md` and
`ci-fanout-consolidation.test.cjs`. Workflow_call input names, composite
`name:` values and script file names are unchanged (as in #669).

## Verification
- Fan-out consolidation tests: 12 pass; scan-tree, superset and
machine-path test scripts exit 0.
- actionlint: only the pre-existing `$/` placeholder findings.
- naming-lint (enforcing): 0 blocking, 1 unrelated warning (`plan` job
id in maintenance-sync-standards.yml).

## Related
- melodic-software/standards#679 (moves the sync destinations)
- #669

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
@kyle-sexton
kyle-sexton merged commit f61cad4 into main Oct 4, 2026
3 checks passed
@kyle-sexton
kyle-sexton deleted the chore/sync-destinations-renamed branch October 4, 2026 14:02
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