1.2 KiB
1.2 KiB
Agent Rules for Yggdrasil Migration
- Commit Policy: Small conventional commits. One logical change per
commit, committed only once that step is verified and working. End every
commit message with a blank line followed by an
Assisted-by: Delta:zai-glm-5.3footer. - Layout: Sources live in
site/(calepin.toml+.typpages), generated output inpublic/(gitignored), pinned binaries intools/(gitignored), helper scripts inscripts/, and the old Docsify documentation stays untouched inlegacy_docs/. - Toolchain:
calepin(0.0.61) andtypst(0.15.1) are pinned inscripts/bootstrap.shand downloaded intotools/with checksum verification. The build must never depend on global installs. CI installs the same pinned versions by calling the same scripts. - Verification: Before committing, run a fresh cycle:
rm -rf tools, thenjust clean, thenjust build— the build must succeed with no calepin onPATH. Verify the served site (just preview): home 200, category page 200, sub-page 200, missing page shows the 404 page,sitemap.xmlpresent. After every test/clean cyclegit statusmust stay clean.