aboutsummaryrefslogtreecommitdiff
path: root/docs/adr/0001-kernel-not-framework.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/adr/0001-kernel-not-framework.md')
-rw-r--r--docs/adr/0001-kernel-not-framework.md22
1 files changed, 22 insertions, 0 deletions
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.