mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-20 09:09:35 +02:00
docs(codex): blocked dialogs read off the screen
Document what the two previous commits changed for users and for whoever adds the field to another CLI: - docs/cli-registry.md: the `blockedLine`/`blockedLines` fields, how codex's pattern was measured, and the three rules any declaring CLI keeps (end on chrome only the CLI draws, alert only; raise on one reading, clear on two; hooks win). - docs/architecture-invariants.md: a "Screen-read blocked dialogs (codex)" entry, plus the wait-signal, idle-detection, watching and Approvals Inbox entries it changes. - docs/api-reference.md, docs/extending-codeman.md and the wiki (Agent CLIs, Notifications and Approvals, Hooks, HTTP API, Driving Codeman From An Agent): `blocked` now fires for codex, `stop` still does not, codex approvals are alert-only cards answered in the terminal. - CLAUDE.md: `stop` and `blocked` are no longer one rule, the config-regex list gains `blockedLine`, and a short pointer that a codex dialog match is only ever an alert. - The codeman skill's signal table and verbs note, mirrored into plugins/codeman by scripts/sync-plugin.mjs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a35ddd82ba
commit
9b3030f9a1
14 files changed
+168
-54
No files matched your search
@@ -635,7 +635,7 @@ Three bounded long-polls. Shared semantics:
|
||||
| `idle` | output stabilized + prompt detected, heuristic, can flap mid-turn | every mode |
|
||||
| `working` | session started producing output | every mode |
|
||||
| `stop` | Claude Code `stop` hook, the definitive end-of-turn | `claude` only |
|
||||
| `blocked` | `permission_prompt` / `elicitation_dialog` hook, the worker needs an answer | `claude` only |
|
||||
| `blocked` | `permission_prompt` / `elicitation_dialog` hook, the worker needs an answer | `claude`; also `codex`, whose approval, question and trust dialogs Codeman reads off its screen (answer them in the terminal, never through the inbox) |
|
||||
| `exit` | PTY exited or session deleted | every mode |
|
||||
|
||||
⚠️ **`claude` mode is necessary for `stop`/`blocked`, not sufficient. The real
|
||||
|
||||
@@ -377,7 +377,9 @@ only when the workspace actually has them, see [§5.1](#51-where-to-spawn)) **an
|
||||
`deepseek`** — the one external CLI that reports its own lifecycle, so its `stop` is a
|
||||
real end-of-turn signal rather than a guess. On
|
||||
`shell`/`opencode`/`codex`/`gemini`/`antigravity`/`pi`/`grok`/`omp`, requesting them explicitly is a
|
||||
400, and lifecycle transitions there are coarse (a short shell command may emit **no**
|
||||
400 (except `blocked` on `codex`, which Codeman reads off its screen when an approval,
|
||||
question or trust dialog is up; a wait for it answers at once if one already is), and
|
||||
lifecycle transitions there are coarse (a short shell command may emit **no**
|
||||
`idle` transition at all, verified live), so synchronize those with markers.
|
||||
|
||||
⚠️ A dsh session can still refuse them for a per-SESSION reason: `statusReporting:
|
||||
|
||||
Reference in new issue
Block a user