Found during a docs accuracy audit. Two related rough edges in src/cli/handlers/compile.ts:
-
Report format detection (compile.ts:227-231) only special-cases .html and .md — report.markdown or report.htm silently gets JSON content with a misleading extension. Consider recognising both aliases, or warning when the extension is unrecognised.
-
--baseline is only read when --report is set (compile.ts:199-224). With --audit-log alone it is parsed and silently discarded. Consider erroring or warning when --baseline is passed without --report.
Docs (CLAUDE.md, README, docusaurus CLI page) have been updated to state the current behavior.
Found during a docs accuracy audit. Two related rough edges in src/cli/handlers/compile.ts:
Report format detection (compile.ts:227-231) only special-cases
.htmland.md—report.markdownorreport.htmsilently gets JSON content with a misleading extension. Consider recognising both aliases, or warning when the extension is unrecognised.--baselineis only read when--reportis set (compile.ts:199-224). With--audit-logalone it is parsed and silently discarded. Consider erroring or warning when--baselineis passed without--report.Docs (CLAUDE.md, README, docusaurus CLI page) have been updated to state the current behavior.