Commit Graph
93 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
Michael D'Angelo b517c49ec4 docs: add a software citation for Codex Security (#2639)
Publish citation metadata and keep its version in sync with the rolling release proposal.
2026-11-17 00:00:58 -08:00
ianw-oaiandCodex 92e17b72e5 feat: add scan path exclusions (#2699)
* feat: add scan path exclusions

* test: update scan exclusion contracts

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-16 14:36:03 -08:00
ea617a4c09 fix(workbench): retain shared history across worktree changes (#456)
* fix(workbench): share scan history across linked worktrees

* fix(workbench): verify repository generation across platforms

* fix(workbench): harden and simplify worktree history

* fix(workbench): preserve recreated repository subdirectories

* fix(workbench): refresh the bundled history plugin

Advance the paired standalone plugin version so existing staged marketplaces load the linked-worktree history helpers. Leave the npm package release version unchanged.

* fix(workbench): verify saved history candidates

Use recorded checkout ownership before falling back to live repository identities. Preserve matching persisted identities for removed worktrees and retain verified same-origin comparisons.

* fix(workbench): unify verified repository history

* fix(workbench): preserve scan history ownership and replay

* fix(workbench): quarantine unproved prerelease identities

* fix(workbench): order automatic history comparisons

* fix(workbench): persist completion visibility order

* fix(workbench): preserve findings and Linux identities

* fix(workbench): preserve unbound legacy history

* Bind repository history to each scan generation

* Preserve archived scans across registration failures

* Bound repository identity maintenance to selected targets

* Repair legacy identity upgrades and precompute repository counts

* test(workbench): isolate directory metadata on Python 3.14

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

* test(workbench): send identity fixture through stdin

* fix(workbench): verify ownership before rejoining scans

* test(workbench): retain recreated fixture inodes

* test: align shared history fixtures with current schema

* test: include current migrations in repository identity upgrade checks

* Preserve owned legacy history and current rerun prompts

* Preserve repository history through validated saved matches

* Preserve timestamp and custom plugin history compatibility

* Preserve grouped history matching and mock output recovery

* Preserve grouped history matching and mock output recovery

* Preserve portable repository ownership and indexed history lookups

* Preserve legacy Git history and mixed filesystem comparisons

* Preserve legacy triage and registered linked-worktree comparison

* Keep legacy comparisons scoped and reuse repository history indexing

* Rank same-target feedback across legacy repository generations

* Keep legacy history local when matching current repository targets

* Preserve saved legacy aliases in linked comparison history

* Order combined feedback fixture imports

* Update completed findings fixture for combined migration history

* Align migration expectations and batch workflow condition fixtures

* Adapt archived-output callbacks to current observer helper

* Format archived-output observer callback

* Use the current historical migration fixture helper

* Preserve requested repository aliases through findings lookup

* Preserve local legacy decisions and requested scan aliases

* Support absolute paths in the Windows history fixture

* test: preserve Windows fixture identity and shell behavior

* fix(history): preserve accepted completion timestamp precision

* fix(workbench): replace reversed scan comparisons

* docs: make finding detail example explicitly synthetic

* test(workbench): follow shared scan allocation in identity fixture

* fix(workbench): preserve history across filesystem remounts

* test(workbench): align identity fixtures with migration semantics

* fix(workbench): preserve history across supported Python runtimes

* perf(workbench): paginate repository projections

* test(workbench): type repository page expectations

* fix(workbench): retain verified history after device changes

* test(workbench): supply archive defaults in lineage fixture

* fix(workbench): preserve composed remediation and writer fixtures

* Preserve caller scope and valid history during saved scan bootstrap

* Retain bound history after worktree paths are reused

* Use scan generations for history and live Git roots for interpreter protection

* Align schema and archive rollback fixtures with registration ordering

* Exclude saved checkouts from ambient Python discovery

* Isolate trusted Python from Git in history fixture

* Preserve base Python and packages in isolated history fixture

* test(findings): expect the requested repository alias

* fix(identity): avoid external stat and synchronous fixture timeouts

* fix(workbench): preserve historical target registration and migration

* fix(history): compare saved scan timestamps chronologically

* fix(sdk): trim saved scan timestamp fractions linearly

* Fix platform coverage in history migration fixtures

* fix(workbench): retain lexical roots during migration discovery

* test: preserve shared history across receipt migration

* test: align repository generation fixtures with merged migrations

* test(workbench): align identity migrations with issue receipts

* test(workbench): align history fixtures with current contracts

* test: run migration probes through Python runtime helpers

* Update generation migration fixtures for current schema

* test(workbench): align coordinator fixture with generation migration

* fix(workbench): keep Git discovery scoped across saved history

* fix(workbench): cover new and unavailable Git targets

* fix(workbench): expand incoming Git target paths

* docs: format shared scan history guidance

* fix(workbench): retain evidence of vanished Git targets

* test: exercise current repository generation migration

* fix: preserve Git discovery after incomplete workspace setup

* test: bind host Git in direct saved-history helpers

* fix(workbench): retain all scan feedback and register fixture targets

* fix(workbench): preserve saved checkout boundaries during tool discovery

* test(plugin): restore checkout root column in legacy migration fixture

* fix(plugin): require recorded checkout roots for legacy Git discovery

* fix(sdk): require saved checkout roots before tool discovery

* test(workbench): install the lifecycle view in the repository alias fixture

* fix(sdk): exclude rejected workspace paths from executable discovery

* fix(workbench): retain trusted Git for deleted bounded targets

* fix(workbench): disable ambient lookup for unanchored workspace paths

* fix(workbench): retain checkout boundaries for rejected workspaces

* test(workbench): use the complete schema in Python migration fixtures

* Retain rejected checkout exclusions after workspace correction

* Classify the quota error in the comparison stop test

* Update workbench identity fixtures with the object-store birth time

* Exercise repository generation upgrades and Windows owner rejection after renumbering

* Drop the stale retry assignment after archive acknowledgement

* Start the Windows archive attempt when the real patch write opens

* Exercise repository history with the current registration and schema

* Keep workbench identity test outputs in private temporary directories

* test: verify current and stale checkout ownership independently

* fix(history): validate native parent traversal before lookup

* Cover partially sequenced completion history on migration replay

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-11 04:46:42 -08:00
Michael D'AngeloandMichael D'Angelo 9534e7fd6e docs: shorten the npm package README (#2542)
* docs: shorten the npm package README

* docs: restore scan scope, CI behavior, and results guidance

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-09 21:40:18 -08:00
Michael D'AngeloandMichael D'Angelo 0ed54be43a feat(imports): enable external scanner imports by default (#2360)
* feat(imports): enable external scanner imports by default

Register collection, publication, and readback commands directly. Keep provider credential checks, repository access checks, and upload confirmation in their existing paths. Clients can remove the retired environment variable.

* docs(imports): make scanner provider guides evergreen

Index the scanner report readers and supported destinations. Use installed CLI examples, distinguish repository helpers from packaged tools, and describe Cloud verification and retry steps from the preview and receipt.

* docs(integrations): clarify connector setup and publication paths

* docs(integrations): simplify publication history and storage guidance

* docs(triage): specify how to exhaust Jira search results

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-05 15:30:02 -08:00
Michael D'Angelo 258d7a6c33 docs: make scan and integration guides evergreen (#2350) 2026-11-05 01:26:22 -08:00
ianw-oaiandmldangelo-oai cb92c4fb41 feat!: deep scan upgrade (#2118)
* refactor(deep-scan): merge repeated Standard scans in the host

* test(deep-scan): cover comparison turns and resumed discovery

* refactor(deep-scan): simplify finding counts and receipt handling

* test(deep-scan): separate comparison and runtime test registration

* test(deep-scan): exercise supported turns when replaying saved profiles

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-03 17:48:49 -08:00
Michael D'Angeloandmldangelo-oai f601cd659b feat(action)!: prepare hosted runners and require completed PR checks (#1580)
* fix(sdk): restore GPT-6 Sol cost estimates and budgets

* feat(action)!: prepare hosted runners and require complete CI reviews

* fix(action): handle containers and retargeted pull requests

* Align the main Action quick start with sandbox and coverage behavior

* test(packaging): await tar extraction in package fixtures

* fix(action): preserve required scans across metadata edits

* fix(action): verify sandbox startup before hosted setup

* fix(action): only provision Ubuntu after sandbox startup failures

* fix(action): preserve setup diagnostics and check native configuration

* fix(action): preserve runner setup and PR check semantics

* fix(action): verify live PR targets on the triggering host

* docs(action): clarify check migration and SARIF permissions

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-02 18:23:46 -08:00
Michael D'Angeloandmldangelo-oai 4694a0b070 docs: give each scanner import a focused guide (#2201)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-01 10:52:33 -08:00
Michael D'Angeloandmldangelo-oai 25bba53b4e docs: organize external scanner integration guides (#2189)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-11-01 02:33:04 -08:00
ianw-oai 6625739ef8 feat: add ServiceNow AVIT CSV export (#2103) 2026-10-27 23:35:27 -07:00
Michael D'Angeloandmldangelo-oai 0efc652b8a docs(imports): map scanner evidence and test cross-provider replay (#2080)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-27 16:53:04 -07:00
Michael D'Angelo 64f0d8b6a7 docs: simplify user guides and correct setup instructions (#1857) 2026-10-22 21:53:35 +08:00
Michael D'Angelo 04df406934 fix: preserve Daybreak settings across scans and remediation (#1740) 2026-10-20 09:12:27 +08:00
Michael D'Angelo 0740e97c1c feat(scan): add unified max-time investigation budgets (#1674) 2026-10-20 04:43:28 +08:00
Michael D'Angelo 40a8e7b52c docs: make security workflows discoverable to agents (#1698) 2026-10-20 04:39:28 +08:00
Michael D'Angelo 68da070aa9 docs(cli): clarify scan scope and recovery guidance (#1660) 2026-10-20 04:35:26 +08:00
aiapienthusiastandMichael D'Angelo 07edb95dca feat: add Cheaper Inference inference provider (#1623)
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-10-19 15:14:52 +08:00
Alan DeLong c85345da55 feat(cloud): read saved Cloud findings in Codex (#1422)
* feat(plugin): read saved Cloud findings in Codex

* fix(plugin): keep Cloud report pages on one content version

* docs(plugin): use the current Cloud report state

* docs(cloud): handle unavailable read capabilities
2026-10-14 16:36:50 -04:00
Michael D'Angelo c380befb9e fix(scans)!: simplify scan outcomes (#1633)
Simplify scan outcomes across the CLI, SDK, and GitHub Action. Completed report-only scans return 0, an opt-in findings threshold returns 1, and execution or required-output failures return 2. Remove partial and unknown outcomes while retaining coverage diagnostics and saved results.

Require the current plugin for Deep Scan and canonical fields for new findings. Preserve readability of historical sealed reports. Update documentation and tests, and remove obsolete compatibility paths.
2026-10-14 11:32:39 -07:00
Michael D'Angelo 14c706bab4 fix(onboarding): improve policy onboarding for global installs (#1416)
* docs(cli): guide optional policy setup before scanning

* feat(cli): add cs alias and clarify onboarding

* docs: clarify CLI install collision fallback

* fix(policy): expose the runtime executable inside the sandbox

* docs: clarify authentication for local SDK installs

* fix(cli): keep help examples usable with alias conflicts

* docs(cli): simplify policy onboarding and review guidance

* docs: streamline CLI onboarding walkthrough

* Format retained worker assertions

* Allow policy sandbox to re-execute npm Codex binaries

* Resolve selected launchers from their package directory

* Support both native layouts for selected Codex launchers

* Keep package detection optional for custom Codex executables
2026-10-10 21:50:07 -04:00
mldangelo-oai 2b68f471ba docs(scans): explain connected repository review workflows (#1553) 2026-10-09 22:20:29 -04:00
c26ae34f36 refactor(findings)!: remove the local findings serve command (#1340)
* feat: deduplicate saved scans directly in local SQLite

* test: update migration fixtures for local dedupe cache

* fix: bind local dedupe scope and preserve cancellation

* fix: include local dedupe in package archive checks

* refactor!: remove the local findings serve command

* test: drop the obsolete findings container check

* fix: forward custom embedding endpoints in Compose

* perf(dedupe): batch local preparation and preserve recovery coverage

* test: quote the empty Compose embedding endpoint

* fix(dedupe): protect target during Python discovery

* docs: simplify deduplication guidance

* fix: protect repository Python discovery in dedupe workflows

* fix: honor nonblank embedding API key fallback

* docs: clarify local deduplication workflows and embeddings

* feat(dedupe): support embedding bindings and configured review models

* refactor: finish findings service review cleanup

* fix(dedupe): preserve discovery protections and package bootstrap

* fix(dedupe): protect CLI bootstrap and isolate local embedding cache

* fix(dedupe): invalidate cached vectors on finding body updates

* fix(dedupe): protect enclosing checkouts and Windows endpoint settings

* test(workbench): update schema expectations for local embedding cache

* fix(dedupe): scope bootstrap to the requested saved scan

* fix(cli): resolve latest scans before legacy database migrations

* fix(cli): trim saved scan identifiers in linear time

* fix(cli): protect saved non-Git targets during Git discovery

* fix(cli): read saved WAL history with Apple SQLite

* fix(cli): release saved history statements before closing SQLite

* fix: wait for concurrent saved-scan database writers

* test: synchronize cancellation with the Python probe marker

* fix: protect surviving checkouts of missing saved targets

* test: close the legacy migration fixture statement

* fix: preserve lexical checkout protection for saved targets

* fix: retain checkout protection around inaccessible history

* fix: explain explicit scan fallback when Git matching is unavailable

* test: canonicalize the protected Git fixture path

* fix: preserve caller protection and no-Git workflow recovery

* fix(dedupe): preserve source context and native review diagnostics

* fix(devcontainer): retire obsolete Ona findings tasks

---------

Co-authored-by: QA Integration <qa-integration@example.invalid>
Co-authored-by: Codex <codex@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-10-09 08:28:02 -04:00
mldangelo-oai 6ce7f47059 feat(onboarding): add cs alias and clarify onboarding (#1415)
* feat(cli): add cs alias and clarify onboarding

* docs: clarify CLI install collision fallback

* docs: clarify authentication for local SDK installs

* fix(cli): keep help examples usable with alias conflicts

* docs: streamline CLI onboarding walkthrough
2026-10-08 21:10:54 -04:00
dans-oaianddans-theaicompany 8ff5b39e1e feat(action): support optional Cyber access program selection (#1516)
* Support optional Cyber access program in GitHub Action

* Document Daybreak access and refusal failures in Action

* Clarify Daybreak quickstarts and Ubuntu sandbox setup

---------

Co-authored-by: dans-theaicompany <dans@theaicompany.com>
2026-10-08 14:02:49 -03:00
dependabot[bot] fd84fa408d chore(deps): update Action CLI runtime (#1325)
Upgrade the Action to CLI 0.2.0, document Ubuntu Bubblewrap and AppArmor setup, and verify real sandbox enforcement in hosted CI.
2026-10-06 17:52:30 +00:00
mldangelo-oai c60deac253 docs: clarify READMEs and separate SDK reference guides (#1307)
* docs(sdk): simplify README and split reference guides

* test(sdk): align checks with split documentation

* docs: simplify root README and correct quickstart

* docs: restore feature overviews and practical README examples
2026-10-06 00:08:14 -04:00
0cdb22a6db feat(action): add Codex Security GitHub Action (#1015)
* feat(action): integrate GitHub Action alongside the CLI

* fix(action): update pinned CLI to 0.1.29

* fix(action): omit estimated cost from scan summaries

* docs(action): simplify setup and usage guide

* docs(action): schedule weekly scans in quick start

* docs(action): minimize quick-start scan configuration

* docs(action): configure Luna PR scans and verify annotations

* Update README.md

* fix(action): update pinned CLI to 0.1.30

* fix(action): normalize paths and preserve results on summary failure

* refactor(action): remove fixed-value public inputs

* refactor(action): use job check with explicit scan outcomes

* refactor(action): use runtime manifest as single CLI version source

* fix(action): explain incomplete scan coverage in summaries

* docs: add GitHub Actions quick start to main README

* Update README.md

* fix(action): defer policy and knowledge-base handling to CLI

* refactor(action): consume validated CLI results

* fix(action): preserve scan outcomes when SARIF is unavailable

* fix(action): allow configured Dependabot scans

* test(action): add hosted dry-run smoke job

* fix(action): ignore unrelated input environment variables

* refactor(action): simplify runtime setup

* refactor(action): simplify inputs for repository and PR scans

* chore(action): update Codex Security CLI to 0.1.31

* feat(action): restore deep scan mode and time budget

* fix(action): warn on valid partial scans

* fix(action): refresh audited dependencies and preserve diagnostics

* fix(action): escape legacy runner commands in diagnostics

* fix(action): preserve result and SARIF reporting semantics

* fix(action): keep report text and selected paths literal

* fix(action): accept existing literal scope filenames

* fix(action): check large diffs without capturing path lists

* test(action): wait for child readiness before timeout

* refactor(action): delegate scanner behavior to the CLI

* fix(action): preserve runner tools and bind scan reports to the requested commit

* fix(action): preserve runner tool selection and process cleanup

* fix(action): clean up descendants before draining process output

* fix(action): preserve Python loading and inspect worktree configuration

* fix(action): preserve runner tracking through MCP launchers

* test(plugin): preserve interpreter loader settings in worker fixtures

* test(action): create the CLI integration runtime temp directory

---------

Co-authored-by: dans-oai <321942207+dans-oai@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-10-05 23:50:02 -04:00
mldangelo-oaiandMichael D'Angelo 7beb1ac4ac fix(auth): document SSH login fallback (#1294)
* fix(auth): document SSH login fallback

* docs(auth): simplify remote login instructions

* docs(docker): clarify runner login options

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-05 14:19:38 -04:00
775e48ffbf feat(threat-model)!: save models with results and support offline export (#1133)
* feat(threat-model): save models with results and support offline export

* fix(threat-model): preserve sealed artifacts and export settings

* Fix saved threat model paths, history integrity, and package exports

* Preserve saved-scan export integrity and model compatibility

* Keep saved model content out of routine workbench responses

* docs(threat-model): clarify history metadata

* fix: preserve saved threat model compatibility

* fix: reject malformed saved threat models before legacy fallback

* fix: reject dangling canonical threat model paths

* fix: require manifest binding for saved scan exports

* fix: bind saved threat model metadata to verified scan artifacts

* test: seed canonical model for post-scan restoration

* fix: forward selected Python to Deep Scan artifact workers

* fix: preserve scan roots in artifact helper resolution

* test: retain checked Python type in restoration fixture

* fix: retain bulk checkout context for artifact helpers

* fix: preserve threat-model projection contracts

* fix: retain scan context in model projections

* fix: keep saved threat-model views consistent

* docs: explain checkpoint model fallback

* fix: retain legacy metadata in threat-model exports

* fix: reject empty structured model entries

* perf: skip artifact reads when no model is saved

* fix: retain final model projection warnings

* refactor: keep completed scan refresh with saved results

* fix: retain checkpoint model selection across publication retries

* fix: retain current worker models and plain warning messages

* test: assert retained model source during explicit recovery

* test: align recovery fixtures with merged checkpoint behavior

* Preserve saved models in terminal Deep drafts

---------

Co-authored-by: Codex <codex@users.noreply.github.com>
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-03 13:30:46 -07:00
mldangelo-oaiandmldangelo-oai 5bd200978c fix(bedrock): improve authentication and Blue/Red support (#1188)
* fix(bedrock): clarify authentication and support model-specific costs

* fix: preserve Bedrock command authentication diagnostics

* fix(bedrock): support Daybreak Red cost estimates

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-02 12:38:32 -07:00
ianw-oai cbbb8d9488 feat: suggest finding owners (#1010)
Add CLI and SDK owner suggestions from committed source and checked Git evidence.
Validate checkout, reference, and object-store binding before collecting evidence. Include documentation and regression tests.
2026-09-23 14:14:13 -07:00
mluck-openai 552f83d8f2 docs: run README CLI commands with npx (#945) 2026-09-16 17:00:10 -07:00
mldangelo-oaiandmldangelo-oai 408ce4465e feat: share scan settings across the CLI and SDK (#742)
* feat(cli): add YAML and JSON project configuration

* refactor(cli): simplify project configuration and docs

* fix(cli): repair configuration regressions and Windows tests

* feat(sdk): share project configuration with the CLI

Resolve project files and typed configuration into shared SDK scan settings.
Keep native Codex configuration separate from scan options and expose public
loadProjectConfig and resolveProjectConfig entry points.

Reuse prompt-file handling and severity comparison across SDK and CLI paths.
Preserve existing flags, file fields, defaults, output, and input protections.
Cover equivalent inputs, prompt-backed workflows, and installed package APIs.

* fix(sdk): allow reruns after blank scan prompts

Only record additional scan instructions as required when the prompt builder
actually includes them. Empty and whitespace-only SDK inputs should remain
replayable, matching omitted prompts and empty prompt files.

Exercise saved SDK recipes through the CLI rerun path while preserving the
requirement to resupply real additional instructions.

* refactor(config): use snake_case project keys

* fix(sdk): leave missing ambient deep config unchanged

* fix(sdk): compare normalized ambient config paths

* fix(config): preserve path aliases and repeated YAML profiles

* fix(config): address project configuration review feedback

Preserve workflow identity and ambient defaults, restore bounded YAML
expansion, and make required scan instructions replaceable on rerun.

Complete configuration support for bulk and component scans, add starter
generation and inspection, and centralize setting and provenance metadata.
Document the operator trust boundary and verify the installed Node package.

* fix(config): finish bulk inputs and portable starter checks

Use the actual scan context for prompt protections, reject unsupported bulk
scopes before starting work, and make nested starter schema hints relative.

Keep path fixtures native on Windows and compare macOS temporary aliases
canonically in the installed-package smoke check.

* fix(config): preserve bulk prompt repository checks

* fix(cli): preserve imported scan prompt errors

Keep the existing validation-option error when rerunning imported scans and identify the scan-instructions option when it is supplied. Cover both rejected inputs without launching an import.

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-09-10 20:45:38 -07:00
7f54d238a0 feat(cli): draft SECURITY.md for owner review (#536)
* refactor(sdk): share Codex session setup

* feat(cli): draft SECURITY.md for owner review

* fix(sdk): keep policy previews scoped and terminal-safe

* fix(cli): keep policy inputs and previews scoped

* fix(sdk): package policy helpers and handle missing links

* fix(sdk): validate policy paths before model access

* refactor(cli): reuse scan setup across commands

* fix(sdk): validate policy inputs before drafting

* refactor(policy): keep reporting checks at application

* fix(cli): honor policy settings and cancellation

* fix(sdk): preserve policy evidence and owner answers

* fix(sdk): isolate policy instructions from artifact checkouts

* fix(policy): harden draft generation boundaries

* fix(policy): clarify draft generation and review guidance

* fix(policy): narrow runtime reads and preserve source evidence

* fix(policy): enforce component and runtime read boundaries

* fix(policy): preserve macOS framework Python environments

* fix(policy): simplify guidance and validate draft completion

* refactor(policy): simplify draft generation

* fix(policy): keep CLI types out of public SDK declarations

* fix(policy): constrain linked guidance and tool environments

* fix(policy): exclude Git metadata from model reads

* fix(policy): preserve literal metadata exclusions

* fix(policy): confirm metadata directories with Git

* fix(policy): resolve metadata without repository config

* fix(policy): share Git metadata exclusions across policy reads

* fix(policy): protect alternate Git object stores

* fix(policy): share object-store discovery across metadata

* fix(policy): serialize permission paths as TOML values

* test(policy): load SDK defaults in native CLI regression

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
Co-authored-by: Kyle Brown <kyleb@openai.com>
Co-authored-by: mldangelo-oai <mldangelo-oai@users.noreply.github.com>
2026-09-09 07:09:35 -07:00
Kyle Brown 02d9317ef0 feat: classify finding severity with custom rubrics (#791)
Add CLI and SDK severity classification with optional rubrics and context. Checkpoint each successful assessment in SQLite, reuse matching results, and support explicit reprocessing. Use saved classifications when preparing Linear publication.
2026-09-03 14:41:12 -07:00
Kyle Brown 68b187c289 feat(cli): add findings service serve command (#719)
* feat(cli): add findings service serve command

* feat(cli): add serve port option and simplify startup docs
2026-08-28 14:42:12 -07:00
Kyle Brownandkmbroai d4877e4e49 refactor(container): share one image for scanner and findings service (#701)
* ci: add findings package bootstrap workflow

* refactor(container): share one image for scanner and findings service

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 23:53:30 -07:00
Kyle Brownandkmbroai 3ee32a06a1 feat(typescript): persist findings and embeddings through the API (#660)
* feat(typescript): add findings service plumbing

* feat(typescript): persist findings and embeddings through the service API

* test(typescript): extract findings service Docker smoke runner

* refactor(test): translate findings storage fixture to TypeScript

* refactor(server): omit provisional bulk dedupe endpoint

* docs: use canonical plugin source in findings import example

* fix(plugin): support isolated findings helper execution

* test(plugin): include findings storage in schema expectations

* test(plugin): update findings migration snapshots

* test: read findings smoke fixture from canonical plugin source

* feat(typescript): deduplicate scans through SDK and CLI (#661)

* feat(typescript): deduplicate stored findings with Codex

* refactor(typescript): group server deduplication modules

* refactor(typescript): run scan deduplication in SDK and CLI

* feat(typescript): scope finding retrieval by repository

* refactor(typescript): trim redundant deduplication code

* fix(typescript): restore complete deduplication reviews

* refactor(typescript): trim deduplication setup and smoke bookkeeping

* perf(typescript): reduce deduplication review work

* test(plugin): include repository associations in schema expectations

* test(plugin): update repository migration snapshots

* test: read scan smoke manifest from canonical plugin source

* feat: publish custom findings and persist dedupe groups (#667)

* feat: publish custom findings and persist dedupe groups

* refactor(test): translate write-back smoke assertions to TypeScript

* test: align findings writeback with pair-only deduplication

* test(plugin): include dedupe groups in schema expectations

* test(plugin): update dedupe group migration snapshots

* feat: persist resumable local findings workflows (#673)

* feat: persist resumable local findings workflows

* fix: store workflow metadata in explicit SQLite columns

* test(plugin): align workflow helper and schema contracts

* feat: checkpoint dedupe reviews and replay group writes (#674)

* feat: checkpoint dedupe reviews and replay group writes

* fix: keep workflow source snapshots within the checkout

* fix: migrate dedupe checkpoint bindings to SQLite columns

* test: retain required canonical ID in translated checkpoint checks

* test: align checkpoint contracts with the updated findings stack

* feat(server): add read-only findings dashboard (#679)

* feat(server): add read-only findings dashboard

* fix(dashboard): show workflows first

* refactor(dashboard): simplify rendering and reuse workflow storage

* fix(dashboard): preserve filters and completed result semantics

* fix(dashboard): retain published repository identities in search

* fix(dashboard): include deep scan activity in freshness

* refactor(dashboard): use native selects and remove dropdown machinery

* refactor(dashboard): show only stored findings and groups

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: Kyle Brown <272643392+kmbroai@users.noreply.github.com>

* feat(container): publish findings service and distribute workflow runner (#666)

* feat(typescript): deduplicate stored findings with Codex

* refactor(typescript): group server deduplication modules

* refactor(typescript): run scan deduplication in SDK and CLI

* feat(typescript): scope finding retrieval by repository

* refactor(typescript): trim redundant deduplication code

* fix(typescript): restore complete deduplication reviews

* feat(container): publish findings service image to GHCR

* feat: publish custom findings and persist dedupe groups

* refactor(container): trim findings release verification

* refactor(typescript): trim deduplication setup and smoke bookkeeping

* feat(container): add scanner workflow runner Compose

* refactor(test): translate write-back smoke assertions to TypeScript

* refactor(test): translate runner smoke fixtures to TypeScript

* perf(typescript): reduce deduplication review work

* test: align findings writeback with pair-only deduplication

* test(plugin): include repository associations in schema expectations

* test(plugin): include dedupe groups in schema expectations

* test(plugin): update repository migration snapshots

* test(plugin): update dedupe group migration snapshots

* test: read scan smoke manifest from canonical plugin source

---------

Co-authored-by: Kyle Brown <272643392+kmbroai@users.noreply.github.com>

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 16:38:49 -07:00
Kyle Brownandkmbroai 406de5cc46 feat(typescript): add findings service plumbing (#653)
* feat(typescript): add findings service plumbing

* refactor(server): omit provisional bulk dedupe endpoint

---------

Co-authored-by: kmbroai <272643392+kmbroai@users.noreply.github.com>
2026-08-27 14:22:12 -07:00
mldangelo-oai a3b157ce10 ci: use formatter-only checks for Markdown changes (#650)
* ci: skip full matrix for README-only changes

* ci: simplify Markdown-only checks

* ci: validate shipped Markdown workflows

* ci: validate release guide Markdown

* ci: skip Markdown symlinks in formatter

* ci: simplify Markdown-only validation

* ci: bound Markdown-only validation

* ci: honor Markdown format ignores

* ci: preserve required contexts on metadata edits

* ci: reclassify edited pull requests
2026-08-26 06:44:46 -04:00
ianw-oai 18987754af docs: Update README.md (#639)
* docs: Update README.md

* Update README.md

* docs: list AWS first in other providers
2026-08-24 17:08:00 -07:00
Will HolleyandKyle Brown f85eeff256 feat: upload to Codex Security Cloud (#612)
* feat: upload to Codex Security Cloud

* feat: allow Cloud publish URL override

* style: format Cloud publisher

* [cli] Publish multiple scans to Cloud (#632)

* [cli] Publish multiple scans to Cloud

* [cli] Use repeatable scan directory flags for publication

* [docs] Clarify batch Cloud publication instructions

* [cli] Publish saved scans by ID and interactive selection

* fix: harden Cloud scan publication

* fix: preserve confirmed Cloud receipts

* docs: clarify Cloud cancellation exits

---------

Co-authored-by: Kyle Brown <kyleb@openai.com>
2026-08-24 16:02:10 -07:00
mldangelo-oai 1ad674b595 ci(release): enforce reviewed conventional release notes (#616)
* docs(release): add changelog and maintainer runbook

* ci(release): enforce reviewed conventional release notes

* fix(ci): align pull request title validation

* fix(ci): require reviewed notes before publishing
2026-08-23 15:16:46 -07:00
ianw-oai 47b48c973f feat: add safety identifiers to scans (#609) 2026-08-22 20:38:56 -07:00
ianw-oai beaebdaf80 feat: add component scans (#584)
Add independent component scans with automatic planning, progress reporting, and combined findings.
2026-08-22 14:22:34 -07:00
ianw-oai b61ba1d5d5 feat: add custom validation workflows (#590)
Add custom validation instructions for standard and diff scans. Run validation in a separate turn, keep completion in the SDK, and report activity once.
2026-08-21 15:47:07 -07:00
ianw-oai c1c214326c fix(cli): create draft patch pull requests (#585) 2026-08-20 20:31:43 -07:00
ianw-oai 6a50006f91 feat(cli): add interactive finding review, patching, and optional PRs (#461) 2026-08-18 13:05:29 -07:00