From ebaafd8cfcd250dd760386815d2dbc739aac67b6 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Fri, 13 Nov 2026 12:03:00 -0800 Subject: [PATCH] Agent protocol spec: correct the exit-poll budget, document nested upload names Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-11-13-triple-c-agent-protocol.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/superpowers/specs/2026-11-13-triple-c-agent-protocol.md b/docs/superpowers/specs/2026-11-13-triple-c-agent-protocol.md index b3e0e57..f09a378 100644 --- a/docs/superpowers/specs/2026-11-13-triple-c-agent-protocol.md +++ b/docs/superpowers/specs/2026-11-13-triple-c-agent-protocol.md @@ -130,10 +130,10 @@ tunnel. This is used by idle auto-stop later. | `exec_oneshot*` (all variants) | `POST /v1/exec`, with `limit` = the variant's limit (`MAX_ONESHOT_OUTPUT` or explicit) | | `exec_detached` | `POST /v1/exec/detached` | | `attach` / `attach_exec` | `GET /v1/attach`; `input` is an `AsyncWrite` whose shutdown sends `close_stdin` | -| `wait_exec_exit` | poll `GET /v1/exec/{id}` (same budget as the Docker version: 200 × 50 ms) | +| `wait_exec_exit` | poll `GET /v1/exec/{id}` (same budget as the Docker version: 200 × 25 ms, shared constants in `docker/exec.rs`) | | `resize_exec` | `POST /v1/exec/{id}/resize` | | `user_ids` | one-shot `sh -c 'id -u; id -g'` as `claude`, falling back to `(1000, 1000)` | -| `upload_bytes*`, `upload_host_file*` | `PUT /v1/files` | +| `upload_bytes*`, `upload_host_file*` | `PUT /v1/files`; a multi-component `name` (the terminal drop's `triple-c-drops/`) is split into `dir` + last component, `.`/`..` refused | | `download_archive` | `GET /v1/archive` | | `is_running` | `GET /v1/health` succeeds → `true`; a connection error → `false` | | `has_exited` | `false` (only the host can say positively; an AWS host answers from ECS) |