Files
Michał Pierzchała 5fef822379 fix(daemon): let an installed version stand as its whole code identity
Two installs of one published version signed their identical bytes
differently, because the fingerprint is size:mtime and an installer stamps a
fresh mtime on every file. The second client therefore read "code-signature
mismatch" and replaced a daemon that already ran exactly its code, dropping
the live session on it (#2458).

An installed tree's version already fixes its bytes, so it now answers with
no fingerprint and the version alone decides reuse. A source checkout, where
code does move under an unchanged version, keeps the check. The predicate
that tells the two trees apart moves beside the project-root walk it shares,
and the takeover ladder moves beside the answer it consumes so the order
lives in one place.

The packaging gate proves the premise against a clean install: the published
tree ships no src/daemon.ts.

Closes #2458
2026-09-13 20:32:49 +02:00
..