1806 Commits
Author SHA1 Message Date
Michael D'Angelo 4306d95b67 refactor(skills): load scoped workflows on demand and simplify explorer review 2026-11-06 14:42:38 +00:00
c078ae5c5b fix(deep-scan): reject directory trees emptied before dispatch (#2181)
* fix(deep-scan): stop fresh scans with empty targets

Check the selected source before scheduling workers, preserve accepted resume
results, and propagate preflight cancellation through helper process cleanup.
Honor authoritative scopes and inherited ignore rules without replacing the
shared review inventory. Preserve existing partial Git listing behavior while
distinguishing empty listings with diagnostics from a valid empty scope.

Adapted from the existing public proposal for issue #2014, with portable
Windows fixture corrections and coverage for excluded junction cycles.

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): preserve scoped enumeration evidence

* fix(deep-scan): honor inherited and linked ignore rules

* fix(deep-scan): filter Git candidates without traversing excluded trees

* fix(deep-scan): preserve native ignore and fallback semantics

* fix(deep-scan): retain nested sources and registered file selections

* fix(deep-scan): preserve capped results and scoped discovery

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): isolate target admission and honor deadlines

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): probe one directory entry asynchronously

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): preserve raw names in directory probes

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>

* fix(deep-scan): yield while admitting registered targets

* fix(deep-scan): reject empty directory trees before dispatch

* test(deep-scan): cover live trees emptied after registration

---------

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 01:29:21 -08:00
Michael D'Angelo 4d83ce9195 refactor: share workbench arguments and simplify SDK and eval workflows (#2325)
* Simplify workbench dispatch, SDK helpers, and their test fixtures

* test(sdk): keep distinct progress matrix helpers

* test(sdk): expect canceled lifecycle for aborted component scans
2026-11-05 01:28:44 -08:00
Michael D'Angelo 258d7a6c33 docs: make scan and integration guides evergreen (#2350) 2026-11-05 01:26:22 -08:00
Michael D'Angelo 7bfb94d67e fix(imports): preserve AWS code scanning evidence and retries (#2347)
* fix(imports): preserve AWS code scanning evidence and retries

