Commit Graph
1 Commits
Author SHA1 Message Date
obscuremindandClaude Opus 4.8 7583a5be79 fix(cluster): compare runtime in streamDiffer + document it in the DATA contract
Two gaps from adding the runtime directive to the signed stream record:
- ReplicaApply::streamDiffer() ignored `runtime`, so a stored replica whose
  directive is missing or stale (other parts matching) read as matching and
  the shadow drift check missed an incorrect serve-only LB directive. Add
  `runtime` to the compared parts (StreamDifferRuntimeTest).
- The published DATA shape (ReplicaSections docblock + ADR 0004) omitted
  `runtime`, so an agent built to the contract could ignore/reject it. Define
  `runtime {kind, source}` in both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EheMW763szkH4fnzzkDgT4
2026-10-17 11:07:09 +00:00