| 32 | } |
| 33 | |
| 34 | function usage() { |
| 35 | return [ |
| 36 | 'Usage:', |
| 37 | ' node scripts/usefulness-trial.js [--json] [--write] [--run-verification] [--task <request>] [--project-root <path>]', |
| 38 | '', |
| 39 | 'Runs a first-use readiness inspection against a real project.', |
| 40 | 'It checks setup, routing, verification selection, and durable evidence; it does not compare Citadel with a bare agent.', |
| 41 | '--write records .planning/usefulness-trial/latest.md.', |
| 42 | ].join('\n'); |
| 43 | } |
| 44 | |
| 45 | function normalizePath(value) { |
| 46 | return String(value || '').replace(/\\/g, '/'); |