* Negotiate AWS import job versions and preserve interrupted writes
2026-11-05 00:36:44 -08:00
5d65d253f7 fix(diagnostics): preserve saved-scan errors and recovery advice (#1266)
* fix(cli): preserve diagnostic context and saved-scan contracts

* fix(cli): escape publication diagnostic terminal controls

* test(cli): return canonical scan IDs from recipe fixtures

* fix(cli): preserve local failure classification through causes

* test: expect requested finding page sizes

* fix(diagnostics): preserve typed failures and report lookup errors once

* Preserve explicit cybersecurity policy refusal handling

* fix(cli): escape C1 controls in launcher failures

* fix: escape C1 controls in CLI failure diagnostics

* fix: recognize explicit nominal policy refusals

* fix(cli): retain quota advice and escape configuration diagnostics

* fix(cli): retain quota advice and format config failures

* fix(diagnostics): escape config errors and return accepted finding pages

* fix(diagnostics): escape component planning config errors

* fix(cli): format export failure diagnostics

* test(plugin): scope safe-path helper checks to Python 3.11+

* test(plugin): exercise isolated helper imports on Python 3.10

* fix(cli): retain explicit model permission advice

* test(cli): cover public export diagnostic controls

* fix(cli): retain recovery advice and Git failure status

* Recognize explicit policy refusals across response wording

* Keep source-access errors distinct from explicit policy refusals

* fix: retain explicit model and policy failure advice

* Recognize explicit policy-first review refusals

* Recognize explicit causal policy refusal responses

* fix(cli): preserve saved scan output modes

* fix(cli): retain expired token recovery advice

* Reuse executable fixture cleanup after Node launches

* fix: distinguish blocked artifact uploads from review refusals

* fix: preserve Git errors and distinguish operational refusals

* fix(review): distinguish publication failures from policy refusals

* test: use shared RPC request helper for diagnostic regression

* test: adapt ranking diagnostics to shared repository CLI fixture

* fix(cli): retain advice for token expiry code variants

* fix(review): recognize explicit policy accordance refusals

* fix(cli): preserve advice for canonical diagnostic codes

* fix: preserve operational failures and escape terminal controls

* fix(cli): require status context for numeric failure advice

* fix(cli): retain quoted status and terse refusal handling

* fix(cli): retain explicit HTTP code diagnostic advice

* Fix Windows direct Deep package fixture spawning

* fix: preserve explicit colon-form review refusals

* fix(contract): preserve exact checked file identities

* fix: recognize descriptive content refusal reasons

* fix: classify explicit policy refusals independently of reasons

* fix(cli): recognize separated response-code statuses

* fix: preserve structured review transport failures

* fix(diagnostics): keep operational policy failures distinct

* fix(cli): retain advice for named model failures

* fix(cli): keep local timeout diagnostics distinct

* fix: mark canceled patch review output as unsuccessful

* fix(cli): retain advice for response status fields

* fix(cli): keep local model errors free of credential advice

* fix(cli): retain saved results in full YAML and TOON failures

* test: forward directory probe arguments

* test(cli): use the existing artifact export import

* test(sdk): assert native scan artifact diagnostics

* ci: retry managed Code Quality after GitHub installation rate limit

* Keep local diagnostics distinct and surface inaccessible issue history

* Remove duplicate coordinator test import inherited from main

* Retain the SQLite diagnostic alongside the typed inspection exit

* Verify the printable path escaping used by export errors

* Classify long skill diagnostics without rescanning each suffix

* Preserve message structure when masking qualified model names

* Preserve backticks around provider-qualified model names

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 17:22:45 -08:00
Michael D'AngeloandCodex 3a51de0d54 fix(telemetry): preserve usage coverage and operation outcomes (#1841)
* fix(telemetry): preserve usage coverage and operation outcomes

* fix(telemetry): reconcile worker receipts and preserve failure outcomes

* fix(telemetry): reconcile cumulative usage and protect exporter settings

* docs(telemetry): clarify hosted remediation ownership

* fix(telemetry): scope coverage recovery and protect helper configuration

* fix(telemetry): keep worker accounting in protected runtime state

* fix(telemetry): preserve output paths and large usage receipts

* fix(telemetry): avoid replaying archived session events

* fix(telemetry): classify budget stops and refresh partial totals

* fix(telemetry): reconcile scope gaps and collection races

* fix(telemetry): retain observed worker receipt totals

* fix(packaging): include telemetry artifacts and update smoke contracts

* fix(telemetry): consume complete compressed streams

* fix(telemetry): preserve recovered usage and coverage provenance

* fix(telemetry): reconcile native usage throughout completion

* fix(telemetry): retain partial usage and publication outcomes

* fix(telemetry): preserve uncertain Linear publication outcomes

* fix(telemetry): reconcile resumed and reused operation receipts

* fix(telemetry): retain measured worker cache-write provenance

* docs(telemetry): clarify inline owner accounting

* fix(hosted): retain foreign execution request identities

* test: retain native preflight observations before shutdown

* fix(telemetry): retain completed patch usage on invalid results

* fix(telemetry): retain patch usage before child shutdown

* fix(telemetry): preserve component measurement observers

* fix(validation): retain usage received before shutdown failures

* test: share Deep Scan worker usage fixtures

* fix(telemetry): retain the first partial usage timestamp

* test: let skill process fixtures accept Codex arguments

* ci: retry managed Code Quality after GitHub installation rate limit

* Preserve stored scan costs when reconciling canceled usage

* Use the fixture error class in the native coordinator test runner

* Remove stale coordinator error imports after test extraction

* Finalize discovery attempt receipts after durable worker acceptance

* Align operation outcomes and worker usage after budget integration

* Classify native skill startup cancellations in operation telemetry

* Distinguish skill deadlines from explicit child cancellation

* Retain workbench coverage warnings in terminal usage receipts

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-04 16:56:20 -08:00
Michael D'Angeloandmldangelo-oai 5283c84ba7 feat(imports): import Trivy findings locally and to Cloud (#2276)
* feat(imports): collect hosted Snyk and Semgrep findings

* feat(imports): import native Trivy findings alongside hosted scanners

* fix(imports): align Snyk Issues API version

* refactor(imports): simplify Trivy handling and preserve repository binding

* fix(imports): compare Trivy checkout and transport identities

* fix(imports): distinguish Trivy report targets from Git remotes

* test(imports): share Trivy replay fixtures

* fix(imports): bind Trivy findings to the source identities retained by the scanner

* fix(imports): keep ambiguous Trivy origins separate from display labels

* fix(imports): verify Trivy checkpoint provenance and separate report inspection

* fix(imports): corroborate Trivy roots and recognize interrupted requests

* fix(imports): share Trivy retry identity across file and selected findings

* fix(imports): separate raw scanner evidence from repository claims

* fix(imports): preserve native Trivy context across empty and selected results

* fix(imports): keep Trivy repository claims independent of SSH aliases

* fix(imports): corroborate Trivy remote targets without resolving SSH aliases

* refactor(imports): compare local Trivy claims using the approved Git host rules

* test(imports): give Trivy source comparison cases a consistent signature

* refactor(imports): simplify hosted scanner collection and verify repository scope

* fix(imports): preserve verified GitHub SSH aliases in mixed findings

* fix(imports): parse SSH authority without backtracking

* refactor(imports): reuse the verified Snyk report repository

* fix(imports): keep verified enterprise GitHub identity during local import

* fix(imports): preserve hosted source scope across collection and replay

* fix: bind hosted credentials and replay to the selected source

* fix: preserve provider provenance across hosted imports

* fix: preserve scanner evidence and verified repository aliases

* fix: retain source constraints when projecting scanner findings

* fix(imports): enforce scanner region and repository bindings

* fix(imports): check all repository claims in hosted reports

* fix(imports): preserve hosted finding evidence and project scope

* fix(imports): compare hosted repository identities consistently

* fix(imports): preserve repository bindings across SDK representations

* fix(imports): verify declared repositories against retained evidence

* fix(imports): scope hosted provenance and migrate published checkpoints

* fix(imports): verify legacy scope before resuming hosted uploads

* fix(imports): distinguish Git helper remotes from local paths

* fix(imports): compare effective Git remotes without losing URL bytes

* fix(imports): verify repository paths using their Git transport semantics

* fix(imports): preserve saved scanner identifiers and streamline large collections

* fix(imports): keep native scanner reports on the plain JSON parser

* fix(imports): retain publishable Semgrep messages and verified Git remotes

* fix(imports): preserve repository scope across scanner and Git URL forms

* fix(imports): require unambiguous scanner source and request identities

* fix(imports): retain verified repository mappings through replay

* fix(imports): validate retained scanner scope consistently

* fix(imports): enforce scanner bindings across destinations and retries

* fix(imports): preserve exact finding and repository identities

* fix(imports): preserve scanner field types and simplify approved scopes

* fix(imports): keep exact scanner decimal values through replay

* fix(imports): preserve verified repository identity across projections

* fix(imports): keep repository comparisons consistent during reads

* fix(imports): align public host matching and isolate Git fixtures

* fix(imports): preserve numeric evidence and verify Git remote identity

* test(imports): share the Semgrep checkout fixture

* fix(imports): verify Git helper resolution when a transport alias is configured

* test(imports): keep the transport alias in the fixture repository

* fix(imports): verify checkout-independent transports and preserve Snyk platform hints

* fix(imports): match configured remotes offline and require zoned Snyk timestamps

* fix(imports): preserve prepared runners and scanner input contracts

* fix(imports): retain inherited workbench dependencies during preparation

* fix(packaging): pass validated tar members through a file

* fix(imports): bound endpoint interpolation and refresh the Action bundle

* fix(imports): recheck the selected workbench opt-in after reading

* fix(imports): preserve native Trivy checkout paths on Windows

* fix(imports): validate retained Trivy sources and provider ownership

* fix(imports): preserve replay and repository identity checks

* fix(imports): retain compatible scanner provenance

* feat(imports): normalize selected Semgrep Code findings for local import

* feat(imports): import saved Semgrep Platform selections from the CLI

* fix(imports): preserve selected Semgrep occurrences across native representations

* feat(imports): collect Semgrep Platform findings by project and ref

* feat(imports): collect and import Snyk project issues locally

* fix(imports): check hosted Semgrep Git remotes once

* feat(imports): publish hosted Semgrep and Snyk findings to Cloud

* fix(imports): verify Snyk project scope and pagination on replay

* fix(imports): preserve Semgrep scope and evidence on replay

* test(imports): isolate fixture Git config with a portable file

* fix(imports): match Semgrep project labels to the verified repository

* fix(imports): require original repository names for URL-less Semgrep rows

* fix: preserve hosted source bindings across Cloud retries

* fix(imports): validate projected Snyk issues and regional requests

* fix(imports): bind selected Semgrep rows to the project URL path

* fix(imports): converge historical and current Semgrep evidence

* docs(imports): clarify Semgrep selection IDs and repository names

* test(imports): exercise adjacent signed int64 Semgrep findings

* fix(imports): bind Snyk selections to verified native issues

* fix(imports): preserve selected findings when native SAST evidence is incomplete

* fix(imports): preserve native Semgrep project IDs and file evidence

* fix(imports): validate Semgrep report bindings and replay equivalent evidence

* fix(imports): retain verifiable Snyk evidence across replay

* perf(imports): check scanner paths without rescanning repeated separators

* fix(imports): retain Semgrep locations for colons inside a relative path

* fix(imports): preserve validated Semgrep repository and occurrence evidence on replay

* test(imports): reuse normalized Snyk fixture setup

* fix(imports): verify Snyk asset scope across selected findings

* fix(imports): resolve configured Git sources and skip ordinary reference scans

* fix(imports): preserve Snyk selection scope and archived evidence

* fix(imports): validate each scanner's retained repository claims

* fix(imports): retain Snyk target proof and stable replay

* fix(semgrep): require named remotes for legacy Git metadata

* fix(imports): validate native Semgrep evidence before choosing its projection

* fix(imports): respect Snyk project origin when selecting evidence

* fix(semgrep): verify reset remotes and active branch defaults

* fix(cli): preserve original Snyk diagnostics in structured output

* fix(imports): match shared Semgrep SSH aliases with each reader

* fix(semgrep): require scope for retained v1 findings in marked reports

* style(docs): remove extra blank line in Semgrep guide

* refactor(imports): share Git transport byte conversion

* fix(imports): check HTTP Git credentials in linear time

* fix(imports): preserve Semgrep product and source path on replay

* Preserve Sonar skill notices for structured import output

* fix(imports): check scanner data without reading unused finding IDs

* fix(imports): inspect scanner evidence in approved retry requests

* feat(imports): import selected findings through Semgrep Guardian

* test(imports): verify Guardian and numeric Web API IDs on replay

* docs(imports): format the scanner identity table

* test: prepend exact JSON members to Snyk response fixtures

* fix(imports): keep Guardian evidence local across Cloud publication retries

* feat(imports): import Trivy findings locally and to Cloud

* refactor(imports): simplify Trivy SDK provenance handling

* fix(imports): retain authenticated Trivy destination matching in the CLI stack

* test(sdk): expect canceled lifecycle for aborted component scans

(cherry picked from commit 61d32357f4)

* test: import the shared coordinator failure fixture

(cherry picked from commit 925b70af34)

* Honor the CI timeout for native provider checks

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 16:52:13 -08:00
Michael D'Angelo 57a7d6cef4 fix(deep-scan): preserve disputed comparisons across context retries (#2321)
* fix(deep-scan): preserve distinct findings and bound duplicate comparisons

* fix(deep-scan): keep comparing smaller reports after context exhaustion

* fix(deep-scan): retain repair identities, checkpoint evidence and split attribution

* fix(deep-scan): retain partial original reports when resuming checkpoints

* perf(deep-scan): send exact observations once per repair assignment

* ci: retry managed code scanning after GitHub rate limiting

* Keep exact repeats attached to legacy findings with incomplete ancestry

* Preserve disputed Deep Scan comparisons across context retries

* fix: preserve accepted finding groups across retries and checkpoints

* fix: remove duplicate coordinator error import
2026-11-04 16:25:48 -08:00
ianw-oai b03f4312db fix: read oversized findings from temporary files (#2342) 2026-11-04 16:20:54 -08:00
Michael D'Angelo bf408e1459 test(deep-scan): verify a native deadline before worker dispatch (#2300)
* fix(deep-scan): account for comparison turns and report actual review coverage

* fix(deep-scan): report completed audits and batch consolidation

* fix(deep-scan): include measured usage in the completion receipt

* docs(deep-scan): use the completion receipt for final reporting

* ci: retry managed Code Quality after GitHub installation rate limit

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)

* Remove duplicate coordinator test import after main integration
2026-11-04 16:01:57 -08:00
Michael D'Angelo f7494f6dd0 fix(deep-scan): preserve independently fixable findings across batches and resumes (#2311)
* fix(deep-scan): preserve distinct findings and bound duplicate comparisons

* fix(deep-scan): keep comparing smaller reports after context exhaustion

* fix(deep-scan): retain repair identities, checkpoint evidence and split attribution

* fix(deep-scan): retain partial original reports when resuming checkpoints

* perf(deep-scan): send exact observations once per repair assignment

* ci: retry managed code scanning after GitHub rate limiting

* Keep exact repeats attached to legacy findings with incomplete ancestry

* fix: preserve accepted finding groups across retries and checkpoints

* fix: remove duplicate coordinator error import
2026-11-04 16:01:16 -08:00
Michael D'Angelo 1d9f7c379b fix(deep-scan): preserve differing threat models and use primary repair sites (#2306)
* fix(deep-scan): report completed audits and batch consolidation

* fix(deep-scan): preserve differing threat models and use primary repair sites

* fix(deep-scan): include measured usage in the completion receipt

* docs(deep-scan): use the completion receipt for final reporting

* Deliver fixture signals before advancing the verification batch

* ci: retry managed Code Quality after GitHub installation rate limit

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)

