From ad4cc7536f0d5d9c879bbd7538b4f2731b63dc51 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Mon, 16 Nov 2026 10:20:35 +0800 Subject: [PATCH] docs(errors): keep projectAnalysisError's doc on its declaration (#11660) --- src/domain/analysisErrorProjection.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/domain/analysisErrorProjection.ts b/src/domain/analysisErrorProjection.ts index dbfd07fe11..c893a3fa77 100644 --- a/src/domain/analysisErrorProjection.ts +++ b/src/domain/analysisErrorProjection.ts @@ -65,13 +65,6 @@ import { analysisErrorRefusal } from "./analysisErrorRefusal.js"; import { analysisRefusalDetails } from "./analysisRefusal.js"; import { isRecord } from "../kernel/isRecord.js"; -/** - * Project expected failures into exhaustive, secret-safe caller fields. The - * default describes a continuing caller, such as an MCP connection, and is - * also the adapter-independent form retained inside Evidence. An adapter that - * releases its provider session and runtime after this request, such as a - * one-shot CLI command, passes `"invocation"`. - */ /** * Inputs the recovery names, by contract field and operation name. Each * adapter renders them in its own spelling. @@ -87,6 +80,13 @@ const relatedInputDetails = ( : { related_operations: [...related.operations] }), }); +/** + * Project expected failures into exhaustive, secret-safe caller fields. The + * default describes a continuing caller, such as an MCP connection, and is + * also the adapter-independent form retained inside Evidence. An adapter that + * releases its provider session and runtime after this request, such as a + * one-shot CLI command, passes `"invocation"`. + */ export const projectAnalysisError = ( error: AnalysisError, callerLifetime: AnalysisCallerLifetime = "continuing",