Repository navigation
refactor(deep-scan)!: compose batches of Standard scans #939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mldangelo-oai
wants to merge
235
commits into
main
Choose a base branch
from
mdangelo/codex/simplify-deep-scan
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+57,139
−62,374
Open
Changes from all commits
Commits
Show all changes
235 commits
Select commit
Hold shift + click to select a range
c7b3a26
refactor(deep-scan): run Standard scans in ordered batches
mldangelo-oai 6546a75
test(deep-scan): wait for reducer launch before restart
mldangelo-oai 4888f4d
fix(deep-scan): report unfinished passes at time limit
mldangelo-oai f5b9d76
refactor(deep-scan): simplify pass inputs and retain checkpoint links
mldangelo-oai 329545c
refactor: compose deep scans from ordinary scan runs
mldangelo-oai 26f2be8
fix: preserve stopped scan observations before the first merge
mldangelo-oai 22c15d6
fix: retain scan settings and unmerged observations through shared li…
mldangelo-oai b9dc804
fix: preserve native ownership and account lookup errors
mldangelo-oai b344790
fix: retain incomplete scan coverage at configured limits
mldangelo-oai a5aeddd
fix: preserve scan settings and stopping semantics
mldangelo-oai 8a92a4e
fix: retain merge failure limits across interrupted scans
mldangelo-oai 6f06212
fix: retain merger failures during legacy scan migration
mldangelo-oai a4b0031
Fix saved logs for scans with recorded worker sessions
mldangelo-oai 0ee069a
Clarify saved Deep Scan resume requirements
mldangelo-oai 7c95ef3
fix: finalize retained legacy discovery at its saved budget
mldangelo-oai 87b2585
docs: describe composed Deep Scan findings and coverage
mldangelo-oai 1f4ca52
fix(deep-scan): preserve native resume and archived child state
mldangelo-oai 3b95e3d
fix(deep-scan): drain stopped scans and preserve legacy resume settings
mldangelo-oai bdd6e74
fix(deep-scan): retain progress and read large merge inputs from disk
mldangelo-oai 225abe0
fix(deep-scan): preserve native runtime and terminal pass state
mldangelo-oai 20779b4
Merge remote-tracking branch 'origin/main' into mdangelo/codex/simpli…
mldangelo-oai 5862e8d
fix(deep-scan): preserve feedback, recovery and budget boundaries
mldangelo-oai 0c3f4b1
Merge remote-tracking branch 'origin/main' into mdangelo/codex/simpli…
mldangelo-oai 21743ff
fix(deep-scan): rejoin legacy runs and share worker attribution
mldangelo-oai 745f5ed
fix(deep-scan): preserve permissions and resume boundaries
mldangelo-oai 0a34122
fix(deep-scan): preserve worker checks and cost completeness
mldangelo-oai c957af8
fix(deep-scan): preserve completion limits and session accounting
mldangelo-oai 041769d
fix(deep-scan): preserve runtime and scope compatibility
mldangelo-oai 2e8ec2e
fix(deep-scan): preserve failure and cleanup behavior
mldangelo-oai b153d60
fix(deep-scan): preserve resume and finding visibility
mldangelo-oai 53b4f2a
fix(deep-scan): complete cancellation and cross-platform checks
mldangelo-oai 690cd7b
fix(deep-scan): retain publication results and recovered failures
mldangelo-oai f9cec65
fix(deep-scan): coordinate checkpoints and failed-pass accounting
mldangelo-oai f69cb00
fix(deep-scan): preserve native home and proof compatibility
mldangelo-oai 1b4e093
fix(deep-scan): preserve scan outcomes and default home selection
mldangelo-oai 6754e4d
fix(native-scan): retain startup failures during cleanup [skip ci]
mldangelo-oai 1535d52
fix(deep-scan): give validation errors to merge retries
mldangelo-oai c6c2e19
fix(plugin): port empty-artifact finalization from #941
mldangelo-oai 85c7c17
fix(plugin): port finalized report status from #703
mldangelo-oai 3773155
fix(workbench): port saved-question deduplication from #951
mldangelo-oai c830d91
fix(cli): port structured scan errors from #709
mldangelo-oai aebf591
fix(cli): port full-output scan errors from #971
mldangelo-oai c8ee906
fix(plugin): port structured result guidance from #1029
mldangelo-oai a29020b
chore: merge main into deep scan composition branch
mldangelo-oai c572c92
chore: sync latest main inventory fix
mldangelo-oai d4bd67b
fix(ci): rebalance Windows tests and shard isolated coverage
mldangelo-oai f364ada
fix(deep-scan): preserve resume state and cleanup outcomes
mldangelo-oai 87c279a
fix(ci): allow full Windows parallel run to finish cleanup
mldangelo-oai 36f56e9
fix(deep-scan): retain migrated findings and render merged details
mldangelo-oai 595ba9f
fix(ci): give the full Windows baseline enough execution time
mldangelo-oai 675c1b0
fix(ci): align quality checks with the supported Bun runner
mldangelo-oai b215268
fix(ci): use stable Bun isolation and portable terminal assertions
mldangelo-oai d96f6e0
test: make dashboard file URLs portable on Windows
mldangelo-oai 458fcf2
test: consume synthetic CLI input before fixture exit
mldangelo-oai a9f5fa6
perf(deep-scan): reduce merge and persistence overhead
mldangelo-oai 4b96cb1
Merge main into deep-scan replacement
mldangelo-oai 27e6dfd
Merge main into deep-scan replacement
mldangelo-oai 5ec4bc7
perf(scan-merge): share copy slots and reuse sealed reports
mldangelo-oai 6c613c9
fix(ci): disambiguate test cases and drain ACL output at EOF
mldangelo-oai c6f1984
fix(native): reuse trusted executable resolution before startup
mldangelo-oai aec2391
fix(native): continue trusted PATH discovery
mldangelo-oai 4d40d08
fix(native): retain Windows discovery for trusted candidates
mldangelo-oai 03149f6
test(ci): check native discovery on every host platform
mldangelo-oai bf93e59
fix(native): handle quoted Windows search paths
mldangelo-oai 79cd375
test(ci): propagate native failures and keep fixtures on the cwd drive
mldangelo-oai 75d8a57
fix(deep-scan): harden recovery and preserve merge quality
mldangelo-oai 86944a4
fix(deep-scan): preserve cancellation, deferred work and measured costs
mldangelo-oai 27858c2
fix(deep-scan): retain accounting and candidates through recovery
mldangelo-oai b404deb
fix(scan-draft): retain historical candidate associations
mldangelo-oai e3cbe97
merge(main): preserve runtime fixes in composed Deep scans
mldangelo-oai 931091e
fix(runtime): retain the scan home for usage collection
mldangelo-oai 13d4f53
fix(scan-draft): retain legacy candidate scope without rewriting IDs
mldangelo-oai 2abd7f5
test: align fixtures with shared lifecycle contracts
mldangelo-oai a7f12ca
fix(deep-scan): freeze knowledge roots and normalize config paths
mldangelo-oai 0e2cad8
fix(deep-scan): preserve recovery and publication invariants
codex 433f4dc
Preserve saved total cost when a terminal Deep Scan resume is rejected
codex d7170ae
Recover terminal Deep Scan costs without resuming execution
codex bf6d45c
Include independent legacy workers in terminal scan costs
codex 21e87a8
fix(deep-scan): retain unknown costs after optional persistence failures
codex 38c6117
Check expanded package assets without compressed-byte false positives
codex 03c6eab
fix(deep-scan): retain unknown unregistered merge costs
codex 97d137e
test: give boolean cases distinct report names
codex bdfef1f
Avoid duplicating shared terminal accounting integration cases
codex 3105da8
Keep completion metadata out of artifact path expectations
codex 087cacc
Give trusted Git cases distinct JUnit identities
codex 69bb712
Type semantic drafts and centralize composition checkpoint boundaries
codex 174a6e6
Name Deep Scan lifecycle transitions and retain durable stop decisions
codex ef308d1
Mark Deep pass membership in private registration context
codex 5751900
Persist Deep Scan child membership and share composition reads
codex 679f57f
Verify Python roundtrips shared composition checkpoint fixtures
codex 52fc58d
Distinguish lightweight composition summaries from persisted checkpoints
codex 8f2a589
Register resumed Deep fixture children with their private role
codex 52f638b
test: align history fixtures with explicit child membership
codex 9cf2be8
fix: preserve script help for composition support
codex f51aeed
Keep terminal accounting fixtures consistent with semantic coverage
codex 5bdda42
Register the terminal MCP fixture as a Deep Scan pass
codex 8f46300
Preserve unrelated migrations in severity rollback fixture
codex 64f93d9
Specify shared child projection behavior with cross-language fixtures
codex dd3aa9b
Share Python artifact projection across completed and stopped scans
codex 37d042f
Use the shared artifact projector for SDK composition
codex 851c409
fix: support conventional help for private projection helper
codex 6057ce5
Preserve legacy and large scan projection compatibility
codex da393d6
Precompute projection scope paths before filtering findings
codex 72098e3
Preserve upstream merge and empty scan behavior with shared projection
codex b5e47e9
Make projection scope tests independent
codex 4906a41
Share execution preparation across SDK and native scans
codex 0264a54
refactor(scan): centralize publication and isolate execution boundaries
codex f447c01
Prepare scan skills and saved recipes outside the runner
codex ec60e9e
Reconcile shared execution policy and authentication fixtures
codex 918c000
Preserve helper provider authentication and public declaration bounda…
codex 1c568d9
Retain the artifact restoration failure type after extraction
codex cec3cd4
Merge current main into consolidated Deep Scan stack
mldangelo-oai 1eb48f7
refactor(deep-scan): share retained coverage and child failure handling
mldangelo-oai 1c67214
fix(deep-scan): handle exited preflights and long report names
mldangelo-oai 4abb9eb
test(deep-scan): clean up exited permission fixtures on Windows
mldangelo-oai 83779e8
Merge main and allow expanded Windows test coverage to finish
mldangelo-oai 3e23f53
fix(native-scan): preserve configured provider safety identifiers
mldangelo-oai 1189c07
Merge remote-tracking branch 'origin/pr939-latest-main' into mdangelo…
mldangelo-oai 38e6944
fix(deep-scan): serialize native starts before joining
mldangelo-oai 97bd7ac
fix(deep-scan): recover interrupted child usage before merging
mldangelo-oai 3603c4c
fix(deep-scan): preserve results and accounting at budget stops
mldangelo-oai 5b6560b
refactor(deep-scan): simplify composition and scan indexing
mldangelo-oai 2f6b324
fix(deep-scan): preserve native retry and usage results
mldangelo-oai d8cfeea
fix(deep-scan): retain accounting and merge retry semantics
mldangelo-oai 6e6b9af
fix(deep-scan): preserve unknown child accounting on recovery
mldangelo-oai 54eb9b6
fix(deep-scan): recover composed results after publication failures
mldangelo-oai 2e6cc2a
fix(scan): preserve unknown usage and reuse result projection
mldangelo-oai 9488d0b
Simplify native draft publication and executable selection
codex b1e8c7d
Simplify composed scans to source grouping and host publication
codex 4b8a8b2
Consolidate completed-merge quality checks and publication replay
codex a82318f
refactor: share scan accounting and prepared worker inputs
codex a9e9835
Consolidate native fixtures, bundle options, and lifecycle guidance
codex 92ca4ba
Retire legacy resume cases and retain grouping boundary coverage
codex a23b0bb
Record whether composed scans started a paid merge
codex 03d9a7b
fix(scan): finalize validated drafts and preserve runtime lifecycle
mldangelo-oai 0c10246
Preserve shared home environment lookup semantics
codex 45df36c
fix: preserve clean-scan recovery and comparison defaults
codex 1c7df9c
Simplify scan storage, recovery, and assessment reuse
codex 6862619
Focus composition integration on runtime wiring and current draft ide…
codex 6e857a3
Use migrated workbench schema in SDK history fixtures
codex 03f32c9
test(scan): expect one projection for selected findings
mldangelo-oai 4ba91c3
refactor: narrow completed-result loading and retire migration flag
codex 7b71fdb
Preserve sealed finalization and host-only usage semantics
codex 8147363
Keep composition checks focused on observable runtime state
codex 91cdb3a
Verify preserved child report and evidence filenames
codex dc8de9f
Remove duplicated timeout source-shape assertion
codex bd79c86
Align resume fixtures with explicit recovery summaries
codex 1c63a5f
Preserve current checkpoint recovery and accepted finding identity
codex dee8e41
Retain new evidence from late incomplete draft writers
codex 198acb6
Reuse resume metadata while refreshing sealed completion status
codex 66f0613
Return verified sealed resume metadata from native registration
codex 4ec4688
fix: align completion diagnostics and worker reuse assertions
codex 8fe5011
Align worker permission and stopped recovery fixtures
codex 5d2e6e0
Share the exact merge source registry with prompt construction
codex 9419169
Recover budget-limited clean scans without a merge session
codex 61f7c94
Exercise sealed usage failures at the status refresh
codex e2117d6
Preserve malformed checkpoint evidence during pending migration
codex c858d88
Merge upstream scan lifecycle and projection fixes
codex c41c587
fix(scan): recognize known runtime refusal messages
mldangelo-oai 817a067
Use indexed visibility lookups for finding history
codex a0f439f
fix(scan): isolate merge workers from workbench tools
mldangelo-oai d1a3392
fix(scan): isolate workers and recover completion order
mldangelo-oai 907ac45
fix(scan): preserve legacy cost attribution
mldangelo-oai a066b6a
ci: use the Windows job deadline for test shards
mldangelo-oai 4782fb2
fix: share native executable trust roots
mldangelo-oai ab427c3
ci: use the job deadline for Unix test shards
mldangelo-oai 9cf4b7f
Reuse result context and completed-turn contracts
codex 6db279e
Fix packaged runtime module and declaration contracts
codex 5138132
Install the type dependency required by Codex SDK declarations
codex a5e97e6
Reuse loaded composition state in internal projections
codex 3684273
Reuse severity totals for scan finding counts
codex 3e89e6c
Merge current Deep Scan worker isolation and recovery fixes
codex 2b56ad5
Use SQLite transaction contexts for simple writes
codex dd37888
Merge current Deep Scan worker and resume fixes
codex a1fa875
fix(scan): preserve sealed legacy session identity
codex 8cc86f2
Preserve verified sealed native scan recovery
codex e94c428
fix: preserve Deep worker completion and checkpoints
mldangelo-oai eba35e5
test: match scan ownership guidance without case sensitivity
mldangelo-oai ab783a9
ci: use the job deadline for Unix test shards
codex c571a0b
Check installed launcher behavior in package smoke
codex ac4794c
fix: retain known costs when native scans stop
mldangelo-oai 1f93479
chore: merge current main dependencies
mldangelo-oai e367e17
refactor!: simplify saved scans and remove retired recovery (#1092)
mldangelo-oai 569a3a1
merge: integrate upstream scan simplifications
codex 5c52682
refactor: reconcile saved scan simplification
mldangelo-oai 2e1e27b
fix: preserve projected report references in saved findings
codex 4ad916f
fix(scan): apply merge budgets after profile settings
mldangelo-oai 7c611ae
fix: preserve saved review counts in scan progress
codex 79a49b4
fix(deep-scan): distinguish merge intent during recovery
mldangelo-oai c1a3302
fix: index pending checkpoints before publishing history
codex 8be906d
merge: consolidate related scan simplifications
mldangelo-oai e338074
merge: consolidate latest scan simplifications
mldangelo-oai 5ad195b
fix(deep-scan): restore receipts before resumed budget checks
mldangelo-oai f8b3dc4
fix(deep-scan): verify completed scan projections
mldangelo-oai 5e9bd39
fix(cli): recover sealed historical bulk scans
mldangelo-oai a5137f3
test(sdk): time worker cleanup after completion
mldangelo-oai 90776e7
refactor: simplify deep scan artifact and recovery paths (#1096)
mldangelo-oai 0d88f9c
refactor!: simplify saved-result publication and test fixtures (#1097)
mldangelo-oai 7968e40
fix(deep-scan): restore preflight retries and preparation coverage
codex fe2c41b
fix: correct audit documentation and projection assertion
mldangelo-oai 85d89af
Merge main into scan execution simplification branch
mldangelo-oai be48a5b
Merge latest main into scan composition branch
mldangelo-oai fda7b18
Merge latest main into PR branch
mldangelo-oai c3b147c
Merge latest main dependency update
mldangelo-oai 9898297
Merge latest main into PR branch
mldangelo-oai a418620
fix(scan): restore native locks and retained-result recovery
codex c1d6196
Merge main and preserve composed scan behavior
codex 2985c38
Merge main severity backend and retain scan composition recovery
codex e0bef27
Merge main while preserving composed Deep Scan execution
codex 30f6d3e
fix(scan): preserve current runtime and recovery contracts
codex 05cf8e4
fix(deep-scan): preserve inherited policy and discovery context
codex 821b76a
fix(scan): retain matching settings and native join behavior
codex 778fcc6
Merge main and preserve composed scan knowledge on resume
codex 2f21c91
fix(scan): retain child context and skip unpublished dedupe records
codex 1786702
fix(scan): retain runtime selections and recovered context
codex 7196c22
test(scan): cover composed startup attribution and bounded history qu…
codex 22f5ea5
test(sdk): match Windows executable and tool paths
codex 2be98c7
fix(scan): preserve private replay and capped recovery
codex d70b12e
fix(scan): keep MCP replay configuration private
codex b63f8d8
fix(scan): preserve physical replay home paths
codex e08e9c8
fix(scan): keep sealed recovery independent of replay credentials
codex bd09963
fix(scan): avoid authentication during sealed publication
codex e250e89
fix(cli): restore saved providers for selected patches
codex 2ee265a
fix(cli): retain authentication choice for resumed patches
codex 02d183d
test(sdk): keep replay junctions outside credential homes
codex 0b80378
test(sdk): keep report identities unique
codex 57984f8
ci: allow macOS test shards to finish beyond twenty minutes
codex 2ff5df0
Merge main and preserve composed scan policy boundaries
mldangelo-oai f385090
Merge current model pricing into composed scans
mldangelo-oai 0e8ad8c
test(sdk): expose concurrent scan rejection diagnostics
mldangelo-oai 13084da
fix(scan): preserve Windows publication during status reads
mldangelo-oai 0c468d3
chore: merge main and preserve composed scan integration
mldangelo-oai a609322
test(finalizer): restore shared JSON fixture writer
mldangelo-oai cd39cc2
fix(deep-scan): preserve native ownership and package compatibility
mldangelo-oai 72adf33
fix(validation): preserve unfinished discovery through custom validation
mldangelo-oai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming this step does not change its sparse checkout: the
plugin-hostjob still includes onlyplugins/codex-securityand the setup action, and later installs only the MCP dependencies. The changedbuild_mcp_app.mjsnow resolvessdk/typescript/package.json, while the server bundles direct imports fromsdk/typescript/src, so every matrix run oftest_host_build.mtsfails on the missing SDK before testing the standalone host. Addsdk/typescriptto the sparse checkout and install its dependencies, as themcpjob now does.Useful? React with 👍 / 👎.