* Remove duplicate coordinator test import after main integration
2026-11-04 16:00:17 -08:00
c9cb6b4bca fix(cost): enforce scan budgets from verified usage (#465)
* fix(cost): enforce verifiable scan spending limits

* fix(cost): reject incomplete final session usage

* fix(cost): verify delegated worker completion and ownership

* fix(cost): require completed root evidence for scan budgets

* fix(cost): preserve definitive budget overages

* fix(api): retain definitive budget failure classification

* fix(cost): retain overages discovered during cleanup

* fix(cost): retain highest usage through budget cleanup

* fix(cost): retain verifiable per-session accounting

* fix(cost): respect proven worker ownership

* fix(cost): exclude unrelated historical accounting evidence

* fix(cost): reverify late final accounting

* fix(cost): retain fresh usage from missing-session reads

* fix(cost): preserve unpriced completed usage

* fix(cost): preserve finalization and usage boundaries

* fix(cost): reject unusable owned accounting

* fix(cost): accumulate reset-aware session usage

* fix(cost): preserve final accounting and worker shutdown

* fix(sdk): exclude internal helpers from public declarations

* fix(cost): align whole-counter reset accounting

* fix(cost): exclude inherited fork usage

* fix(cost): preserve full UUIDv7 fork ordering

* fix(cost): reject incomplete worker session metadata

* Attribute incomplete rollouts through trusted session ownership

* Verify ownership of every unidentified budgeted rollout

* Account for equal-total token counter resets

* Verify complete scan accounting before budget finalization

* Attribute fork-only workers during live budget tracking

* fix: avoid double-counting custom validation usage

* fix(cost): refresh the cached accounting plugin

* fix(cost): preserve owned accounting and completed worker cancellation

* fix(cost): preserve selected runtime accounting and late cache usage

* Preserve native SQLite environment precedence

* Format the merged scan ownership and worker controls

* Read worker invocation before checking SQLite forwarding

* Adapt ownership checks to current environment and test helpers

* Format the current ownership test interface

* Resolve the native executable only when ownership fallback needs it

* test: retain cancellation while completed workers drain

* test: type completed worker callback fixture

* fix(cost): verify native owned rollout accounting

* fix(cost): verify rollouts archived after polling

* fix(cost): reconcile live archives and native SQLite precedence

* test(cost): type SQLite override fixtures

* fix(policy): reuse the launched environment for usage ownership

* fix(cost): bind owned rollouts and preserve unbudgeted completion

* test(cost): supply owned sessions in live budget fixture

* fix(workers): preserve shutdown behavior for unbudgeted scans

* fix(cost): include custom-validation session ownership

* fix(cost): retain retry ownership and consistent SQLite paths

* test(cost): check native worker directory argument

* test(workbench): derive current schema checks from migrations

* fix(cost): preserve effective SQLite settings during ownership checks

* fix(cost): preserve native paths and cumulative accounting

* fix(cost): align persisted usage and worker storage

* fix(cost): preserve late cache classification across usage snapshots

* fix(cost): retain partial cache refinements across sessions

* fix(cost): retain separately reported cache categories

* fix(sdk): retain selected settings in scan resume recipes

* fix(cost): reconcile final receipts before budget callbacks

* test(ci): print the random seed before running each shard

* fix(deep): interrupt native workers and preserve final accounting

* test(deep-scan): exercise graceful worker shutdown in CI fixtures

* fix(deep-scan): translate cyber settings for the native protocol

* test(api): await socket closure after cancellation resets

* test(runtime): create private session ownership fixtures

* fix(deep): preserve native worker warning diagnostics

* Use Bun runtime with the Windows event-loop fix in CI

* Preserve inherited and overridden SQLite worker settings in tests

* fix(cost): verify compressed owned session rollouts

* Exercise log retries after recording worker ownership

* Decode complete compressed receipts on supported Node releases

* test(package): exercise native Deep worker lifecycle and decoder artifact

* test(cost): align budget fixtures with retained diagnostics and ownership checks

* test(logs): isolate Node capability fixture compilation

* test: preserve app-server worker launch coverage

* test: keep preflight fixture independent of SDK source

* test: grow tracked session before exercising read retries

* fix(usage): retain late legacy cache counts across turns

* test(api): align budget recovery with canonical completion

* test(deep-scan): split worker lifecycle coverage

* test(deep-scan): verify provider settings over app-server RPC

* fix: retain worker profiles and graph ownership after main integration

* test: align scan fixtures with merged runtime

* test: preserve portable policy and log fixtures

* fix(sdk): read session logs from the beginning

* test: align scan budget fixtures with native worker contracts

* test: preserve bundled worker helpers and normalized scan settings

* test(ci): allow time for the serial Windows baseline

* test(cost): retain budget checks with optional owner reports

* test(ci): preserve existing production Bun qualification

* test: stop polling worker markers after the fixture deadline

* style: format the worker marker condition

* test(evals): include SDK decoder types in the eval build

* test(workers): exercise the app-server directory and scope cleanup on Windows

* test(deep-scan): isolate worker fixture phase markers

* test(sdk): restore Unicode separators in scan input fixtures

* test(cost): keep simulated workers active through live polling

* fix(cost): distinguish fresh and resumed worker retries

* fix(cost): retain unverified worker attempts across later retries

* test(workbench): pin checkpoint upgrade fixtures to version 57

* test(workbench): restore the historical Deep Scan schema accurately

* test(workbench): upgrade frozen Python checkpoint fixtures from their release schema

* test(workbench): keep fixture updates outside assertions

* ci: retry managed Code Quality after GitHub installation rate limit

* Bound the live budget approval fixture with a single watchdog

* test(sdk): expect canceled lifecycle for aborted component scans

(cherry picked from commit 61d32357f4)

* test: import the shared coordinator failure fixture

(cherry picked from commit 925b70af34)

* test(sdk): expect cancellation from an aborted component scan

* Attribute cumulative cache tokens only to the reported categories

* Keep contradictory cumulative measurements out of verified usage

* Retain genuine over-capacity cache warnings and remove stale test imports

* Remove the local dependency symlink from the plugin checkout

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-04 15:59:18 -08:00
Michael D'Angelo 22aab69450 test(deep-scan): remove duplicate coordinator error imports (#2341)
* test(deep-scan): restore the coordinator stop error import

* test(sdk): expect cancellation from an aborted component scan
2026-11-04 15:57:00 -08:00
Michael D'Angelo 9f3d97babc fix(cli): guide recovery when a refresh token was already used (#2289) 2026-11-04 15:55:55 -08:00
Michael D'Angelo 5c0be2444b refactor: clarify Python contracts and simplify scan recovery and reporting (#2340)
* docs: document Python module and function contracts

* refactor: simplify scan recovery and reporting

* test(deep-scan): restore the coordinator stop error import
2026-11-04 15:55:14 -08:00
Soyeon ParkandMichael D'Angelo e6b960c6d7 fix(deep-scan): pin Deep Scan worker executable (#764)
* fix(plugin): pin Deep Scan worker executable

* test(sdk): inject executable binding helpers

* fix(deep-scan): preserve executable startup compatibility

* fix(deep-scan): deduplicate coordinator fixture import after main merge

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-04 15:53:06 -08:00
Michael D'Angeloandmldangelo-oai 3e3cf3b5eb fix(deep-scan): run report comparisons without interactive tools (#2304)
* fix(deep-scan): preserve inherited MCP transports in worker configuration

* fix(deep-scan): run report comparisons without interactive tools

* test(deep-scan): replay discovery with an inherited HTTP server

* Deliver fixture signals before advancing the verification batch

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)

