@kitelev/exocortex-cli 16.125.0 → 16.125.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// @kitelev/exocortex-cli v16.125.
|
|
2
|
+
// @kitelev/exocortex-cli v16.125.1
|
|
3
3
|
// CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more
|
|
4
4
|
// License: MIT
|
|
5
5
|
|
|
@@ -625,7 +625,7 @@ Orphan requirements (${n.orphans.length}) \u2014 no @req binding (warning):`);fo
|
|
|
625
625
|
Duplicate bindings (${n.duplicates.length}) \u2014 uid claimed by >1 test (warning):`);for(let e of n.duplicates){console.error(` ${e.uid}:`);for(let t of e.occurrences)console.error(` ${t.file}:${t.line}`)}}n.unknownPriority>0&&console.error(`
|
|
626
626
|
Skipped floor check for ${n.unknownPriority} requirement(s) with unparseable priority (fail-open).`),n.clean?console.log(`
|
|
627
627
|
OK: no hard findings (dangling tags + binding-class floor are clean).`):console.error(`
|
|
628
|
-
FAIL: ${n.dangling.length} dangling + ${n.floorViolations.length} floor violation(s).`)}a(use,"renderText");function jM(){return new pe("audit").description("Audit requirement\u2194test traceability: orphans, dangling @req tags, duplicate bindings, binding-class floor, coverage").requiredOption("--reqs <path>","Directory tree containing req__Requirement assets (a vault or a reqs assetspace clone)").option("--tests <path>","Test-corpus root scanned for @req:<uid> tags",".").option("--output <type>","Response format: text|json","text").option("--strict","Also exit 1 on orphan requirements",!1).action(async n=>{let e=n.output??"text";ne.setFormat(e);try{let t=(0,wx.resolve)(n.reqs);if(!(0,qu.existsSync)(t)||!(0,qu.statSync)(t).isDirectory())throw new ze(t);let r=(0,wx.resolve)(n.tests??".");if(!(0,qu.existsSync)(r)||!(0,qu.statSync)(r).isDirectory())throw new ze(r);let[i,s]=await Promise.all([sse(t),ase(r)]),o=cse(i,s);e==="json"?console.log(JSON.stringify(o,null,2)):use(o),(!o.clean||n.strict===!0&&o.orphans.length>0)&&(process.exitCode=1)}catch(t){ne.handle(t)}})}a(jM,"requirementsAuditCommand");function $M(){let n=new pe("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(jM()),n}a($M,"requirementsCommand");function UM(n){let e=new pe;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system").version(n??"16.125.
|
|
628
|
+
FAIL: ${n.dangling.length} dangling + ${n.floorViolations.length} floor violation(s).`)}a(use,"renderText");function jM(){return new pe("audit").description("Audit requirement\u2194test traceability: orphans, dangling @req tags, duplicate bindings, binding-class floor, coverage").requiredOption("--reqs <path>","Directory tree containing req__Requirement assets (a vault or a reqs assetspace clone)").option("--tests <path>","Test-corpus root scanned for @req:<uid> tags",".").option("--output <type>","Response format: text|json","text").option("--strict","Also exit 1 on orphan requirements",!1).action(async n=>{let e=n.output??"text";ne.setFormat(e);try{let t=(0,wx.resolve)(n.reqs);if(!(0,qu.existsSync)(t)||!(0,qu.statSync)(t).isDirectory())throw new ze(t);let r=(0,wx.resolve)(n.tests??".");if(!(0,qu.existsSync)(r)||!(0,qu.statSync)(r).isDirectory())throw new ze(r);let[i,s]=await Promise.all([sse(t),ase(r)]),o=cse(i,s);e==="json"?console.log(JSON.stringify(o,null,2)):use(o),(!o.clean||n.strict===!0&&o.orphans.length>0)&&(process.exitCode=1)}catch(t){ne.handle(t)}})}a(jM,"requirementsAuditCommand");function $M(){let n=new pe("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(jM()),n}a($M,"requirementsCommand");function UM(n){let e=new pe;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system").version(n??"16.125.1"),e.addCommand(L4()),e.addCommand(G4()),e.addCommand(Ck()),e.addCommand(Dk()),e.addCommand(r4()),e.addCommand(kk()),e.addCommand(Mk()),e.addCommand(s4()),e.addCommand(p4()),e.addCommand(g4()),e.addCommand(S4()),e.addCommand(P4()),e.addCommand(oM()),e.addCommand(EM()),e.addCommand(TM()),e.addCommand(IM()),e.addCommand(RM()),e.addCommand(FM()),e.addCommand(NM()),e.addCommand(hM()),e.addCommand(wM()),e.addCommand($M()),e}a(UM,"createProgram");UM().parse();0&&(module.exports={createProgram});
|
|
629
629
|
/*! Bundled license information:
|
|
630
630
|
|
|
631
631
|
reflect-metadata/Reflect.js:
|
package/package.json
CHANGED