@cello-protocol/daemon 0.0.184 → 0.0.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9162,7 +9162,22 @@ export class SessionNodeManager {
9162
9162
  "because sealing on a record the counterparty cannot match produces a receipt only one " +
9163
9163
  "side can verify.",
9164
9164
  });
9165
- return { placed: true, leafIndex };
9165
+ /**
9166
+ * ─── `016-RELAYLOSS`: CARRIED TO THE CALLER, because the log is not a consumer ────────────
9167
+ *
9168
+ * Measured with a real relay black-holed mid-conversation: the send stalls for the submit
9169
+ * timeout, then returns `{ok: true, sequence_number: N, delivered: true}` — BYTE-IDENTICAL to
9170
+ * the witnessed send that preceded it. The error above is correct, complete, and read by
9171
+ * nobody the operator can ask.
9172
+ *
9173
+ * Its two siblings twenty lines below already do this: `diverged` and the held case both
9174
+ * refuse to return an ordinary success, on the stated grounds that doing so "reports a
9175
+ * healthy send on a conversation that has silently lost the one thing the protocol exists to
9176
+ * produce." This branch is where that loss OCCURS — `position_behind_frontier`'s own comment
9177
+ * says the seal "was already lost at the unwitnessed append, not here" — so it is the branch
9178
+ * that most needed to say so, and it was the one that said nothing.
9179
+ */
9180
+ return { placed: true, leafIndex, unwitnessed: true };
9166
9181
  }
9167
9182
  if (assignedSeq === nextExpected) {
9168
9183
  const { leafIndex } = this.appendSessionLeaf(agentName, sessionId, kind, contentHashHex, correlationId);