diff options
| author | Brett Parson <brett@brett-parson.com> | 2026-08-21 13:55:37 -0500 |
|---|---|---|
| committer | Brett Parson <brett@brett-parson.com> | 2026-08-21 14:00:11 -0500 |
| commit | d039a5d62a9ac6ababae70d9d96422ca59f2b2d4 (patch) | |
| tree | f0db4750a571e8040a5da02cc7190079c0d62914 /docs/adr/0001-kernel-not-framework.md | |
| parent | 0de77a6334cee1f6e15f7e0fd35602514560be33 (diff) | |
| download | miniroute-d039a5d62a9ac6ababae70d9d96422ca59f2b2d4.tar.gz miniroute-d039a5d62a9ac6ababae70d9d96422ca59f2b2d4.zip | |
Scaffold miniroute routing/middleware kernel
Diffstat (limited to 'docs/adr/0001-kernel-not-framework.md')
| -rw-r--r-- | docs/adr/0001-kernel-not-framework.md | 22 |
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. |