* test(sdk): expect canceled lifecycle for aborted component scans

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 15:39:00 -08:00
Michael D'Angelo 3a64935adc fix(deep-scan): preserve worker configuration, retry and failure diagnostics (#2309)
* fix(deep-scan): preserve worker configuration, retry and failure diagnostics

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* ci: retry managed Code Quality after GitHub installation rate limit

* Classify the quota error in the comparison stop test

* Give both servers reported by the MCP fixture a real transport for native parsing
2026-11-04 15:38:30 -08:00
Michael D'Angeloandmldangelo-oai 0888d52b81 fix(imports): distinguish empty reports from failed scanners and exclusions (#2082)
* fix(imports): distinguish empty reports from failed scanners and exclusions

* fix(imports): reject incomplete scanner reports before empty success

* fix(imports): preserve reader diagnostics and share empty local imports

* fix(imports): verify declared sources on empty local reports

* fix: preserve scanner coverage and validate empty report evidence

* fix(imports): render empty report metadata safely in terminal formats

* Preserve scanner failures and coverage on empty imports

* Attribute scanner diagnostics to their invocation and source

* Preserve warnings and coverage for empty scanner imports

* Keep scanner coverage across mixed and excluded results

* Keep historical scanner import keys when displaying coverage

* Show retained Snyk coverage and accept zero Endor totals

