Muse BT6 audit of ab3be34 for #662: the guard runs a dry parse_known_args on a
copy of argv and refuses when the parse lands on distributed without the
literal "distributed preflight" shape, or when both words are left unparsed,
so a leading "--" can no longer bypass it while positional values of other
commands are accepted. RunArchive._load converts any ValueError from reading
or parsing a manifest (including the integer digit limit) into
InvalidArchiveRequest.
Restrict the distributed+preflight shape guard to the command position so
launched arguments and option values containing both words are accepted.
Introduce RunArchiveError (keeping builtin bases) and catch only it in
`obliteratus runs`, so internal errors keep their traceback; corrupt
manifests report "invalid manifest". The secret-guard test checks stderr.
Fixes#632Fixes#638
Codex review r1 for #618: the results viewer builds its stats, chart and
table with DOM nodes and text only (no innerHTML), so a crafted results.json
cannot inject markup; its impact-metric selection mirrors save_plots exactly
(string primary only, measured baseline plus at least one measured ablation);
every render clears all result regions. Plots are written to a temp file and
moved into place only on success, figures are always closed, and a fallback
metric is labelled on the chart. A node-based test exercises the viewer.
Codex review r1 for #617: the pre-parse secret-token and
distributed+preflight guards now print to stderr, and `runs` catches archive
errors (unknown or malformed run id, unfinished run) with a one-line stderr
diagnostic, exit 1 and empty stdout. Docs and changelog state the success
and error output contract; MCP_LOCAL_SETUP.md notes that policy validation
runs before the missing-extra check.
Record the study's chosen impact metric as an optional `primary_metric` key
in results.json so `report` replays the same chart; files without the key
keep the first-metric behaviour. Write the impact and heatmap plots
independently, fall back to a metric with a measured change, and print only
the files written in this run, flagging stale plots from earlier runs.
Fixes#606Fixes#607Fixes#604
Add `runs` to the CLI machine-JSON command set so every durable-run
subcommand writes only its JSON document to stdout.
Replace the missing-`mcp`-extra hint with the source-checkout installs from
docs/MCP_LOCAL_SETUP.md. The PyPI project named `obliteratus` is quarantined
and has no installable files, so the hint no longer points there.
Fixes#611Fixes#603
Default exclude_invalid to True for refusal metrics, verification and the
optimizer objective, with a one-release warning for implicit legacy use,
invalid counts in metadata and reports, and a changelog note.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cover legacy console fallbacks, platform temp paths, local UI disk probing, and lazy analysis exports. Bind the new local UI test to the executable source-to-test risk map.
The README/CONTRIBUTING examples used `obliteratus aggregate --format ...` but the CLI only accepted `--dir`.
This adds `--format {summary,latex}`, `--metric`, and `--min-runs` to the aggregate command, reuses community LaTeX table generation, and adds CLI parsing tests to align behavior with documented usage.