oficina / equipo Public

thintest: capture the device's own answers as native fixtures

TestNativeFixtures reads the thin rig with a device bearer and writes
the answers native tests use (EQUIPO_UPDATE_NATIVE_FIXTURES=1). Every
run strictly decodes each fixture into its wire type, so a changed wire
shape fails CI instead of drifting from the apps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev a301063ef8e049363bfff7d4f4da008348fcd079 parent 09cd7e2
12 files changed, +2,522 −0
  • internal/thintest/native_fixtures_test.go +153 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/answered.json +43 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/card-conflict.json +23 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/events.json +441 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/messages.json +59 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/needs-you.json +218 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/projects.json +47 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/sent.json +27 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/snapshot.json +841 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/task.json +214 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/tasks.json +450 −0
  • native/apple/Tests/EquipoKitTests/Fixtures/thin/thread-entry.json +6 −0
diff --git a/internal/thintest/native_fixtures_test.go b/internal/thintest/native_fixtures_test.go
new file mode 100644
index 00000000..e5f2bcb3
--- /dev/null
+++ b/internal/thintest/native_fixtures_test.go
@@ -0,0 +1,153 @@
+package thintest
+
+import (
+ "bufio"
+ "bytes"
+ "context"
+ "encoding/json"
+ "fmt"
+ "io"
+ "net/http"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+ "time"
+
+ "amadan.net/oficina/equipo/internal/wire"
+)
+
+// The native apps (native/apple, EquipoKit) read the person API with a
+// device bearer, as this suite does. Their test fixtures are this
+// instance's own answers, captured from the rollup rig with
+// EQUIPO_UPDATE_NATIVE_FIXTURES=1. Every run checks that each checked-in
+// fixture still decodes strictly into its wire type: a field the server
+// no longer sends, or one it never sent, fails here.
+const nativeFixtureDir = "../../native/apple/Tests/EquipoKitTests/Fixtures/thin"
+
+var nativeFixtureTypes = map[string]func() any{
+ "snapshot": func() any { return &wire.Snapshot{} },
+ "tasks": func() any { return &wire.TaskList{} },
+ "needs-you": func() any { return &wire.TaskList{} },
+ "projects": func() any { return &wire.ProjectList{} },
+ "task": func() any { return &wire.Task{} },
+ "messages": func() any { return &wire.MessagePage{} },
+ "sent": func() any { return &wire.Sent{} },
+ "answered": func() any { return &wire.Answered{} },
+ "card-conflict": func() any { return &wire.CardConflict{} },
+ "thread-entry": func() any { return &wire.ThreadEntry{} },
+ "events": func() any { return &[]wire.Event{} },
+}
+
+func TestNativeFixtures(t *testing.T) {
+ if os.Getenv("EQUIPO_UPDATE_NATIVE_FIXTURES") == "1" {
+ captureNativeFixtures(t)
+ }
+ for name, typ := range nativeFixtureTypes {
+ raw, err := os.ReadFile(filepath.Join(nativeFixtureDir, name+".json"))
+ if err != nil {
+ t.Fatalf("%s: %v (capture with EQUIPO_UPDATE_NATIVE_FIXTURES=1)", name, err)
+ }
+ d := json.NewDecoder(bytes.NewReader(raw))
+ d.DisallowUnknownFields()
+ if err := d.Decode(typ()); err != nil {
+ t.Errorf("%s.json no longer matches its wire type: %v", name, err)
+ }
+ }
+}
+
+func captureNativeFixtures(t *testing.T) {
+ r := newRollupRig(t)
+ ctx := r.ctx
+ get := func(path string) []byte { return nativeRaw(t, ctx, r.client, "GET", path, nil, 200) }
+ write := func(name string, raw []byte) {
+ var v any
+ if err := json.Unmarshal(raw, &v); err != nil {
+ t.Fatalf("%s: %v", name, err)
+ }
+ pretty, _ := json.MarshalIndent(v, "", " ")
+ if err := os.MkdirAll(nativeFixtureDir, 0o755); err != nil {
+ t.Fatal(err)
+ }
+ if err := os.WriteFile(filepath.Join(nativeFixtureDir, name+".json"), append(pretty, '\n'), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ }
+ write("snapshot", get("/api/v1/snapshot"))
+ write("tasks", get("/api/v1/tasks"))
+ write("needs-you", get("/api/v1/needs-you"))
+ write("projects", get("/api/v1/projects"))
+ write("task", get("/api/v1/tasks/"+r.asked))
+ write("messages", get("/api/v1/messages?limit=20"))
+ write("thread-entry", nativeRaw(t, ctx, r.client, "POST", "/api/v1/tasks/"+r.asked+"/thread",
+ wire.PostThread{Text: "Does this cover the iPad too?", IdempotencyKey: "native-fixture-thread"}, 0))
+ write("sent", nativeRaw(t, ctx, r.client, "POST", "/api/v1/messages",
+ wire.SendMessage{Text: "What is left?", IdempotencyKey: "native-fixture-send"}, 0))
+ // Answer the open merge card with its last choice, then again with the
+ // revision it had: the second is the conflict a stale native view gets.
+ card := r.askCard
+ choice := card.Options[len(card.Options)-1]
+ write("answered", nativeRaw(t, ctx, r.client, "POST", "/api/v1/cards/"+card.ID+"/answer",
+ wire.AnswerCard{Choice: choice, Revision: card.Revision}, 200))
+ write("card-conflict", nativeRaw(t, ctx, r.client, "POST", "/api/v1/cards/"+card.ID+"/answer",
+ wire.AnswerCard{Choice: choice, Revision: card.Revision}, 409))
+ write("events", nativeEvents(t, ctx, r.client))
+}
+
+// nativeRaw sends one request with the device bearer and returns the body.
+// want 0 accepts any 2xx.
+func nativeRaw(t *testing.T, ctx context.Context, c *Client, method, path string, body any, want int) []byte {
+ t.Helper()
+ var reader io.Reader
+ if body != nil {
+ raw, _ := json.Marshal(body)
+ reader = bytes.NewReader(raw)
+ }
+ req, err := http.NewRequestWithContext(ctx, method, c.Origin+path, reader)
+ if err != nil {
+ t.Fatal(err)
+ }
+ req.Header.Set("Authorization", "Bearer "+c.Token)
+ if body != nil {
+ req.Header.Set("Content-Type", "application/json")
+ req.Header.Set("Idempotency-Key", fmt.Sprintf("native-fixture-%d", time.Now().UnixNano()))
+ }
+ res, err := c.HTTP.Do(req)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer res.Body.Close()
+ raw, _ := io.ReadAll(io.LimitReader(res.Body, 4<<20))
+ if (want != 0 && res.StatusCode != want) || (want == 0 && res.StatusCode/100 != 2) {
+ t.Fatalf("%s %s = %d: %s", method, path, res.StatusCode, raw)
+ }
+ return raw
+}
+
+// nativeEvents reads the conversation's event stream from the start for a
+// moment and returns the events it carried, as a JSON array.
+func nativeEvents(t *testing.T, ctx context.Context, c *Client) []byte {
+ t.Helper()
+ ctx, cancel := context.WithTimeout(ctx, 2*time.Second)
+ defer cancel()
+ req, _ := http.NewRequestWithContext(ctx, "GET", c.Origin+"/api/v1/events?after=0", nil)
+ req.Header.Set("Authorization", "Bearer "+c.Token)
+ res, err := c.HTTP.Do(req)
+ if err != nil {
+ t.Fatal(err)
+ }
+ defer res.Body.Close()
+ var events []json.RawMessage
+ s := bufio.NewScanner(res.Body)
+ s.Buffer(make([]byte, 1<<20), 4<<20)
+ for s.Scan() && len(events) < 12 {
+ if line := s.Text(); strings.HasPrefix(line, "data: ") {
+ events = append(events, json.RawMessage(strings.TrimPrefix(line, "data: ")))
+ }
+ }
+ if len(events) == 0 {
+ t.Fatal("the event stream carried nothing")
+ }
+ raw, _ := json.Marshal(events)
+ return raw
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/answered.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/answered.json
new file mode 100644
index 00000000..71b69da8
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/answered.json
@@ -0,0 +1,43 @@
+{
+ "card": {
+ "choice": "wait_mac",
+ "created_at": "2026-11-17T11:59:59.957133Z",
+ "id": "c_l6epp3pii6qpow5lqi2u3p4gab",
+ "kind": "merge",
+ "name": "Swipe back on iOS",
+ "options": [
+ "merge",
+ "wait_mac"
+ ],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "Merge Swipe back on iOS? I'd wait: the runner didn't say what changed; I don't know yet whether merging to Woodstar's main branch ships to users.",
+ "revision": 2,
+ "state": "answered",
+ "task_id": "tkqsrho7oq3n",
+ "turn_id": "",
+ "updated_at": "2026-11-18T20:37:44.631433Z"
+ },
+ "message": {
+ "created_at": "0001-01-01T00:00:00Z",
+ "id": "",
+ "revision": 0,
+ "role": "",
+ "switched": null,
+ "text": "",
+ "turn_id": ""
+ },
+ "turn": {
+ "attempt": 0,
+ "connection": "",
+ "created_at": "0001-01-01T00:00:00Z",
+ "id": "",
+ "kind": "",
+ "message_ids": null,
+ "reason": "",
+ "reply_id": "",
+ "revision": 0,
+ "state": "",
+ "timing": null,
+ "updated_at": "0001-01-01T00:00:00Z"
+ }
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/card-conflict.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/card-conflict.json
new file mode 100644
index 00000000..b8f3a1fd
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/card-conflict.json
@@ -0,0 +1,23 @@
+{
+ "card": {
+ "choice": "wait_mac",
+ "created_at": "2026-11-17T11:59:59.957133Z",
+ "id": "c_l6epp3pii6qpow5lqi2u3p4gab",
+ "kind": "merge",
+ "name": "Swipe back on iOS",
+ "options": [
+ "merge",
+ "wait_mac"
+ ],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "Merge Swipe back on iOS? I'd wait: the runner didn't say what changed; I don't know yet whether merging to Woodstar's main branch ships to users.",
+ "revision": 2,
+ "state": "answered",
+ "task_id": "tkqsrho7oq3n",
+ "turn_id": "",
+ "updated_at": "2026-11-18T20:37:44.631443Z"
+ },
+ "code": "card_answered",
+ "copy_key": "api.card_answered",
+ "request_id": "native-fixture-1795034264632518000"
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/events.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/events.json
new file mode 100644
index 00000000..bd11ca6d
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/events.json
@@ -0,0 +1,441 @@
+[
+ {
+ "cursor": 1,
+ "data": {
+ "capabilities": {
+ "harness": {
+ "claude": "",
+ "codex": "",
+ "srt": ""
+ },
+ "simulators": null,
+ "tags": [
+ "linux",
+ "claude",
+ "codex",
+ "go"
+ ],
+ "toolchains": {
+ "go": "",
+ "node": "",
+ "swift": ""
+ },
+ "xcode": {
+ "build": "",
+ "version": ""
+ }
+ },
+ "id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "label": "docs-t1",
+ "online": true,
+ "platform": {
+ "arch": "amd64",
+ "os": "linux"
+ },
+ "removing": false,
+ "revision": 1,
+ "role": "primary",
+ "seal_key": "",
+ "since": "2026-11-18T20:37:44.530573Z"
+ },
+ "id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "resource": "runner",
+ "revision": 1,
+ "type": "runner"
+ },
+ {
+ "cursor": 2,
+ "data": {
+ "created_at": "2026-11-18T20:37:44.533236Z",
+ "expires_at": null,
+ "expires_estimated": false,
+ "headroom": null,
+ "id": "cn_q4imndsf7nnvfw6y2k6yh5dzkn",
+ "kind": "subscription",
+ "label": "owner@example.com",
+ "local_id": "claude-a",
+ "plan": "",
+ "prompt": null,
+ "provider": "claude",
+ "reason": "",
+ "revision": 1,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "state": "healthy",
+ "updated_at": "2026-11-18T20:37:44.533236Z"
+ },
+ "id": "cn_q4imndsf7nnvfw6y2k6yh5dzkn",
+ "resource": "connection",
+ "revision": 1,
+ "type": "connection"
+ },
+ {
+ "cursor": 3,
+ "data": {
+ "created_at": "2026-11-18T20:37:44.534266Z",
+ "id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "hello",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ "id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "resource": "message",
+ "revision": 1,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "message"
+ },
+ {
+ "attempt": 1,
+ "cursor": 4,
+ "data": {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-18T20:37:44.534266Z",
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "kind": "",
+ "message_ids": [
+ "m_zpfpgo5rmenjs4ccm7uipmkljx"
+ ],
+ "reason": "",
+ "reply_id": "",
+ "revision": 1,
+ "state": "queued",
+ "timing": null,
+ "updated_at": "2026-11-18T20:37:44.53502Z"
+ },
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "resource": "turn",
+ "revision": 1,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "turn"
+ },
+ {
+ "attempt": 1,
+ "cursor": 5,
+ "data": {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-18T20:37:44.534266Z",
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "kind": "",
+ "message_ids": [
+ "m_zpfpgo5rmenjs4ccm7uipmkljx"
+ ],
+ "reason": "",
+ "reply_id": "",
+ "revision": 2,
+ "state": "running",
+ "timing": null,
+ "updated_at": "2026-11-18T20:37:44.536384Z"
+ },
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "resource": "turn",
+ "revision": 2,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "turn"
+ },
+ {
+ "cursor": 6,
+ "data": {
+ "added_by": "owner@example.com",
+ "attachments": [
+ {
+ "default_branch": "main",
+ "head_at": null,
+ "head_sha": "9999999999999999999999999999999999999999",
+ "head_subject": "Trim the compose sheet",
+ "kind": "repo",
+ "name": "oficina/sample",
+ "ref": "amadan.net/oficina/sample"
+ }
+ ],
+ "checks": {
+ "gate": "make ci",
+ "here": true,
+ "reason": ""
+ },
+ "created_at": "2026-11-18T20:37:44.538005Z",
+ "description": "Woodstar is a reading app.",
+ "id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "name": "oficina/sample",
+ "people": [
+ {
+ "address": "owner@example.com",
+ "initials": "O",
+ "name": "Owner"
+ }
+ ],
+ "repo": "amadan.net/oficina/sample",
+ "revision": 1,
+ "stack": [
+ "Go"
+ ],
+ "state": "active",
+ "title": "Woodstar",
+ "updated_at": "2026-11-18T20:37:44.538005Z"
+ },
+ "id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "resource": "project",
+ "revision": 1,
+ "type": "project"
+ },
+ {
+ "cursor": 7,
+ "data": {
+ "choice": "",
+ "created_at": "2026-11-18T20:37:44.538358Z",
+ "id": "c_f6h2s3upwgdjrkm6is2pwt4sil",
+ "kind": "project",
+ "name": "oficina/sample",
+ "options": [],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "",
+ "revision": 1,
+ "state": "added",
+ "task_id": "",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-18T20:37:44.538358Z"
+ },
+ "id": "c_f6h2s3upwgdjrkm6is2pwt4sil",
+ "resource": "card",
+ "revision": 1,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "card"
+ },
+ {
+ "cursor": 8,
+ "data": {
+ "ask_open": true,
+ "base_sha": "",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.",
+ "candidate_sha": "",
+ "checks": "",
+ "checks_reason": "",
+ "combined": [],
+ "coordinator": {
+ "kind": "looking",
+ "since": "2026-11-18T20:37:44.534266Z"
+ },
+ "created_at": "2026-11-18T20:37:44.538522Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "",
+ "revision": 1,
+ "source_at": "2026-11-18T20:37:44.534266Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "noted",
+ "steps": [],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-18T20:37:44.538522Z",
+ "url": "",
+ "verdict": ""
+ },
+ "id": "tkqsrho7oq3n",
+ "resource": "task",
+ "revision": 1,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "task"
+ },
+ {
+ "cursor": 9,
+ "data": {
+ "choice": "",
+ "created_at": "2026-11-18T20:37:44.538522Z",
+ "id": "c_6d67zwzgqetgozyqnuonfbzevt",
+ "kind": "task",
+ "name": "Swipe back on iOS",
+ "options": [],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "",
+ "revision": 1,
+ "state": "noted",
+ "task_id": "tkqsrho7oq3n",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-18T20:37:44.538522Z"
+ },
+ "id": "c_6d67zwzgqetgozyqnuonfbzevt",
+ "resource": "card",
+ "revision": 1,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "card"
+ },
+ {
+ "attempt": 1,
+ "cursor": 10,
+ "data": {
+ "attempt": 1,
+ "kind": "tool",
+ "label": "Handing ‘Swipe back on iOS’ to Engineering…",
+ "repo": "",
+ "tool": "start_task",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "resource": "turn",
+ "revision": 0,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "activity"
+ },
+ {
+ "attempt": 1,
+ "cursor": 11,
+ "data": {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "",
+ "candidate_sha": "",
+ "checks": "",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": null,
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 1,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": null,
+ "state": "queued",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": false,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "resource": "step",
+ "revision": 1,
+ "type": "step"
+ },
+ {
+ "cursor": 12,
+ "data": {
+ "ask_open": true,
+ "base_sha": "",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "",
+ "checks": "",
+ "checks_reason": "",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-18T20:37:44.538522Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "",
+ "revision": 2,
+ "source_at": "2026-11-18T20:37:44.534266Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "in_progress",
+ "steps": [
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "",
+ "candidate_sha": "",
+ "checks": "",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": null,
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 1,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": null,
+ "state": "queued",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": false,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ }
+ ],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-18T20:37:44.544785Z",
+ "url": "",
+ "verdict": ""
+ },
+ "id": "tkqsrho7oq3n",
+ "resource": "task",
+ "revision": 2,
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "type": "task"
+ }
+]
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/messages.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/messages.json
new file mode 100644
index 00000000..93f88a88
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/messages.json
@@ -0,0 +1,59 @@
+{
+ "before": "",
+ "items": [
+ {
+ "created_at": "2026-11-17T11:59:59.926318Z",
+ "id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "hello",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ {
+ "created_at": "2026-11-17T11:59:59.992678Z",
+ "id": "m_wmmelgcmr27xaqz265gnwlila3",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Merged [Edge swipe on iPad](/tasks/tkyiki7muqby) into Woodstar without checks.",
+ "turn_id": ""
+ },
+ {
+ "created_at": "2026-11-17T11:59:59.996253Z",
+ "id": "m_6fldgum65ip43nrgalnfv3k3lj",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Ok.",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ {
+ "created_at": "2026-11-17T23:59:59.999999999Z",
+ "id": "m_6selqzlmfwd4j3soj6brmicqqe",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "Leave the iOS one until a Mac is free.",
+ "turn_id": "t_rqatxq3bhwg25wqtao7xr2wurx"
+ },
+ {
+ "created_at": "2026-11-18T20:37:44.610429Z",
+ "id": "m_53o54qwutu5aujpfwg26pd7dup",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Ok.",
+ "turn_id": "t_rqatxq3bhwg25wqtao7xr2wurx"
+ },
+ {
+ "created_at": "2026-11-18T00:00:00Z",
+ "id": "m_kdywxu2ec7lg5yf5qcrrtgfjiz",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "Good morning. What is left?",
+ "turn_id": "t_2pioe4h247wiv247emolt2qp5d"
+ }
+ ]
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/needs-you.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/needs-you.json
new file mode 100644
index 00000000..c64f13f3
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/needs-you.json
@@ -0,0 +1,218 @@
+{
+ "items": [
+ {
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.930574Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.565018Z",
+ "class": "ask",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ },
+ {
+ "name": "environment_reason",
+ "ok": true,
+ "value": "needs_macos"
+ },
+ {
+ "name": "runner_protocol",
+ "ok": true
+ },
+ {
+ "name": "facts_present",
+ "ok": false
+ },
+ {
+ "name": "small",
+ "ok": false
+ },
+ {
+ "name": "not_sensitive",
+ "ok": false
+ },
+ {
+ "name": "main_does_not_ship",
+ "ok": false,
+ "value": "unknown"
+ },
+ {
+ "name": "policy_allows",
+ "ok": true,
+ "value": "rules"
+ },
+ {
+ "name": "no_hold",
+ "ok": true
+ }
+ ],
+ "stance": "wait"
+ },
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "merge",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 9,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "ready_to_merge",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.55145Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.548559Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.557201Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ikxzybor6co4okct6evaqhnnb5",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.562664Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_wiuc423i3yyvmquuwf5f6cuhjy",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ }
+ ],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.95718Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "verdict": "approve"
+ }
+ ]
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/projects.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/projects.json
new file mode 100644
index 00000000..aa9990c8
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/projects.json
@@ -0,0 +1,47 @@
+{
+ "allowed": [
+ "amadan.net/oficina/equipo",
+ "amadan.net/oficina/sample"
+ ],
+ "home": "",
+ "items": [
+ {
+ "added_by": "owner@example.com",
+ "attachments": [
+ {
+ "default_branch": "main",
+ "head_at": null,
+ "head_sha": "9999999999999999999999999999999999999999",
+ "head_subject": "Trim the compose sheet",
+ "kind": "repo",
+ "name": "oficina/sample",
+ "ref": "amadan.net/oficina/sample"
+ }
+ ],
+ "checks": {
+ "gate": "make ci",
+ "here": true,
+ "reason": ""
+ },
+ "created_at": "2026-11-18T20:37:44.538005Z",
+ "description": "Woodstar is a reading app.",
+ "id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "name": "oficina/sample",
+ "people": [
+ {
+ "address": "owner@example.com",
+ "initials": "O",
+ "name": "Owner"
+ }
+ ],
+ "repo": "amadan.net/oficina/sample",
+ "revision": 1,
+ "stack": [
+ "Go"
+ ],
+ "state": "active",
+ "title": "Woodstar",
+ "updated_at": "2026-11-18T20:37:44.538005Z"
+ }
+ ]
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/sent.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/sent.json
new file mode 100644
index 00000000..7efaf918
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/sent.json
@@ -0,0 +1,27 @@
+{
+ "message": {
+ "created_at": "2026-11-18T20:37:44.629214Z",
+ "id": "m_44dpx26rcepdguk24oyk5ovfxx",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "What is left?",
+ "turn_id": "t_eouktlwyrktnabecc5noagxdsk"
+ },
+ "turn": {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-18T20:37:44.629214Z",
+ "id": "t_eouktlwyrktnabecc5noagxdsk",
+ "kind": "",
+ "message_ids": [
+ "m_44dpx26rcepdguk24oyk5ovfxx"
+ ],
+ "reason": "",
+ "reply_id": "",
+ "revision": 1,
+ "state": "queued",
+ "timing": null,
+ "updated_at": "2026-11-18T20:37:44.629539Z"
+ }
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/snapshot.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/snapshot.json
new file mode 100644
index 00000000..347a06b6
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/snapshot.json
@@ -0,0 +1,841 @@
+{
+ "cards": [
+ {
+ "choice": "",
+ "created_at": "2026-11-17T11:59:59.93041Z",
+ "id": "c_f6h2s3upwgdjrkm6is2pwt4sil",
+ "kind": "project",
+ "name": "oficina/sample",
+ "options": [],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "",
+ "revision": 1,
+ "state": "added",
+ "task_id": "",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.93041Z"
+ },
+ {
+ "choice": "",
+ "created_at": "2026-11-17T11:59:59.930574Z",
+ "id": "c_6d67zwzgqetgozyqnuonfbzevt",
+ "kind": "task",
+ "name": "Swipe back on iOS",
+ "options": [],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "",
+ "revision": 1,
+ "state": "ready_to_merge",
+ "task_id": "tkqsrho7oq3n",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.930574Z"
+ },
+ {
+ "choice": "",
+ "created_at": "2026-11-17T11:59:59.957133Z",
+ "id": "c_l6epp3pii6qpow5lqi2u3p4gab",
+ "kind": "merge",
+ "name": "Swipe back on iOS",
+ "options": [
+ "merge",
+ "wait_mac"
+ ],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "Merge Swipe back on iOS? I'd wait: the runner didn't say what changed; I don't know yet whether merging to Woodstar's main branch ships to users.",
+ "revision": 1,
+ "state": "open",
+ "task_id": "tkqsrho7oq3n",
+ "turn_id": "",
+ "updated_at": "2026-11-17T11:59:59.957133Z"
+ },
+ {
+ "choice": "",
+ "created_at": "2026-11-17T11:59:59.957784Z",
+ "id": "c_hmrhz4taay2p7xgn3yr5ly3jgo",
+ "kind": "merge_ships",
+ "name": "Woodstar",
+ "options": [
+ "ships",
+ "not_ships"
+ ],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "Does merging to Woodstar's main branch ship to users?",
+ "revision": 1,
+ "state": "open",
+ "task_id": "",
+ "turn_id": "",
+ "updated_at": "2026-11-17T11:59:59.957784Z"
+ },
+ {
+ "choice": "",
+ "created_at": "2026-11-17T11:59:59.960154Z",
+ "id": "c_hgmvkf7vjkxwjthy4xzflpthb7",
+ "kind": "task",
+ "name": "Edge swipe on iPad",
+ "options": [],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "",
+ "revision": 1,
+ "state": "done",
+ "task_id": "tkyiki7muqby",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.960154Z"
+ },
+ {
+ "choice": "merge",
+ "created_at": "2026-11-17T11:59:59.982424Z",
+ "id": "c_z7ktijmv2neeqwhocotbf7ksu4",
+ "kind": "merge",
+ "name": "Edge swipe on iPad",
+ "options": [
+ "merge",
+ "wait_mac"
+ ],
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "question": "Merge Edge swipe on iPad? I'd wait: the runner didn't say what changed; I don't know yet whether merging to Woodstar's main branch ships to users.",
+ "revision": 2,
+ "state": "answered",
+ "task_id": "tkyiki7muqby",
+ "turn_id": "",
+ "updated_at": "2026-11-17T11:59:59.985573Z"
+ }
+ ],
+ "connections": [
+ {
+ "created_at": "2026-11-18T20:37:44.533236Z",
+ "expires_at": null,
+ "expires_estimated": false,
+ "headroom": null,
+ "id": "cn_q4imndsf7nnvfw6y2k6yh5dzkn",
+ "kind": "subscription",
+ "label": "owner@example.com",
+ "local_id": "claude-a",
+ "plan": "",
+ "prompt": null,
+ "provider": "claude",
+ "reason": "",
+ "revision": 1,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "state": "healthy",
+ "updated_at": "2026-11-18T20:37:44.533236Z"
+ }
+ ],
+ "coordinator": {
+ "id": "owner@example.com",
+ "moved_in_at": null,
+ "revision": 0,
+ "state": "new",
+ "turn_id": ""
+ },
+ "cursor": 64,
+ "housekeeping_summary": {
+ "disabled": [],
+ "open_suggestions": 0,
+ "paused": false,
+ "revision": 0
+ },
+ "me": {
+ "address": "owner@example.com",
+ "id": "owner@example.com",
+ "person": {
+ "active": true,
+ "address": "owner@example.com",
+ "display_identity": "owner@example.com",
+ "role": "owner"
+ },
+ "revision": 1,
+ "role": "owner",
+ "team_id": "643CDQV2XDDQ7U5CSABX5THBR3",
+ "team_name": "Equipo"
+ },
+ "messages": [
+ {
+ "created_at": "2026-11-17T11:59:59.926318Z",
+ "id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "hello",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ {
+ "created_at": "2026-11-17T11:59:59.992678Z",
+ "id": "m_wmmelgcmr27xaqz265gnwlila3",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Merged [Edge swipe on iPad](/tasks/tkyiki7muqby) into Woodstar without checks.",
+ "turn_id": ""
+ },
+ {
+ "created_at": "2026-11-17T11:59:59.996253Z",
+ "id": "m_6fldgum65ip43nrgalnfv3k3lj",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Ok.",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z"
+ },
+ {
+ "created_at": "2026-11-17T23:59:59.999999999Z",
+ "id": "m_6selqzlmfwd4j3soj6brmicqqe",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "Leave the iOS one until a Mac is free.",
+ "turn_id": "t_rqatxq3bhwg25wqtao7xr2wurx"
+ },
+ {
+ "created_at": "2026-11-18T20:37:44.610429Z",
+ "id": "m_53o54qwutu5aujpfwg26pd7dup",
+ "revision": 1,
+ "role": "coordinator",
+ "switched": null,
+ "text": "Ok.",
+ "turn_id": "t_rqatxq3bhwg25wqtao7xr2wurx"
+ },
+ {
+ "created_at": "2026-11-18T00:00:00Z",
+ "id": "m_kdywxu2ec7lg5yf5qcrrtgfjiz",
+ "revision": 1,
+ "role": "person",
+ "switched": null,
+ "text": "Good morning. What is left?",
+ "turn_id": "t_2pioe4h247wiv247emolt2qp5d"
+ }
+ ],
+ "projects": [
+ {
+ "added_by": "owner@example.com",
+ "attachments": [
+ {
+ "default_branch": "main",
+ "head_at": null,
+ "head_sha": "9999999999999999999999999999999999999999",
+ "head_subject": "Trim the compose sheet",
+ "kind": "repo",
+ "name": "oficina/sample",
+ "ref": "amadan.net/oficina/sample"
+ }
+ ],
+ "checks": {
+ "gate": "make ci",
+ "here": true,
+ "reason": ""
+ },
+ "created_at": "2026-11-18T20:37:44.538005Z",
+ "description": "Woodstar is a reading app.",
+ "id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "name": "oficina/sample",
+ "people": [
+ {
+ "address": "owner@example.com",
+ "initials": "O",
+ "name": "Owner"
+ }
+ ],
+ "repo": "amadan.net/oficina/sample",
+ "revision": 1,
+ "stack": [
+ "Go"
+ ],
+ "state": "active",
+ "title": "Woodstar",
+ "updated_at": "2026-11-18T20:37:44.538005Z"
+ }
+ ],
+ "runner": {
+ "capabilities": {
+ "harness": {
+ "claude": "",
+ "codex": "",
+ "srt": ""
+ },
+ "simulators": null,
+ "tags": [
+ "linux",
+ "claude",
+ "codex",
+ "go"
+ ],
+ "toolchains": {
+ "go": "",
+ "node": "",
+ "swift": ""
+ },
+ "xcode": {
+ "build": "",
+ "version": ""
+ }
+ },
+ "id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "label": "docs-t1",
+ "online": true,
+ "platform": {
+ "arch": "amd64",
+ "os": "linux"
+ },
+ "removing": false,
+ "revision": 1,
+ "role": "primary",
+ "seal_key": "",
+ "since": "2026-11-18T20:37:44.532913Z"
+ },
+ "runners": [
+ {
+ "capabilities": {
+ "harness": {
+ "claude": "",
+ "codex": "",
+ "srt": ""
+ },
+ "simulators": null,
+ "tags": [
+ "linux",
+ "claude",
+ "codex",
+ "go"
+ ],
+ "toolchains": {
+ "go": "",
+ "node": "",
+ "swift": ""
+ },
+ "xcode": {
+ "build": "",
+ "version": ""
+ }
+ },
+ "id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "label": "docs-t1",
+ "online": true,
+ "platform": {
+ "arch": "amd64",
+ "os": "linux"
+ },
+ "removing": false,
+ "revision": 1,
+ "role": "primary",
+ "seal_key": "",
+ "since": "2026-11-18T20:37:44.532913Z"
+ }
+ ],
+ "tasks": [
+ {
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkyiki7muqby-edge-swipe-on-ipad",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.960154Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": {
+ "creator": "owner@example.com",
+ "id": "tkqsrho7oq3n",
+ "stage": "ready_to_merge",
+ "title": "Swipe back on iOS"
+ },
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkyiki7muqby",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.594076Z",
+ "class": "act",
+ "decided_by": "person:owner@example.com",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ }
+ ]
+ },
+ "merge_offered": false,
+ "merged": {
+ "at": "2026-11-17T11:59:59.992603Z",
+ "into": "main",
+ "sha": "ffffffffffffffffffffffffffffffffffffffff",
+ "strategy": "merge",
+ "without_checks": true
+ },
+ "needs_you": "",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 12,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "done",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.577469Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_qazkfyv3darl3xuamwaw6fc65y",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.575294Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.582856Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_uwnl6rumqdxaizyc5zlq22gqyj",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.588024Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_hh73rwultfrgnvakz2m5i6wvl6",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.600548Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_r7akqddhw2zedkl3kyocnyxlay",
+ "index": 4,
+ "into": "main",
+ "log_tail": "",
+ "merge_sha": "ffffffffffffffffffffffffffffffffffffffff",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "merge",
+ "started_at": "2026-11-18T20:37:44.598166Z",
+ "state": "done",
+ "strategy": "merge",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": true
+ }
+ ],
+ "thread": [],
+ "title": "Edge swipe on iPad",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.993163Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkyiki7muqby-edge-swipe-on-ipad",
+ "verdict": "approve"
+ },
+ {
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.930574Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.565018Z",
+ "class": "ask",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ },
+ {
+ "name": "environment_reason",
+ "ok": true,
+ "value": "needs_macos"
+ },
+ {
+ "name": "runner_protocol",
+ "ok": true
+ },
+ {
+ "name": "facts_present",
+ "ok": false
+ },
+ {
+ "name": "small",
+ "ok": false
+ },
+ {
+ "name": "not_sensitive",
+ "ok": false
+ },
+ {
+ "name": "main_does_not_ship",
+ "ok": false,
+ "value": "unknown"
+ },
+ {
+ "name": "policy_allows",
+ "ok": true,
+ "value": "rules"
+ },
+ {
+ "name": "no_hold",
+ "ok": true
+ }
+ ],
+ "stance": "wait"
+ },
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "merge",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 9,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "ready_to_merge",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.55145Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.548559Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.557201Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ikxzybor6co4okct6evaqhnnb5",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.562664Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_wiuc423i3yyvmquuwf5f6cuhjy",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ }
+ ],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.95718Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "verdict": "approve"
+ }
+ ],
+ "turns": [
+ {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-17T11:59:59.926318Z",
+ "id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "kind": "",
+ "message_ids": [
+ "m_zpfpgo5rmenjs4ccm7uipmkljx"
+ ],
+ "reason": "",
+ "reply_id": "m_6fldgum65ip43nrgalnfv3k3lj",
+ "revision": 3,
+ "state": "replied",
+ "timing": {
+ "cold": false,
+ "first_event_ms": 0,
+ "first_text_ms": 0,
+ "first_thinking_ms": 0,
+ "first_tool_ms": 0,
+ "last_text_ms": 0,
+ "queued_ms": 1,
+ "result_ms": 0,
+ "start_ms": 0
+ },
+ "updated_at": "2026-11-17T11:59:59.996344Z"
+ },
+ {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-17T11:59:59.997752Z",
+ "id": "t_rqatxq3bhwg25wqtao7xr2wurx",
+ "kind": "",
+ "message_ids": [
+ "m_6selqzlmfwd4j3soj6brmicqqe"
+ ],
+ "reason": "",
+ "reply_id": "m_53o54qwutu5aujpfwg26pd7dup",
+ "revision": 3,
+ "state": "replied",
+ "timing": {
+ "cold": false,
+ "first_event_ms": 0,
+ "first_text_ms": 0,
+ "first_thinking_ms": 0,
+ "first_tool_ms": 0,
+ "last_text_ms": 0,
+ "queued_ms": 0,
+ "result_ms": 0,
+ "start_ms": 0
+ },
+ "updated_at": "2026-11-18T20:37:44.610517Z"
+ },
+ {
+ "attempt": 1,
+ "connection": "",
+ "created_at": "2026-11-18T20:37:44.611916Z",
+ "id": "t_2pioe4h247wiv247emolt2qp5d",
+ "kind": "",
+ "message_ids": [
+ "m_kdywxu2ec7lg5yf5qcrrtgfjiz"
+ ],
+ "reason": "",
+ "reply_id": "",
+ "revision": 2,
+ "state": "running",
+ "timing": null,
+ "updated_at": "2026-11-18T20:37:44.613575Z"
+ }
+ ]
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/task.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/task.json
new file mode 100644
index 00000000..5c108c1a
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/task.json
@@ -0,0 +1,214 @@
+{
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.930574Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.565018Z",
+ "class": "ask",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ },
+ {
+ "name": "environment_reason",
+ "ok": true,
+ "value": "needs_macos"
+ },
+ {
+ "name": "runner_protocol",
+ "ok": true
+ },
+ {
+ "name": "facts_present",
+ "ok": false
+ },
+ {
+ "name": "small",
+ "ok": false
+ },
+ {
+ "name": "not_sensitive",
+ "ok": false
+ },
+ {
+ "name": "main_does_not_ship",
+ "ok": false,
+ "value": "unknown"
+ },
+ {
+ "name": "policy_allows",
+ "ok": true,
+ "value": "rules"
+ },
+ {
+ "name": "no_hold",
+ "ok": true
+ }
+ ],
+ "stance": "wait"
+ },
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "merge",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 9,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "ready_to_merge",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.55145Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.548559Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.557201Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ikxzybor6co4okct6evaqhnnb5",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.562664Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_wiuc423i3yyvmquuwf5f6cuhjy",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ }
+ ],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.95718Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "verdict": "approve"
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/tasks.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/tasks.json
new file mode 100644
index 00000000..6e7dbb36
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/tasks.json
@@ -0,0 +1,450 @@
+{
+ "items": [
+ {
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkyiki7muqby-edge-swipe-on-ipad",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.960154Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": {
+ "creator": "owner@example.com",
+ "id": "tkqsrho7oq3n",
+ "stage": "ready_to_merge",
+ "title": "Swipe back on iOS"
+ },
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkyiki7muqby",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.594076Z",
+ "class": "act",
+ "decided_by": "person:owner@example.com",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ }
+ ]
+ },
+ "merge_offered": false,
+ "merged": {
+ "at": "2026-11-17T11:59:59.992603Z",
+ "into": "main",
+ "sha": "ffffffffffffffffffffffffffffffffffffffff",
+ "strategy": "merge",
+ "without_checks": true
+ },
+ "needs_you": "",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 12,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "done",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.577469Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_qazkfyv3darl3xuamwaw6fc65y",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.575294Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.582856Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_uwnl6rumqdxaizyc5zlq22gqyj",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.588024Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_hh73rwultfrgnvakz2m5i6wvl6",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "4444444444444444444444444444444444444444",
+ "checks": "",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.600548Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_r7akqddhw2zedkl3kyocnyxlay",
+ "index": 4,
+ "into": "main",
+ "log_tail": "",
+ "merge_sha": "ffffffffffffffffffffffffffffffffffffffff",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "merge",
+ "started_at": "2026-11-18T20:37:44.598166Z",
+ "state": "done",
+ "strategy": "merge",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkyiki7muqby",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": true
+ }
+ ],
+ "thread": [],
+ "title": "Edge swipe on iPad",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.993163Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkyiki7muqby-edge-swipe-on-ipad",
+ "verdict": "approve"
+ },
+ {
+ "ask_open": true,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "branch": "equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "branch_head": "",
+ "brief": "The README says teh.\n\nFix it.",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "checks_reason": "needs_macos",
+ "combined": [],
+ "coordinator": null,
+ "created_at": "2026-11-17T11:59:59.930574Z",
+ "creator": "owner@example.com",
+ "creator_name": "Owner",
+ "duplicate_of": null,
+ "engineering_runner": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "findings": [],
+ "fix_rounds": 0,
+ "folded": null,
+ "id": "tkqsrho7oq3n",
+ "merge_decision": {
+ "at": "2026-11-18T20:37:44.565018Z",
+ "class": "ask",
+ "reasons": [
+ {
+ "name": "approved_exact_sha",
+ "ok": true
+ },
+ {
+ "name": "environment_reason",
+ "ok": true,
+ "value": "needs_macos"
+ },
+ {
+ "name": "runner_protocol",
+ "ok": true
+ },
+ {
+ "name": "facts_present",
+ "ok": false
+ },
+ {
+ "name": "small",
+ "ok": false
+ },
+ {
+ "name": "not_sensitive",
+ "ok": false
+ },
+ {
+ "name": "main_does_not_ship",
+ "ok": false,
+ "value": "unknown"
+ },
+ {
+ "name": "policy_allows",
+ "ok": true,
+ "value": "rules"
+ },
+ {
+ "name": "no_hold",
+ "ok": true
+ }
+ ],
+ "stance": "wait"
+ },
+ "merge_offered": false,
+ "merged": null,
+ "needs_you": "merge",
+ "project": "Woodstar",
+ "project_id": "p_dogiihcx5hlvgbhrrs7tq3eebr",
+ "questions": [],
+ "repo": "amadan.net/oficina/sample",
+ "reports": 0,
+ "review_label": "same_family",
+ "revision": 9,
+ "source_at": "2026-11-17T11:59:59.926318Z",
+ "source_message_id": "m_zpfpgo5rmenjs4ccm7uipmkljx",
+ "stage": "ready_to_merge",
+ "steps": [
+ {
+ "account": "claude-a",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.55145Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ox6cjnrf66zzlgqiqmpufmy3sc",
+ "index": 1,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": true,
+ "reason": "",
+ "rebase": false,
+ "review_label": "",
+ "revision": 3,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "engineering",
+ "started_at": "2026-11-18T20:37:44.548559Z",
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "cannot_run",
+ "exit_code": null,
+ "family": "",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.557201Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_ikxzybor6co4okct6evaqhnnb5",
+ "index": 2,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "needs_macos",
+ "rebase": false,
+ "review_label": "",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "checks",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "",
+ "without_checks": false
+ },
+ {
+ "account": "claude-b",
+ "activity": [],
+ "askable": false,
+ "attempt": 1,
+ "base_sha": "1111111111111111111111111111111111111111",
+ "candidate_sha": "2222222222222222222222222222222222222222",
+ "checks": "",
+ "exit_code": null,
+ "family": "claude",
+ "findings": [],
+ "finished_at": "2026-11-18T20:37:44.562664Z",
+ "gate": "",
+ "headline": "",
+ "id": "s_wiuc423i3yyvmquuwf5f6cuhjy",
+ "index": 3,
+ "into": "",
+ "log_tail": "",
+ "merge_sha": "",
+ "needs": [],
+ "placement": "",
+ "publication": "",
+ "pushed": false,
+ "reason": "",
+ "rebase": false,
+ "review_label": "same_family",
+ "revision": 2,
+ "round": 0,
+ "runner_id": "KRVJLFO5FTJLUF5RFCE26NGYKY",
+ "runner_label": "docs-t1",
+ "specialist": "review",
+ "started_at": null,
+ "state": "done",
+ "strategy": "",
+ "summary": "Read the change.",
+ "switched": null,
+ "task_id": "tkqsrho7oq3n",
+ "terminated": true,
+ "termination_kind": "",
+ "verdict": "approve",
+ "without_checks": false
+ }
+ ],
+ "thread": [],
+ "title": "Swipe back on iOS",
+ "turn_id": "t_qx3y2mwzyh5b7isafhjc6y4l4z",
+ "updated_at": "2026-11-17T11:59:59.95718Z",
+ "url": "https://amadan.net/oficina/sample?branch=equipo/tkqsrho7oq3n-swipe-back-on-ios",
+ "verdict": "approve"
+ }
+ ]
+}
diff --git a/native/apple/Tests/EquipoKitTests/Fixtures/thin/thread-entry.json b/native/apple/Tests/EquipoKitTests/Fixtures/thin/thread-entry.json
new file mode 100644
index 00000000..734f24c8
--- /dev/null
+++ b/native/apple/Tests/EquipoKitTests/Fixtures/thin/thread-entry.json
@@ -0,0 +1,6 @@
+{
+ "at": "2026-11-18T20:37:44.62715Z",
+ "author": "owner@example.com",
+ "id": "e_enprl4add336kahskc5fbqfw72",
+ "text": "Does this cover the iPad too?"
+}