diff --git a/CLAUDE.md b/CLAUDE.md index 84dc183..0f52e20 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -146,9 +146,8 @@ deploy/ systemd unit, nginx vhost, install/update scripts **`render()`, not `TemplateResponse`.** `web/templating.py:render()` injects `user`, `theme`, `layout`, `version` and `allow_signup`. Templates assume they exist. If you must call `templates.TemplateResponse` directly (the SSE path does, -because -there is no `Request`), pass `user` explicitly — `chat/_message.html` renders -both roles and the user branch dereferences it. +because there is no `Request`), pass `user` explicitly — `chat/_message.html` +renders both roles and the user branch dereferences it. **The message template is the state machine.** `chat/_message.html` renders an incomplete assistant message as a streaming shell carrying `sse-connect`, and a