Commit Graph
121 Commits
Author SHA1 Message Date
Ashwin P ChandranandMichael D'Angelo 986fb81a7c feat(validation): add optional deployment-aware validation providers (#2742)
* feat(validation): configure host-side validation providers

* feat(validation): submit and assess findings with Continuum

* feat(validation): save supplemental reports after scan sealing

* test(validation): cover recorded shapes and provider outcomes

* feat(validation): run configured providers from plugin scans

Run supplemental validation on the MCP host after ordinary and Deep
scan sealing. Reuse the SDK provider adapters and preserve sealed source
findings. Explicitly selected configuration is bound to each scan in host
state, and completed supplemental reports can be reopened without writes.

* docs(validation): explain providers and trim public exports

* fix(validation): scope evidence and rotate batch polling

Select proof for the submitted finding before assessing a shared issue. Include scorer evidence in freshness checks and poll every pending item before waiting for another round.

* fix(validation): bind setup snapshots and reject cached symlinks

Preserve explicitly selected validation providers through app-backed Deep Scan setup. Read cached supplemental results only from contained regular files without following symlinks.

* style(validation): format scorer freshness regression

* fix(validation): verify evidence ownership and reachability

Require sole-contributor ownership for issue-wide proof and search validation artifacts newest-first for applicable evidence. Render deployment reachability from its structured value rather than explanatory prose.

* fix(validation): keep authoritative plugin results in host state

Bind cached provider results to the scan, repository and selected configuration. Treat supplemental scan files only as replaceable projections so model-authored files cannot impersonate provider output.

* fix(validation): distinguish shared issue assessments

Return available issue results without attributing shared proof to the submitted finding. Retain finding severity, prefer explicit per-finding results across artifact histories, and label pre-existing issue proof.

Preserve FINDING and future reason bases rather than renaming provenance. Carry structured reachability into compact plugin completion.

* test(validation): cover issue scope and reported reason bases

Cover prompt shared-issue results, pre-existing proof, pending evidence, historical per-finding precedence, and structured completion reachability. Update replay expectations to preserve the FINDING basis.

* docs(validation): explain issue scope and finding provenance

Document issue-scoped conclusions, retained Codex severity, stale evidence, structured reachability and the expanded reason basis contract.

* refactor(validation): report associated issue results consistently

* test(validation): cover issue results and readable grouped reports

* docs(validation): explain the issue-only result contract

* fix(validation): keep deadline-limited reads pending

* fix(validation): present readable resource names and reasons

* fix(validation): escape provider terminal headlines

* fix(validation): render the freshest grouped issue result

* fix(validation): resolve caches in canonical plugin state

* fix(validation): recognize the updated diff discovery instructions

* fix(validation): isolate provider errors and detached Deep Scan callers

