usage: pactkit query [-h] (--callers FUNC | --callees FUNC | --chain FUNC |
                     --explore QUERY | --impact SYMBOL | --context TASK |
                     --node SYMBOL | --search NAME | --files | --contracts)
                     [--down] [--depth {1,2,3,4,5,6}] [--limit LIMIT]
                     [--max-files MAX_FILES] [--max-nodes MAX_NODES]
                     [--kind {,function,class,method,variable,import,file}]
                     [--no-code] [--symbols-only] [--db PATH] [--json]
                     [--explain]

options:
  -h, --help            show this help message and exit
  --callers FUNC        Fan-in: list all callers of FUNC
  --callees FUNC        Fan-out: list all callees of FUNC
  --chain FUNC          Transitive chain for FUNC
  --explore QUERY       Explore relevant symbols and paths
  --impact SYMBOL       Analyze affected code
  --context TASK        Task-scoped context: relevant symbols, relationships
                        and code blocks
  --node SYMBOL         One symbol's source + caller/callee trail
  --search NAME         Search symbols by name
  --files               Indexed file structure
  --contracts           Contract verdicts — gated on the four read surfaces
                        being closed
  --down                With --chain: downstream callees (default: upstream
                        callers)
  --depth {1,2,3,4,5,6}
                        Traversal depth for --impact and --chain (1-6; default
                        5)
  --limit LIMIT         Max rows for --callers/--callees/--chain/--search
                        (1-1000; default 200)
  --max-files MAX_FILES
                        With --explore: cap the number of files whose source
                        is included
  --max-nodes MAX_NODES
                        With --context: cap the number of symbols included
                        (default 30)
  --kind {,function,class,method,variable,import,file}
                        With --search: filter by node kind
  --no-code             With --context: omit code blocks (structure only)
  --symbols-only        With --node: file mode symbol map + dependents only
  --db PATH             Override default .codegraph/codegraph.db path
  --json                Structured result
  --explain             Show provider decision
