Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs(run): document --no-exit-prompt in synopsis and config reference

AkitaOnRails2e898ad3af5e
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index a5451c11..bc892fdd 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -1171,6 +1171,14 @@ release_base_url = "" # override the GitHub releases base URL that
# For hermetic tests / mirrors, not day-to-day installs.
# Env: AI_MEMORY_RELEASE_BASE_URL.
+[run]
+require_server = false # when true, `ai-memory run` refuses to launch if the server
+ # cannot be reached (also `--require-server` /
+ # AI_MEMORY_RUN_REQUIRE_SERVER).
+exit_prompt = true # when false, skip the interactive switch/rerun menu after a
+ # successful session (also `--no-exit-prompt` /
+ # AI_MEMORY_RUN_EXIT_PROMPT).
+
[run.profiles.work.env] # env-only launch profile for `ai-memory run --profile
CLAUDE_CONFIG_DIR = "/home/me/.claude-work" # work <harness>` (#922): same reach as
# `--env` (child, native-session lookup, auto-wire),
diff --git a/docs/managed-workstreams.md b/docs/managed-workstreams.md
index 18fb3ce6..590a4ed2 100644
--- a/docs/managed-workstreams.md
+++ b/docs/managed-workstreams.md
@@ -187,9 +187,9 @@ was a session, and `--executable` was not used; utility commands, failed or
interrupted exits, and non-interactive launches do not prompt. A switch or
re-run does not replay the previous harness's native arguments, which may be
specific to that CLI; wrapper settings such as `--workspace`, `--project`,
-`--yolo` / `--true-yolo`, ai-jail controls, `--no-autowire`, `--env`, and
-`--env-file` remain in effect. The initial `--fresh` choice applies only to the
-first launch.
+`--yolo` / `--true-yolo`, ai-jail controls, `--no-autowire`, `--no-exit-prompt`,
+`--env`, and `--env-file` remain in effect. The initial `--fresh` choice applies
+only to the first launch.
To return to the shell without the menu, pass `--no-exit-prompt` before or
after the harness name:
@@ -235,7 +235,7 @@ available through `ai-memory workstream-search`.
```text
ai-memory run [--workspace NAME] [--project NAME]
[--workstream NAME | --new NAME] [--executable PATH]
- [--yolo] [--fresh] [--force-unlock] [--profile NAME]
+ [--yolo] [--fresh] [--force-unlock] [--no-exit-prompt] [--profile NAME]
[--env KEY=VALUE]... [--env-file PATH] [--require-server]
[claude|claude*|codex|opencode|opencode2|pi|crush|omp|kimi|command-code|kiro|grok|antigravity|copilot]
[native arguments...]