template-catalog-uniqueness
| Field | Value |
|---|---|
| ID | template-catalog-uniqueness |
| Version | 1.0.0 |
| Mode | contract |
| Layer | Stripe |
| Category | contract |
| Severity | 🔴 blocking |
| SLA | 10,000 ms |
| Depends on | none |
| Source | apps/api/__gates__/template-catalog-uniqueness.gate.ts |
What it asserts
Every materialized MCTF template carries a unique template_id, and the directory name encodes a matching version.
Run it locally
bun run gates --gate=template-catalog-uniquenessSee also
contractmode- Stripe layer
- Allowlists — how to bound a known finding with an expiration
- Contributing — how to evolve this gate or write a new one
Generated by apps/design/scripts/generate-gate-pages.ts from the gate's source-of-truth metadata. Edit this page by editing the gate file's description / version / etc.
template-attachment
Every attachment_kind referenced in a flow DAG resolves to a parent template with that kind in its attachable_to list.
template-disclaimer-matrix
Every materialized template carries the disclaimer components required for its category. Blocking when enforce_disclaimer_matrix is set; warning otherwise.