feat(cli): make project setup and authentication easier to inspect (#2581)

* feat(cli): expose identifiers for saved scan follow-up

* test(sdk): exercise dedupe representatives in publication

* feat(cli): make project setup and authentication easier to inspect

* docs(cli): distinguish sign-in flows and credential sources

* feat(cli): link interrupted scans and imported evidence to their next commands

* fix(cli): make command help and discovery reflect runnable workflows

* build(sdk): include the command argument helper in package checks

* refactor(cli): reuse shell path quoting for project previews

* docs(cli): identify the shell used for Windows preview commands

* test(cli): account for the internal publication CSV in help coverage

* fix(cli): scope recovery hints to supported sessions and shells

* fix(cli): declare exclusive scan import sources in the schema

* refactor(cli): share credential locking and project preview preparation

* fix(cli): resolve repository arguments consistently during scan discovery

* refactor(cli): simplify the result handoffs and verify PowerShell recovery

* fix(cli): check sign-in from the same directory in every format

* fix(cli): preserve diagnostics when project initialization fails

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Michael D'Angelo
2026-11-11 02:33:07 +00:00
committed by GitHub
co-authored by Codex
parent 507e10af4f
commit 594604ffb5
8 changed files with 336 additions and 122 deletions
+2
View File
@@ -36,6 +36,8 @@ codex-security info -c codex-security.yaml --json
codex-security scan . -c codex-security.yaml --dry-run --json
```
The init command prints a preview command using the file it created. On Windows the displayed command uses PowerShell syntax. It includes an editor schema hint when the package is installed in the project. With a global installation the starter contains an empty mapping, which you can replace with your settings. The CLI always validates the file with its bundled schema.
Check that the preview shows your intended repository and scope. To start the
scan with those settings, keep the same file selection: