# AGENTS.md — notes for AI coding sessions **Keep this file up to date.** When you change conventions, routes, the data model, the dev workflow or anything else described here, update this file in the same commit. It is the first thing a future session reads. ## What this is Blogspace: a multi-tenant blog host. One Go binary + Postgres. The base domain serves the superadmin's own blog plus the management site (`/webadmin`, `/dashboard`, `/b//…`, `/admin/`); every other blog is served at `.BASE_DOMAIN`. See `README.md` for the user-facing description, config table and deployment notes. ## Hard constraints (from the product owner) - **Keep JavaScript light.** Pages must work on old PCs/browsers and on phones, so don't rely on JS for core functionality: server-rendered forms do the work, and JS is for small conveniences (auto-submit a filter, select-on-click, etc.). Plain inline scripts are fine; no frameworks, no build step, no heavy libraries. If a feature genuinely needs JS, keep it small and give it a sensible fallback where cheap (e.g. the `