Repository navigation
ci: add advisory Astra and Opus PR threat reviews - #1222
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 250b2a28f3
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5fe1b0a1c
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a4f9fd484
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a3e600f664
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 268cc18566
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a87b6437be
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a4b2c3a7a
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2ccbc75bfd
ℹ️ 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".
Summary
Restore nonblocking PR threat-model feedback through independent Opus 5.5 and GPT-6 Astra scans using the existing OpenRouter key. Every changed file's complete before/after source is reviewed against the full canonical base threat model, followed by cross-file integration. Findings appear in one updatable public PR comment with model attribution; clean first scans stay quiet and incomplete scans are explicit.
Head
2ccbc75bfincludes masterd2a7b6431(provider work measurements, measured warm placement, and the SSD write-budget update). The latest master sync preserved both changelog entries; subsequent advisory fixes validate the live diff snapshot before model calls and publication. The routing-test merge preserves deterministic fresh-evidence fixtures, upstream transport-age normalization, and unknown-age sentinels; both developer-documentation links and upstream measurement guidance are retained. SetTHREAT_REVIEW_MODELS=anthropic/claude-opus-5.5,openai/gpt-6-astra; repository secretOPENROUTER_API_KEYis already configured. The workflow activates after this PR lands. Merge #891 first so initial scans use its refreshed hybrid trust model.Before
After
Blue shows immutable source collection, green shows source and integration review, orange shows public author feedback. Complete clean first scans only write an Actions summary; later complete clean scans update old finding comments. Current and legacy bot markers are recognized, spoofed markers ignored, and stale revisions suppressed before publication.
Validation
.github/scripts/test-threat-*.pysuites; Release Integrity runs them in CI.make docs-check: 323 pages.make docs-impact-check BASE=origin/master, workflow actionlint and whitespace checks pass.6d5a21624: both models completed all 19 changed files (14 source batches plus integration per model), with zero incomplete sources and no actionable findings. This proves the API/full-scan path on that revision, not absence of vulnerabilities; later citation-validation and retry-lifecycle fixes have the regression coverage above.09fc86bdacompleted review with no unresolved findings and all 17 runnable checks passing. Current head2ccbc75bfpasses all 87 advisory tests, 100 repetitions of the routing-plan tests with race detection and atomic coverage, protocol tests with race detection, and documentation checks. GitHub confirms it is mergeable. The target-tip, diff-snapshot, retarget-trigger, integration-summary, aggregate source-memory, publication-lifecycle, LFS coverage and diff-scoped retention review findings are fixed with regressions, including negative controls that reproduce the original failures. Fresh CI and automated review are running on2ccbc75bf. Protected E2E Benchmarks requires environment approval and is not a required merge check; repository rules require an approving review covering the latest push.Complete changed files are scanned; unchanged callers elsewhere are not automatically fetched. Public findings require human validation. Each reviewer makes multiple paid requests, and every PR update can trigger a new scan. See configuration and limits.