Skip to navigation
Configure DocsFabModels and Routes

Draft a Composition Record in DocsFab

Dev
View as Markdown

Prepare a composition record from a measured route verdict. Drafting does not install or merge a registry record.

Prerequisites

Probe the exact model route and retain its request-policy verdict. Registry changes require their own authorized repository change.

Steps

Use the command and checks below.

Draft a Composition Record

Run the draft command with the measured verdict:

docsfab profile draft --route nvidia-inference-api \
--model MODEL_ID --verdict harness-compatible --json

Draft does not spend and does not write composition-registry.json. It prints a composition-shaped record plus reseal instructions. Paste the record in an authorized follow-up change, then reseal from packages/runtime:

node --import tsx scripts/reseal-composition-digests.mts
npm run check:composition-digests

That command runs scripts/reseal-composition-digests.mts from packages/runtime. The draft command never reseals the installed registry itself.

Authoritative Sources

The following sources define the behavior this page describes: