Debug CLI exit code enforcement

Summary

  • Rolled debug/__main__.py back one revision and added exit code propagation when scenarios record errors in map.json.

  • Added targeted pytest coverage for the new exit path along with helper assertions around the runner’s error detection.

  • Updated entry-point tests to ensure the CLI exits with code 1 on failure and 0 on success, mocking argument parsing to avoid heavy fixtures.

  • Extended tooling configuration by ignoring generated debug outputs in Prettier, keeping bun run check green.

Testing

  • .venv/bin/pytest debug/tests/test_debug_cli.py::test_run_reports_map_errors debug/tests/test_debug_cli.py::test_main_exits_with_code_one_when_errors debug/tests/test_debug_cli.py::test_main_allows_zero_exit_without_errors

  • bun run check

  • bun run test:log:linux (fails due to pre-existing upstream issues documented in the log)