Skip to content

Prompt Bundle Formatter

The bundle target compiles the @prompts entries of a program to portable JSON bundles. Each bundle holds the messages, inputs, output contract, model, governance and provenance of one prompt, and carries a content hash. It is not a coding agent target. It is never part of an “all targets” default, so add it to targets to use it. It writes nothing for a program without @prompts entries and needs syntax 1.6.0.

Enable the Target

targets:
- bundle

Output Files

PathPurpose
prompts/index.jsonIndex of the bundles, sorted by id (primary file)
prompts/<key>.jsonOne content-hashed bundle per prompt

A target output moves the primary file, and the other files sit next to it. The target owns that directory.

Output Versions

VersionOutput
v1 (default)One JSON bundle per prompt plus prompts/index.json

See Also