carlos / platform Public

Durability 3a follow-ups (deferred minors and P3s) open

On branch durability-3a-escrow

Follow-ups from durability 3a's reviews. None blocks the merge. The ledger is .superpowers/sdd/2026-10-30-durability-step3-escrow-fence-restore/progress.md in the durability-3a worktree.

Before host claims, moves phase 1 or relocation are unparked

  • The relocation pin still requires a raw host.env as evidence (internal/hostrelocate/pin.go:289, relocationPlatformItem), so it needs to require the sealed item instead. Until then, no host with files can pin.
  • Raw-name tombstones left by DropRawSecrets make the parked publishers refuse that host's lineage for good.
  • 85 host tests are still skipped whole by skipParkedSecretFlow. Un-skipping them needs a change to the shared harness.

Guard

  • The publication guard does not follow keys stored in allowed binding fields or returned by movesFilesSelect, and does not flag a manifest.json key built from a literal outside hostfiles.
  • Publisher.Refresh re-opens with an unchecked Open and is not inventoried. No parked path calls it today.
  • The activator's sealing allowlist is keyed by bare function names.
  • A hostfiles.Publisher embedded by value is not reported. Vet's copylocks check covers it.
  • The record-creator guard pins callers only to a fixed depth.

Behaviour and operators

  • A key change on a box with the trio present leaves a conflict marker, and its alert says the secrets "differ" rather than "the key changed". Putting the old key back does not clear the marker; the operator removes <data>/.escrow/<host>.conflict.
  • An instance.key the app writes reaches the escrow only on the next sweep, about 30 s later.
  • Hostname reuse inherits the predecessor's escrow, or refuses after a key change (Paul's 2026-11-01 ruling, #199). The recovery is in the spec.
  • When several boxes publish one non-HA host, the lease holder publishes first. There's no further work unless that changes.
  • TestPurgeRecoveryWritesNoRecord calls purgeHostLocked directly rather than going through a purge door.
  • The fleet-key sealed-values 409 doesn't mention that trashed apps count, as the instances 409 now does.

Rollout (Task 8 Step 6)

  • On the dev roll, check that an older (pre-3a) box restoring a sealed manifest defers rather than mints.
  • After the restore window, the operator migration (3b) removes the historical raw objects on dev's two born-HA hosts. #477 stays open until then.