pack
Build a deterministic context pack for a repository path using a token budget and AST awareness, returning a hash-chained provenance manifest of what was read.
Instructions
Build a deterministic, token-budgeted, AST-aware context pack for a repository path or query and return it with a hash-chained provenance manifest of exactly what was read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | repository or file path | |
| query | No | optional BM25 relevance query | |
| budget | No | exact token budget | |
| format | No | output format (default text) | |
| redact | No | redact secrets (default true) | |
| tokenizer | No | tokenizer name (default heuristic) | |
| respect_gitignore | No |