Problem
doubt validate is useful for humans, while editor and CI integrations need structured findings without parsing terminal copy.
Proposed interface
doubt validate decision.doubt.json --format json
The command should print one JSON object containing:
valid
receipt (null for invalid maps)
metrics
findings with path, rule, and message
Acceptance criteria
Relevant code: src/cli.js, src/map.js, and test/cli.test.js.
Problem
doubt validateis useful for humans, while editor and CI integrations need structured findings without parsing terminal copy.Proposed interface
The command should print one JSON object containing:
validreceipt(null for invalid maps)metricsfindingswithpath,rule, andmessageAcceptance criteria
Relevant code:
src/cli.js,src/map.js, andtest/cli.test.js.