Skip to content

chore(pr-pipeline): delete the synced trusted-actors and vocabulary copies - #18901

Merged
kyle-sexton merged 5 commits into
mainfrom
chore/f2-trusted-vocab
Nov 24, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
chore/f2-trusted-vocab

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Closes #18899

Summary

Phase F2 for the standards components trusted-actors and github-actions-conventions: standards#1127 stopped syncing them, so this deletes the frozen copies under .github/standards/ and every remaining reference, with every reader taking both lists from the standards checkout.

Fix

  • Copies gone. .github/standards/trusted-actors/ and .github/standards/github-actions-conventions/ move to .github/scripts/lib/fixtures/standards/components/, a captured standards checkout that only tests read (trusted-actors.fixtures.mjs: STANDARDS_FIXTURE, standardsAt, standardsCheckout).
  • Vocabulary fails closed. resolve-config no longer falls back to the base copy of the vocabulary: without standards-path (STANDARDS_DIR) it loads neither list and rejects the config (the vocabulary is missing). Every workflow caller already passes a standards checkout (checked across all .github/workflows/*.yml). pr-verify's probe replay now needs STANDARDS_DIR; trusted-actors.mjs drops TRUSTED_ACTORS_PATH, trustedActorsPath and SAME_TREE_LIST.
  • Hold path dropped (Q2). merge-holds.mjs loses the trusted-actor list widening hold (actorsWidened, actorsHold, withActorContents, holds()'s widened argument), resolve-pr.mjs's person-hold line drops that reason, and sync-hold-floor.py drops .github/standards/trusted-actors/**, regenerating ci-status's hold_patterns and both review callers' hold-paths.
  • Gate agrees with the resolver. babysit_verify_evidence.py _list_changed: once the copy is gone, a pass recording no trusted_actors_blob is verify:spec-changed only when it did not start after the newest standards commit touching the list (new merge_policy.standards_list_changed_at), as resolve-pr.mjs specChanged weighs it. Before, every such pass was refused while the resolver answered already-judged, so the PR stuck (sandbox#438 review, feat(pr-verify): mark a pass stale when the standards trusted list changes #18785).
  • References. Sparse checkouts (intake-triage.yml, pr-dispatch-feedback.yml, pr-require-checks.yml x2), CODEOWNERS, the managed-files list in pr-check-managed-files-hosted.yml (now byte-equal to standards' managed-files-guard.yml after feat(repo-fleet-hygiene): drift push-state evidence, gh account in header, explicit clean-repo marker #1127), enable-auto-merge.mjs SKIP_MAIN_PATHS, pr-review-main/criteria.txt, pr-verify/prompt.md, the pr-pipeline README and config comments, and the broker vendoring capture (broker-vendored-lists.json gains standards_lists).
  • Kept on purpose: the lane-grants patch refusal and deny rule for .github/standards/trusted-actors/trusted-actors.json (they stop a lane recreating the path), plugin code that reads a repository copy for consumers with trusted_actors_source: repository, and eval scaffolds that build their own fake repositories.

Loosened checks

  • ci-status no longer holds a lanes App PR that widens .github/standards/trusted-actors/trusted-actors.json, and the review lanes' hold-paths drop .github/standards/trusted-actors/**. The list no longer lives here. Owner-decisions record, row L385 ("Removing claude-code-plugins' trusted-actors hold path at phase F2 ... Decision: (a)"), verbatim: "/session-flow:go-with-recommendations". The replacing guard holds on standards main: .github/CODEOWNERS:40 reads /components/trusted-actors/ @kyle-sexton.
  • resolve-config fails instead of falling back: a tightening, not a loosening.

Verification

  • Full .github node suite (node --test --test-concurrency=4 '.github/**/*.test.mjs'): 10555 tests, 10555 pass. Before the test fixes it had 262 failures, all from tests that read the deleted copies or relied on the vocabulary fallback.
  • resolve-config.test.mjs: an empty standards-path now rejects the config for its missing vocabulary with a base-path copy present (the old test asserted the fallback read it).
  • merge-holds.test.mjs and scripts/ci-lanes-pr-hold.test.sh: a change at the retired list path now passes with no hold (was a widening hold).
  • test_babysit_verify_evidence.py: two new tests (TheTrustedListMustBeTheJudgedOne, TheResolverAndTheGateAgreeOnTheList) fail on the unchanged babysit_verify_evidence.py (2 failures) and pass with the fix; the agreement test runs the real specChanged against a real git history.
  • Shell suites: ci-lanes-pr-hold 356/356 before the final comment trim, then rerun; ci-hold-cost-decision 211, ci-hold-lifted-by 82, ci-hold-merge-group 91, ci-hold-human-gated 81, ci-review-lanes 357, ci-rerun-ci-status 324, all FAIL=0.
  • Python babysit suites: compared against a checkout of the base commit (559c9c2), the same 424 failures/errors on both (environment, pre-existing, e.g. TheCostDecisionIsTheGates), none new.
  • python3 -I scripts/sync-hold-floor.py --check and node scripts/sync-credential-legs.mjs --check pass.

Related

Refs: melodic-software/standards#1127

  • melodic-software/azure-iac#190 (the broker's vocabulary fallback goes, same phase)
  • pr-pipeline-sandbox follows once this merges (its check-sync.sh compares against this repository)

🤖 Generated with Claude Code

…opies

Standards stopped syncing the trusted-actors and github-actions-conventions
components (melodic-software/standards#1127), so the frozen copies under
.github/standards/ go. Every reader takes both lists from the standards
checkout: resolve-config without standards-path now loads no vocabulary
and rejects the config, and tests read a captured standards checkout.

Per owner-decisions row 385 (Q2), ci-status's trusted-actor list widening
hold and the .github/standards/trusted-actors/** hold path go; standards'
CODEOWNERS owns components/trusted-actors/.

The pr-verify evidence reader judges a pass that records no list blob,
once the copy is gone, by the standards list's last change time, as the
resolver does, instead of refusing every such pass.

Refs: melodic-software/standards#1127

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-24T21:07:59.931738Z e340942 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.

@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: e340942f4c

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

PR Check Managed Files rejected the hand-edit of the sync-managed
pr-check-managed-files-hosted.yml; standards-sync PR #18892 lands the same
path-list change from standards, so this pull request keeps main's bytes.

Test Selection found feedback-dispatch.test.mjs reading the standards
fixture tree through standardsCheckout() without declaring it; the suite
now declares .github/scripts/lib/fixtures/standards/* (R8).

The verify-evidence commits stub replays the captured GitHub commits
response (.github/scripts/lib/fixtures/standards-list-commits.json) with
its committer date set per case, instead of a hand-built shape.

The pipeline README, the ci-status step comment and the lanes-pr-hold
test header no longer describe the removed trusted-actor widening hold.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental: e4753c9 → c3200ac)

No security issues found. This was a blocking-only review because this lane already reviewed an earlier head, so it reports only CRITICAL and IMPORTANT findings. It found none. I read every hunk of the 3 files in the incremental scope:

  • .github/actions/resolve-config/README.md
  • .github/actions/resolve-config/broker-vendoring.test.mjs
  • .github/actions/resolve-config/fixtures/broker-vendored-lists.json

Controls checked

  • Token broker signer (resolve-config). All three files are resolve-config's docs, tests and fixtures. The trust-control rules exclude these from the signer control.

    • resolve.mjs, its sibling modules, effect-grants.json, lane-rules.json, activity-rules.json and docs/conventions/pr-pipeline.yaml are all outside this push.
    • No token scope, lane, activity grant or session allowlist changes.
  • Vendored-lists fixture. The fixture now records azure-iac commit 6bfa0f7.

    • The old fetch.test_files list is replaced by tests.served, which names azure-iac's test-helper fixtures.
    • standards_lists becomes {path, repository, files}. The two standards paths it names are unchanged: vocabulary and trustedActors.
    • calls.path moves from ports.mjs to resolve-config-loader.mjs.
    • These are records of the broker's code that the test compares against. Nothing reads them at runtime to grant anything.
  • brokerGaps in the test. The check is now stricter:

    • each key loaded by loadConfig must come from exactly one of TRUST_FILES and STANDARDS_LISTS;
    • the broker must read it from the path where this tree keeps it;
    • azure-iac's test helpers must serve it.

    This gives drift detection more coverage and widens nothing.

  • README. The prose now matches the broker's current binding: TRUST_FILES comes from the caller's main, and the vocabulary and trusted-actor list come from standards main. It does not remove any standing instruction.

Other checks

  • No plugin manifest changes.
  • Nothing in this push bills.
  • The PR context has no embedded directives.
  • The one earlier post in the prior-findings file is a summary with no findings, so there is nothing to restate.

critical-findings: 0

@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 65686f4c6dcfa526f36b7e40c5ceb2b68a23ab1d; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed c3200ac075d206fb26b09c0301cc142fa37215c3: read 3 of 3 changed file(s); 0 finding(s), 0 as inline comments.

Code review: incremental (e4753c9 → c3200ac), blocking only

This lane has already reviewed earlier heads of this pull request, so I report blocking findings only and dropped advisory ones. I read all three changed files in full in .claude-lane/incremental.diff. I have no shell, so I did not run the tests.

What changed

  • broker-vendored-lists.json is re-captured from azure-iac 6bfa0f7b…:
    • The fetch.test_files list is replaced by tests.served, which comes from src/lanes-token-broker/test/helpers.mjs.
    • binding.standards_lists becomes { path, repository, files }, with repository set to melodic-software/standards.
    • The test_data block is gone.
    • calls.path now points at resolve-config-loader.mjs.
  • broker-vendoring.test.mjs now enforces three things for each key loadConfig needs:
    • the broker reads it from exactly one of TRUST_FILES and STANDARDS_LISTS;
    • the path it reads matches where this tree keeps the file (TREE_FILES);
    • azure-iac's test helpers serve it.
  • The README paragraph now describes the new source of each list and the test helpers.

What I checked

  • Each brokerGaps branch.
    • fromTip === fromStandards covers a key missing from both lists and a key in both.
    • For a key in both lists, the path compared is ${STANDARDS}${file}, which matches the ${STANDARDS}-prefixed values in TREE_FILES.
    • The negative test at broker-vendoring.test.mjs:155-170 tests each of the four failure messages separately. Its expected strings match what brokerGaps builds.
  • brokerFiles() and the existence test. Both now read standards_lists.files, so the new path and repository keys never reach fileAt.
  • The dropped test_files existence check. Removing it is consistent: tests.served paths live in azure-iac and cannot be checked from this tree.
  • Prior finding discussion_r4687090877 (the commit pin did not match the hand-moved standards_lists). This push addresses it: the capture is re-read and commit is updated to 6bfa0f7b…. I cannot read azure-iac, so the claim that this capture matches binding.mjs and standards-lists.mjs at that commit is author-claimed and unverified.

No blocking findings in this increment. Each of the three files is a trusted path under .github/actions/resolve-config/**. They change only a test, its fixture and documentation, and gate no runtime behavior.

Loosened checks: the prompt gave no loosened_check_verdict: or loosened_check_patterns: lines, so I used fail with no consumer entries. I found no loosened check in this increment. With no decision-record line, I did not check the citation requirement.

Verifier dropped 0 of 0 candidates.

@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 24, 2026
@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped address-feedback on this pull request: the pull request changes .github/workflows/, which the lane token cannot push, so the lane does not address its review threads. 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/address-feedback 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=18901 -f activity=address-feedback

@melodic-automation-lanes

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

Copy link
Copy Markdown
Contributor

The pr-unblock lane stopped resolve-conflicts on this pull request: the lane could not resolve every conflict. The lane sets no label: the run ends in a failing pr-unblock/conflict 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=18901 -f activity=resolve-conflicts

kyle-sexton and others added 3 commits November 24, 2026 17:18
Conflicts resolved:
- scripts/ci-lanes-pr-hold.test.sh: keep the PR's sparse list without the
  retired trusted-actors copy; drop the comment line main removed.
- scripts/ci-review-lanes.test.sh: keep the PR's fixture trusted-actor path,
  its hold-path list without the retired copy and its base-config setup
  without the copy; drop the comments main removed.
- .changes: keep fix-verify-evidence-list-time-without-copy-3c81d5e2.md under
  source-control; git's rename heuristic moved it to work-items only because
  main's release consumed every source-control fragment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rom the dependabot fixture

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The capture named azure-iac 5ed895c6 but had been hand-edited. Re-read
from 6bfa0f7 (azure-iac#190): binding.mjs reads the vocabulary and the
trusted-actors list from standards main through standards-lists.mjs,
scripts/deploy/fetch-resolve-config.sh is gone (its test data now lives
in test/helpers.mjs), and loadConfig/resolveGrant are checked in
resolve-config-loader.mjs, not ports.mjs.

brokerGaps no longer exempts the standards lists: every needed key must
be read from exactly one of TRUST_FILES and STANDARDS_LISTS, at the path
this tree keeps it, and be served by the broker's test helpers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton kyle-sexton removed the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 24, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 87af454 Nov 24, 2026
99 checks passed
@kyle-sexton
kyle-sexton deleted the chore/f2-trusted-vocab branch November 24, 2026 23:47
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 24, 2026
kyle-sexton added a commit to melodic-software/pr-pipeline-sandbox that referenced this pull request Nov 25, 2026
Full byte-copy of every check-sync.sh SYNCED path from
claude-code-plugins e5e637334c93ceae49e3a56f18c1b45675cbb79d, which
carries melodic-software/claude-code-plugins#18901: the trusted-actors and
vocabulary readers take both lists from the standards checkout, and their
tests read recorded standards fixtures. ADAPTED and PINNED files keep this
repository's versions; LEFT_OUT paths stay out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
… glob

.github/standards/trusted-actors/ was deleted (#18901), so the glob
matches no file and affected-tests.sh rejects the suite's scope.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
…xture it reads

engine-d.test.sh declared .github/standards/github-actions-conventions/vocabulary.json,
which #18901 deleted, so the test selector refused the plan ("test-scope globs that
match no file"). test_babysit_review_evidence.py reads the fixture copy under
.github/scripts/lib/fixtures/standards/components/; the line now names that exact file.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kyle-sexton added a commit that referenced this pull request Nov 25, 2026
engine-d.test.sh declared .github/standards/github-actions-conventions/
vocabulary.json, which #18901 deleted, so plan-test-lanes.sh refused the
suite the first time a change touched it ("declares test-scope globs
that match no file of the tree") and Select Tests failed on this PR.
The strict selection trace shows the suite now reads the standards
fixture at .github/scripts/lib/fixtures/standards/components/
github-actions-conventions/vocabulary.json, so the scope names that.

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

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete the synced trusted-actors and vocabulary copies (standards F2)

1 participant