Composition Trace

The composition trace captures how prompts were assembled: layer ordering, append vs replace behavior, and structured blocks for debugging. It appears in:

  • Skill version previewskillVersionSchema.preview.compositionTrace
  • Run contract tracerenderedPromptTrace / block data in buildRunContractTrace (runs.ts)

Use it when rendered output does not match expectations (wrong layer, missing variable substitution).

See also

Was this page helpful?