You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e14b44c
Browse filesBrowse the repository at this point in the historyBrowse files
hzq
committed
Coordinate worker attachment staging by manifest
Share preparation for matching inputs and keep the active manifest stable across invocation. Wait before changing attachment sets in the same session, and invalidate cached preparation when a write fails.
Copy file name to clipboardExpand all lines: docs/protocol.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -382,6 +382,8 @@ Portable tool and skill bindings belong to kernel agents. Native/external agents
382
382
383
383
Built-in `read_skill` exposes only files from the immutable selected bundle. Built-in file tools reject traversal/symlinks and operate in the session workspace. Inputs appear at `inputs/<file_id>/<filename>` and artifacts at `outputs/<filename>`.
384
384
385
+
Concurrent calls in a session can share preparation for the same attachment manifest. Staging a different manifest waits for the current users before replacing an output alias. The session directory and its paths do not change.
386
+
385
387
## Node wire protocol
386
388
387
389
Opening a WebSocket is not node registration. The gateway allows one unfinished handshake per node ID and 64 per gateway; established workers do not count. At capacity or during node hub shutdown, a valid node credential receives HTTP 503 and can retry with backoff. The gateway closes any handshake still unfinished after five seconds. It sends `welcome` before making the worker available for dispatch. Workers also time out waiting for `welcome` after five seconds and reconnect with backoff; HTTP 401/403 still stops reconnect attempts.
0 commit comments