()
| 26 | } |
| 27 | |
| 28 | function usage() { |
| 29 | return [ |
| 30 | 'Usage: node scripts/memory-compile.js compile [--project-root path] [--json]', |
| 31 | ' node scripts/memory-compile.js lint [--project-root path] [--json]', |
| 32 | ' node scripts/memory-compile.js list [--scope scope] [--type type] [--query text] [--json]', |
| 33 | '', |
| 34 | 'Compiles compact semantic memory blocks from project planning artifacts.', |
| 35 | ].join('\n'); |
| 36 | } |
| 37 | |
| 38 | function renderCompile(projectRoot, result, lint) { |
| 39 | const lines = []; |