* Separate scanner coverage previews from normalized request identity

* Include reviewed scanner coverage in the Cloud result

* Render scanner coverage safely in terminal output

* docs(imports): format empty-report exit status guidance

* refactor(imports): share empty selection handling and simplify scanner diagnostics

* fix(imports): preserve local SDK results for excluded selections

* refactor(imports): share SARIF parsing and simplify empty-report output

* ci: retry managed Code Quality after GitHub installation rate limit

* test(sdk): expect canceled lifecycle for aborted component scans

* test: import the shared coordinator failure fixture

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 15:37:13 -08:00
Michael D'Angelo d78a9203e3 fix(deep-scan): reject unpublishable worker report metadata (#2319)
* fix(deep-scan): align worker artifact validation with publication

* fix(deep-scan): reject unpublishable worker report metadata

* ci: retry managed code scanning after GitHub rate limiting

* ci: retry managed Code Quality after GitHub installation rate limit

* Deliver fixture signals before advancing the verification batch

* test(deep-scan): import the non-retryable worker error fixture

* test(sdk): expect canceled lifecycle for aborted component scans
2026-11-04 15:32:11 -08:00
Michael D'Angelo 366093f77b fix(deep-scan): report completed audits and batch consolidation (#2305)
* fix(deep-scan): report completed audits and batch consolidation

* fix(deep-scan): include measured usage in the completion receipt

* docs(deep-scan): use the completion receipt for final reporting

* ci: retry managed Code Quality after GitHub installation rate limit

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)
2026-11-04 15:30:51 -08:00
Michael D'Angelo 28a24c0c05 fix(deep-scan): show direct coordinator events in verbose CLI scans (#2323)
* fix(deep-scan): show direct coordinator events in verbose CLI scans

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* Assert the canceled lifecycle emitted by an aborted component scan
2026-11-04 15:27:46 -08:00
Michael D'Angelo aba412dbc8 fix(workbench): preserve archived deep scans and streamline progress reads (#2314)
* fix(workbench): preserve archived deep scans and streamline progress reads

* fix(workbench): recover archived paths written by older versions

* fix(workbench): retain the full scan read for existing callers

* test(workbench): archive a completed scan through the packaged SDK

* ci: retry managed code scanning after GitHub rate limiting

* perf(workbench): read only progress fields when polling scans

* ci: retry managed Code Quality after GitHub installation rate limit

