# Architecture Documentation Index This directory describes the **current** design of StarPunk (v2.14.0). Per [../DOCUMENTATION.md](../DOCUMENTATION.md) it is updated at the end of each release. Decisions and their history are in [../decisions/](../decisions/); per-release designs and reports are in [../design/](../design/). The original v0.x technology choices are kept in [../design/v0.x/technology-stack-legacy.md](../design/v0.x/technology-stack-legacy.md). ## Documents | Document | Description | |----------|-------------| | [overview.md](overview.md) | System overview: purpose, request flow, modules and routes, background workers, storage, auth model, URL surface, caching, security posture | | [technology-stack.md](technology-stack.md) | Current runtime, Python dependencies, standards implemented, testing and CI | | [database.md](database.md) | SQLite schema after migrations 001–022, migration runner and its lock, connection pool | | [deployment.md](deployment.md) | Container image stages, CI workflow, release process, `/data` layout, reverse proxy, all environment variables | | [simplified-auth-architecture.md](simplified-auth-architecture.md) | Admin login via OpenID Connect and the built-in IndieAuth server that issues Micropub tokens (ADR-064) | | [indieweb-protocols.md](indieweb-protocols.md) | How Micropub, IndieAuth, Webmention, microformats2, WebSub and the feeds are implemented (including backfeed responses, web actions and notifications), with compliance status and known gaps | | [mcp.md](mcp.md) | The MCP server for AI clients: sidecar, authorization flow, tools (ADR-075) | | [syndication-architecture.md](syndication-architecture.md) | Crossposting (POSSE) to GoToSocial, Bluesky and Threads: syndications table, worker, reconcile rules, backfeed of responses (ADR-073) | ## Where to start - **New to the code**: overview.md, then technology-stack.md. - **Changing the schema**: database.md (migrations must be safe inside one transaction). - **Releasing or operating the site**: deployment.md. - **Working on auth, Micropub, Webmention or WebSub**: simplified-auth-architecture.md and indieweb-protocols.md, plus the ADRs they link to. ## Related documentation - [../decisions/](../decisions/): Architectural Decision Records (ADRs) - [../design/](../design/): designs, questions and reports per version - [../standards/](../standards/): coding, testing and versioning standards - [../projectplan/](../projectplan/): backlog and release plans --- **Last Updated**: 2026-11-10 (v2.14.0)