@kitelev/exocortex-cli 16.185.5 → 16.185.6

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -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.185.5
2
+ // @kitelev/exocortex-cli v16.185.6
3
3
  // CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more
4
4
  // License: MIT
5
5
 
@@ -642,7 +642,7 @@ Duplicate bindings (${r.duplicates.length}) \u2014 uid claimed by >1 test (warni
642
642
  Skipped floor check for ${r.unknownPriority} requirement(s) with unparseable priority (fail-open).`),r.clean?e==="hard"&&!r.rampReady?console.error(`
643
643
  FAIL (hard gate): ramp not ready \u2014 ${r.p0Orphans} P0 requirement(s) unbound`+(r.p0Total===0?" (no P0 requirements found)":"")+"."):console.log(`
644
644
  OK: no hard findings (dangling tags + binding-class floor are clean).`):console.error(`
645
- FAIL: ${r.dangling.length} dangling + ${r.floorViolations.length} floor violation(s) + ${r.activeViolations.length} active-requirement invariant violation(s) + ${r.danglingEvidence.length} dangling evidence link(s).`)}a(Gfe,"renderText");function Wfe(r,e,t){return!r.clean||t&&r.orphans.length>0||e==="hard"&&!r.rampReady}a(Wfe,"isHardFail");function p6(){return new Le("audit").description("Audit requirement\u2194test traceability: orphans, dangling @req tags, duplicate bindings, binding-class floor, coverage, P0 ramp-readiness").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).option("--gate <mode>","Gate mode: soft (warn only on hard findings) | hard (also block when the P0 checklist is not ramp-ready)","soft").action(async r=>{let e=r.output??"text";we.setFormat(e);let t=r.gate==="hard"?"hard":"soft";try{let n=(0,tc.resolve)(r.reqs);if(!(0,rc.existsSync)(n)||!(0,rc.statSync)(n).isDirectory())throw new Je(n);let i=(0,tc.resolve)(r.tests??".");if(!(0,rc.existsSync)(i)||!(0,rc.statSync)(i).isDirectory())throw new Je(i);let[s,o]=await Promise.all([$fe(n),Bfe(i)]),c=Vfe(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):Gfe(c,t),Wfe(c,t,r.strict===!0)&&(process.exitCode=1)}catch(n){we.handle(n)}})}a(p6,"requirementsAuditCommand");function h6(){let r=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return r.addCommand(p6()),r}a(h6,"requirementsCommand");function _b(r){let e=new Le;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more").version(r??"16.185.5"),e.addCommand(a$()),e.addCommand(g$()),e.addCommand(u5()),e.addCommand(h5()),e.addCommand(F5()),e.addCommand(m5()),e.addCommand(w5()),e.addCommand(U5()),e.addCommand(W5()),e.addCommand(e$()),e.addCommand(n$()),e.addCommand(i$()),e.addCommand(L$()),e.addCommand(M$()),e.addCommand(Z$()),e.addCommand(t6()),e.addCommand(i6()),e.addCommand(s6()),e.addCommand(l6()),e.addCommand(G$()),e.addCommand(Q$()),e.addCommand(h6()),e}a(_b,"createProgram");_b().parse();0&&(module.exports={createProgram});
645
+ FAIL: ${r.dangling.length} dangling + ${r.floorViolations.length} floor violation(s) + ${r.activeViolations.length} active-requirement invariant violation(s) + ${r.danglingEvidence.length} dangling evidence link(s).`)}a(Gfe,"renderText");function Wfe(r,e,t){return!r.clean||t&&r.orphans.length>0||e==="hard"&&!r.rampReady}a(Wfe,"isHardFail");function p6(){return new Le("audit").description("Audit requirement\u2194test traceability: orphans, dangling @req tags, duplicate bindings, binding-class floor, coverage, P0 ramp-readiness").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).option("--gate <mode>","Gate mode: soft (warn only on hard findings) | hard (also block when the P0 checklist is not ramp-ready)","soft").action(async r=>{let e=r.output??"text";we.setFormat(e);let t=r.gate==="hard"?"hard":"soft";try{let n=(0,tc.resolve)(r.reqs);if(!(0,rc.existsSync)(n)||!(0,rc.statSync)(n).isDirectory())throw new Je(n);let i=(0,tc.resolve)(r.tests??".");if(!(0,rc.existsSync)(i)||!(0,rc.statSync)(i).isDirectory())throw new Je(i);let[s,o]=await Promise.all([$fe(n),Bfe(i)]),c=Vfe(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):Gfe(c,t),Wfe(c,t,r.strict===!0)&&(process.exitCode=1)}catch(n){we.handle(n)}})}a(p6,"requirementsAuditCommand");function h6(){let r=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return r.addCommand(p6()),r}a(h6,"requirementsCommand");function _b(r){let e=new Le;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more").version(r??"16.185.6"),e.addCommand(a$()),e.addCommand(g$()),e.addCommand(u5()),e.addCommand(h5()),e.addCommand(F5()),e.addCommand(m5()),e.addCommand(w5()),e.addCommand(U5()),e.addCommand(W5()),e.addCommand(e$()),e.addCommand(n$()),e.addCommand(i$()),e.addCommand(L$()),e.addCommand(M$()),e.addCommand(Z$()),e.addCommand(t6()),e.addCommand(i6()),e.addCommand(s6()),e.addCommand(l6()),e.addCommand(G$()),e.addCommand(Q$()),e.addCommand(h6()),e}a(_b,"createProgram");_b().parse();0&&(module.exports={createProgram});
646
646
  /*! Bundled license information:
647
647
 
648
648
  reflect-metadata/Reflect.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitelev/exocortex-cli",
3
- "version": "16.185.5",
3
+ "version": "16.185.6",
4
4
  "description": "CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more",
5
5
  "main": "dist/index.js",
6
6
  "bin": {