Files
coder/coderd
Michael Suchacz 3ce35cdfeb docs(coderd/x/chatd): document the /clear ClearContext transition and endpoint (#28710)
> [!NOTE]
> Xum acted on Mike's behalf in this pull request.
<!-- xum-attribution: model=claude-fable-5 thinking=high -->

Requested follow-up to #24745, which intentionally left `TODO(PR
author)` placeholders in `coderd/x/chatd/ARCHITECTURE.md`. Replaces them
with the actual documentation: the `ClearContext` entry in the HTTP
transition list, the `W --> W` / `E0 --> W` edges in the execution state
diagram, and the `POST /api/experimental/chats/{chat}/clear` endpoint
section.

Documentation only. Every claim was verified against the merged
implementation (`chatstate/transition.go`, `chatstate/transitions.go`,
`chatd.go`, `message_conversion.go`, `exp_chats.go`).
2026-08-27 14:21:13 +02:00
..