Skip to content

feat(security): emit JSON sidecar from security-burndown CLI mode#31

Merged
saagpatel merged 1 commit into
mainfrom
feat/burndown-json-emit
Jun 3, 2026
Merged

feat(security): emit JSON sidecar from security-burndown CLI mode#31
saagpatel merged 1 commit into
mainfrom
feat/burndown-json-emit

Conversation

@saagpatel
Copy link
Copy Markdown
Owner

The security-burndown CLI mode wrote markdown only. This adds a structured JSON sidecar (security-burndown-<user>-<date>.json from report.to_dict()) so downstream consumers — notably the PortfolioCommandCenter desktop shell — render the advisory-grouped fix list without parsing markdown. Mirrors the per-project security overlay's JSON-first contract.

Adds the first integration tests for _run_security_burndown_mode: both artifacts written, the no-ghas-file exit(1) path, and the counts-only exit(0)-without-writing path.

Verification

pytest tests/test_security_burndown.py → 36 passed (3 new). ruff check clean.

The burndown dispatch wrote markdown only. Add a structured JSON sidecar
(security-burndown-<user>-<date>.json from report.to_dict()) so downstream
consumers like the PortfolioCommandCenter desktop shell can render the
advisory-grouped fix list without parsing markdown — mirroring the
per-project security overlay's JSON-first contract.

Adds the first integration tests for _run_security_burndown_mode: both
artifacts written, the no-ghas-file exit(1) path, and the counts-only
exit(0)-without-writing path.
@saagpatel saagpatel merged commit 54fa417 into main Jun 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant