Add Middleware API; untrack Main.java and local artifacts

- Add Middleware.java: @FunctionalInterface with Middleware.of() chain
  composition and andThen() helper; zero allocations on hot-path
- Remove flash/Main.java from versioning (scratch/test entrypoint)
- Update .gitignore: exclude flash-bench/, nuxt-shadcn-dashboard/,
  /dev/, /docs/, Main.java, *.text — all root-level local artifacts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Relism
2026-03-19 22:43:13 +01:00
co-authored by Claude Sonnet 4.6
parent 5f0681a922
commit 7c1edffd6e
3 changed files with 92 additions and 142 deletions
+10 -1
View File
@@ -38,4 +38,13 @@ build/
### Mac OS ###
.DS_Store
CLAUDE.md
CLAUDE.md
### Local / scratch ###
flash/src/main/java/dev/relism/Main.java
flash-bench/
nuxt-shadcn-dashboard/
/dev/
/docs/
jmh-result.text
*.text