From bb19bb9fe26ea229fb9d8beb680149558f0bb9f5 Mon Sep 17 00:00:00 2001 From: grm Date: Sat, 12 Sep 2026 11:57:18 +0300 Subject: Add AGENTS.md for AI coding sessions Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- AGENTS.md | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 AGENTS.md (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..a880214 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,124 @@ +# 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 (`/login`, +`/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) + +- **No JavaScript required.** Pages must work with JS disabled, on old + browsers and on phones. Forms only; destructive actions use a GET confirm + page followed by a POST. Tiny progressive enhancements are OK if the + page works without them (see `posts.html` filter `