Prompt composition: what the model is told, and what keys the record

Prompt composition: what the model is told, and what keys the record A workflow diagram generated by Archify. 01 / Sources, by tier 02 / Layers, in a fixed order 03 / Composed 04 / Keyed Declared Composed Keyed Shipped · two-key .md bodies · Sources, by tier › Declared Shipped two-key .md bodies Standards package · tighten-only layers · Sources, by tier › Declared Standards package tighten-only layers lockstep.py · layers=, emphasis= · Sources, by tier › Declared lockstep.py layers=, emphasis= Guardrails · baseline first, verbatim · Layers, in a fixed order › Declared Guardrails baseline first, verbatim Body · one .md, plus emphasis · Layers, in a fixed order › Declared Body one .md, plus emphasis Skills, contexts · format, house context · Layers, in a fixed order › Composed Skills, contexts format, house context Context package · items with provenance · Composed › Composed Context package items with provenance System prompt · show-prompt renders it · Composed › Composed System prompt show-prompt renders it Cassette key · hash of the request · Composed › Keyed Cassette key hash of the request Frozen corpus · order and sha frozen · Keyed › Composed Frozen corpus order and sha frozen EvalSubject · composed sha, not version · Keyed › Keyed EvalSubject composed sha, not version baseline frozen plus() emphasis or subclass in that order the user turn edit = re-record report --by subject Legend Agent logic Policy Context / trace

Prose stays prose

  • • A body is a markdown file with name and description only
  • • Model and ceilings live in the module, never in a header

Identity is a hash

  • • Editing a prompt invalidates every cassette made against it
  • • A subject moves when the composed text moves, bumped or not