Skip to content

chore(distribution): stop syncing the zizmor and lychee configs - #1124

Merged
kyle-sexton merged 1 commit into
mainfrom
chore/retire-zizmor-lychee
Nov 24, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
chore/retire-zizmor-lychee

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #1101

Summary

Phase F1 for the zizmor and lychee components: the sync stops copying .github/zizmor.yml and lychee.toml into targets. Their last copy-only readers now fall back to this repository's root files, which stay as the canonical sources.

Fix

  • distribution/sync-manifest.yml: drop the zizmor and lychee component definitions, every target's managed entry for them, and ci-workflows' locally-owned zizmor entry with its comment. No component requires either one, so no edge needed removing. lychee-online-claude-code-plugins has no requires edge and stays: its reusable falls back to standards' lychee.toml (ci-workflows#1212). Reworded the agent-automations and pr-pipeline-sandbox comments that cited the removed payloads.
  • components/managed-files-guard/managed-files-guard.yml and -fleet.yml: drop .github/zizmor.yml and lychee.toml from paths, which the guard contract test keeps equal to the union of managed destinations.
  • components/zizmor/README.md, components/lychee/README.md, components/lychee-online/README.md, distribution/README.md: say the configs are read from this repository, not copied, and that a repository's own file wins. The lychee README's fallback line described a copy in ci-workflows; lychee-offline/run.sh already reads standards.
  • Kept .github/zizmor.yml (read by ci-workflows pr-audit-workflows.yml) and root lychee.toml (read by lychee-offline).

Dropping a component deletes no target copy (distribution/README.md, "Deselection never implies deletion"). The per-target F2 PRs delete the copies.

Targets that keep a frozen copy until their F2 PR:

  • lychee.toml: .github, agent-automations, agent-plugins, azure-iac, ci-runner, ci-workflows, claude-code-account-rotation, claude-code-plugins, claude-code-proxy, codex-plugins, cursor-plugins, dotfiles, github-iac, medley, provisioning.
  • .github/zizmor.yml (managed): ci-runner, claude-code-plugins, claude-code-proxy, dotfiles, github-iac, medley, pr-pipeline-sandbox, provisioning. ci-workflows' copy was locally-owned and stays its own.

Verification

  • sync-manifest.sh validate: Manifest valid: 53 components, 19 targets.
  • sync-manifest.sh plan --targets melodic-software/ci-runner,melodic-software/ci-workflows: neither target lists zizmor or lychee; dest-paths for ci-runner has neither path.
  • harness/shell/run-tests.sh on managed-files-guard.test.sh, distribution/sync-manifest.test.sh, components/zizmor/zizmor.test.sh, components/lychee/lychee.test.sh: 4 passed, 0 failed, 0 skipped.

Related

🤖 Generated with Claude Code

