Skip to content

feat(output): add JSONL format, embedded JSON in text logs; update README for v0.2.3#20

Open
randomparity wants to merge 5 commits into
mainfrom
feature/structured-output-jsonl
Open

feat(output): add JSONL format, embedded JSON in text logs; update README for v0.2.3#20
randomparity wants to merge 5 commits into
mainfrom
feature/structured-output-jsonl

Conversation

@randomparity
Copy link
Copy Markdown
Owner

Summary

  • Add jsonl output format via --format jsonl (one record per file)
  • Add --embed-json-in-log to include per-file JSON blocks in text logs
  • Update README with agent-friendly example and set pre-commit rev to v0.2.3
  • Preserve defaults; no breaking changes. Existing behavior remains.

Details

  • main.py: extend --format choices; embed per-file JSON when requested
  • formatters.py: add format_as_jsonl
  • README.md: document new flags and examples, including CI-friendly and agent-friendly flows

Tests

  • All tests pass locally (106 passed)
  • Pre-commit hooks pass on commit

Risk & Rollout

  • Low risk; new options are opt-in.
  • Roll out by tagging v0.2.3 after merging.

,

…d optional structured findings

- Add --output-format {text,json,jsonl} and write machine-readable results
- Optionally embed per-file JSON between sentinels in text logs
- Add --structured-findings for a JSON-mode second pass to extract findings
- Keep default behavior unchanged; all 91 tests still pass locally
…ate examples to v0.2.3

- Add agent-friendly JSONL example with --structured-findings
- Document --output-format, --structured-findings, --embed-json-in-log
- Update all pre-commit examples to rev v0.2.3
- Keep other content unchanged
docs(warp): prefer Makefile targets and note CI uses make ci; update local testing guidance to use make

Note: local pre-commit Makefile hooks require Python 3.12; skipping hooks due to Python mismatch. Unit tests pass (106).
- Add unit tests for new code
- Document python 3.7+ for usage, 3.12 for development
- Add actual python 3.7 testing for verification
- Python 3.7 not supported on Ubuntu 24.04
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