* fix(validation): defer tied and pending evidence and respect cancellation

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-23 15:05:01 -08:00
utsav-oaiandutsav-oai e224a3314b fix(cli): hillclimb dependency investigation eval & speed (#2737)
* feat(cli): add independently reviewed dependency checks

* Compare frozen Python advisory versions as releases

* fix(cli): bind unnamed root manifests to observed services

* test(cli): evaluate dependency investigations across public fixtures

* test(sdk): bound the budget wait after the mock scan starts

* test(cli): exercise MCP evidence and missing caller access

* Bind graded citations to the approved use evidence

* test: restore dependency investigation quality controls

* fix(cli): restore dependency investigation and report compatibility

* test: grade malformed dependency baseline answers

* fix(cli): scope headless tool access to the investigator

* test(cli): lock down reviewer and external evidence tool access

* fix(cli): keep linked evidence tied to its originating call

* Reconcile application mappings and expose original evidence hashes

* test: verify selected catalog rows against original replies

* fix(cli): recover incomplete reviews and preserve selected evidence rows

* fix(cli): preserve wire evidence and verify finding citations

* Finalize from approved submissions and explain remaining uses

* fix(cli): restore coordinator recovery, independent review and report contracts

* Review withdrawals under the original dependency assessment ID

* test(cli): compare trace progress with completed search scopes

* Recheck dependency coverage after concurrent investigation changes

* Preserve exploratory scope explanations during dependency review

* feat(cli): track shared source work in dependency investigations

* Include shared source work in final coverage checks

* Require deciding evidence on the caller it establishes

* Preserve generic MCP search outcomes and scopes in dependency reports

* Share pinned source notes between dependency investigators

* Ship the source worklist and search audit modules

* refactor(cli): name the dependency coordinator for its ability to resume

* refactor(cli): simplify the tools for dependency investigations

* fix(cli): keep investigation tool arguments visible to Codex and reuse the evidence store

* fix(cli): send missing verdict citations back to the reviewer

* fix(cli): verify caller bindings and input flow across investigation steps

* fix(cli): require direct citations for asserted runtime facts on every use

* test(cli): verify failed catalog lookups without a timed source scan

---------

Co-authored-by: utsav-oai <348536218+utsav-oai@users.noreply.github.com>
2026-11-19 11:10:07 -08:00
utsav-oaiandutsav-oai 5353212b03 test(cli): evaluate dependency investigations across public fixtures (#2716)
* feat(cli): add independently reviewed dependency checks

* Compare frozen Python advisory versions as releases

* fix(cli): bind unnamed root manifests to observed services

* test(cli): evaluate dependency investigations across public fixtures

* test(sdk): bound the budget wait after the mock scan starts

* test(cli): exercise MCP evidence and missing caller access

* Bind graded citations to the approved use evidence

---------

Co-authored-by: utsav-oai <348536218+utsav-oai@users.noreply.github.com>
2026-11-19 07:28:56 -08:00
Michael D'Angelo 4259c76c99 test(plugin): apply saved patch bytes on Windows (#2693)
* test(plugin): apply saved patch bytes on Windows

* test(ci): provide ripgrep for the Windows MCP smoke test

* test(sdk): preserve env utility name in inventory fixture

(cherry picked from commit 5ce7e7c53c)
2026-11-16 10:25:05 -08:00
Michael D'Angelo c6432d1131 test(plugin): make Deep Scan worker fixtures portable (#2665)
* test(plugin): make Deep Scan worker fixtures portable

* test(ci): exercise Deep Scan worker fixtures on Windows

* test(plugin): isolate worker PATH fixtures from the SDK

* test(plugin): format the worker search path fixture
2026-11-15 21:58:39 -08:00
Michael D'Angelo 6b6c5251cf ci: stabilize campaign executable lookup tests (#2621) 2026-11-11 16:25:58 -08:00
Michael D'Angelo 9e38dd3084 chore(ci): share the pinned Bun version (#2422)
* chore(ci): share the pinned Bun version

* test(ci): match the shared Bun setup step directly
2026-11-07 00:30:33 -08:00
khai-oaiandMichael D'Angelo 794edbe957 chore(deps): update the Bun toolchain to 1.4.4 (#2417)
* ci(deps): update Bun to 1.4.4

* test(ci): align the Bun workflow version assertion

* chore(deps): align remaining Bun toolchain pins

* fix(ci): preserve test timeouts with Bun 1.4 options

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-06 18:38:02 -08:00
Michael D'Angelo 2d50d7aff8 chore(deps): reduce the dependency tree for evals, SDK and tooling (#2409)
* chore(deps): reduce the dependency tree for evals, SDK and tooling

* docs(evals): explain how to enable optional Promptfoo peers
2026-11-06 18:08:28 -08:00
Michael D'Angeloandmldangelo-oai 1f95245b15 fix: retry Windows native wrapper publication (#2381)
* fix: finish Windows native wrapper publications before reporting failure

* test(plugin): verify Windows wrapper retries and cleanup before rejection

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-06 06:45:52 -08:00
Michael D'Angeloandmldangelo-oai e8d6251cbd fix: allow bundled helpers to start on Windows UNC shares (#2376)
* fix: give bundled MCP helpers a package scope on Windows UNC shares

* ci: exercise the bundled UNC helper on Windows Node 26

* ci: keep the Windows machine-policy check on Node 22

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-06 06:45:26 -08:00
Michael D'Angeloandmldangelo-oai 1cc9df5e09 test(deep-scan): make worker lifecycle fixtures deterministic on Windows (#2375)
* test(deep-scan): make worker lifecycle fixtures deterministic on Windows

* ci: cover Deep Scan cleanup and deadlines on Windows

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-06 06:45:15 -08:00
Michael D'Angeloandmldangelo-oai 083fccf8c0 test(mcp): resolve the native binding in candidate fixtures (#2372)
* test(mcp): resolve the native binding in candidate fixtures

* ci: exercise candidate normalization on the Windows runner

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-06 06:44:53 -08:00
Michael D'Angelo bd59acf5cc build(sdk): ship only the embedding tokenizer and its encoding (#2333)
* ci: audit bundled MCP and triage eval dependencies

* build(sdk): ship only the embedding tokenizer and its encoding

* fix(packaging): require complete tokenizer inventories

* test(sdk): check installed tokenizer parity without build dependencies
2026-11-04 12:58:43 -08:00
Michael D'Angelo b63d38afc7 ci: audit bundled MCP and triage eval dependencies (#2328) 2026-11-04 11:08:26 -08:00
dependabot[bot] b4dddc19b2 ci: bump actions/setup-python to 7.1.0 (#2106)
Use the v7.1.0 release commit in the Python setup steps.
2026-10-28 20:13:56 -07:00
Michael D'Angelo d3593955b4 ci: skip container builds for SDK test-only pull requests (#2069) 2026-10-27 20:06:08 +05:30
Michael D'Angelo 131fac9720 ci: skip the unused ripgrep install in deterministic evals (#2037) 2026-10-26 19:39:17 +05:30
Michael D'Angelo 72edf3afdf ci: warm Python imports for SDK test shards (#2036) 2026-10-26 19:18:52 +05:30
Michael D'Angelo 5098ed6ee7 ci: skip container checks for edits to excluded pytest modules (#2025) 2026-10-26 16:48:51 +05:30
Michael D'Angelo a3821d1582 ci: use one matrix for installed package checks (#2018) 2026-10-26 16:23:02 +05:30
Michael D'Angelo c5dbc050be ci: limit duplicate native builds during merge bursts (#1999) 2026-10-26 04:02:16 +08:00
Michael D'Angelo 2640c097c9 test(ci): qualify installed worker retries on every main push (#1988) 2026-10-26 01:12:00 +05:30
Michael D'Angelo fdfc57b57b ci: skip SDK shards when PR static checks fail (#2006) 2026-10-26 03:40:03 +08:00
Michael D'Angelo 1b6edf84d7 ci: skip unrelated evals for SDK test changes (#1986) 2026-10-26 03:39:15 +08:00
Michael D'Angelo 59a2f9bda8 ci: reuse the shared tool setup for deterministic evals (#1996) 2026-10-26 03:37:29 +08:00
Michael D'Angelo b129d12dd3 ci: remove redundant required check jobs (#2001) 2026-10-26 03:35:19 +08:00
Michael D'Angelo 7dcfe0d1db test(sdk): consolidate scan runtime coverage (#1982)
* test(sdk): consolidate scan runtime coverage

* ci: declare the plugin test classification output

* test(ci): preserve timing estimates for skipped files
2026-10-25 19:11:25 +08:00
Michael D'Angelo ad9cf632a8 test(ci): reduce repeated release and package checks (#1981)
* test(ci): reduce repeated release and package checks

* test(release): preserve native reconciliation and batch Git staging
2026-10-25 19:11:19 +08:00
Michael D'Angelo 9858034885 ci: run package checks for published SDK guides (#1974)
ci: qualify packaged guides on the package lane
2026-10-25 19:10:20 +08:00
Michael D'Angelo d0e077370f ci: balance MCP test shards by measured file duration (#1970)
* ci: balance MCP test shards by measured file duration

* ci: start long MCP tests first and stop workers on cancellation
2026-10-25 19:09:43 +08:00
Michael D'Angelo 21c01de73d ci: reuse native proofs and focus SDK test-only checks (#1968) 2026-10-25 19:09:31 +08:00
Michael D'Angeloandmldangelo-oai bfa3db12d9 ci: reuse the default Node setup in test jobs (#1962)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-25 14:37:32 +08:00
Michael D'Angelo 40ba5a4baa ci: install ripgrep from existing Ubuntu package lists (#1952)
* ci: install ripgrep from existing Ubuntu package lists

* ci: retain ShellCheck coverage for the ripgrep installer
2026-10-25 12:07:01 +08:00
Michael D'Angelo e3ba882295 ci: preserve required checks after pull request edits (#1944) 2026-10-25 09:48:55 +08:00
Michael D'Angelo 65b96e8ead test: check native Python reports in the Python matrix (#1950) 2026-10-25 09:17:01 +08:00
Michael D'Angelo bc76a137e1 ci: preserve Unix SDK test order on retries (#1941) 2026-10-25 09:16:11 +08:00
Michael D'Angelo 3bc25dd6a2 ci: reuse packaged native fixtures and avoid unnecessary rebuilds (#1925) 2026-10-25 09:15:56 +08:00
Michael D'Angelo a9bb1fb6d9 test(ci): exercise installed worker retries once per PR platform (#1940) 2026-10-25 09:15:00 +08:00
Michael D'Angelo b871240092 test(ci): balance MCP receipt coverage across two shards (#1924) 2026-10-25 09:14:39 +08:00
Michael D'Angelo 1b38d38b13 ci: consolidate required check forwarding into one matrix (#1938) 2026-10-25 09:13:44 +08:00
Michael D'Angelo 3511813022 test(ci): verify Windows MCP helper paths and dependency installs (#1921) 2026-10-25 09:12:55 +08:00
Michael D'Angelo 436340a1aa ci: wait for static checks before validating container images (#1949) 2026-10-25 08:52:27 +08:00
Michael D'Angelo e53b6c0757 ci: require checks for changed Action and eval components (#1931) 2026-10-25 08:51:13 +08:00
Michael D'Angelo 6696705319 test(ci): shard MCP tests with the native Node runner (#1909) 2026-10-24 10:00:04 +08:00
Michael D'Angelo cbb3b9bd97 ci: reuse verified native artifacts across source builds (#1899) 2026-10-24 09:58:16 +08:00
Michael D'Angelo 8cd6179750 ci: select required checks and centralize their result gate (#1902) 2026-10-24 09:58:02 +08:00
Michael D'Angelo 28b2386185 ci: expand balanced test shards on the stable runner (#1897)
Distribute the existing serial Bun test suite across six Linux and macOS shards and fourteen Windows shards. Preserve required checks, test discovery, platform timeouts, and the separate Windows machine-policy test.

Compare complete baseline and expanded test reports, including testcase occurrence counts and assertions, and document the measured qualification.
2026-10-23 21:33:38 +00:00
Michael D'Angelo 32b24b5d7c test(evals): compare production Standard scan time budgets (#1679) 2026-10-24 01:28:03 +08:00
4f1ad92130 test(ci): qualify parallel runners on balanced shards (#1860)
* test(ci): balance test shards by recorded duration

* test(ci): compare weighted shards across Bun runner modes

* test(ci): require complete runner diagnostic shard reports

* test(ci): align Linux diagnostic ripgrep setup

* test: qualify changes to CI runner tooling

* test: close native configuration fixture before preflight reply

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Codex <codex@users.noreply.github.com>
2026-10-23 11:32:09 +08:00