@kitelev/exocortex-cli 16.191.4 → 16.192.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.
|
|
2
|
+
// @kitelev/exocortex-cli v16.192.1
|
|
3
3
|
// CLI tool for Exocortex knowledge management system - SPARQL queries, task management, and more
|
|
4
4
|
// License: MIT
|
|
5
5
|
|
|
@@ -621,7 +621,7 @@ Duplicate bindings (${n.duplicates.length}) \u2014 uid claimed by >1 test (warni
|
|
|
621
621
|
Skipped floor check for ${n.unknownPriority} requirement(s) with unparseable priority (fail-open).`),n.clean?e==="hard"&&!n.rampReady?console.error(`
|
|
622
622
|
FAIL (hard gate): ramp not ready \u2014 ${n.p0Orphans} P0 requirement(s) unbound`+(n.p0Total===0?" (no P0 requirements found)":"")+"."):console.log(`
|
|
623
623
|
OK: no hard findings (dangling tags + binding-class floor are clean).`):console.error(`
|
|
624
|
-
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(rue,"renderText");function nue(n,e,t){return!n.clean||t&&n.orphans.length>0||e==="hard"&&!n.rampReady}a(nue,"isHardFail");function h$(){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";ve.setFormat(e);let t=n.gate==="hard"?"hard":"soft";try{let r=(0,qa.resolve)(n.reqs);if(!(0,Ga.existsSync)(r)||!(0,Ga.statSync)(r).isDirectory())throw new Je(r);let i=(0,qa.resolve)(n.tests??".");if(!(0,Ga.existsSync)(i)||!(0,Ga.statSync)(i).isDirectory())throw new Je(i);let[s,o]=await Promise.all([Xle(r),Zle(i)]),c=eue(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):rue(c,t),nue(c,t,n.strict===!0)&&(process.exitCode=1)}catch(r){ve.handle(r)}})}a(h$,"requirementsAuditCommand");function m$(){let n=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(h$()),n}a(m$,"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.
|
|
624
|
+
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(rue,"renderText");function nue(n,e,t){return!n.clean||t&&n.orphans.length>0||e==="hard"&&!n.rampReady}a(nue,"isHardFail");function h$(){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";ve.setFormat(e);let t=n.gate==="hard"?"hard":"soft";try{let r=(0,qa.resolve)(n.reqs);if(!(0,Ga.existsSync)(r)||!(0,Ga.statSync)(r).isDirectory())throw new Je(r);let i=(0,qa.resolve)(n.tests??".");if(!(0,Ga.existsSync)(i)||!(0,Ga.statSync)(i).isDirectory())throw new Je(i);let[s,o]=await Promise.all([Xle(r),Zle(i)]),c=eue(s,o);e==="json"?console.log(JSON.stringify({...c,gate:t},null,2)):rue(c,t),nue(c,t,n.strict===!0)&&(process.exitCode=1)}catch(r){ve.handle(r)}})}a(h$,"requirementsAuditCommand");function m$(){let n=new Le("requirements").description("Requirements-management tooling (RFC 0003): traceability checker");return n.addCommand(h$()),n}a(m$,"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.192.1"),e.addCommand(c5()),e.addCommand(y5()),e.addCommand(u9()),e.addCommand(h9()),e.addCommand(D9()),e.addCommand(m9()),e.addCommand(w9()),e.addCommand(U9()),e.addCommand(W9()),e.addCommand(t5()),e.addCommand(i5()),e.addCommand(s5()),e.addCommand(N5()),e.addCommand(j5()),e.addCommand(e$()),e.addCommand(r$()),e.addCommand(s$()),e.addCommand(o$()),e.addCommand(u$()),e.addCommand(W5()),e.addCommand(X5()),e.addCommand(m$()),e}a(f_,"createProgram");f_().parse();0&&(module.exports={createProgram});
|
|
625
625
|
/*! Bundled license information:
|
|
626
626
|
|
|
627
627
|
reflect-metadata/Reflect.js:
|
package/package.json
CHANGED