Files
2026-09-14 11:57:22 +10:00

1.1 KiB

Discovered Rules — Finalized

Hard constraints surfaced from the project description, the empirical research, and the interview. Promoted to memory/project.md at the affirmation gate.

Mandated

  • ALWAYS generate pure HTML5 + CSS with no build step and no external dependencies, so the result runs entirely from the local filesystem (never beyond localhost).
  • ALWAYS make the rendered page printable cleanly to A4 from the browser's print dialog.
  • ALWAYS fetch or read content only through user-granted means (native file picker / drag-and-drop) when the page runs from file:// — never rely on fetch() of sibling local files, because the opaque-origin policy blocks it in stock browsers (empirically verified: plain Chromium blocks fetch('article.txt') from a file:// page, while the native file picker works).
  • ALWAYS make the page work with zero network requests (no CDN fonts, no remote <script>/<style>), so it is fully functional offline from file://.

Forbidden

  • NEVER reference content, fonts, or assets by remote URL; everything ships with the page.