From 605dbe1a9a85a7a7471b47b8ccd961442885c403 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Tue, 20 Oct 2026 12:30:07 +0300 Subject: [PATCH] docs(server): reattach recordToolCallAt doc comment Co-Authored-By: Claude Sonnet 5.5 --- internal/server/mcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/server/mcp.go b/internal/server/mcp.go index fc6264219..b60a7d203 100644 --- a/internal/server/mcp.go +++ b/internal/server/mcp.go @@ -4140,8 +4140,6 @@ func (p *MCPProxyServer) toolCallIncarnation(serverName string) int64 { return 0 } -// recordToolCallAt records a call's history only while its server still has -// the incarnation the call started on (Spec 116 FR-014c). // recordOutputBlocked is the bookkeeping a dispatch owes a call whose result // an output policy (Spec 054 block mode) refused to hand over: the upstream // ran, so the tool-call history gets the attempt, with the block message in @@ -4160,6 +4158,8 @@ func (p *MCPProxyServer) recordOutputBlocked(ctx context.Context, rec *storage.T return msg } +// recordToolCallAt records a call's history only while its server still has +// the incarnation the call started on (Spec 116 FR-014c). func (p *MCPProxyServer) recordToolCallAt(rec *storage.ToolCallRecord, inc int64) error { written, err := p.storage.RecordToolCallIfIncarnation(rec, inc) if err == nil && !written {