Repository navigation
Bound security-review evidence and clarify completion criteria - #11911
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The regression test relies on unprovisioned ripgrep and fails when it is absent, while the review instructions reference nonexistent source and lack a byte-bounded fallback for oversized single lines.
3 open issues
What changed in this PR
This PR updates AWF’s daily security-review workflow to recover from truncated evidence and distinguish reporting limitations from genuine completion blockers, addressing #11895.
Changes:
- Replace bulk evidence dumps with bounded searches and incremental, line-numbered reads.
- Clarify safe public reporting, optional dependency auditing, and appropriate use of
report_incomplete. - Add evidence-bound and completion-policy regression checks, and refresh the generated prompt hash.
| File | Description |
|---|---|
scripts/ci/security-review-workflow.test.ts |
Adds oversized-input checks and reporting-policy assertions. |
.github/workflows/security-review.md |
Defines bounded evidence collection and safe completion criteria. |
.github/workflows/security-review.lock.yml |
Updates only the generated prompt-body hash. |
Review effort: Max (adaptive)
Updated command for bounded discovery to use grep. Co-authored-by: Copilot Autofix powered by AI <[email protected]>
|
✅ Copilot review passed with no inline comments. @lpcox Add the |
Updated instructions for handling truncated responses and file reading limits. Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
| Metric | Base | PR | Delta |
|---|---|---|---|
| Lines | 94.40% | 94.39% | 📉 -0.01% |
| Statements | 93.01% | 93.01% | ➡️ +0.00% |
| Functions | 93.61% | 93.61% | ➡️ +0.00% |
| Branches | 87.31% | 87.31% | ➡️ +0.00% |
📁 Per-file Coverage Changes (2 files)
| File | Lines (Before → After) | Statements (Before → After) |
|---|---|---|
src/commands/main-action-cleanup.ts |
97.9% → 96.9% (-1.03%) | 98.0% → 97.0% (-0.99%) |
src/enclave/host-executor-socket.ts |
95.9% → 95.9% (+0.00%) | 91.5% → 90.2% (-1.22%) |
Coverage comparison generated by scripts/ci/compare-coverage.ts
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
|
@copilot merge main, resolve conflicts, and address review feedback |
…rity-review-fix Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged |


Daily Security Review published its discussion but reported incomplete because exploratory output was truncated and no private disclosure tool was available. The prompt required a complete transcript without distinguishing these limitations from unrecoverable blockers.
Bounded evidence collection
Safe publication and completion
report_incompletefor genuine blockers to analysis or discussion submission.Regression coverage and generated metadata