B Version 1
repo: ~/Projects/B_Version_1 · 5 commits · 0 in last 24h, 0 in last 7d ·
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
981b77e · 2026-05-19 · server: 404-guard editor/snapshot paths before express.static
Adds a tiny middleware just upstream of express.static('web-interface')
that hard-404s any request whose path matches *.bak / *.bak.* /
*.pre-* / *.swp / *.swo / trailing-tilde. Even if a future snapshot
file slips into the served directory, it cannot leak. Matches the
fleet-wide rule from the refactor sweep.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6c73f87 · 2026-05-19 · gitignore: exclude .bak/.pre-/swap snapshot files
Codifies the fleet-wide standing rule from the refactor sweep — editor
snapshot files (*.bak, *.bak.*, *.pre-*, *~, .*.swp) must never land in
git. No such files exist in this tree today; this is the preventive
gate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
File tree
28 files tracked. Click any to browse the source at HEAD.
rendered in 0ms