Repository navigation
test: preserve original child writeup references - #1152
mldangelo-oai merged 2 commits into
Conversation
|
@codex review |
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. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The implementation consistently preserves child writeup references across projection, validation, rendering, and recovery tests.
Review effort: Balanced
Findings: None
What changed in this PR
Links merged findings to child-scan writeups in place, avoiding redundant copies while preserving safe scan-local access.
Changes:
- Retains original child writeup paths during projection.
- Expands report-path schemas and rendering validation.
- Updates fixtures and projection/recovery tests.
| File | Description |
|---|---|
sdk/typescript/tests-ts/scan-projection-fixtures.test.ts |
Tests retained child evidence references. |
plugins/codex-security/tests/test_workbench_scan_composition.py |
Verifies stopped scans retain original writeups. |
plugins/codex-security/tests/test_scan_projection.py |
Updates projection and symlink behavior tests. |
plugins/codex-security/tests/fixtures/scan-projection/canonical-child.json |
Defines child-relative projected paths. |
plugins/codex-security/scripts/report_projection.py |
Accepts Deep Scan child writeup paths. |
plugins/codex-security/scripts/project_scan_artifacts.py |
References child writeups instead of copying them. |
plugins/codex-security/schemas/tools/scan-draft.schema.json |
Allows nested writeup paths. |
plugins/codex-security/schemas/findings.schema.json |
Allows retained Deep Scan writeup paths. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
849fd6a to
adbc041
Compare
98677d2 to
022f16b
Compare
faizan-oai
left a comment
There was a problem hiding this comment.
The earlier evidence-link defect is fixed here. I reran the reproduction at this PR's own head, 022f16b: findings/check/check.md can link to ../../artifacts/trace.txt, and the projected parent entry retains a working link through the original child tree. Both original and projected evidence paths exist. The own-head projection/report suites passed (76 tests), and the same reproduction passes at the stack tip.
alandelong-oai
left a comment
There was a problem hiding this comment.
Reviewed the retained-writeup projection change at 022f16b4916e21398cd3b633b34d8008e009303f with three independent passes and root verification. No introduced actionable findings remain. The exact plugin build, 49 Python tests, and eight SDK projection tests pass. Replaying the earlier cross-directory evidence-link probe now resolves both the original and parent-facing links correctly.
Two reviewers flagged that projected drafts do not satisfy the tool input schema. Exact base/head comparison shows that mismatch already exists in the base, so it is not reported as a new regression here; its actual caller path remains part of the stack integration review.
022f16b to
f3fcd7d
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
The previously completed three independent passes carry forward after verifying the patch is identical; root reconciled the current base and discussion.
No serious outstanding finding was identified in this change. The scoped prior review and current diff remain consistent.
Approval is for this change. Integrated-tip validation passed 1,357 SDK tests (31 skipped), 105 MCP tests (2 skipped), portable checks, types/builds and installed-package smoke. Other stack findings and known CI fixture failures still prevent the stack from being mergeable.
f3fcd7d to
e8adf46
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Re-reviewed the real PR diff at e8adf46c0bd80ce20f530a7268a16d752ff2cb5e. Three independent high-reasoning passes covered the complete changed patch and tests; root source checks and focused reproductions informed this decision.
No serious outstanding finding identified in this patch; prior conclusions remain consistent with the unchanged change or the current re-review.
Validation across touched paths at branch tip 06e75cfe: 1,356 SDK tests, 867 Python tests plus 100 subtests, and 108 MCP tests passed; builds, types, portable checks and installed-package checks passed. These are integration checks at the branch tip, not a claim that every intermediate PR or its CI is clean.
267ecf0 to
bbd8b21
Compare
e8adf46 to
1de7f41
Compare
bbd8b21 to
bcdf521
Compare
1de7f41 to
0f6d79f
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Retained the three independent passes for the identical patch and reconciled inherited touched-file changes at 0f6d79fbfdb8.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch, touched-file changes, and current integration checks.
Current tip 355ec321 passed 75 report-projection tests, portable source checks, SDK build:ci and plugin build. The immediately preceding tip fec36f1d passed 1,360 SDK tests, 873 Python tests plus 100 subtests, 109 MCP tests, builds/types and the clean 600-entry installed-package check. Only report_projection.py and its test changed between those tips; SDK/MCP runtime files are byte-identical. Both descend from main 008a8b4d. These are integration checks, separate from own-head probes. No native Windows local run.
No serious outstanding finding introduced by this PR. Code review approval does not establish CI or merge readiness.
0f6d79f to
9936a85
Compare
bcdf521 to
507421a
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Completed three fresh independent full-diff reviews and root verification at 9936a85fc2f3.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch and inherited changes in touched files.
Integrated tip 6ef8cbb8, based on 008a8b4d, passed 1,388 SDK tests, 879 Python tests plus 100 subtests, 109 MCP tests, portable checks, builds and the clean 600-entry installed-package check. These are branch-tip integration checks, separate from own-head probes; no local Windows execution was performed.
No serious outstanding finding introduced by this PR. Code approval is separate from CI and merge readiness.
507421a to
aec98a8
Compare
9936a85 to
1e5a051
Compare
alandelong-oai
left a comment
There was a problem hiding this comment.
Retained three prior independent passes for the verified identical patch and reconciled inherited touched-file changes at 1e5a051c7d9a.
No actionable introduced finding survives the independent reviews and root reconciliation of this exact patch and inherited changes in touched files.
Branch tip 3e0083d9, based on 008a8b4d, passed 1,392 SDK tests, 881 Python tests plus 100 subtests, 109 MCP tests, builds, portable source checks and the 600-entry installed-package check. These are tip checks, separate from own-head probes. No local Windows run was performed. The tip excludes the dependency update merged separately in #1184; combined validation remains outstanding.
No serious outstanding finding introduced by this PR. Code approval is separate from CI and merge readiness.
Consolidate approved Deep Scan changes into the parent topic branch.
a021eb3
into
mdangelo/codex/pr939-split-28-follow-up-output
Part 29 of 46. Previous: #1151 · Next: #1153 · Stack index
Summary
Keep projection regression coverage focused on the verified child-relative writeups introduced in part 12. Remove tests for the superseded copying behavior.
Changes
Testing
Projection tests passed at the owning earlier boundary and both later affected boundaries; this layer retains original-evidence reference checks.
Checks against the complete stack passed: SDK and MCP typechecks, formatting, Ruff, the SDK build, portable plugin compatibility and its tests, focused recovery/accounting tests, and local-artifact package smoke using exact cached dependencies. The package check was not a clean registry install. See this PR’s Checks tab for CI results for its current commit.
Risk and rollout
Draft-input compatibility takes effect in part 12; this layer updates the remaining projection tests. Saved parent scans continue to retain their original child output and scan-local file checks.
Public disclosure review