* Assert the canceled lifecycle emitted by an aborted component scan
2026-11-04 15:27:11 -08:00
8a44cb0557 fix(history): preserve native turn failures observed before cancellation (#735)
* fix(sdk): preserve canceled scan state

* fix(sdk): classify aborted registered scans correctly

* fix(sdk): preserve tracking failures as failures

* fix(sdk): preserve ordinary failures during cancellation races

* fix(sdk): classify client-close scan cancellation

* fix(sdk): cancel aborted mock scans

* fix(sdk): traverse nested cancellation causes

* test(sdk): cover failure-before-abort race

* test: account for deep scan progress polling

* Preserve the outcome of interrupted validation and hosted scans

* Honor hosted cancellation receipts and distinguish protocol failures

* fix(sdk): record cancellation during a native event read

* fix(sdk): preserve recoverable native decoder failures

* fix(sdk): distinguish forwarded and local scan budget stops

* test(sdk): check independent failures without prescribing the diagnostic

* test(typescript): expect canceled package fixture state

* Distinguish caller deadlines from independent runtime timeouts

* fix(sdk): preserve artifact read failures during cancellation

* test(sdk): expect cancellation after an explicit component scan abort

* fix(history): preserve an observed native turn failure during cancellation cleanup

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Codex <codex@localhost>
2026-11-04 15:27:01 -08:00
Michael D'Angeloandmldangelo-oai 2ef08b5445 fix(deep-scan): reserve worker directories across coordinator handoffs (#2322)
* fix(deep-scan): preserve distinct findings and bound duplicate comparisons

* fix(deep-scan): retain partial original reports when resuming checkpoints

* fix(deep-scan): checkpoint accepted reviews before honoring stop conditions

* style(deep-scan): format the batch outcome assignment

* ci: retry managed code scanning after GitHub rate limiting

* Keep exact repeats attached to legacy findings with incomplete ancestry

* fix(deep-scan): reserve worker directories across coordinator handoffs

* ci: refresh the test merge after the parent PR landed

The previous run checked out the former target. Re-run the PR workflow on identical source with the current target.

* test(sdk): expect canceled lifecycle for aborted component scans

* test(deep-scan): import the non-retryable worker error fixture

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 15:26:10 -08:00
Michael D'Angelo 24c16b8a4b fix(scans): preserve inference endpoints on rerun and resume (#2286)
* fix(scans): preserve the OpenAI endpoint on rerun and resume

* fix(scans): replay custom provider routing for all scan backends

* fix(scans): forward local and Vertex routing to deep workers

* docs: clarify what provider replay profiles store

* ci: retry rate-limited GitHub code quality upload

* test(deep-scan): restore the coordinator stop error import

(cherry picked from commit 7630eea34c)

* test(sdk): expect canceled lifecycle for aborted component scans

(cherry picked from commit 61d32357f4)
2026-11-04 15:23:31 -08:00
Michael D'Angelo f03d1a705d fix(imports): preserve Guardian attribution and Snyk evidence on replay (#2316)
* fix(imports): preserve Guardian attribution and Snyk evidence on replay

* fix(imports): match Guardian URLs with local checkout semantics

* fix(imports): verify retained Guardian findings against selection scope

* ci: retry managed Code Quality after GitHub installation rate limit

* Assert the canceled lifecycle emitted by an aborted component scan
2026-11-04 15:14:27 -08:00
Michael D'Angelo 0d18384c8f test(sdk): expect canceled lifecycle for aborted component scans (#2339) 2026-11-04 15:11:47 -08:00
dc63c5defe fix(auth): honor native provider API-key settings for scans (#139)
* [codex-security] Add opt-in Azure OpenAI scan support

* fix(auth): preserve selected provider headers and CLI preflight

* fix(auth): preserve provider selection and credential reuse

* test: reuse accepted source path coverage

* refactor(auth): share native provider configuration

* fix(auth): retain selected provider credentials in scan helpers

* fix(auth): preserve explicit credential selection for provider headers

* fix(auth): share credentials with completed-scan matching

* Forward declared native provider headers to historical matching

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:18:26 -08:00
8bede3b191 fix(deep-scan): avoid worker dispatch for empty targets (#2054)
* fix(deep-scan): avoid worker dispatch for empty targets

* fix(deep-scan): honor requested paths during inventory preflight

* fix(deep-scan): preserve scoped preflight compatibility

* fix(deep-scan): respect inherited ignore rules during preflight

* fix(deep-scan): preserve preflight target semantics

* fix(deep-scan): align preflight with shared inventory

* fix(inventory): align scoped tracked enumeration

* fix(deep-scan): reject physically empty fresh targets

* fix(deep-scan): coordinate empty-target admission

* fix(deep-scan): preserve legacy recovery and abort responsiveness

* fix(deep-scan): isolate directory probe protocol

Preserve native filename bytes while keeping directory admission responsive to cancellation and discovery deadlines. Transport probe results over a dedicated IPC pipe so inherited stdout and stderr instrumentation cannot corrupt success or filesystem errors.

Raw-byte filename handling and the one-entry buffer probe adapt ideas from Dipesh Babu’s PR #2181: https://github.com/openai/codex-security/pull/2181

---------

Co-authored-by: Muzzy5150 <210135147+Muzzy5150@users.noreply.github.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: dipeshbabu <59379458+dipeshbabu@users.noreply.github.com>
2026-11-04 14:18:15 -08:00
faf4bd9394 fix(reports): explain omitted informational findings (#155)
fix: record findings held back by the reportable severity gate

report.md filters findings to REPORTABLE_SEVERITIES, which excludes
informational. A scan whose findings are all informational therefore
sealed them into findings.json and exported them to SARIF and CSV while
the human-facing report stated that no findings survived the discovery,
validation and reportability gates. The three artifacts of one scan
contradicted each other, and the one a person reads was the one missing
data.

The exclusion itself is deliberate -- src/cli.ts draws the same line for
--fail-on-severity and keeps a separate DISPLAY_SEVERITIES that adds
informational -- so the report keeps its reportable-only body. It now
records how many findings were held back, with their severity mix, and
points at the artifacts that retain them.

references/final-report.md described the ordering as critical through
low without stating that informational is dropped, so it now says so.

Fixes #48

Co-authored-by: mldangelo-oai <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:10:23 -08:00
0ac43dc8c7 fix(findings): preserve valid evidence during stopped scan recovery (#171)
* fix: salvage optional finding fields instead of discarding the finding

The unsealed-findings recovery path already salvages malformed writeup,
remediationTests, and preventiveControls by dropping just that field and
keeping the finding, but any other schema mismatch falls through to the
outer handler and discards the entire finding.

Two concrete cases hit this without any of the finding's actual content
being unrecoverable:

- taxonomy.cwe is optional in the hand-rolled validator (defaults to an
  empty list) but required as a key by the JSON schema, so a finding
  missing the key outright is silently dropped in full.
- codeEvidence is optional at the finding level, but a single malformed
  entry (e.g. missing `explanation`) currently fails the whole finding
  instead of just that auxiliary field, unlike its sibling optional
  fields.

This extends the existing salvage pattern to both: codeEvidence joins the
existing auxiliary-field recovery list, and a missing taxonomy.cwe is
backfilled to an empty list. Dropping codeEvidence can leave dangling
evidenceRefs in rootCause/validation/attackPath, so those are pruned in
the same pass and a recovery warning is recorded.

identity and confidence.rationale are deliberately left as hard
requirements in both validators; there is no safe default for identity,
and confidence.rationale is a real content requirement rather than a
validator mismatch.

* fix: recover code evidence ahead of whole-finding validation

The previous change recovered codeEvidence only for schema mismatches
the hand-rolled _validate_finding validator doesn't itself check (a
missing explanation). Any malformation _validate_finding does check
directly -- a non-array codeEvidence, a non-object entry, a missing id,
or a duplicate id -- still raised inside _validate_finding before the
codeEvidence recovery ran, discarding the whole finding exactly as
before.

Move codeEvidence validation (schema check plus the same duplicate-id
check _validate_finding performs) ahead of _validate_finding, so any
malformation is caught and the field dropped -- never the finding --
regardless of which validator would have caught it. Prune dangling
evidenceRefs before _validate_finding as well, since that function's own
referential check would otherwise fail on the now-removed ids.

Also prune the documented nested attackPath.dataflow.evidenceRefs
location, not only the top-level attackPath.evidenceRefs sibling field,
so a stripped codeEvidence entry cannot leave a dangling reference
findings.json still contains no consumer resolves.

* fix: guard evidenceRefs pruning against non-string references

The dangling-evidenceRefs pruning added alongside codeEvidence recovery
tested set membership directly (`ref in known_evidence_ids`) without
first checking that each reference was a string. An evidenceRefs entry
that is a JSON object or array is unhashable, so the membership test
raises TypeError instead of the ContractError the recovery loop and CLI
are prepared to handle -- one malformed optional reference now aborted
scan completion with a traceback instead of being recovered or
discarded like every other malformed field in this path.

Guard the membership test with an isinstance check first so non-string
entries (objects, arrays, or otherwise-hashable non-string values) are
pruned the same way missing or unknown references already are, rather
than crashing.

* test: split finding-recovery regressions by failure mode

The recovery cases were asserted in a single test, so a regression in any one
of them surfaced under a name that did not identify it. Split them so each
failure mode has its own named guard and can be preserved independently when
this work is coordinated with the other recovery changes:

- a missing taxonomy.cwe is backfilled rather than discarding the finding
- codeEvidence rejected by the JSON-schema pass is dropped, and the
  rootCause references it strands are pruned
- duplicate codeEvidence ids, which only the hand-rolled validator catches,
  are dropped, and the nested attackPath.dataflow references are pruned

Behaviour and coverage are unchanged: the warning assertions still total the
same six across the three tests.

* Verify salvaged findings through deadline and stopped scan recovery

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-04 14:10:02 -08:00
6d356635eb fix(findings): guide cross-mode matching with saved evidence (#832)
* fix: match equivalent findings across standard and deep scans

Standard and Deep scans of the same repository revision can author
different identity.anchor values for the same vulnerability, so their
fingerprints and finding IDs diverge and scan comparisons misreport the
pair as one resolved and one new finding.

When both scans reviewed identical content (equal target revision and
snapshot digest, non-diff modes), compare-scans now deterministically
groups before/after findings that unambiguously share a rule ID and an
identical primary location, reporting them as one persisting finding
with an explanatory match reason. Ambiguous location keys and changed
content still defer to semantic matching, and saved semantic matches
keep their own reasons.

Fixes #669

* fix: preserve finding instances in deterministic scan matching

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:09:51 -08:00
35ff82b790 fix(cost): preserve healthy worker updates on rollout I/O errors (#2178)
* fix(cost): preserve healthy worker observations after log read failures

Forward healthy sessions' activity, events, and progress before reporting a
session's original read failure. Keep retries and incomplete cost subtotals so
later recovery and explicit cost limits retain their existing semantics.

Cover errors before thread discovery, known workers, event replay, and recovery
with portable permission-error fixtures.

* fix(cost): defer activity until session replay succeeds

* fix(cost): preserve first error across session traversal failures

* test(cost): wait for reported transient diagnostics

* fix(cost): report secondary log failures without losing observations

* fix(cost): stop repeated opens after descriptor exhaustion

* fix(cost): drain buffered observations after descriptor exhaustion

* fix(cost): extend worker observation recovery to early read I/O failures

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): preserve distinct diagnostics and avoid redundant replay

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): preserve distinct diagnostics and avoid redundant replay

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): preserve distinct diagnostics and avoid redundant replay

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): preserve distinct diagnostics and avoid redundant replay

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): preserve distinct diagnostics and avoid redundant replay

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): drain worker histories without batch retention

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): deduplicate secondary failures until read recovery

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* fix(cost): share permission episodes and pace denied-open retries

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>

