fix: call scan identifiers Scan ID in output and help

Closed
TJ
9h ago
+14-17

Why

docs.detail.dev calls this identifier Scan ID, but the CLI labeled it Workflow ID in scan cards and described --scan-id as taking a "workflow request ID".

What

  • detail scans list and detail vulns scans cards: Workflow ID → Scan ID.
  • detail bugs list --scan-id / detail vulns list --scan-id help: now "by Scan ID (from detail scans list)" / "(from detail vulns scans)".
  • docs/HELP.md regenerated via cargo xtask generate-help.
  • User-facing text only: JSON output keys (workflowRequestId), API fields and struct fields are unchanged.

Validation

  • cargo fmt --check: clean
  • cargo clippy -- -D warnings (CI invocation): passes
  • cargo test: all pass (371 + 18 + 2)
  • cargo xtask check: openapi.json matches upstream, HELP.md up to date
  • Ran the built binary read-only against prod: scans list usedetail/cli and vulns scans usedetail/detail now show Scan ID wr_…; bugs list --help / vulns list --help show the new --scan-id text.
  • Note: cargo clippy --all-targets flags a pre-existing redundant_closure_for_method_calls in src/commands/completions.rs (untouched here; CI doesn't run --all-targets).

šŸ¤– Generated with Claude Code