test(protocol): tighten runtime envelope assertions

This commit is contained in:
cyq
2026-05-27 22:32:28 +08:00
parent d102cbd0f9
commit ac6db90333
3 changed files with 14 additions and 3 deletions
+3 -2
View File
@@ -314,8 +314,9 @@ Compatibility notes:
- `kind` mirrors `event` in the stable envelope for typed clients.
- `thread.started`, `turn.started`, and `turn.completed` are emitted as SSE event
names exactly as before.
- `created_at` is currently a duplicate of `timestamp` (`timestamp` is the existing
canonical field).
- `timestamp` remains the canonical event time for schema version 1. `created_at`
is an equivalent alias for clients that use `created_at` naming elsewhere; do
not require both fields to be present.
Common event names: `thread.started`, `thread.forked`, `turn.started`,
`turn.lifecycle`, `turn.steered`, `turn.interrupt_requested`,