@kitelev/exocortex-cli 16.177.1 → 16.178.0

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.177.1
2
+ // @kitelev/exocortex-cli v16.178.0
3
3
  // CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more
4
4
  // License: MIT
5
5
 
@@ -613,7 +613,7 @@ Duplicate bindings (${n.duplicates.length}) \u2014 uid claimed by >1 test (warni
613
613
  Skipped floor check for ${n.unknownPriority} requirement(s) with unparseable priority (fail-open).`),n.clean?e==="hard"&&!n.rampReady?console.error(`
614
614
  FAIL (hard gate): ramp not ready \u2014 ${n.p0Orphans} P0 requirement(s) unbound`+(n.p0Total===0?" (no P0 requirements found)":"")+"."):console.log(`
615
615
  OK: no hard findings (dangling tags + binding-class floor are clean).`):console.error(`
616
- FAIL: ${n.dangling.length} dangling + ${n.floorViolations.length} floor violation(s) + ${n.activeViolations.length} active-requirement invariant violation(s) + ${n.danglingEvidence.length} dangling evidence link(s).`)}a(Uoe,"renderText");function Boe(n,e,t){return!n.clean||t&&n.orphans.length>0||e==="hard"&&!n.rampReady}a(Boe,"isHardFail");function V9(){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 n=>{let e=n.output??"text";ge.setFormat(e);let t=n.gate==="hard"?"hard":"soft";try{let r=(0,Va.resolve)(n.reqs);if(!(0,qa.existsSync)(r)||!(0,qa.statSync)(r).isDirectory())throw new Qe(r);let i=(0,Va.resolve)(n.tests??".");if(!(0,qa.existsSync)(i)||!(0,qa.statSync)(i).isDirectory())throw new Qe(i);let[s,o]=await Promise.all([Noe(r),Moe(i)]),c=joe(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):Uoe(c,t),Boe(c,t,n.strict===!0)&&(process.exitCode=1)}catch(r){ge.handle(r)}})}a(V9,"requirementsAuditCommand");function q9(){let n=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(V9()),n}a(q9,"requirementsCommand");function F_(n){let e=new Le;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more").version(n??"16.177.1"),e.addCommand($4()),e.addCommand(z4()),e.addCommand(Tj()),e.addCommand(Oj()),e.addCommand(e4()),e.addCommand(Cj()),e.addCommand(Nj()),e.addCommand(a4()),e.addCommand(d4()),e.addCommand(S4()),e.addCommand(v4()),e.addCommand(k4()),e.addCommand(l9()),e.addCommand(d9()),e.addCommand(O9()),e.addCommand(x9()),e.addCommand(F9()),e.addCommand(L9()),e.addCommand(j9()),e.addCommand(b9()),e.addCommand(I9()),e.addCommand(q9()),e}a(F_,"createProgram");F_().parse();0&&(module.exports={createProgram});
616
+ FAIL: ${n.dangling.length} dangling + ${n.floorViolations.length} floor violation(s) + ${n.activeViolations.length} active-requirement invariant violation(s) + ${n.danglingEvidence.length} dangling evidence link(s).`)}a(Uoe,"renderText");function Boe(n,e,t){return!n.clean||t&&n.orphans.length>0||e==="hard"&&!n.rampReady}a(Boe,"isHardFail");function V9(){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 n=>{let e=n.output??"text";ge.setFormat(e);let t=n.gate==="hard"?"hard":"soft";try{let r=(0,Va.resolve)(n.reqs);if(!(0,qa.existsSync)(r)||!(0,qa.statSync)(r).isDirectory())throw new Qe(r);let i=(0,Va.resolve)(n.tests??".");if(!(0,qa.existsSync)(i)||!(0,qa.statSync)(i).isDirectory())throw new Qe(i);let[s,o]=await Promise.all([Noe(r),Moe(i)]),c=joe(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):Uoe(c,t),Boe(c,t,n.strict===!0)&&(process.exitCode=1)}catch(r){ge.handle(r)}})}a(V9,"requirementsAuditCommand");function q9(){let n=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(V9()),n}a(q9,"requirementsCommand");function F_(n){let e=new Le;return e.name("exocortex").description("CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more").version(n??"16.178.0"),e.addCommand($4()),e.addCommand(z4()),e.addCommand(Tj()),e.addCommand(Oj()),e.addCommand(e4()),e.addCommand(Cj()),e.addCommand(Nj()),e.addCommand(a4()),e.addCommand(d4()),e.addCommand(S4()),e.addCommand(v4()),e.addCommand(k4()),e.addCommand(l9()),e.addCommand(d9()),e.addCommand(O9()),e.addCommand(x9()),e.addCommand(F9()),e.addCommand(L9()),e.addCommand(j9()),e.addCommand(b9()),e.addCommand(I9()),e.addCommand(q9()),e}a(F_,"createProgram");F_().parse();0&&(module.exports={createProgram});
617
617
  /*! Bundled license information:
618
618
 
619
619
  reflect-metadata/Reflect.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitelev/exocortex-cli",
3
- "version": "16.177.1",
3
+ "version": "16.178.0",
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": {