Canonical platform-spec frontmatter templates
Platform spec ADR
Canonical platform-spec frontmatter templates
Spec standingStandard
- No directly attached article pages for this node.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”Hand-written frontmatter drifted from platformSpecNodeSchema and layout scanners, causing PR failures late in CI.
Decision
Section titled “Decision”New nodes must use the canonical templates on the parent feature hub: specLevel discriminates domain, area, feature, or article; status is required on feature and article only; owner and submitter must include non-empty name and valid email; every domain/area/feature hub directory must ship layout.json.
Consequences
Section titled “Consequences”verify:platform-spec-frontmatter blocks invalid shapes before build.
Verification anchors
Section titled “Verification anchors”packages/trudoc/src/schema/content.ts; packages/trudoc/src/verify/platform-spec-frontmatter.ts.