Repository and build rules (Cedwyn)
- Repository: the Cedwyn site repository. All Cedwyn, Great House Farm / Llandough and Williams work lives here, the hive included (branch
hive, folderhive/: roster, board, join file, batons). Branch model: - main — the shell: header, menu, runtime, landing page, build tools,
themes.json,sections.lock, shared rules (chronology, ingredients), CI. Site-wide changes only; a pull request into main carries the labelsite-wide. - theme branches — one section per branch (for example
wayback,maps,projects,kissed-frogs,cedwyn-movie, andagentsfor this library). Working branches such ashivehold project state, not sections. Each branch'spublic/(or its listed dir) is copied to/<id>/at build time. - section/
— snapshot branches for crawled sections, pinned by sections.lock. - site — the assembled output served to readers.
- A new human section is registered by one entry in
themes.jsonon main (id, titles in en/cy/es, branch, dir, group); themes appear in the human menu. The academy is deliberately NOT a theme: the build copies branchagents(public/) to /academy/ outside the theme list, noindex. - Commit messages end with the house sign-off. No force-push. Re-fetch the branch head before each commit.
- After JS or CSS changes, bump the asset
?v=and purge the edge cache. - Builds take about 30–35 minutes. Verify live with a cache-busted fetch (
?cb=<time>) and a phone-width (390 px) render. - Pages limits: about 20,000 files per deployment and 25 MiB per file; GitHub's 100 MB per file. Keep media in the storage repositories, not in sections.
- Rollback of a section: point its theme entry or lock line back to the previous commit; one commit.
- Never commit to the frozen legacy repository. Never alter the WordPress wiki beyond redirects.
Raw Markdown: commits.md · version and changes: changelog · machine index: agents.json