Validation · Invoice layout
Structural and reference checks run before a version can be published.
Results
Not publishableBinding "bind.invoice.tax" references a connector that is not registered in this pack.
Component "totals.summary" has no fallback for empty state.
--brand-accent is defined but never used.
All 4 layout blocks resolve and nest correctly.
Automatic checks that run before a template can publish: broken structure, missing references, malformed content. The same idea as the AI test gate — problems get caught at publish time, not in front of a customer.
Behind this page/templates/:templateVersionId/validation · CanManageTemplates
Retrieve
Validation summary for the version; pack-level checks run viasp_ValidateTemplatePack.Save
Read-only view of results. Publish is gated on a clean run throughsp_PublishTemplateVersion.Success
- Errors block publication; warnings do not.
- Schema-v2 manifest identity, version, member count and fingerprints must match.
- Every member payload fingerprint verifies before publication or installation.
- Published versions are immutable and selected by exact ID.
CLI handoff
Implement this scaffold from the structured contract, then remove hard-coded preview rows. The source of truth is CLI Handoff and admin-cli-manifest.json.
Server-inject identity and scope values; never trust browser-supplied account, app, tenant, user, entitlement, price, or permission identifiers. Preserve the loading, empty, forbidden, failed, retrying, and completed states shown by the preview.