wyrm_context_build
Category
Memory Artifacts
Use to build a compact context brief for the current task under a token budget - relevant patterns, lessons, and truths in one formatted block; max_tokens elides low-score items to recallable stubs.
Signature
| Argument | Type | Required | Description |
|---|---|---|---|
projectPath | string | ✓ | |
task | string | ✓ | The current task |
maxItems | number | Default 10, max 20 | |
kinds | string[] | Artifact kinds (see wyrm_recall) | |
minConfidence | number | Default 0.3 | |
max_tokens | number | Token budget; low-score items elide to stubs | |
session_id | number | Already-seen dedup | |
strict_budget | boolean | Also elide truths over budget |
Hand-written prose for this tool will appear here. Edit between the markers above and below; the rest of this page regenerates on every docs build.