You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
templates/base/ originally held reusable abstractions. It now groups unrelated domains, while backend and frontend templates also act as abstractions. The folder no longer explains ownership clearly.
Proposed change
Promote the six existing concern directories and retain the other layers:
Folders identify concerns. Manifest dependencies determine inclusion; the explicit core: list determines the always-included tier. Preserve existing template and section IDs, including base-*, during the path migration.
This change improves ownership and navigation. Reducing loaded context requires the separate dependency/delivery work.
Move the six concern directories out of base/ without changing IDs.
Update manifest paths, dependency headers, tooling/test assumptions, documentation, and example references; regenerate derived artifacts.
Account for every tracked old-path reference, distinguishing active references from intentional history.
Verify the same ordered template IDs resolve for every stack and opt-in root before/after. Keep semantic dependency changes separate.
Pass existing smoke, synchronization, generated-chain, redundancy, and applicable conformance checks.
Publish the consumer path mapping and a v3.0 changelog entry, covering vendored paths and reference/hybrid files. Explain how consumers remain on v2 until migrated.
Problem
templates/base/originally held reusable abstractions. It now groups unrelated domains, while backend and frontend templates also act as abstractions. The folder no longer explains ownership clearly.Proposed change
Promote the six existing concern directories and retain the other layers:
Folders identify concerns. Manifest dependencies determine inclusion; the explicit
core:list determines the always-included tier. Preserve existing template and section IDs, includingbase-*, during the path migration.This change improves ownership and navigation. Reducing loaded context requires the separate dependency/delivery work.
Acceptance criteria
base/without changing IDs.Related work
frontend-contentlayer fromfrontend-static-site#492 and Decide whether server-side templating belongs in the backend or frontend layer #562 — content and server-side templating boundaries.