work
This commit is contained in:
23
docs/modules/cli/guides/commands/vex.md
Normal file
23
docs/modules/cli/guides/commands/vex.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# stella vex — Command Guide
|
||||
|
||||
## Commands
|
||||
- `stella vex consensus --query <filter> [--output json|ndjson|table] [--offline]`
|
||||
- `stella vex get --id <consensusId> [--offline]`
|
||||
- `stella vex simulate --input <vexDocs> --policy <policyConfig> [--offline]`
|
||||
|
||||
## Flags (common)
|
||||
- `--offline`: use cached consensus snapshots; fail with exit code 5 if remote would be hit.
|
||||
- `--policy <path>`: apply trust/weighting config; aggregation-only outputs.
|
||||
- `--page-size`, `--page-token`: deterministic pagination.
|
||||
|
||||
## Inputs/outputs
|
||||
- Inputs: VEX consensus projection (VexLens); optional cached snapshots when offline.
|
||||
- Outputs: consensus states with `consensus_state`, `confidence`, `weights`, `issuers`, `rationale`; stable ordering.
|
||||
|
||||
## Determinism rules
|
||||
- Sort by `consensusId`; pagination tokens deterministic.
|
||||
- No verdict inference beyond upstream consensus projection; CLI stays aggregation-only.
|
||||
|
||||
## Offline/air-gap notes
|
||||
- Cached snapshots are required when `--offline`; otherwise exit code 5 with remediation message.
|
||||
- Trust roots for signature verification are loaded from `STELLA_TRUST_ROOTS` when verifying cached snapshots.
|
||||
Reference in New Issue
Block a user