Drop the `zizmor` and `lychee` components from the sync manifest, with
their target entries (and ci-workflows' locally-owned zizmor entry) and
their destinations in both managed-files-guard callers' `paths`. No
component requires either. Their readers now fall back to this
repository's root `.github/zizmor.yml` and `lychee.toml`, which stay.
Deselection deletes no target copy; per-target deletion PRs follow.

Refs: #1101

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T10:50:16.762304Z 2f517dd 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.

@kyle-sexton
kyle-sexton enabled auto-merge (squash) November 24, 2026 10:49
@github-actions

Copy link
Copy Markdown

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

Security review: PR #1124, stop syncing the zizmor and lychee configs

I found no security issues.

I read the whole diff for all 7 changed files, plus the PR context, which matches the change. The changes:

  • distribution/sync-manifest.yml drops the zizmor and lychee components and every target's managed / locally-owned entry for them.
  • The two managed-files guard callers drop .github/zizmor.yml and lychee.toml from their paths filters.
  • Four READMEs now describe a fallback: a repository uses its own config if it has one, otherwise the root file in this repository.

Trust boundary checks

  • No trust control changes. The diff touches no trust control from the lane criteria: trusted-trigger, trusted-actor list, lane token, kill switch, token broker, merge holds, CODEOWNERS or .gitmodules. No permissions: block, trigger or action pin changes.
  • The managed-files guard edit narrows only an advisory check. Its paths filter shrinks to match the reduced set of managed destinations. The workflow header says the check is "ADVISORY during soak (standards#496): this check is NOT aggregated into ci-status and is not a required context" (managed-files-guard.yml#L20-L22). Once the frozen copies stop being managed, an edit to one no longer gets the guard's advisory flag. That gated no merge before, so no merge hold is weakened.
  • No change to what the configs allow. zizmor policy is zizmor's advisory lane, and both of its rules only relax zizmor's defaults. No config content changes here. The canonical .github/zizmor.yml and lychee.toml stay in this repository.
  • No new actors, credentials or code paths. Nothing in the diff adds a trusted actor, a token scope, a secret, or a path for untrusted text to reach a lane.
  • No embedded instructions. The PR context file contains none.

The diff touches no plugin manifests, so there are no manifest lines.

critical-findings: 0

@kyle-sexton
kyle-sexton merged commit cffe0db into main Nov 24, 2026
32 checks passed
@kyle-sexton
kyle-sexton deleted the chore/retire-zizmor-lychee branch November 24, 2026 10:50

@github-actions github-actions 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.

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

claude-lane: claude-review

managed `lychee.toml`. Per-host pacing (standards#775, removed in #776) did not
only for pages proven alive that block the checker; shared ones go in this
repository's root `lychee.toml`. Per-host pacing (standards#775, removed in #776) did not
stop runner 429s, so the managed config accepts 429 and 5xx instead.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale wording: "the managed config". Line 61 was just rewritten to say shared exceptions go in "this repository's root lychee.toml". The very next line still calls it "the managed config", but after this PR no target has a managed lychee.toml. Their frozen copies are unmanaged until the F2 PRs, and new readers fall back to the standards root file. A reader could take this to mean a synced copy still exists in the target.

Suggested change
stop runner 429s, so the managed config accepts 429 and 5xx instead.
stop runner 429s, so this repository's `lychee.toml` accepts 429 and 5xx instead.

claude-lane: claude-review

@github-actions

Copy link
Copy Markdown

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

Code review: stop syncing the zizmor and lychee configs

This PR removes the zizmor and lychee components from distribution/sync-manifest.yml, along with every target's managed entry and ci-workflows' locally-owned zizmor entry. It also drops both destinations from the two managed-files-guard paths lists and rewrites four READMEs to say the configs are read from this repository, not copied. The manifest edits hang together: nothing left in the manifest still points at either component, and lychee-online-claude-code-plugins has no requires edge. The README rewrites are mostly accurate. Two passages were left contradicting the new model.

Finding (cross-file, no changed line can carry it): the Discovery section of the zizmor README still describes the old copy model, and the PR's new Ownership paragraph now contradicts it.

  • components/zizmor/README.md#L27-L34 says zizmor finds this file through directory discovery with no --config flag. It ends: "A --config flag or ZIZMOR_CONFIG replaces local discovery, so a consumer that sets either does not read this file."
  • Once the sync stops copying the file, discovery in a consumer only ever finds that repository's own .github/zizmor.yml. A consumer reaches this file only when the reusable passes it explicitly, which is what the new Ownership paragraph at L38-L41 says.
  • So the Discovery sentence now has it backwards. It also still says "recheck when a target bumps zizmor", and the zizmor component no longer has targets.
  • Fix: reword Discovery so that directory discovery covers this repository and any consumer's own copy, and a consumer with no copy reads this file only through the config the pr-audit-workflows reusable passes.

Inline: one stale "managed config" phrase in the lychee-online Exceptions paragraph.

What I checked and what I relied on the author for:

  • Downstream behaviour: I had no shell. The PR body says lychee-offline/run.sh and the ci-workflows reusables already fall back to this repository's files (ci-workflows#1212, ci-runner#615). That is the author's claim and I did not confirm it.
  • Test results: the PR body's sync-manifest.sh validate, plan and contract-test results are also the author's claims, not re-run here.
  • Closing issue: the PR uses Refs: #1101 and closes no issue, so there are no acceptance criteria to check.
  • Embedded instructions: none found in the PR context, REVIEW.md or .claude/rules/pr-body-contract.md.
  • Deleted comments: the manifest comments this PR deletes explained why repositories were or were not targets of the removed components. That reasoning stops applying once the components are gone, so the REVIEW.md rule about deleted decision comments doesn't flag them.

Loosened checks: I don't count removing .github/zizmor.yml and lychee.toml from the managed-files-guard paths as a loosening.

  • The guard's rule (flag edits to managed destinations) hasn't changed. Its paths list is a copy of the manifest's managed destinations, and the guard contract test keeps it equal to them.
  • Once the components are dropped, those files are no longer managed, so the guard correctly stops watching them.
  • Neither the zizmor policy nor lychee.toml changed.

Spend: none beyond ordinary CI and review-lane runs (prepaid usage, no hold).

Advisory and manifest lines (1)
  • Loosened checks would be marked: fail (plugin default; no loosened_check_verdict: or loosened_check_patterns: line in the prompt); patterns: 0. The prompt has no loosened_check_decision_record: line, so the citation requirement was not checked.

Verifier dropped 0 of 2 candidates.

kyle-sexton added a commit to melodic-software/ci-runner that referenced this pull request Nov 24, 2026
No linked issue: phase F2 of the standards track-main plan

## Summary

standards retired the `zizmor` component from the sync manifest
(melodic-software/standards#1124), so the synced `.github/zizmor.yml`
copy here is no longer maintained by the sync. It is identical to
standards' `.github/zizmor.yml` at main.

## Fix

Delete `.github/zizmor.yml`. The `pr-audit-workflows.yml` reusable falls
back to standards' file when the caller has none, and the release image
step already checks out standards and passes its config (ci-runner#615).
`pr-check-managed-files-hosted.yml` also lists the path, but it is a
synced file, so it is left for the next sync to regenerate.

## Verification

- `diff` of this repository's `.github/zizmor.yml` at `origin/main`
against `gh api -H 'Accept: application/vnd.github.raw'
repos/melodic-software/standards/contents/.github/zizmor.yml`:
identical.
- `git grep zizmor.yml`: only the synced guard workflow and
`release-publish-image.yml:114`, which reads the standards checkout.

## Related

- melodic-software/standards#1124
- ci-runner#615

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

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kyle-sexton added a commit to melodic-software/agent-plugins that referenced this pull request Nov 24, 2026
No related issue: follow-up to melodic-software/standards#1124, which
retired the `lychee` sync component (owner accept A4, 2026-11-24).

## Summary

Delete the synced `lychee.toml`. The `lychee-offline` composite falls
back to standards' `lychee.toml` when the repository has none.

## Fix

- `git rm lychee.toml` (it equalled standards' root `lychee.toml` at
main, blob `5b6b2fc9`).
- `docs/conventions/ecosystems/cross-cutting.yaml`: drop `--config
lychee.toml` from the local lychee command, update `opt-in`, and correct
the note that described this repository's own `lychee.toml`.
- `.cursor/install.sh`: header comment no longer names a local
`lychee.toml`.
- `.github/workflows/pr-require-checks.yml` is unchanged: it uses
`lychee-offline` with `config: lychee.toml`, the composite's default, so
the fallback applies.

## Verification

- `git rev-parse origin/main:lychee.toml` here and in standards both
give `5b6b2fc93e96a960c5b9b381eed3a4abdfc99ccd`.
- Read ci-workflows `lychee-offline/run.sh`: `standards_config` falls
back only for the default path.
- Pre-commit hooks passed. CI not awaited.

## Related

melodic-software/standards#1124.

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kyle-sexton added a commit to melodic-software/codex-plugins that referenced this pull request Nov 24, 2026
## Summary

Delete the synced `lychee.toml`. standards retired the `lychee` sync
component
([standards#1124](melodic-software/standards#1124));
the repository's copy equals standards' root `lychee.toml` (blob
5b6b2fc), so nothing repo-specific is
lost.

## Fix

- `git rm lychee.toml`.
- Drop `--config lychee.toml` from the `check-cmd` in
`docs/conventions/ecosystems/cross-cutting.yaml`, and fix the `opt-in`,
header and notes text that named the file.
- Fix the `.lycheeignore` comment and the
`docs/cursor-cloud-environment.md` sentence that named the file.
- CI is unchanged: the `lychee` job calls the `lychee-offline` composite
with the default `config: lychee.toml`, which falls back to standards'
copy when the file is absent.

## Verification

- Compared `git rev-parse origin/main:lychee.toml` in this repository
with standards' at main: identical.
- `git grep lychee.toml` shows only the CI `config:` default and prose
that now names standards' file.
- Documentation and config-record change only; CI's `Lychee` job is the
gate.

## Related

Owner accept of A4 (lychee F2), recorded in the hub's accept brief
(hub-internal,
`.work/standards-sync-track-main/accept-20261124-brief.md`). Part of the
F2 deletion of synced configs after standards#1124.

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kyle-sexton added a commit to melodic-software/cursor-plugins that referenced this pull request Nov 24, 2026
## Summary

Delete the synced `lychee.toml`. standards retired the `lychee` sync
component
([standards#1124](melodic-software/standards#1124));
the repository's copy equals standards' root `lychee.toml` (blob
5b6b2fc), so nothing repo-specific is
lost.

## Fix

- `git rm lychee.toml`.
- Drop `--config lychee.toml` from the `check-cmd` in
`docs/conventions/ecosystems/cross-cutting.yaml`, and fix its `opt-in`
and notes text.
- Fix the `.lycheeignore` comment and the `AGENTS.md` sentence that
named the file.
- CI is unchanged: the `lychee` job calls the `lychee-offline` composite
with the default `config: lychee.toml`, which falls back to standards'
copy when the file is absent.

## Verification

- Compared `git rev-parse origin/main:lychee.toml` in this repository
with standards' at main: identical.
- `git grep lychee.toml` shows only the CI `config:` default, the
synced-files comment in the workflow header, and prose that now names
standards' file.
- Documentation and config-record change only; CI's `Lychee` job is the
gate.

## Related

Owner accept of A4 (lychee F2), recorded in the hub's accept brief
(hub-internal,
`.work/standards-sync-track-main/accept-20261124-brief.md`). Part of the
F2 deletion of synced configs after standards#1124.

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kyle-sexton added a commit to melodic-software/.github that referenced this pull request Nov 24, 2026
No related issue: follow-up to melodic-software/standards#1124, which
retired the `lychee` sync component (owner accept A4, 2026-11-24).

## Summary

Delete the synced `lychee.toml`. The `lychee-offline` composite falls
back to standards' `lychee.toml` when the repository has none.

## Fix

- `git rm lychee.toml` (it equalled standards' root `lychee.toml` at
main, blob `5b6b2fc9`).
- `.cursor/check.sh` and
`docs/conventions/ecosystems/cross-cutting.yaml`: drop `--config
lychee.toml` from the local lychee commands, so local runs use lychee
defaults.
- `cross-cutting.yaml` `opt-in` and `README.md`: stop listing
`lychee.toml` as a repository-root or synced file.
- `.github/workflows/pr-require-checks.yml` is unchanged: it uses
`lychee-offline` with `config: lychee.toml`, the composite's default, so
the fallback applies.

## Verification

- `git rev-parse origin/main:lychee.toml` here and in standards both
give `5b6b2fc93e96a960c5b9b381eed3a4abdfc99ccd`.
- Read ci-workflows `lychee-offline/run.sh`: `standards_config` falls
back only for the default path.
- Pre-commit hooks passed. CI not awaited.

## Related

melodic-software/standards#1124.

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 24, 2026
## Summary

Phase F1 for the `runner-policy` component: the sync stops copying the
runtime to `.github/standards/runner-policy/`. Every enrolled target
runs
the gate from a standards checkout, and no reader in any target needs
the
copy. `trusted-actors` and `github-actions-conventions` were checked in
the
same pass and stay synced: pr-pipeline-sandbox still has readers that
take
only the copy (listed under Verification).

## Fix

- `distribution/sync-manifest.yml`: drop the `runner-policy` component
  definition, including its `requires: node-runtime` edge, and its
  `managed` entry in the seven targets (claude-code-account-rotation,
claude-code-plugins, dotfiles, github-iac, medley, pr-pipeline-sandbox,
provisioning). Every one of them already lists `node-runtime` itself, so
  `.node-version` stays synced. No component `requires` runner-policy.
  Reworded the account-rotation and pr-pipeline-sandbox comments that
  described the copy.
- `components/managed-files-guard/managed-files-guard.yml` and
`-fleet.yml`:
drop the seven `.github/standards/runner-policy/*` paths, which the
guard
  contract test keeps equal to the union of managed destinations.
- `distribution/README.md` ("Runner-policy consumers"),
  `components/runner-policy/README.md`, `.github/dependabot.yml`: say
consumers run `components/runner-policy/` from a standards checkout,
show
the `download-standards` job shape, and drop the "no consumer Dependabot
  entry for the byte-exact copy" rule, which only applied to a copy.
- `components/runner-policy/runner-policy.mjs`, `policy-input.mjs`: drop
  the "SYNC-MANAGED FILE" header. No logic changed; the dual caller-map
  acceptance (D13, until 2027-01-22) is untouched.
- `distribution/sync-manifest.test.sh`: drop the assertions about the
  runner-policy component; the production executable-mode check now runs
for lefthook-dotnet alone; add an assertion that `runner-policy` is not
a
  sync component.

Dropping a component deletes no target copy (`distribution/README.md`,
"Deselection never implies deletion"). Each target's F2 PR deletes it.

## Loosened checks

- `distribution/sync-manifest.test.sh` no longer asserts the
runner-policy
  component's `requires`, file count, source-to-destination mappings,
  sibling imports, seven-target list, or the executable mode of
`runner-policy.mjs` through a production apply. Each of those checked a
  copy this PR stops producing. The executable-mode check still covers
  lefthook-dotnet. The source Dependabot assertion for
  `/components/runner-policy` stays.

## Verification

Readiness method: `git grep` of each target's `origin/HEAD` after a
fetch,
for `.github/standards/runner-policy`, `trusted-actors` and
`github-actions-conventions` paths. Heads read:
claude-code-account-rotation
989e5bf, claude-code-plugins d01edcc4536, dotfiles 6930b8d, github-iac
39184f1, medley bb807545, pr-pipeline-sandbox a9c575f, provisioning
807f419.

runner-policy, per target (no reader requires the copy):

- claude-code-plugins: the gate runs
`$STANDARDS_DIR/components/runner-policy`
  (`.github/workflows/pr-require-checks.yml:1968,1984`). Other hits are
  CODEOWNERS:17-21, the `dependabot.yml:85` directory entry (F2), a test
  fixture and docs.
- pr-pipeline-sandbox: no workflow, action or script reads the copy
after
#430. `scripts/lanes/check-sync.sh:148-151` pins the copies' blobs
against
  claude-code-plugins (a sync check; it is updated in the sandbox F2).
  `thread-scope.test.mjs:256` is a fixture.
- github-iac: the gate runs `$STANDARDS_PATH/components/runner-policy`
(`pr-require-checks.yml:161,174`); `:150` `cache-dependency-path` on the
  copy's lockfile, `.github/dependabot.yml:83`, and the local
  `docs/conventions/ecosystems/yaml.yaml:36,50` command are F2 items.
- provisioning: the gate runs from standards
(`pr-require-checks.yml:215,221`);
`:143-144` path filter, `:197` cache-dependency-path and `yaml.yaml:22`
are
  F2 items.
- medley: the gate runs from standards
(`pr-require-checks.yml:817-829`);
`dependabot.yml:105`, `detect-ecosystems.test.sh:158,374-375` fixtures
and
`list-ci-packages.sh` discovery (lists whatever package roots exist) are
  F2 items.
- dotfiles: `docs/conventions/ecosystems/yaml.yaml:23,33,37` and
`typescript.yaml:4` (local lint command) and `dependabot.yml:71` are F2
  items.
- claude-code-account-rotation:
`docs/conventions/ecosystems/yaml.yaml:11,15,18,21`
  and `typescript.yaml:17` (local lint command) are F2 items.

Not moved, for the record (pr-pipeline-sandbox readers that take only
the
copy):

- trusted-actors: `.github/workflows/pr-require-checks.yml:242`
(contents
API on the base commit's copy), `:576,:604,:644` (merge-group hold
config
  checkout), `.github/workflows/pr-refine.yml:161-169` (runs
`fix-ci-context.mjs` with no `STANDARDS_DIR`, so
`fix-ci-context.mjs:311`
reads the copy),
`.github/workflows/maintenance-delete-stale-branches.yml:118-125`
  (`branch-cleanup/cleanup.mjs:382` passes only `BASE_PATH`),
  `docs/conventions/work-items.yaml:9`.
- github-actions-conventions: the same `pr-refine.yml` and
  `maintenance-delete-stale-branches.yml` paths reach
`resolve-config.mjs:38` through `filesUnderBase` with no standards path.

Commands:

- `sync-manifest.sh validate`: `Manifest valid: 52 components, 19
targets`.
- `sync-manifest.sh plan --targets

melodic-software/pr-pipeline-sandbox,melodic-software/claude-code-plugins,melodic-software/medley`:
  no `runner-policy` line; sandbox keeps `node-runtime`.
- `harness/shell/run-tests.sh distribution/sync-manifest.test.sh
  components/managed-files-guard/managed-files-guard.test.sh`: 2 passed.
- `node --test components/runner-policy/runner-policy.test.mjs
  components/dependabot-policy/automerge-lockstep.test.mjs`: 266 passed,
  0 failed.

## Related

- #1123: the same retirement for `runner-policy-contract`.
- #1124: the same retirement for `zizmor` and `lychee`.
- melodic-software/pr-pipeline-sandbox#430: the lane resync that removed
  the sandbox's last copy-only runner-policy readers.

Refs: #1101

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

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 24, 2026
…bulary (#1127)

## Summary

Phase F1 for the `trusted-actors` and `github-actions-conventions`
(vocabulary) components: the sync stops copying
`.github/standards/trusted-actors/` and
`.github/standards/github-actions-conventions/`. Every reader in their
two
targets now reads standards `main` and uses the copy only as a fallback.
The lanes token broker (azure-iac) reads both from standards `main`,
with
the caller's copy as fallback until F2 (D21).

## Fix

- `distribution/sync-manifest.yml`: drop both component definitions and
their `managed` entries in claude-code-plugins and pr-pipeline-sandbox.
  Neither has a `requires` edge in or out. Reworded the sandbox target's
  comment.
- `components/managed-files-guard/managed-files-guard.yml`: drop the
four
paths. The guard contract test keeps `paths` equal to the union of
managed
  destinations. The fleet caller listed none of them.
- `components/trusted-actors/README.md`: lanes read the list from this
  repository; a leftover copy is no longer updated.

Dropping a component deletes no target copy (`distribution/README.md`,
"Deselection never implies deletion"). Each target's F2 PR deletes it.

## Verification

Readiness method: `git grep` of each target's `origin/HEAD` after a
fetch.

- pr-pipeline-sandbox at e8fd79d:
- Synced lane files are byte-identical to claude-code-plugins
(melodic-software/pr-pipeline-sandbox#430). They
take `standards-path` or `STANDARDS_DIR` first: every `resolve-config`
    call passes `standards-path`, and `read-status.mjs:112` and
`lib/trusted-actors.mjs` `trustedListPath` read `STANDARDS_DIR` first.
  - The action defaults (`check-trusted-trigger/action.yml:26`,
    `check-born-triaged:25`, `select-trusted-text:20`) are ignored when
    `standards-path` is set.
- Sandbox-owned readers now fall back the same way
(melodic-software/pr-pipeline-sandbox#434):
- `pr-require-checks.yml:252-262` (hold lift), `:541-552,681`
(`trusted_list`)
- `pr-refine.yml` and `maintenance-delete-stale-branches.yml`
(`STANDARDS_DIR`)
    - `cleanup.mjs:382`
    - `docs/conventions/work-items.yaml:9` (`standards:` source)
  - Remaining hits are hold patterns, deny rules, sparse lists,
    `check-sync.sh:66,68` and comments.
- claude-code-plugins at d01edcc4536: `STANDARDS_DIR` first, the `.base`
  copy otherwise:
  - `resolve-config.mjs:37-41,82-90`, `read-status.mjs:112`,
    `lib/trusted-actors.mjs:7`
  - `pr-require-checks.yml:5145-5155` (`trusted_list`)
  - babysit reads standards for repositories opted in with
    `trusted_actors_source: standards`, and claude-code-plugins is
    (`docs/conventions/source-control.yaml:19`; the sandbox's is `:6`).
- azure-iac broker: standards `main` first (`binding.mjs:9-16`,
  `standards-lists.mjs`), the caller's copy as fallback.

Commands:

- `sync-manifest.sh validate`: `Manifest valid: 50 components, 19
targets`.
- `sync-manifest.sh plan --targets

melodic-software/pr-pipeline-sandbox,melodic-software/claude-code-plugins`:
  no `trusted-actors` or `github-actions-conventions` line.
- `harness/shell/run-tests.sh distribution/sync-manifest.test.sh
  components/managed-files-guard/managed-files-guard.test.sh`: 2 passed.
- `node --test components/trusted-actors/trusted-actors.test.mjs`: 7
passed.

## Related

- #1126: the same retirement for `runner-policy`.
- #1123, #1124: the earlier F1 PRs.
- melodic-software/pr-pipeline-sandbox#434: moved the sandbox's last
  copy-only readers onto standards.
- melodic-software/pr-pipeline-sandbox#430: the lane resync.

Refs: #1101

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

Co-authored-by: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
…1130)

No linked issue: owner goal stated 2026-11-24, "make sure we have proper
fallbacks to global/standards (default) with the best native options for
both overrides (semi/partial or complete) or extensions (building on top
of standards)".

## Summary

Documents, per tool, where the default lives and how a repository
extends, partially overrides or completely overrides it, now that #1124
stopped copying `lychee.toml` and `.github/zizmor.yml` into targets.

- lychee has native layering: since lychee-v0.24.0, repeated `--config`
files are merged, "later occurrences take precedence over previous
occurrences" ([CLI docs](https://lychee.cli.rs/guides/cli/#-c---config),
read 2026-11-24). melodic-software/ci-workflows#1217 makes both readers
pass this repository's file first and the target's own second.
- zizmor has none: `--config` makes one file global and "no other
configuration files are discovered or loaded" ([configuration
docs](https://docs.zizmor.sh/configuration/#discovery), read
2026-11-24). Its native extension is the inline `# zizmor: ignore[...]`
comment ([usage docs](https://docs.zizmor.sh/usage/#ignoring-results)).

## Fix

- `components/lychee/README.md`: new "Defaults, extensions and
overrides" section with a mode table (default, extension, partial
override, complete override), precedence (this file, then the
repository's `lychee.toml`, then command-line flags; `.lycheeignore`
adds in every mode), and the local check-cmd shape. The online-run
example passes the standards file explicitly.
- `components/lychee/lychee.test.sh`: eleven new assertions with the
real lychee binary: a layered `exclude` and a command-line `--exclude`
add while a probe link only a standards `exclude` entry matches stays
excluded and standards' `exclude_path` and `hidden` still apply; a
layered scalar (`hidden = false`) wins, with a control showing a later
CLI flag beats both files; a file read alone drops standards'
`exclude_path`; `.lycheeignore` adds to layered configs; under the
complete override the probe link and `.work/` reappear (controls).
- `components/lychee-online/README.md`, `distribution/README.md`:
describe the merge instead of "the target's own, or this repository's
when it has none".
- `components/zizmor/README.md`: "Ownership" becomes "Defaults,
extensions and overrides": default, inline-comment extension, complete
override, and that a partial override has no native mechanism today.
Plus the local check-cmd shape, since a check-cmd without `--config`
audits under zizmor's own defaults.

## Verification

- `bash components/lychee/lychee.test.sh` with lychee 0.24.2: exit 0;
the eleven layering assertions pass.
- Two of the first drafts' assertions were vacuous (`dot=.work>` never
occurs in a dump line); they were replaced by line-anchored
`assert_row_count` checks, which fail when the expectation is wrong
(seen while writing them).
- lefthook pre-commit (markdownlint, typos, the rest) clean.

## Related

- melodic-software/ci-workflows#1217: the lychee readers that implement
this contract.
- melodic-software/provisioning#1115,
melodic-software/claude-code-proxy#462, melodic-software/dotfiles#1804:
local zizmor check-cmds that ran without the org config.
- #1124: stopped syncing both configs.

🤖 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