Files
Paul HittandClaude Opus 4.7 609e16724f feat: docs full-text search + docker-compose self-host
Ships two more items from the DX review TODOs:

- E: docs full-text search. New service nox-docs-index.js walks nox/docs/,
  splits each .md by H1/H2/H3 (214 passages today), and builds a Minisearch
  index lazily on the first hit. The new GET /api/nox/docs-search?q=...
  endpoint returns title/path/anchor/snippet records. /nox/docs gains a
  search box with keyboard navigation (/ to focus, arrows + Enter to jump,
  Esc to close). Clicking a result opens the doc and pulses the matched
  heading. AND query first for precision; OR fallback when AND is empty.
- F: Docker self-host stack. Multi-stage Dockerfile (Node 22 alpine, runs
  as non-root, tini for PID 1), docker-compose.yml with mysql:8.4 +
  healthcheck + persistent volume, docker/initdb/ script that provisions
  the optional SpaceDB schema and grants from the configured user, and
  .env.example. "docker compose up -d" boots the whole stack; the README
  has the seed-once command.

Tests: 10/10 negative parser cases, 7/7 v0.4 runtime cases still green.
docker compose config validates clean.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 16:10:11 -04:00
..