CLICommands
consensus
snug consensus <COMMAND>Consensus-based truth registry with reputation-weighted BFT voting.
Subcommands
| Command | What it does |
|---|---|
propose-fact | Propose a new fact for consensus validation |
get-fact | Get details for a fact |
list-facts | List facts under consensus |
register-validator | Register the caller as a validator |
list-validators | List validators and their reputation |
get-validator | Get a validator by ID |
attest | Submit an attestation for or against a fact |
status | Get the current consensus status for a fact |
challenge | Challenge an existing consensus determination |
resolve-challenge | Resolve an open challenge (admin review) |
stream | Stream consensus events for a topic over a WebSocket |
Run snug consensus <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug consensus propose-fact --statement "Earthquake magnitude 7.2 in Tokyo" --category news_event --min-validators 50 --confidence-threshold 0.67
snug consensus get-fact --fact-id <uuid>
snug consensus list-facts --page-size 10 --filter category:eq:news_event
snug consensus register-validator --country Japan --continent Asia --stake 100
snug consensus list-validators --min-reputation 0.8 --country Japan
snug consensus get-validator --validator-id user123
snug consensus attest --fact-id <uuid> --vote confirm --confidence 0.9 --country Japan --continent Asia
snug consensus status --fact-id <uuid>
snug consensus challenge --fact-id <uuid> --reason new_evidence --stake 500
snug consensus resolve-challenge --challenge-id <uuid> --decision uphold --notes "new evidence is credible"
snug consensus stream --topic <fact-uuid>Next
- consensus guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.