Skip to content

Provide context-efficient JSON verbosity levels - #98

Merged
stef-k merged 4 commits into
mainfrom
feature/92-json-modes
Aug 25, 2026
Merged

Provide context-efficient JSON verbosity levels#98
stef-k merged 4 commits into
mainfrom
feature/92-json-modes

Conversation

@stef-k

@stef-k stef-k commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Closes #92

Summary

  • Add explicit compact and debug completed-analysis JSON modes while preserving bare --json compatibility.
  • Filter only normalized pass findings in compact mode, retaining all guards, states, scope totals, policies, ordering, and unchanged actionable findings.
  • Keep debug byte-identical to bare full JSON and preserve existing version, skill-management, error, and exit behavior.
  • Document the modes and record the feature under the Unreleased changelog.

Validation

  • python -m unittest tests.test_json_modes — 3 passed.
  • python -m unittest discover -s tests — 291 passed.
  • Bare/debug stdout byte-equivalence — passed.
  • Compact, version, skill-management, invalid-choice, and JSON-error CLI probes — passed.
  • git diff --check main...HEAD — passed.
  • Code Guard exact changed-file review — only the retained non-blocking print_text complexity REVIEW.

@stef-k
stef-k merged commit aecd6e7 into main Aug 25, 2026
14 of 15 checks passed
@stef-k
stef-k deleted the feature/92-json-modes branch August 25, 2026 19:10
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.

Provide context-efficient JSON verbosity levels

1 participant