fix(cli): emit compact tune JSON
Your AI's guard dog to stop it from going rogue.
Brought to you by:
doberman
Originally created by: slegarraga
Closes [#431]
separators=(",", ":") to the tune --json serialization.tests/unit/test_cli_tune_json.py, shaped like the scan JSON test: seeds decisions through storage, parses the CLI output, and asserts neither spaced JSON separator appears..venv/bin/pytest tests/unit/test_cli_tune_json.py — 1 passed..venv/bin/pytest tests/unit/test_friction_tune.py tests/unit/test_cli_tune_json.py — 24 passed.main in this environment because its isolated Python cannot import doberman..venv/bin/ruff check and .venv/bin/ruff format --check pass on changed files.
Ticket changed by: fu351
Ticket changed by: fu351
Ticket changed by: fu351
Ticket changed by: fu351
Ticket changed by: fu351
Originally posted by: fu351
Merged, thanks @slegarraga! Asserting that neither spaced separator appears in the raw output is the test I wanted here, it fails the moment anyone drops
separators=again.