From 7b41195620eadd54d25fa98dcd36735cba906ba3 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 22 Apr 2026 09:47:24 -0500 Subject: feat(v2.7.0): add provenance, confidence, and reproducibility metadata * add result provenance across major sections * introduce confidence levels for ambiguous outputs * distinguish observed facts from inferred summaries * expand snapshot metadata for reproducibility * improve error classification and partial snapshot handling * include provenance and confidence in export * add local notes for tracked domains and history --- DomainDig/LookupRuntime.swift | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'DomainDig/LookupRuntime.swift') diff --git a/DomainDig/LookupRuntime.swift b/DomainDig/LookupRuntime.swift index 08ea122..5db3134 100644 --- a/DomainDig/LookupRuntime.swift +++ b/DomainDig/LookupRuntime.swift @@ -79,15 +79,9 @@ actor LookupRuntime { } func availability(domain: String) async -> CachedLookupResult { - await execute( - key: .domain(domain, .availability), - extract: { payload in - guard case let .availability(result) = payload else { return nil } - return result - }, - operation: { - .availability(await DomainAvailabilityService.check(domain: domain)) - } + CachedLookupResult( + value: await DomainAvailabilityService.check(domain: domain), + source: .live ) } -- cgit v1.2.3