From bfa728f7e536aa1b90d1aac6592f1dd80eb68752 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 7 Jun 2026 16:33:49 +0900 Subject: [PATCH] ticket: add pod notification guidance task --- .../artifacts/.gitkeep | 0 .../item.md | 52 +++++++++++++++++++ .../thread.md | 7 +++ 3 files changed, 59 insertions(+) create mode 100644 .yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/artifacts/.gitkeep create mode 100644 .yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/item.md create mode 100644 .yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/thread.md diff --git a/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/artifacts/.gitkeep b/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/artifacts/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/item.md b/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/item.md new file mode 100644 index 00000000..9ee79274 --- /dev/null +++ b/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/item.md @@ -0,0 +1,52 @@ +--- +id: 20260607-073313-pod-notification-injection-guidance +slug: pod-notification-injection-guidance +title: Improve Pod notification injection guidance +status: open +kind: task +priority: P2 +labels: [pod, notification, prompt, orchestration, ux] +workflow_state: intake +created_at: 2026-06-07T07:33:13Z +updated_at: 2026-06-07T07:33:13Z +assignee: null +legacy_ticket: null +--- + +## Background + +During long orchestration sessions, spawned Pod completion notifications can arrive as system-injected messages. Although the notification says it is not a blocking request, the assistant may still respond with conversational phrasing that appears to answer the notification or stale user context, rather than clearly reporting the notification-handling result. + +This is especially noticeable in long contexts where multiple similar ticket/worktree/Pod reports are present. The issue appears more like notification framing/turn-target ambiguity than a direct task failure. + +## Goal + +Improve the system-injected Pod notification wording so the assistant is guided to handle notifications as background events and report concrete handling results, not respond as if the notification were a user message. + +## Requirements + +- Review current Pod notification injection text for spawned Pod finished/shutdown events. +- Adjust wording to more strongly distinguish notifications from user requests. +- Add guidance for the assistant's next response after handling a notification, e.g.: + - do not answer the notification as if it were a user message; + - if you choose to handle it now, read the Pod output and report the action taken; + - summarize which Pod was handled, what changed, and what remains pending; + - otherwise continue the current user task and handle the notification later. +- Keep notification text concise enough not to bloat context excessively. +- Preserve the existing policy that notifications are not blocking and should not force polling/wait loops. +- Ensure wording does not authorize extra workflow actions, merges, ticket closes, or cleanup solely because a notification arrived. +- Add/update tests or prompt snapshot tests for notification text if such tests exist. + +## Non-goals + +- Redesigning the Pod event protocol. +- Implementing typed hidden event channels. +- Solving all long-context degradation issues. +- Changing tool behavior or automatic notification handling policy. + +## Acceptance criteria + +- Pod notification injection text clearly frames notifications as background events, not user turns. +- The text gives concrete response-shaping guidance for notification-handling reports. +- Existing orchestration policy remains: verify output/evidence before treating child work complete, and do not start/merge/close solely from a notification. +- Tests/snapshots are updated where applicable. diff --git a/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/thread.md b/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/thread.md new file mode 100644 index 00000000..cadeefb7 --- /dev/null +++ b/.yoi/tickets/open/20260607-073313-pod-notification-injection-guidance/thread.md @@ -0,0 +1,7 @@ + + +## Created + +Created by LocalTicketBackend create. + +---