diff --git a/chat-rearchitecture.md b/chat-rearchitecture.md new file mode 100644 index 0000000..882beb2 --- /dev/null +++ b/chat-rearchitecture.md @@ -0,0 +1,422 @@ +# Chat Rearchitecture — "AIM 2005" edition + +> Living design doc **and** build log. Section 1–8 is the plan; Section 10 is the +> running notes I update as I build. Keep it honest: record what actually +> happened, not what was supposed to. + +--- + +## 0. Prime directive (read this first) + +**We are building fun interfaces at the expense of security and safety.** This is +a hypermedia playground, not a hardened product. Concretely: + +- **Messages may contain arbitrary HTML/JS and we render it unescaped, forever.** + `<%~ it.content %>` (Eta raw) stays. A message can `