Repository navigation
ci: review PRs with the official Claude Code Action on Bedrock - #287
Conversation
🤖 AI Code Review (two independent reviewers)Reviewer responses: batch 1/2: codex/ALL claude/ALL; batch 2/2: codex/ALL claude/ALL Status: PASSED — No blocking issues found Reviewed in 2 complete batches split at file boundaries; every batch must pass. Batch 1/2 — PASSVerification complete. The locally installed Claude CLI confirms every flag the new workflow passes ( PR #287 — Batch 1/2 Review (Chair Synthesis)SummaryThis batch replaces the two-vendor panel/chair review pipeline with the official Chair verification notes: Issues per lensL2 — Code correctnessCodex MAJOR (not adopted — unconfirmed, disputed): MINOR (downgraded from one model's MAJOR): MINOR (downgraded from one model's MAJOR): every matrix group must re-Read every staged image. MINOR (both chairs' verification agrees with the Claude panel's set):
Verified-correct and worth recording: L3 — Security / AWS mutation safetyNo ADR-005 surface is touched: no Terraform/IAM/agent/remediation/connector change, no AWS write path. The only AWS interaction is assuming the pre-existing MINOR (both models flagged — strong agreement): MINOR (downgraded from one model's MAJOR): on the labeled-recovery path the action's cwd is the PR-head checkout, so head-controlled MINOR (one model flagged, design-level): the merge gate is now a single model's structured self-report over untrusted diff text, with MINOR: the complete scrubbed patch set plus staged images now persist as a 1-day Actions artifact (exposure matches existing repo-read access, but the old explicit no-persistence property is gone); exact repository paths now enter model context as JSON data where BASE used 200-char safe labels (low impact — the new gate parses no free-text markers and Positives verified: L4 — Observability / data-integration correctnessNo Steampipe, CIS, or AgentCore diagnosis logic changes in this batch — both panels agree. Evidence-pipeline integrity verified: MINOR (one model): patch pages after the first lose L5 — Docs/ADR consistency
MINOR (one model, verified plausible):
Cross-batch dependencies (named, non-blocking per the cross-batch rule): Suggestions
VerdictThe image manifest is complete with zero images, zero deletions, and zero unavailable/omitted entries, so no pixel inspection is required; both panel cells declared the same. IMAGE_COVERAGE: NOT_REQUIRED Codex's sole MAJOR is unconfirmed, contradicted by the action's known execution-file contract, and fail-closed in the worst case; every MAJOR from the Claude panel was verified in the diff but downgraded as fail-closed reliability/defense-in-depth concerns rather than correctness or policy violations. No confirmed CRITICAL/MAJOR remains in this batch; the PR still requires batch 2 to pass. Batch 2/2 — PASSAll verification complete. Here is my synthesized chair review. Chair synthesis — PR #287, batch 2 of 2 (tests/structure rewrites, pipeline-test deletions, runbook rewrites)SummaryThis batch deletes the workflow-text-parsing tests in Issues per lensL2 — Code correctnessNo confirmed CRITICAL/MAJOR. (One model flagged two MAJORs; the other flagged none.)
L3 — Security / AWS mutation safetyNo confirmed CRITICAL/MAJOR; no violation of the ADR-005 frozen-mutation posture; no hardcoded secrets (the role stays
L4 — Observability / data-integration correctnessNo Steampipe, CIS, or AgentCore diagnosis code is touched. Both models agree: no CRITICAL/MAJOR. I verified the rewritten runbook's image bounds (32 files, 8 MiB/file, 32 MiB total, 8,192/dimension, 16,777,216 pixels) against the retained
L5 — Docs/ADR consistencyNo confirmed CRITICAL/MAJOR. (One model flagged one MAJOR; the other flagged none.) Verified good: all changed links resolve; the two references to the deleted
Suggestions
Image coverageThe manifest lists no images, no unavailable entries, no omissions and IMAGE_COVERAGE: NOT_REQUIRED VerdictNo CRITICAL or MAJOR finding survived verification against the resulting code of this batch. All panel MAJORs resolve to unverified cross-batch dependencies on batch-1 files that are explicitly listed and security-prioritized into batch 1, where they are adjudicated directly; every potentially mismatched assertion in this batch fails closed in a required check rather than passing silently. Confirmed findings are MINOR. Image coverage is not required and consistently declared. Triggered by commit |
Replace the two-vendor panel and chair in the required AI Code Review check with the official Claude Code Action v1. Model calls keep the existing AWS review role, GitHub OIDC, Amazon Bedrock region and Claude model. Ordinary reviews run once. Large promotions use the same action across bounded portions of the exact Git diff, with at most four model jobs in progress.
The trusted workflow prepares literal-path patches and normalized HEAD images before model credentials are available. The model jobs have read-only repository permissions. The final job checks that every group passed and verifies the live PR base and head before posting the result. Missing coverage and major or critical findings block merging. The protected SHA-specific recovery environment is retained.
This change is reviewed by the existing workflow. Once it lands on dev, the next promotion event can review #278 using the official action.
Local checks covered exact Git paths, ordered page coverage, stale or incomplete results, known severities and branch context. Preparation also ran against the actual cumulative promotion diff. Live Bedrock verification belongs to the first run of the approved workflow on dev.