xworkmate-app/docs
Haitao Pan ef849d7317 fix(prompt): simplify gateway workspace context to avoid conflicting paths (S5)
Every gateway turn's prompt prefix injected three near-duplicate absolute paths:
currentTaskWorkspace + localWorkspace + remoteWorkspaceHint. localWorkspace is the
App's LOCAL thread dir (~/.xworkmate/threads/...) which the gateway agent cannot
access, and remoteWorkspaceHint duplicates currentTaskWorkspace. The conflicting
paths leave the agent unsure where to work and can block conversation continuation.

For gateway turns the prompt now carries only currentTaskWorkspace (the plugin owns
the artifact scope); localWorkspace is kept only for non-gateway (local agent runs
there); remoteWorkspaceHint is dropped when equal to currentTaskWorkspace. sessionKey
is kept (short, not a path). UI is unaffected (chat bubble shows the raw user message;
the prompt-debug parser only special-cases Execution context / Preferred skills /
Attached files). Tests updated; assistant_execution_target_test green (74).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:15:27 +08:00
..
ai-context fix: align OpenClaw task key flow 2026-06-06 13:56:03 +08:00
architecture docs(gateway): map durable agent terminal recovery 2026-06-27 12:03:08 +08:00
cases fix(prompt): simplify gateway workspace context to avoid conflicting paths (S5) 2026-06-27 12:15:27 +08:00
codex-integration chore: retire rust ffi scaffold 2026-06-06 12:00:13 +08:00
compliance/dsa-trader-identity chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
feature Fix gateway routing when provider catalog is empty 2026-04-16 13:54:33 +08:00
howto Refactor bridge runtime routing 2026-04-21 16:28:26 +08:00
plans fix(gateway): harden OpenClaw polling and acceptance notes 2026-06-27 11:27:14 +08:00
quality docs: consolidate core integration cases 2026-04-05 18:24:10 +08:00
releases Release v1.1.3 2026-05-27 15:10:07 +08:00
reports chore: retire rust ffi scaffold 2026-06-06 12:00:13 +08:00
runbooks Remove managed local bridge mode 2026-04-12 22:09:20 +08:00
security Remove managed local bridge mode 2026-04-12 22:09:20 +08:00
testing test,docs: fix all stale references to deleted multi-agent subsystem 2026-06-04 06:31:45 +00:00
README_TESTING.md Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
xworkmate-app-core-functional-test-plan-v1.md Remove OpenClaw direct ACP route 2026-05-26 11:06:22 +08:00