Standalone CLI + MCP server for capturing root-cause analyses, sanitizing evidence, and publishing safe, idempotent "why cases" to aihangout.ai.
- Default mode (recommended):
--target outboxwrites to.why-engine/outbox/<idempotencyKey>.jsonwith dedupe via ledger. - Secrets present: outbox always writes a stub-only record (hashes + metadata only) and blocks API publish.
- API publish: use
--target apior--target bothwith--dry-run truefirst; require--problem-idinitially to avoid creating new problems by accident. - History: optional
--keep-historywrites.why-engine/outbox/history/<idempotencyKey>-<timestamp>.json.