* Record changed per-file errors before grouping duplicate warnings

* Retry skipped rollout histories after a denied replay recovers

* Verify empty rollout histories before clearing denied opens

* Name each denied test path for strict TypeScript checks

---------

Co-authored-by: feiiiiii5 <204683769+feiiiiii5@users.noreply.github.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-04 14:09:32 -08:00
b6d739b99a fix(deep-scan): stop on known policy refusal messages (#1035)
* fix(deep-scan): recognize the complete cybersecurity refusal message

Refused turns report the provider's complete message, which follows
"This content was flagged for possible cybersecurity risk." with Trusted
Access guidance. The exact-match refusal set listed only the first
sentence, so refused Deep Scan workers were resumed and retried as
transient errors instead of being retired. Add the complete message and
cover it in the classifier, executor, and coordinator tests.

Refs #276

* fix(deep-scan): stop on terminal cybersecurity refusals

* test(deep-scan): avoid scheduling race in refusal regression

* test: reuse accepted source path coverage

* refactor(deep-scan): share terminal worker error handling

* test: reuse Deep Scan worker request fixtures

* fix(deep-scan): honor terminal worker failures across scheduler races and handoff

* fix(deep-scan): persist a terminal worker failure before executor cleanup

* test(deep-scan): compare scheduler dispatch counts at the discovery deadline

* fix(deep-scan): avoid resending failed worker thread metadata

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-04 14:09:11 -08:00
Michael D'Angeloandmldangelo-oai db45a14af7 fix(deep-scan): preserve inherited MCP transports and native profile server names (#2303)
* fix(deep-scan): preserve inherited MCP transports in worker configuration

* test(deep-scan): replay discovery with an inherited HTTP server

* ci: retry managed Code Quality after GitHub installation rate limit

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:08:53 -08:00
Michael D'Angeloandmldangelo-oai 0d53aec4e6 fix(deep-scan): require consistent evidence before merging reports (#2301)
* fix(deep-scan): require consistent evidence before merging reports

* Deliver fixture signals before advancing the verification batch

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 14:06:09 -08:00
Michael D'Angelo 5b1f8fee8f fix(deep-scan): attribute comparison sessions to usage and logs (#2299)
* fix(deep-scan): attribute comparison sessions to usage and logs

* fix(deep-scan): reconcile usage across archived output and older session stores

* fix(workbench): read the scan directory only for worker attribution

* ci: retry managed Code Quality after GitHub installation rate limit
2026-11-04 14:04:53 -08:00
Michael D'Angelo f2b55b4052 fix(dashboard): keep the viewport anchored during worker updates (#2298)
* fix(dashboard): keep the viewport anchored during worker updates

* ci: retry managed Code Quality after GitHub installation rate limit
2026-11-04 14:03:59 -08:00
Michael D'Angelo 832c46d0cd fix(deep-scan): checkpoint accepted reviews before honoring stop conditions (#2318)
* fix(deep-scan): preserve distinct findings and bound duplicate comparisons

* fix(deep-scan): retain partial original reports when resuming checkpoints

* fix(deep-scan): checkpoint accepted reviews before honoring stop conditions

* style(deep-scan): format the batch outcome assignment

* ci: retry managed code scanning after GitHub rate limiting

* Keep exact repeats attached to legacy findings with incomplete ancestry
2026-11-04 13:59:53 -08:00
Michael D'Angelo 4b9952c037 fix(imports): bound remote error bodies and retain HTTP failure context (#2320)
* fix(imports): bound remote error bodies and retain HTTP failure context

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.
2026-11-04 13:59:18 -08:00
Michael D'Angelo b5e541b654 fix(deep-scan): align worker artifact validation with publication (#2315)
* fix(deep-scan): align worker artifact validation with publication

* ci: retry managed code scanning after GitHub rate limiting

* ci: retry managed Code Quality after GitHub installation rate limit

* Deliver fixture signals before advancing the verification batch
2026-11-04 13:58:42 -08:00
Michael D'Angelo c2c2803a8a fix(sdk): forward component scan lifecycle and deep progress (#2317)
* fix(sdk): forward component scan lifecycle and deep progress

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* Deliver fixture signals before advancing the verification batch
2026-11-04 13:43:53 -08:00
Michael D'Angeloandmldangelo-oai 2aea01bee0 fix(deep-scan): recover the latest public findings on interruption (#2310)
* fix(deep-scan): recover the latest public findings on interruption

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* ci: retry managed Code Quality after GitHub installation rate limit

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 13:42:43 -08:00
Michael D'Angeloandmldangelo-oai 41a8e15c47 fix(imports): preserve Guardian repository identity during replay (#2308)
* fix(imports): preserve Guardian repository identity during replay

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* ci: retry managed Code Quality after GitHub installation rate limit

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 13:42:21 -08:00
Michael D'Angeloandmldangelo-oai b71feff1fd fix(sdk): persist canceled scans with their measured cost (#2307)
* fix(sdk): persist canceled scans with their measured cost

* test(sdk): check canceled status in the installed package

* test(sdk): distinguish explicit cancellation from budget failure

* fix(sdk): retain cost monitor failures in saved scan history

* fix(hosted): align the final scan receipt with its saved lifecycle

* fix(hosted): distinguish a caller deadline from explicit cancellation

* ci: retry managed Code Quality after GitHub installation rate limit

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-04 13:41:48 -08:00
Michael D'Angelo 424c564bd1 fix(knowledge-base): preserve documents with AppleDouble-style names (#2312)
* fix(knowledge-base): preserve documents with AppleDouble-style names

* ci: retry managed Code Quality after GitHub rate limiting

GitHub rejected direct retries for the managed workflow. Recheck the identical source tree after its installation quota recovered.

* ci: retry managed Code Quality after GitHub installation rate limit
2026-11-04 13:39:03 -08:00
Michael D'Angelo 0ad515bc52 fix(windows): inspect long credential-home descendant paths (#2294)
* fix(windows): inspect long credential-home descendant paths

* test(windows): load the native ACL module for the long-path assertion

* test(windows): share credential file ACL assertions
2026-11-04 13:38:32 -08:00