@kitelev/exocortex-cli 16.170.3 → 16.170.5

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 (3) hide show
  1. package/README.md +36 -0
  2. package/dist/index.js +163 -163
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -54,6 +54,7 @@ The following v15 verbs were **removed**: `batch`, `batch-repair`, `command`, `d
54
54
  | [`resolve`](#resolve) | Resolve a UUID (full or partial) to a file path |
55
55
  | [`workflow`](#workflow) | List / show / validate workflow definitions |
56
56
  | [`recover`](#recover) | Detect and recover orphaned claude-child tmux sessions |
57
+ | [`scaffold`](#scaffold) | Scaffold homoiconic configuration assets (validation-check settings) |
57
58
  | [`audit`](#audit) | Regression-pattern audits (`co-location`, `ontology-imports`) |
58
59
  | [`apply-profile`](#apply-profile) | Apply an `exo__Profile` (mount-state filesystem mutation) |
59
60
  | [`bootstrap`](#bootstrap) | Bootstrap a vault with the SDK floor AssetSpace |
@@ -62,6 +63,7 @@ The following v15 verbs were **removed**: `batch`, `batch-repair`, `command`, `d
62
63
  | [`exosync`](#exosync) | Sync / pull / push the materialized AssetSpace set over the GitHub REST API |
63
64
  | [`exosync-parity`](#exosync-parity) | Read-only ExoSync divergence report (M1/M2 parity check) |
64
65
  | [`resolve-deps`](#resolve-deps) | Resolve an AssetSpace's transitive `dependsOn` closure from the registry (CI gate) |
66
+ | [`requirements`](#requirements) | Requirements↔test traceability checker (RFC 0003) |
65
67
 
66
68
  ---
67
69
 
@@ -385,6 +387,22 @@ npx @kitelev/exocortex-cli recover --apply --vault ~/vault-2025
385
387
  | `--dry-run` | — | List orphans without applying changes (default behavior) |
386
388
  | `--apply` | off | Apply recovery: set Failed + kill the tmux session |
387
389
 
390
+ ### scaffold
391
+
392
+ Scaffold homoiconic configuration assets. Currently exposes one subcommand, `validation-settings`, which materializes the four validation-check `setting__Setting` instances (`uid-uniqueness=true`, the rest `false`) co-located in the chosen ontology's folder, so `validate vault` has an enabled-set to read (RFC f402002b).
393
+
394
+ ```bash
395
+ npx @kitelev/exocortex-cli scaffold validation-settings \
396
+ --vault ~/vault-2025 \
397
+ --ontology <ontology-uid>
398
+ ```
399
+
400
+ | Option | Default | Description |
401
+ | ------------------ | ------------ | --------------------------------------------------------------------- |
402
+ | `--vault <path>` | **required** | Vault root directory |
403
+ | `--ontology <uid>` | **required** | UID of the ontology whose folder the check settings are co-located in |
404
+ | `--output <type>` | `text` | Response format: `text` \| `json` |
405
+
388
406
  ---
389
407
 
390
408
  ## Vault Management Commands
@@ -548,6 +566,24 @@ npx @kitelev/exocortex-cli resolve-deps \
548
566
  | `--format <type>` | `urls` | Output format: `urls` (one clone URL per line) or `json` (full diagnostics) |
549
567
  | `--strict` | off | Exit non-zero (`2`) when `self` is not registered, instead of validating standalone |
550
568
 
569
+ ### requirements
570
+
571
+ Requirements-management tooling (RFC 0003). The `requirements audit` subcommand checks requirement↔test traceability — orphan requirements, dangling `@req:<uid>` tags, duplicate bindings, the binding-class floor, coverage, and P0 ramp-readiness. Used by the `requirements-trace` CI job.
572
+
573
+ ```bash
574
+ npx @kitelev/exocortex-cli requirements audit \
575
+ --reqs ./exoas-exo-reqs \
576
+ --tests .
577
+ ```
578
+
579
+ | Option | Default | Description |
580
+ | ----------------- | ------------ | -------------------------------------------------------------------------------------- |
581
+ | `--reqs <path>` | **required** | Directory tree containing `req__Requirement` assets (a vault or a reqs assetspace) |
582
+ | `--tests <path>` | `.` | Test-corpus root scanned for `@req:<uid>` tags |
583
+ | `--output <type>` | `text` | Response format: `text` \| `json` |
584
+ | `--strict` | off | Also exit `1` on orphan requirements |
585
+ | `--gate <mode>` | `soft` | Gate mode: `soft` (warn only) \| `hard` (also block when the P0 checklist isn't ready) |
586
+
551
587
  ---
552
588
 
553
589
  ## Exit Codes