bundle_export
Export a task passport as a redacted JSON bundle for sharing across repos, machines, or agents. Includes decisions, dead ends, source conclusions, and optional evidence, without altering pack state.
Instructions
Export one Task Passport with its decisions, dead ends, source conclusions, and optionally evidence to a redacted agentpack.task-bundle JSON file, for sharing tasks across repos, machines, or agents. Writes only the new bundle file at outputPath; pack state is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | Task Passport id to export. Defaults to the current task. | |
| sources | No | Repo-relative source paths whose Source Cache records to include. | |
| outputPath | Yes | Destination bundle file: must be a new repo-relative path outside .agentpack/ and .git/; existing files and symlink escapes are rejected. | |
| includeEvidence | No | Include referenced evidence file contents. Defaults to true. |