PURPOSE: This is the "living memory" of the project. AI agents MUST read this at the start of every session and update it after every significant change to maintain continuity.
- Phase: Infrastructure Hardening & AI Setup.
- Last Milestone: Completed "AI-Defensive" scaffolding (Hooks, Linters, Architecture checks).
- Next Milestone: Initialize core components in
src/backend(Haskell) andsrc/frontend(Elm).
- Hardening (Current): Finalizing the "Memory Bank" and long-term continuity protocols.
- Architecture: Enforcing pure domain kernels via
scripts/check_architecture.py. - Safety: Monitoring
docs/playbooks/hallucinations.mdfor tool-usage regressions.
- Decision: Adopted a root
pyproject.tomlfor strict typing in automation scripts. - Lesson: Standard git hooks path (
.git/hooks) is not committed; usingscripts/git-hooks+git config core.hooksPathis the only way to enforce AI discipline locally. - Lesson: AI context windows are fragile;
docs/AI_README.mdis the primary anchor for machine reasoning.
- Initialize Haskell project skeleton in
src/backend. - Initialize Elm Land project in
src/frontend. - Verify
make checkpropagates correctly to sub-modules.
- NO SEMI-PURE DOMAIN: Do not allow
IOorHttpto leak intosrc/Domainfiles. - STRICT COMMITS: Conventional commits only.
- NO PRINT: Use structured logging or tracers.