fix(#1392): review-285 N1+N2 follow-up — env has no config authority in schema-check; verification throws fatal at install #1421

Merged
orch-01 merged 1 commits from fix/1403-n1n2-followup into next 2026-08-25 15:08:05 +00:00
1 Commits
Author SHA1 Message Date
ops-deploy-01 3e31935a28 fix(#1392 followup): review-285 N1+N2 — env has no config authority in schema-check; verification throws are fatal at install
ci/woodpecker/pr/ci Pipeline was successful
N1: resolveSchemaCheckConfigPath drops the MOSAIC_CONFIG env candidate entirely
(mirrors apps/gateway/src/env.ts's deliberate env-has-no-config-authority
stance; a stale env var could verify a database the daemon never reads).
verify.ts now passes undefined rather than the env var. New spec: a decoy
MOSAIC_CONFIG must never win over the daemon-written config.

N2: install treats a THROWN post-install verification as fatal (exit 1 with
remediation pointer) in addition to the existing result-object hard-fail —
an install must never report success over an unverified database, whichever
way the check failed.
2026-08-25 09:47:08 -05:00