Repository navigation
chore(comments): remove comments at the necessary posture in .github actions and scripts - #18646
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…actions and scripts
Remove comments that the necessary posture does not keep from 35 .github
files (resolve-config, seal-lane-output, select-trusted-text,
setup-runner-isolation, apply-patch). Comment-only edits, no behavior change.
Reasons moved from deleted comments:
- .github/actions/resolve-config/api-budget-coverage.test.mjs:38: intake-triage.yml jobs dispatch-refined-triage and triage-split-children are allowlisted without log-api-budget: no checkout or contents: read, so each counts its own POSTs and emits the api-calls notice.
- .github/actions/resolve-config/api-budget-coverage.test.mjs:49: maintenance-file-dead-links.yml:file and post-merge-file-demotion-issues.yml:close-cleared hold issues: write alone with no checkout for log-api-budget (one rollup listing, at most two writes).
- .github/actions/resolve-config/api-budget-coverage.test.mjs:59: post-merge-file-demotion-issues.yml:file-revert and pr-review-main.yml:report-review-counts hold issues: write alone with no checkout (two record listings, one POST per revert).
- .github/actions/resolve-config/broker-vendoring.test.mjs:9: fixtures/broker-vendored-lists.json copies azure-iac's vendored lists from the commit it names; the azure-iac PR that changes them updates it.
- .github/actions/resolve-config/dispatch-limits.test.mjs:5: the test lives under resolve-config because it needs resolve-config's dependencies (same for feedback-dispatch.test.mjs:5 and fix-ci-context.test.mjs:3).
- .github/actions/resolve-config/dispatch-limits.test.mjs:163: PRs from the release and standards-sync Apps are never adopted by fix-ci: they carry generated or synced files a lane commit breaks.
- .github/actions/resolve-config/live-config.test.mjs:298: review-dependency and apply-dependency-patch wait on needs-session (security review of PR 10954) so a stop routed to needs-session cannot trigger a same-head model re-roll or fresh round budget on a rebased head until a session removes the label.
- .github/actions/resolve-config/live-config.test.mjs:469: owner decision 2026-10-17: agent-ready alone admits resolve-issue, with no marker comment and no work-class label admitting or refusing it.
- .github/actions/resolve-config/live-config.test.mjs:556: resolve-issue is granted web-access: any because it runs on the launcher, which stages no curl-based docs script, from a job holding no write token.
- .github/actions/resolve-config/live-config.test.mjs:676: owner decision 2026-10-28: attended is in resolve-issue's labels-absent holds so attended work waits for the owner and the lane never starts it.
- .github/actions/resolve-config/live-config.test.mjs:829: no live activity sets permission-mode: under run-claude-cli's env scrub the CLI forces the default mode for auto, so fix-docs takes dontAsk and runs only what the stage's allow rules name.
- .github/actions/resolve-config/live-config.test.mjs:897: owner decision Q113 (a): work-unblock/publish-lane-level is the sole grant allowed to write repository Variables alongside read-only scopes.
- .github/actions/resolve-config/merge-authority.test.mjs:121: merge-criterion plan Design 3: an enabled pr-merge lane reads no work class, so require-verifier-verdict must be required.
- .github/actions/resolve-config/merge-authority.test.mjs:148: owner decision Q624: the pr-merge lane needs no denied path or size cap because each check is an optional diff-check setting.
- .github/actions/resolve-config/models.test.mjs:323: fable and best are forbidden in live profiles because Fable is owner-gated pending a per-week allowance.
- .github/actions/resolve-config/models.test.mjs:515: review-dependency routes to verify-pr's review profile (plan Q3) because run-claude-cli requires a model alias and refuses default.
- .github/actions/resolve-config/models.test.mjs:542: owner decision: summarize-reuse uses the summary profile (sonnet, 10 turns, medium effort) as a short read-only pass at a low turn budget.
- .github/actions/resolve-config/models.test.mjs:544: owner decision 2026-10-24: adjudicate-feedback runs Opus (review profile) so the adjudicator of a disputed finding is at least as strong as the review lanes.
- .github/actions/resolve-config/predicate.mjs:53: MISS_ORDER puts awaiting-human first because only a human resumes a held PR, then a decided miss (not-applicable) over an unknown (prerequisite-missing).
- .github/actions/resolve-config/read-status.mjs:233: a disagreement re-read (options.again) replaces the cached field-events read without counting a second read against limit.
- .github/actions/resolve-config/resolve-config.mjs:260: issuesByStatus skips an unreadable issue unless it could match one of states, so one issue's unreadable field cannot stop an unrelated listing.
- .github/actions/resolve-config/resolve-config.mjs:388: splitChild is passed via SPLIT_CHILD from the caller (check-blockers.mjs) so resolve-config.mjs, a floored module, never loads intake modules.
- .github/actions/resolve-config/resolve-config.mjs:517: can-commit is true for any contents grant other than "read" so any non-read value keeps the signed-commit check.
- .github/actions/resolve-config/resolve.mjs:16: activity names run and report are reserved because "<lane> / run" would collide with pr-run-activity's own job checks.
- .github/actions/resolve-config/resolve.mjs:437: loadConfig checks typeof activity.effect === "string" because the lane rule compares strictly and must not rely on the schema enum.
- .github/actions/resolve-config/resolve.mjs:535: with a requested activity only its slot's predicate is decided, so another slot's predicate cannot fail the run.
- .github/actions/resolve-config/resolve.mjs:584: SAFE_PATH rejects spaces, quotes, commas, globs, shell characters, ./.. segments, a leading - (reads as a CLI option) and a leading @ (reads as a file mention) so a path is safe as a prompt word.
- .github/actions/resolve-config/resolve.mjs:635: activity-grants permits only { actions: "read" } or { "actions-variables": "write" } on top of the base effect row; actions-variables: write is restricted by the token broker to work-unblock/publish-lane-level.
- .github/actions/resolve-config/resolve.mjs:689: FALLBACK_MODEL is "opus" because CI has no session for inherit, a missing or invalid role map, a non-alias value, or auto-routing the owner-gated frontier tier (fable/best).
- .github/actions/resolve-config/vocabulary.mjs:38: # mode suffixes are rejected in activity names because the schema's $defs/name and report-check-run disallow them; modes go in args.
- .github/actions/resolve-config/write-status.mjs:3: write-status.mjs imports nothing outside node: at load so a job that installs no resolve-config dependencies can still import FIELD_API.
- .github/actions/select-trusted-text/select-trusted-text.mjs:169: cross-repository closing issue references are dropped because issues in other repositories sit under different permissions and authors.
- .github/scripts/apply-patch/protected-paths.mjs:86: the settings refusal excludes plugins/ because settings*.json under plugins/ are this repository's product.
Line citations to resolve.mjs in ADRs 0066, 0067 and 0068 are repointed.
setup-runner-isolation.test.mjs stays unchanged: its selection-trace gap is already on main.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
21a6156 to
4dbcb31
Compare
|
claude-security-review reviewed Security review (full diff, blocking only): no security issues foundI read every hunk of all 39 changed files in What changed. Nearly every edit deletes a
No code token, regex, string literal or template literal is changed. In particular, Trust controls checked.
Nothing widens who is trusted, what a token may do, or what untrusted text reaches a lane. The kill switch and the merge holds are not touched. Instruction surface. No Manifests. No plugin or marketplace manifest is changed. PR context. The description contains no directives aimed at the review lane. It says a deterministic pass restored the comments other files cite. It also notes one stale citation it left in place on purpose ( Prior findings. This lane already reviewed an earlier head, so this review was blocking only. The one earlier post has no line anchor and reported no findings, so nothing carries forward. Spend. None: the change adds no run, API or billing cost. critical-findings: 0 |
|
claude-review reviewed Code review: 7009567 (blocking only)This lane has already reviewed earlier heads of this PR, so this review reports blocking findings only. I read every hunk of all 39 changed files in No blocking findings.
Other notes (not counted):
Verifier dropped 0 of 0 candidates. |
…point ADR 0066 The sweep deleted the comment that tied resolve.mjs's limitsOf defaults to the lane scripts' copy in work-resolve-issue/limits.mjs. A test now asserts the two sets agree for every shared key, so a default changed in one place fails CI instead of drifting silently when resolve-config's output is unreadable. ADR 0066 cited resolve.mjs lines that moved: activity-name keying is 482-501 (laneHasActivity, selectedIndex) and the once-per-lane check is 398-407. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7JtHsXahAvMdb4rCk1
Lane-Activity: pr-unblock/resolve-conflicts
No related issue: ADR 0110 bulk comment sweep, batch V002
Summary
Removes comments the
necessaryposture does not keep from 35 files under.github/actionsand.github/scripts/apply-patch(resolve-config, seal-lane-output, select-trusted-text, setup-runner-isolation, apply-patch). Comment-only edits: 551 comment lines deleted, no code token changed. Edits were made by Antigravity (job20261124T001506Z-1ad04f, Mode: write); a deterministic pass then restored every deleted run that names an outside party's behavior (GitHub REST/GraphQL/Actions,actions/cache, apt), a public-API or module doc, or text another file cites (144 deleted lines restored).Hook-wired and
.github/actionspaths were lifted from the HARD exclusion list for this batch by the owner's override:.github/actions/resolve-config/*,.github/actions/seal-lane-output/*,.github/actions/select-trusted-text/*,.github/actions/setup-runner-isolation/action.yml,.github/scripts/apply-patch/*.Fix
chore(comments)commit: 35 files, 558 deletions across the 38 files below.resolve.mjsrepointed to the same code at its new lines.setup-runner-isolation.test.mjsleft unchanged: its selection-trace gap (reads everyaction.yml, not in its test-scope) is already on main.Verification
change-shape.sh, run against each file's base copy.test-scope:, shellcheck, pragmas, shebangs) have the same count before and after in every touched file.setup-runner-isolation.test.mjs(now reverted).node --checkon all touched.mjsfiles and the five suites that load without theresolve-configdependencies (78 tests passed). The 16 suites needingyamlandajvwere not run locally; CI runs them..github/scripts/work-unblock/label-unblocked.test.mjs:7955toresolve-config.mjs:264-265now points at different lines; the comment lint refuses an edit to that pre-existing comment, so it is untouched.Related
N/A
Reasons moved from deleted comments
.github/actions/resolve-config/api-budget-coverage.test.mjs:38:intake-triage.ymljobsdispatch-refined-triageandtriage-split-childrenare allowlisted withoutlog-api-budget: no checkout orcontents: read, so each counts its own POSTs and emits the api-calls notice..github/actions/resolve-config/api-budget-coverage.test.mjs:49:maintenance-file-dead-links.yml:fileandpost-merge-file-demotion-issues.yml:close-clearedholdissues: writealone with no checkout (one rollup listing, at most two writes)..github/actions/resolve-config/api-budget-coverage.test.mjs:59:post-merge-file-demotion-issues.yml:file-revertandpr-review-main.yml:report-review-countsholdissues: writealone with no checkout (two record listings, one POST per revert)..github/actions/resolve-config/broker-vendoring.test.mjs:9:fixtures/broker-vendored-lists.jsoncopies azure-iac's vendored lists from the commit it names; the azure-iac PR that changes them updates it..github/actions/resolve-config/dispatch-limits.test.mjs:5: the test lives under resolve-config because it needs resolve-config's dependencies (same forfeedback-dispatch.test.mjs:5andfix-ci-context.test.mjs:3)..github/actions/resolve-config/dispatch-limits.test.mjs:163: PRs from the release and standards-sync Apps are never adopted by fix-ci: they carry generated or synced files a lane commit breaks..github/actions/resolve-config/live-config.test.mjs:298:review-dependencyandapply-dependency-patchwait onneeds-session(security review of PR 10954) so a stop routed there cannot trigger a same-head model re-roll or fresh round budget on a rebased head until a session removes the label..github/actions/resolve-config/live-config.test.mjs:469: owner decision 2026-10-17:agent-readyalone admitsresolve-issue, with no marker comment and nowork-classlabel..github/actions/resolve-config/live-config.test.mjs:556:resolve-issueis grantedweb-access: anybecause it runs on the launcher, which stages no curl-based docs script, from a job holding no write token..github/actions/resolve-config/live-config.test.mjs:676: owner decision 2026-10-28:attendedis inresolve-issue'slabels-absentholds so attended work waits for the owner..github/actions/resolve-config/live-config.test.mjs:829: no live activity setspermission-mode: under run-claude-cli's env scrub the CLI forces the default mode forauto, sofix-docstakesdontAsk..github/actions/resolve-config/live-config.test.mjs:897: owner decision Q113 (a):work-unblock/publish-lane-levelis the sole grant allowed to write repository Variables alongside read-only scopes..github/actions/resolve-config/merge-authority.test.mjs:121: merge-criterion plan Design 3: an enabledpr-mergelane reads no work class, sorequire-verifier-verdictmust be required..github/actions/resolve-config/merge-authority.test.mjs:148: owner decision Q624: thepr-mergelane needs no denied path or size cap because each check is an optionaldiff-checksetting..github/actions/resolve-config/models.test.mjs:323:fableandbestare forbidden in live profiles because Fable is owner-gated pending a per-week allowance..github/actions/resolve-config/models.test.mjs:515:review-dependencyroutes toverify-pr'sreviewprofile (plan Q3) because run-claude-cli requires a model alias and refusesdefault..github/actions/resolve-config/models.test.mjs:542: owner decision:summarize-reuseuses thesummaryprofile (sonnet, 10 turns, medium effort) as a short read-only pass..github/actions/resolve-config/models.test.mjs:544: owner decision 2026-10-24:adjudicate-feedbackruns Opus (reviewprofile) so the adjudicator is at least as strong as the review lanes..github/actions/resolve-config/predicate.mjs:53:MISS_ORDERputsawaiting-humanfirst because only a human resumes a held PR, then a decided miss over an unknown..github/actions/resolve-config/read-status.mjs:233: a disagreement re-read (options.again) replaces the cached field-events read without counting a second read againstlimit..github/actions/resolve-config/resolve-config.mjs:260:issuesByStatusskips an unreadable issue unless it could match one ofstates, so one issue's unreadable field cannot stop an unrelated listing..github/actions/resolve-config/resolve-config.mjs:388:splitChildis passed viaSPLIT_CHILDfrom the caller so this floored module never loads intake modules..github/actions/resolve-config/resolve-config.mjs:517:can-commitis true for anycontentsgrant other than"read"so any non-read value keeps the signed-commit check..github/actions/resolve-config/resolve.mjs:16: activity namesrunandreportare reserved because<lane> / runwould collide withpr-run-activity's own job checks..github/actions/resolve-config/resolve.mjs:437:loadConfigcheckstypeof activity.effect === "string"because the lane rule compares strictly and must not rely on the schema enum..github/actions/resolve-config/resolve.mjs:535: with a requested activity only its slot's predicate is decided, so another slot's predicate cannot fail the run..github/actions/resolve-config/resolve.mjs:584:isSafePathrejects spaces, quotes, commas, globs, shell characters,./..segments, a leading-(reads as an option) and a leading@(reads as a file mention) so a path is safe as a prompt word..github/actions/resolve-config/resolve.mjs:635:activity-grantspermits only{ actions: "read" }or{ "actions-variables": "write" }on top of the base effect row;actions-variables: writeis restricted by the token broker towork-unblock/publish-lane-level..github/actions/resolve-config/resolve.mjs:689:FALLBACK_MODELis"opus"because CI has no session forinherit, a missing or invalid role map, a non-alias value, or auto-routing the owner-gated frontier tier..github/actions/resolve-config/vocabulary.mjs:38:#mode suffixes are rejected in activity names because the schema's$defs/nameandreport-check-rundisallow them; modes go inargs..github/actions/resolve-config/write-status.mjs:3:write-status.mjsimports nothing outsidenode:at load so a job that installs no resolve-config dependencies can still importFIELD_API..github/actions/select-trusted-text/select-trusted-text.mjs:169: cross-repository closing issue references are dropped because issues in other repositories sit under different permissions and authors..github/scripts/apply-patch/protected-paths.mjs:86: thesettingsrefusal excludesplugins/becausesettings*.jsonunderplugins/are this repository's product.🤖 Generated with Claude Code