From 90428a7017dece0ff67ebd2edb7b32d4ca29fc45 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 16 Apr 2026 22:38:36 +0200 Subject: [PATCH] 9p: add remove handler for tr/ transcripts Co-Authored-By: Claude Sonnet 4.6 --- internal/p9/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/p9/server.go b/internal/p9/server.go index 5e964c0..856f6b2 100644 --- a/internal/p9/server.go +++ b/internal/p9/server.go @@ -971,6 +971,8 @@ func (s *Server) remove(cs *connState, fc *plan9.Fcall) *plan9.Fcall { err = s.skillStore.Delete(pathBase(path)) case strings.HasPrefix(path, "/t/"): err = s.toolStore.Delete(pathBase(path)) + case strings.HasPrefix(path, "/tr/"): + err = s.transcriptStore.Delete(pathBase(path)) case strings.HasPrefix(path, "/b/") && path != "/b/new": // Synthetic batch files are no-ops so "rm -r b/{id}" can proceed to // remove the directory itself, which triggers job cancellation.