From 43443f561ec79f7b4bf494c7e32f5762a074dc05 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Tue, 7 Jul 2026 22:43:31 -0700 Subject: [PATCH] Display Subagent Events Nucleic-Session: C0D404BC-7C32-4ECC-9F1E-3426BFE53298 Co-authored-by: Nucleic --- .../Views/Transcript/TranscriptProjection.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift index 6f52da4..6b41b81 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift @@ -347,6 +347,12 @@ enum TranscriptProjection { return change.toolCallID.flatMap { parentOf[$0] } case .assistantText(let chunk), .thinking(let chunk): return chunk.parentToolCallID + case .note(let note): + // A lock/nvrsion note tagged with the edit it brackets inherits that edit's subagent + // scope — like a `.toolResult`/`.fileChange` — so a subagent's lock-acquire or + // nvrsion-land note nests in its card instead of leaking to the main transcript. An + // untagged note (a turn-end release, a user git note) has no owner. + return note.toolCallID.flatMap { parentOf[$0] } default: return nil }