From d039a5d62a9ac6ababae70d9d96422ca59f2b2d4 Mon Sep 17 00:00:00 2001 From: Brett Parson Date: Fri, 21 Aug 2026 13:55:37 -0500 Subject: Scaffold miniroute routing/middleware kernel --- docs/adr/0001-kernel-not-framework.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/adr/0001-kernel-not-framework.md (limited to 'docs/adr/0001-kernel-not-framework.md') diff --git a/docs/adr/0001-kernel-not-framework.md b/docs/adr/0001-kernel-not-framework.md new file mode 100644 index 0000000..e77cc2d --- /dev/null +++ b/docs/adr/0001-kernel-not-framework.md @@ -0,0 +1,22 @@ +# ADR 0001: A Routing Kernel, Not a Framework + +- Status: Accepted +- Date: 2026-08-17 + +## Context + +The routing/middleware logic from brett-parson.com is being extracted into a +reusable package. The temptation is to grow it into a general-purpose web +framework. + +## Decision + +miniroute ships routing, matching, middleware composition, and controller +resolution only. It deliberately owns no HTTP object implementations, no +container, no templating, no database, no session, and no configuration. + +## Consequences + +- The package stays small enough to explain end-to-end. +- Consumers own their concrete Request/Response and dependency wiring. +- Reuse is broad because the kernel makes no assumptions about an app's stack. -- cgit v1.2.3