tarn_pack_context
Assemble a remediation bundle from prior test run artifacts, including failing entries with YAML snippets and request/response excerpts, with truncation for context-limited agents.
Instructions
Assemble a remediation bundle (NAZ-414) from a prior run's artifacts: failing entries enriched with YAML snippets, request/response excerpts, captures lineage, and rerun hints. Supports truncation budgets for context-limited agents. Equivalent to: tarn pack-context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Absolute path to the project root. Defaults to the workspace root captured during MCP `initialize`, or the server process's current directory. | |
| failed | No | Pack only failing entries. Defaults to true. | |
| files | No | Narrow entries to these files (path suffix match). | |
| format | No | Output shape: JSON bundle (default) or markdown. | |
| max_chars | No | Soft budget for the rendered output. Triggers structured truncation (see NAZ-414) when exceeded. | |
| run_id | No | Run identifier or alias. Defaults to the workspace-level `.tarn/` pointer. | |
| tests | No | Narrow entries to these test names (exact match). |