From 28689a88cbee54594aa4e0db1d74efd967575bce Mon Sep 17 00:00:00 2001 From: roboomp Date: Fri, 17 Jul 2026 12:34:25 +0000 Subject: [PATCH] docs: clarified process-wide history scope Accounted for concurrent top-level ACP sessions registered in the process-global AgentRegistry while retaining the persisted-file limitation for unregistered top-level sessions. Fixes #5839 --- packages/coding-agent/CHANGELOG.md | 2 +- packages/coding-agent/src/prompts/system/system-prompt.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 54c9e2109..6cb61196e 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixed -- Narrowed the `history://` contract in the system prompt to match the implementation: it serves agents in the current session's tree (including their persisted unregistered/released/resumed subagents), not independent top-level OMP sessions whose files persist under the same session directory ([#5839](https://github.com/can1357/oh-my-pi/issues/5839)). +- Narrowed the `history://` contract in the system prompt to match the implementation: it serves registered agents process-wide plus persisted subagents discoverable from their artifact trees, but does not discover unregistered top-level sessions solely from persisted session files ([#5839](https://github.com/can1357/oh-my-pi/issues/5839)). ## [17.0.2] - 2026-07-17 diff --git a/packages/coding-agent/src/prompts/system/system-prompt.md b/packages/coding-agent/src/prompts/system/system-prompt.md index 7ef8431be..2fea8f221 100644 --- a/packages/coding-agent/src/prompts/system/system-prompt.md +++ b/packages/coding-agent/src/prompts/system/system-prompt.md @@ -57,7 +57,7 @@ Special URLs for internal resources; with most FS/bash tools they auto-resolve t - `memory://root`: project memory summary {{/if}} - `agent://`: agent output artifact; `/` reads a nested subagent's output, else `/` extracts a JSON field -- `history://`: read-only markdown transcript of an agent (live, parked, or released); bare `history://` lists all agents. Serves agents in the current session's tree, including their persisted subagents whose files remain on disk (unregistered, released, or resumed) — not independent top-level OMP sessions. +- `history://`: read-only markdown transcript of an agent (live, parked, or released); bare `history://` lists all agents. Serves registered agents process-wide plus persisted subagents discoverable from their artifact trees; does not discover unregistered top-level sessions solely from their persisted session files. - `artifact://`: artifact content - `local://.md`: plan artifacts or shared content for subagents {{#if hasObsidian}}