Component Generation Manifest
This document defines the normalized manifest contract used by TraderSpec synthesis generators.
Purposeβ
The manifest is the deterministic, machine-readable bridge between Spec Kit artifacts and generated source.
It enables:
- requirements-driven generation (not direct script-authored source dumps)
- stable semantic diffs between generator revisions
- explicit traceability from generated code to requirements, stories, acceptance criteria, and verification checks
Source Inputsβ
Manifest values are compiled from:
catalog/component-spec.csvspecs/001-baseline-uncontainerized-parity/system/requirements-traceability.csvspecs/001-baseline-uncontainerized-parity/components/<component-id>.mdspecs/001-baseline-uncontainerized-parity/contracts/**/openapi.yaml(when defined)
Output Locationβ
Compiled manifests are written to:
generated/manifests/<component-id>.manifest.json
Required Fieldsβ
schemaVersiongeneratedAtUtccomponentruntimecontractstraceabilityconstraints
Normalized Mapping Rulesβ
component.*is sourced fromcatalog/component-spec.csv.runtime.requiredEnvsplitsrequired_envby|.runtime.dependsOnsplitsdepends_onby|and removesnone.contracts.primaryis the mappedcontract_filewhen notnone.traceability.*is deduplicated from matrix rows matchingcomponent_id.constraints.preIngressCorsRequiredis true whenSYS-NFR-001maps to the component.
Schemaβ
The authoritative JSON Schema is:
specs/001-baseline-uncontainerized-parity/system/component-generation-manifest.schema.json