carlos / platform Public

fix/dr1-unstamped-live-row

DR-1 (dev rehearsal 2026-11-07): a returning HA host could never wake on a box it had left.

A box keeps a host's live link after the host's row goes. When the host came back, its row was minted with no Version, the link already named the channel head, and adoptHost's up-to-date return never stamped the row. The rollout planner refuses every wake of a row with no installed build ("no build is installed for this instance yet"), so hapair-a1 answered 503 on sophie; sophie's g2-stream/batched/daily rows are in the same state.

Fix: the up-to-date branch stamps an unstamped row from its link when the link predates the row, names the row's own account/app build and resolves, and the staged manifest reads (stampLeftLink, under the release work). A link newer than the row is an install in progress and is left to it.

Tests: RED/GREEN in internal/release (MaterializeHost, Pass, in-progress install, another app's link) and a witness through host.coldWakeInstall, the edge's real cold-wake install. Census proposal dr1-left-link.

🤖 Generated with Claude Code

Commits 6
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity