mirror of
https://github.com/bitbaum/sites.git
synced 2026-12-03 21:36:58 +01:00
The ask route refused any name classifyHost calls invalid, which includes every <tenant>.hirnli.orangecat.ch (two labels under the base) - so pointing Caddy's one ask at the engine would have stopped hirnli's certificates (the install script's parity check would have refused the switch instead). And a database error (tables not migrated, an outage) threw before the fallback was asked. The decision is now mayIssue() in src/lib/ask.ts, tested without a database. scripts/smoke.mjs checks a running engine: health, the published site by its free address and own domain, the preview (noindex), names nobody holds, the ask, and a form refused for a missing field. Run locally against Loki's 0140_sites.sql with a SELECT-only role: all checks pass. Claude-Session: https://claude.ai/code/session_019MDtmugQS9ffkEryKtQb5c Co-authored-by: Claude <noreply@anthropic.com>