swarmvault query

Query the compiled wiki with a natural language question.

Usage

swarmvault query <question> [--save]

Arguments

  • <question> — The question to ask

Options

  • --save — Persist the answer as a wiki output page in wiki/outputs/

Examples

swarmvault query "What are the main concepts?"
swarmvault query "Summarize the relationship between X and Y" --save

How It Works

  1. Searches the full-text index for relevant wiki pages
  2. Reads swarmvault.schema.md so the answer follows the vault's own structure and grounding rules
  3. Uses the configured queryProvider to generate an answer with context
  4. Prints the answer to stdout
  5. If --save is set, writes the answer to wiki/outputs/

Saved output pages also record a schema_hash.