Short log of decisions and tradeoffs. Append newest entries at the top.
- License: MIT for maximum adoption; AGPL noted in SECURITY docs as alternative for forks that need copyleft.
- Layout:
src/patternloopsetuptools package; data under~/.patternlooporPATTERNLOOP_HOME. - LoopSpec: YAML on disk; compiler uses local Ollama (or mock) to draft turns from traces; user can edit before save.
- Memory: SQLite + JSON episodes for simplicity (Chroma optional later); no cloud vector DB in core.
- UI: Gradio bound to
127.0.0.1by default. - Packaging: bundled LoopSpecs ship as package data; list via
Traversable.iterdir(), copy one file at a time withas_file()(avoid returning a temp path that is deleted after the context manager exits). - CLI: Gradio imports only inside
patternloop uiso lightweight commands stay fast.