From b4743949e525f5e6a6dbce6509e221cac6d15db5 Mon Sep 17 00:00:00 2001 From: weichen Date: Tue, 13 Oct 2026 16:48:01 +0000 Subject: [PATCH] Keep U3 TypeScript evidence helpers local Why: Generated mirrors gained unused named exports and tripped the frontend knip ratchet. Evidence: Exact Dev combination failed at 53 unused exports over 52 baseline; Core Go tests passed after narrowing the TS export surface. Impact: Preserve WorkFindingCandidate.evidence shape while avoiding unused exported helper names. Refs: Dev task feature/fast-slow-u2-u3-plan; failed combo receipt 275bebe2 --- ts/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/types.ts b/ts/types.ts index cfb6024..2456b15 100644 --- a/ts/types.ts +++ b/ts/types.ts @@ -419,8 +419,8 @@ export interface TaskSnapshot { checkpointKeys?: Record; checkpointCount?: number; checkpointSeq?: number; } export interface TaskSourceQuote { sourceId: string; blockIndex: number; quote: string } -export interface WorkEvidencePremise { role: "total" | "phase" | "dependent" | "direct_relation"; sourceIndex: number; value?: number } -export interface WorkFindingEvidence { mode: "direct_relation" | "difference" | "unresolved_relation"; premises: WorkEvidencePremise[]; result?: number } +interface WorkEvidencePremise { role: "total" | "phase" | "dependent" | "direct_relation"; sourceIndex: number; value?: number } +interface WorkFindingEvidence { mode: "direct_relation" | "difference" | "unresolved_relation"; premises: WorkEvidencePremise[]; result?: number } export interface WorkFindingCandidate { findingKey: string; text: string; impact?: string; kind: string; assumptions?: string; corrects?: string; sources: TaskSourceQuote[]; evidence?: WorkFindingEvidence } export interface WorkCheckpointCandidate { checkpointId: string; phaseId: string; focus?: string; remaining?: string; nextStep?: string; findings: WorkFindingCandidate[] }