13. Give every response a stable Choice ID
A Choice ID identifies one response inside a Choice node. It is different from the dialogue ID and the node ID. Those three references together identify the response’s read history and runtime edits.
| Reference | Example | What it identifies |
|---|---|---|
| Dialogue ID | archive_chat | The whole conversation. |
| Node ID | topics | One Choice node in the graph. |
| Choice ID | ask_clock | One option inside topics. |
PCA supplies generated Choice IDs where needed. You may replace them with meaningful names such as ask_key and goodbye. Keep them unique within their menu and stable once saves or scripts refer to them.
Read history is attached to these IDs, not to the sentence shown on the button. Rewording “May I borrow the key?” does not have to erase its history. Changing its Choice ID intentionally gives it a different history identity.
The same Choice ID can exist in two different menu nodes without sharing history. For example, menu_a/help and menu_b/help remain separate response histories.
Do not use option position as a permanent identity. A timed preselected response uses an index, but runtime choice-editing actions use the stable Choice ID.
