Repository navigation
fix(ci): review lane warnings, loosened-check criterion and clearer lane reports - #16709
Conversation
…ane reports - pr-review-main's fallback leg emits a warning annotation when the fallback token reviews a lane; the leg itself is unchanged. - The CI code-review lane applies the loosened-check criterion. - Review summaries fold advisory and manifest lines into one <details> block. - Each eval workflow names its model and judge model once, in env. - report-outcome adds any pr_body_required_sections section the lane's PR body lacks. - intake-reenter's release claim comment links its run. - Each lane workflow in lane-rules.json opens with a fixed summary block (lane, purpose, triggers, stage), checked against lane-rules.json and the file's on: events. - The pr-pipeline convention documents testing a lane change with gh workflow run --ref and what such a run does not exercise. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed-check criterion - The issue lane's lease comment (claim --session-id run-<id>) adds a readable link to its run below the marker; the intake-reenter record is left as it was. - pr-review-main copies the loosened-check criterion beside the lane's skill, so the relative link resolves in its data directory. - The code-review fold sits before the verifier line, which stays last. - The required-sections test writes to a temp directory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ngs-and-lane-reports
…anges Co-Authored-By: Claude Opus 5.5 <[email protected]>
… stub A lease comment's body can now hold a run URL, which the stub's run-status branch would otherwise match before the comment branch. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. |
… blocks The Lane/Does/Trigger/Stage header blocks restated lane-rules.json and each file's on: block, so they and their test go. The comments added beside the fallback warning, the eval model env, the required-sections helpers, the lease run link and their tests go too: the code says what they said. The fallback warning step moves after the managed-settings step so each leg's shared steps stay byte-equal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ttings Placed after the managed-settings step so the steps the three legs share stay byte-equal, which workflow.test.mjs checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lane run report
Failed GitHub API calls
|
|
claude-review reviewed CI code review: PR #16709I read every hunk of all 18 changed files in What I checked
Other notes
Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: PR #16709No security issues found. I read all 18 changed files in full in What I checked:
PR context. The description contains no instructions aimed at this lane. Spend. Unchanged. The eval workflows keep the same models and caps, and the fallback warning step makes no model call. critical-findings: 0 |
No related issue: a batch of owner-decided behavior fixes to the review lanes and lane reports, dispatched from a session as one pull request.
Summary
Seven of nine decided fixes to the review lanes and lane reports. Workflow wiring (which reusable a caller uses, credential legs, gate jobs) is unchanged. Top-level PR comment relay is not in this PR: it needs an owner decision on a trust boundary (see Related). Lane workflow header blocks were dropped: each line restated
lane-rules.jsonor the file'son:block, and the comment lint (ADR 0110) blocks them.Fix
pr-review-main.yml'sreview-fallbackleg emits a::warningannotation, naming the lane and why the subscription leg handed it on, once the fallback credential is present. The leg still reviews. The hosted lanes' fallback lives in the pinned ci-workflows reusable and is not changed here.plugins/review/skills/code-review/SKILL.mdappliesskills/quality-gate/context/loosened-check.mdto every changed file. The lane runs no settings script, so it takes the verdict and patterns from prompt value lines when the wrapper writes them, elsefailwith no consumer entries. The closing-issue text is the only spec.pr-review-main'scriteria.txtnow copies the criterion beside the skill, and the copy step creates a destination's parent, so the relative link resolves in its data directory.loosened-check.mdandreference/config.mdlist the lane among the criterion's appliers.code-reviewfolds itsPre-existing (advisory):andmanifest <field>:lines into one<details>block after the findings. The block comes before theVerifier droppedline, which stays last.security-reviewfolds itsmanifest <field>:lines the same way and keepscritical-findings: <n>outside the block. Each line still starts with its marker, so the follow-ups sweep and the merge gate read it unchanged.pr-run-plugin-evals.ymlandmaintenance-measure-skill-edit-pass.ymleach nameEVAL_MODELandEVAL_JUDGE_MODELonce, in a workflow-levelenv:. Each probe and run reads them from there; before this, the two files held 15 copies.report-outcome.mjsreadspr_body_required_sectionsfrom the default branch'sdocs/conventions/source-control.yamlwith yq, astrackerBindingTextreads the tracker. It adds a non-empty## <name>section for each required name the lane's PR body lacks. An unreadable file or key changes nothing.claim --lease-only --session-id run-<id>,pr-run-activity-read.yml) addsClaimed by [workflow run <id>](<run url>)below the marker whenGITHUB_SERVER_URLis set.wit_lease_jsonalready reads past a trailing footer, andCONTRACT.mdrecords it.docs/conventions/pr-pipeline/README.mdgains "Testing a lane change from its branch", which coversgh workflow run <workflow>.yml --ref <branch>and its three limits. First, only the workflow file comes from the branch, since.baseis main's tip. Second, a lanes-token mint is refusedworkflow-modifiedwhile the caller differs from main. Third, a dispatcher-sent run must name the default branch.Verification
node --test --test-concurrency=4on each touched node suite passed:pr-review-main/workflow.test.mjsandcredential-legs.test.mjs(fallback warning step, leg equality, criteria copy),work-resolve-issue/report-outcome.test.mjs(new required-sections cases), the plugin-eval and measure-skill-edit suites, and the workflow-scanning suites (model-job-permissions,callers,pr-merge/workflow,setup-runner-isolation,check-signed-commits,check-wip-cap,lane-run-report/post).plugins/work-items/tools/work-item-tracker/adapters/github/lease-coordination.test.shpassed, including new run-link cases: a run lease links its run and still parses, while a session lease and a non-https server value add nothing. Its gh stub routes a POST whose body links a run to the comment branch.scripts/check-comment-lint.shover the whole PR diff (HEAD_SHAat the pushed head,BASE_REF=main) exited 0 with no finding.--refbehavior was checked against GitHub's Manually running a workflow page,request-lane-token/README.md("A workflow file the PR changes") andcheck-trusted-trigger/README.md("Rules"). No live dispatch was run.loosened-check.mdthrough${CLAUDE_PLUGIN_ROOT}depends on the ci-workflows reusable installing the review plugin, which this repository does not show.Related
relayUpstream(.github/scripts/pr-unblock/feedback-dispatch.mjs) accepts only apull_request_review_commentrelay run and authenticates its PR from run facts. Anissue_commentrun cannot supply those facts, andaddress-feedbackworks only review threads, which a top-level comment does not have. Either route is an owner decision.🤖 Generated with Claude Code