From a943e87de8da073a4a5e9195617d3c0a7d95bb63 Mon Sep 17 00:00:00 2001 From: OmO Orchestrator Date: Fri, 20 Nov 2026 05:54:33 -0500 Subject: [PATCH] docs: correct stale 'by entry id' resolve comments to the stable id The referral and hazard resolve reconstructions now join on the intrinsic referralId/reportId, not the local Event Log id; the doc comments said otherwise. --- src/lib/tunnelsafety.ts | 2 +- src/miniapps/healthpost/healthpostEvents.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/tunnelsafety.ts b/src/lib/tunnelsafety.ts index 57f5a89..bef1927 100644 --- a/src/lib/tunnelsafety.ts +++ b/src/lib/tunnelsafety.ts @@ -179,7 +179,7 @@ export async function resolveHazard( /** * Replays the signed Event Log into the current set of hazard reports: * every `tunnelsafety.hazard.report` entry, each annotated with whether a - * later `tunnelsafety.hazard.resolve` entry (by this entry's id) has since + * later `tunnelsafety.hazard.resolve` entry (by the report's stable reportId) has since * closed it out. Returned in Lamport replay order. */ export function computeHazardReports( diff --git a/src/miniapps/healthpost/healthpostEvents.ts b/src/miniapps/healthpost/healthpostEvents.ts index b53c493..43167e9 100644 --- a/src/miniapps/healthpost/healthpostEvents.ts +++ b/src/miniapps/healthpost/healthpostEvents.ts @@ -210,7 +210,7 @@ export async function postReferral(triageResult: TriageResult): Promise