spec: Research rev 2.1, disclose and bound the timing channel
Astra round 2 on f6e59b4: READY AFTER FIXES, one item partly resolved. The coordinator chooses whether and when to request Research runs, so an approved hostile site can see timing and repetition. Runs now start only at fixed points (task start, Review or round boundary), one per boundary and three per task, with fetch retries on a fixed schedule. The residual is stated in sections 1, 7 and 8.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+47
−4
docs/superpowers/specs/2026-11-12-equipo-research-specialist.md+47 −4
CI passed — run details
diff --git a/docs/superpowers/specs/2026-11-12-equipo-research-specialist.md b/docs/superpowers/specs/2026-11-12-equipo-research-specialist.md| index 6623cbc0..e85f184d 100644 |
| --- a/docs/superpowers/specs/2026-11-12-equipo-research-specialist.md |
| +++ b/docs/superpowers/specs/2026-11-12-equipo-research-specialist.md |
| @@ -1,7 +1,9 @@ |
| # Equipo: the Research specialist |
| -Status: 2026-11-12, revision 2, spec only, nothing built. Drafted by |
| +Status: 2026-11-12, revision 2.1, spec only, nothing built. Drafted by |
| Claude (Opus 5.5) on `research-specialist-design` from main 1d7b4e4. |
| +Revision 2 (f6e59b4) drew READY AFTER FIXES from Astra round 2: one item |
| +left, the timing channel, now disclosed and bounded (§2, §7, §8, §13). |
| Revision 1 drew NOT READY from Astra (round 1, §12). Scope was cut as |
| Astra recommended, not argued: |
| - no web search; |
| @@ -32,7 +34,7 @@ Builds on: |
| - **R3. Scheduling.** *Recommend the coordinator schedules Research on its |
| own, inside a fixed budget.* The budget per step is 30 fetches, 20 MB |
| and 8 kept images, and Research's model gets 10 minutes. At most 3 |
| - Research steps per task. |
| + Research steps per task, each starting only at a fixed point (§2). |
| - **R4. Your network inventory.** Fetches leave from the primary, |
| docs-t1. A public site can point at a public address that loops back |
| into your network (hairpin NAT). *Recommend you list docs-t1's site |
| @@ -71,6 +73,8 @@ leak code through URLs. |
| The only data leaving for the web is therefore the approved URLs, each |
| of which Paul either typed or saw in full on a card. A |
| repository secret can reach a URL only through a card Paul allows. |
| +Whether and when runs happen is the coordinator's choice, which leaves a |
| +small timing channel (§7). |
| ## 2. Flow |
| @@ -80,6 +84,18 @@ repository secret can reach a URL only through a card Paul allows. |
| - `urls` are its proposals: `https` or `http`, no query string, no |
| userinfo, path at most 100 bytes. Proposals that match the secret |
| patterns used in sanitising today are refused before any card. |
| + - **When a run may start.** The call only requests a run. The |
| + instance starts it at the next fixed point: |
| + - task start, before the first Engineering step; |
| + - a Review boundary or round boundary. |
| + It never starts mid-step, there is at most one run per boundary, |
| + and there are at most 3 per task. A request between boundaries |
| + waits for the next one, and a second request at the same boundary |
| + is refused. |
| + - **Retries are not the model's.** A failed fetch is retried by the |
| + runner on a fixed schedule (at most 2 retries, after 30 s and |
| + 2 min), inside the step's budget. No model decides a retry, and the |
| + coordinator has no retry tool for Research. |
| 2. The instance collects the **source list**: the URLs and bare domains |
| in Paul's own message rows on the task (stored text, not a |
| paraphrase), plus the coordinator's proposals. Each one is parsed and |
| @@ -347,9 +363,17 @@ audit. |
| **Outbound (repository to web):** |
| - The web sees only URLs Paul typed, URLs he saw in full on a card, and |
| their deterministic expansion (URLs the pages wrote). |
| -- No model output selects, orders or shapes a request, so there is no |
| - link-choice or timing channel to the web from model choice. |
| +- Within a run, no model output selects, orders or shapes a request, so |
| + there is no link-choice channel. |
| - DNS lookups are for those same names. |
| +- **There is a timing and repetition channel.** The coordinator reads |
| + repositories, and it decides whether and when to request a run. A site |
| + that the attacker controls, and that is in the approved set, can see: |
| + - whether it was fetched; |
| + - how often, up to 3 runs per task; |
| + - roughly when, which can only be one of the fixed points in §2. |
| + That is a few bits per task at most. Fetch retries follow the runner's |
| + fixed schedule, so they carry nothing. |
| **Residual:** |
| - A URL proposed by the coordinator could carry data in its host or |
| @@ -385,6 +409,15 @@ audit. |
| reach. The findings' gaps say so. |
| - **Cost.** The fetch phase and the model are budgeted (R3) and stopped |
| at their limits. |
| +- **Timing channel (residual, accepted).** A coordinator steered by a |
| + hostile repository file can signal to an approved site that an |
| + attacker controls, by whether, how often and at which fixed point it |
| + requests runs. That is a few bits per task, bounded by 3 runs per task |
| + and the fixed start points (§2). Every run is logged with what |
| + requested it. |
| + - This keeps the automatic scheduling Paul wants. |
| + - Closing the channel would mean runs that do not depend on the |
| + coordinator: only on Paul's request, or always at task start. |
| ## 9. Wire: protocol 12 |
| @@ -452,3 +485,13 @@ owner-approved set deterministically. Revision 2 does that. |
| | 8 Important | Host-side parsing and decoding unbounded | A separate, limited fetcher process; pixel cap of 16 million; atomic budget; size caps (§3.4, §3.5) | |
| | 9 Important | Image ownership and filesystem rules | Ids bound to attempt; generated names; hash check; pinned read-only mount (§5) | |
| | 10 Important | The reverse direction was overstated; preview publication | Stated as residual; Review's three checks gate the preview; findings prose kept short; escaped rendering (§5, §7) | |
| + |
| +## 13. Astra round 2 (revision 2): READY AFTER FIXES |
| + |
| +`gpt-6-astra` on f6e59b4: findings 1, 2 and 4 to 10 resolved in the |
| +design, and no new Critical or Important findings. One item was partly |
| +resolved: |
| + |
| +| # | Finding | Where it went | |
| +|---|---|---| |
| +| 3 Partly | "No timing channel" was false: the coordinator, which reads repositories, chooses whether and when to request up to 3 runs, and a hostile approved site sees that | The channel is disclosed and bounded, as the coordinator ruled: fixed start points, one run per boundary, 3 per task, retries on a fixed schedule (§2); stated in §1 and §7, and accepted as a residual in §8 | |