Factual session notices
An operator can queue a factual update for an existing Claude or Codex container session, such as confirmation that an already-granted connection is working. This does not approve a request, change a grant, or write an authorization document.
Discover POST /v1/sessions/:id/notices through the operator/MCP operation catalog.
The body contains noticeId (a UUID), the current providerSessionId, generation,
and a plain message of at most 2,000 characters / 4 KB. Terminal control
characters and multiline input are rejected. The caller must own the session or
use the canonical recovery operator. The target must have a fresh observed
container/process identity and an execution host advertising session-notice-v1.
Other agent clients and Host-mode sessions return an explicit unsupported error.
GET /v1/sessions/:id/notices/:noticeId returns metadata only:
| State | Meaning |
|---|---|
queued |
Durable, waiting for safe native input, an empty composer or the shared input lock |
submitted |
Enter was attempted; the exact native submission has not yet been acknowledged |
confirmed |
The official root prompt hook or exact canonical native user message acknowledged the notice digest and process |
failed |
Delivery was cancelled by a changed identity/owner or failed safely |
Delivery runs on the execution host with clients closed. Working turns,
compaction, user questions, attached terminals, stale lifecycle observations and
drafts defer it. The sender uses the existing input lock, bracketed paste,
separate Enter and generation/process/native conversation fences. It never
interrupts work, clears a draft, or restarts a process. A notice with uncertain
submission is not pasted or submitted again; poll its existing ID instead.
The canonical native history reader also recognizes a delayed acknowledgement
after the first timeout, without generating another input. An idle hook older
than 90 seconds is insufficient by itself: metadata reports fresh-idle and the
notice waits for another genuine, verified completed turn. No paid status ping
is sent to force that opportunity, so a long-idle session can remain queued.
Reusing a notice UUID with the same target/text reads its durable receipt. A changed message or native generation under that UUID is rejected. Confirmation proves receipt of the update, not completion of any subsequent agent work. Audit events contain the notice UUID, session ID and message hash, not the message body, terminal output, credentials or grant material. Delivery text is held in the private durable command until completion; do not put secrets in it.