From d73b23dd7f1db21614fc2d7f70db32f03fe158d3 Mon Sep 17 00:00:00 2001 From: Amar Tinawi Date: Thu, 29 Oct 2026 21:30:15 +0400 Subject: [PATCH] docs: require one turn-owning process per runtime home for CLI turns --- docs-for-dev/AGENT_SETUP.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs-for-dev/AGENT_SETUP.md b/docs-for-dev/AGENT_SETUP.md index 00344ae2d..dfa764bdb 100644 --- a/docs-for-dev/AGENT_SETUP.md +++ b/docs-for-dev/AGENT_SETUP.md @@ -237,6 +237,14 @@ deeptutor run chat "Reply with a short greeting." --format json This also uses the configured model. Check for a successful response and turn completion, not merely a zero exit code or the first streamed event. +Keep one turn-owning process per runtime home. While a detached +`deeptutor start` instance is running, do not execute CLI turns +(`deeptutor run chat`, the REPL) against the same `DEEPTUTOR_HOME`: in the +default memory-coordinator mode the server's recovery scan cannot see the +CLI process's lease and fails the live turn as `worker_lost`, surfacing in +the CLI as `Turn event conflict` (#2168). Stop the app first with +`deeptutor stop`, or run this verification turn before starting the Web app. + Finish with the checkout/environment, runtime home, provider/model without credentials, passed checks, Web URL or CLI invocation, and any remaining user action. Include `deeptutor stop` with the same home for a detached app. If