Fake CLI reads before it edits; headless sees step activity live
The fake Engineering and Review steps read the files they work on, so 4_step_crash asserts an activity line while the step runs and that attempt 2 keeps its read and edit. Nullable fields are null in the shape fixtures; the duplicate route joins the API inventory; thintest time record 40s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed,
+47
−8
.rastrillo/budgets.txt+1 −1internal/fakeclaude/fake.go+19 −1internal/headless/engineering_test.go+22 −1internal/plan3test/person_api_contract_test.go+1 −1internal/wire/wiretest/testdata/api/event-project.json+1 −1internal/wire/wiretest/testdata/api/project.json+1 −1internal/wire/wiretest/testdata/api/task.json+1 −1internal/wire/wiretest/testdata/api/tasks.json+1 −1
diff --git a/.rastrillo/budgets.txt b/.rastrillo/budgets.txt| index 0aea824a..4c0096ed 100644 |
| --- a/.rastrillo/budgets.txt |
| +++ b/.rastrillo/budgets.txt |
| @@ -36,7 +36,7 @@ perf GET /releases/* skip Verified runner release file downloads, not browser GE |
| time internal/runner/containment 15s Plan 3 loaded CI measured 10.817s; niced serial reruns measured 5.773s and 5.750s. The added coordinator mount check has no repeated launches to remove; 15s leaves 38 percent headroom for namespace, process-exit and recovery assertions. |
| time internal/tryequipo 30s Release starter-set controller K3 records CI runs of 10.8s and 13.1s; 30s retains the guide integration checks with headroom on the shared runner. |
| size internal/runner/thin 8500 - Thin v1 slice 4c adds the merge step (mergestep.go, about 190 lines) and the rebase round beside the slice 4b ask fixes. Thin v1 slice 3 adds Engineering steps beside the coordinator: the durable step state and engine (step.go) and the executor that checks out the task tree, runs the CLI in the implement containment, commits and pushes (engineer.go), about 800 lines sharing the coordinator's launch, tool socket and account selection. Measured 5686 source lines. Splitting would export the launch internals; revisit at the slice 7 sweep. Slice 4 adds checks and review on a candidate (judge.go) and the merge watch (merge.go), about 800 lines, sharing the Engineer launch path; measured 6808, 7035 after review round 1 (branch head watch, deadlines, streamed outputs). Slice 4b keeps Engineering and Review sessions and answers the creator's questions from them (ask.go: kept-session and ask state, read-only git tools, the answer stream), about 700 lines on the same launch path. |
| -time internal/thintest 30s Thin v1 contract tests: a real instance and a scripted runner per test, fixtures replayed against every request, frame and event. Slice 3 adds the task, step-sync and grant contracts; CI measured 14.805s. 30s keeps room for the slice 4 review contracts. |
| +time internal/thintest 40s Thin v1 contract tests: a real instance and a scripted runner per test, fixtures replayed against every request, frame and event. Slice 3 adds the task, step-sync and grant contracts; CI measured 14.805s. 30s keeps room for the slice 4 review contracts. UX1 adds step activity, task source and duplicates, coordinator merging and project facts (four contracts, about 6s); the package measured 34s locally under load, so 40s. |
| time internal/runner/thin 45s Thin v1 slice 4 review: real git repositories for the merge and squash checks, a stalled fetch, and a 16 MiB candidate streamed through the review diff and the checks pack (about 5s). Measured 17.8s locally under load. Slice 4b review adds a 16 MiB git output bound, an injected index-pack failure and stall (3s deadline) and held-answer tests; measured 30.3s locally under load. 45s keeps 33 percent headroom. |
| time internal/headless 240s Thin v1 headless suite: real instance, runner and bubblewrap per scenario (spec 7, under two minutes). Slice 4 adds the review and checks scenarios (4_review with its fix rounds, branch move and merge; 4_checks_honest); loaded CI measured 170s on 2026-11-07. Slice 4b adds 4b_ask (about 12s); loaded CI measured 182.9s. 240s keeps 30 percent headroom. |
| perf GET /api/v1/turns/{id} skip Thin v1 person API: bearer-only JSON for devices, not a browser screen. |
diff --git a/internal/fakeclaude/fake.go b/internal/fakeclaude/fake.go| index 32e902ed..fb81219d 100644 |
| --- a/internal/fakeclaude/fake.go |
| +++ b/internal/fakeclaude/fake.go |
| @@ -41,7 +41,9 @@ |
| // "escape:<path>" asks for Write on an absolute path and reports the |
| // answer; "stepsleep:<ms>" pauses before editing. In a rebase round each |
| // "conflict:<path>" line has its conflicts resolved to the task's side. |
| -// The reply is a summary. |
| +// The reply is a summary. Before anything else (and before |
| +// "stepsleep") it reads each file it will edit, so the step shows its |
| +// activity while it runs. |
| // |
| // Review: a prompt starting "[Equipo: review]" reads the change and calls |
| // submit_review: "review:approve" (the default), "review:changes:<path>| |
| @@ -305,6 +307,13 @@ var stepSleep = regexp.MustCompile(`stepsleep:([0-9]+)`) |
| // engineer plays an Engineering step: permission first, then the edit in |
| // the working directory (the namespace's /workspace). |
| func (f *fake) engineer(prompt string, turn int, emit func(any)) string { |
| + read := map[string]bool{} |
| + for i, m := range editWord.FindAllStringSubmatch(prompt, -1) { |
| + if path := filepath.Join("/workspace", filepath.Clean("/"+m[1])); !read[path] { |
| + read[path] = true |
| + f.readTool(fmt.Sprintf("toolu_fake_%d_er%d", turn, i), path, emit) |
| + } |
| + } |
| if m := stepSleep.FindStringSubmatch(prompt); m != nil { |
| ms, _ := strconv.Atoi(m[1]) |
| time.Sleep(time.Duration(ms) * time.Millisecond) |
| @@ -369,6 +378,12 @@ func (f *fake) engineer(prompt string, turn int, emit func(any)) string { |
| return strings.Join(done, " ") |
| } |
| +// readTool shows a Read of path as the CLI streams it (the read itself |
| +// needs no permission inside the workspace). |
| +func (f *fake) readTool(id, path string, emit func(any)) { |
| + emit(map[string]any{"type": "assistant", "session_id": f.session, "parent_tool_use_id": nil, "message": map[string]any{"model": f.model, "id": "msg_" + id, "type": "message", "role": "assistant", "content": []any{map[string]any{"type": "tool_use", "id": id, "name": "Read", "input": map[string]any{"file_path": path}}}}, "uuid": "assistant-" + id}) |
| +} |
| + |
| var ( |
| reviewChanges = regexp.MustCompile(`review:changes:([^|\n]+)\|([0-9]+)\|([^\n;]*)`) |
| reviewNeed = regexp.MustCompile(`review:need:([^|\n]+)\|([^|\n]+)\|([^\n;]*)`) |
| @@ -379,6 +394,9 @@ var ( |
| // reviewer plays a Review step: reads what the words name in the |
| // working directory and gives its verdict through submit_review. |
| func (f *fake) reviewer(prompt string, turn int, emit func(any)) string { |
| + for i, m := range append(reviewNeed.FindAllStringSubmatch(prompt, -1), reviewChanges.FindAllStringSubmatch(prompt, -1)...) { |
| + f.readTool(fmt.Sprintf("toolu_fake_%d_rr%d", turn, i), filepath.Join("/workspace", filepath.Clean("/"+m[1])), emit) |
| + } |
| if m := reviewSleep.FindStringSubmatch(prompt); m != nil { |
| ms, _ := strconv.Atoi(m[1]) |
| time.Sleep(time.Duration(ms) * time.Millisecond) |
diff --git a/internal/headless/engineering_test.go b/internal/headless/engineering_test.go| index 4fb7dcb8..ce4567bb 100644 |
| --- a/internal/headless/engineering_test.go |
| +++ b/internal/headless/engineering_test.go |
| @@ -150,7 +150,19 @@ func scenarioStepCrash(t *testing.T, env *Env) { |
| } |
| sent := s.send(t, text) |
| id := s.taskOf(t, sent.Turn.ID) |
| - s.step(t, id, 5*time.Minute, wire.StepRunning) |
| + running := s.step(t, id, 5*time.Minute, wire.StepRunning) |
| + if !env.Live { |
| + // What Engineering started shows while it runs: the fake reads the |
| + // file it will edit before it sleeps. |
| + s.wait(t, "step activity while running", time.Minute, func(c *thintest.Conversation) bool { |
| + for _, a := range c.StepActivity[running.ID] { |
| + if n := len(a.Activity); n > 0 && a.Activity[n-1].Kind == wire.ActivityRead && a.Activity[n-1].Subject == "README.md" { |
| + return c.Steps[running.ID].State == wire.StepRunning |
| + } |
| + } |
| + return false |
| + }) |
| + } |
| // Let the step's process start before the kill. |
| time.Sleep(1500 * time.Millisecond) |
| env.KillRunner(t) |
| @@ -172,6 +184,15 @@ func scenarioStepCrash(t *testing.T, env *Env) { |
| t.Fatalf("attempt 2: %+v", done) |
| } |
| if !env.Live { |
| + // The step keeps its last lines: attempt 2's read and edit. |
| + k, err := env.Client.Task(s.ctx, id) |
| + if err != nil { |
| + t.Fatal(err) |
| + } |
| + lines := k.Steps[0].Activity |
| + if len(lines) != 2 || lines[0].Kind != wire.ActivityRead || lines[1].Kind != wire.ActivityEdit || lines[1].Subject != "README.md" { |
| + t.Fatalf("kept activity %+v", lines) |
| + } |
| if got := forgeHead(t, env.ForgePath("amadan.net/oficina/sample"), wire.TaskBranch(id, "Fix the README typo")); got != done.CandidateSHA { |
| t.Fatalf("branch at %q, want %s", got, done.CandidateSHA) |
| } |
diff --git a/internal/plan3test/person_api_contract_test.go b/internal/plan3test/person_api_contract_test.go| index 72e379ca..9bad4358 100644 |
| --- a/internal/plan3test/person_api_contract_test.go |
| +++ b/internal/plan3test/person_api_contract_test.go |
| @@ -56,7 +56,7 @@ func personAPIContractCoverage(t *testing.T) { |
| f := newFixture(t) |
| registered := map[string]bool{} |
| // Thin v1 conversation routes are contracted by internal/wire fixtures. |
| - thin := map[string]bool{"GET /messages": true, "POST /messages": true, "GET /turns/{id}": true, "POST /turns/{id}/cancel": true, "GET /snapshot": true, "GET /events": true, "DELETE /projects/{id}": true, "POST /cards/{id}/answer": true, "GET /notebook": true, "POST /notebook/reset": true, "POST /tasks/{id}/retry": true, "POST /tasks/{id}/thread": true, "GET /steps/{id}/log": true, "POST /tasks/{id}/questions": true, "POST /questions/{id}/cancel": true} |
| + thin := map[string]bool{"GET /messages": true, "POST /messages": true, "GET /turns/{id}": true, "POST /turns/{id}/cancel": true, "GET /snapshot": true, "GET /events": true, "DELETE /projects/{id}": true, "POST /cards/{id}/answer": true, "GET /notebook": true, "POST /notebook/reset": true, "POST /tasks/{id}/retry": true, "POST /tasks/{id}/duplicate": true, "POST /tasks/{id}/thread": true, "GET /steps/{id}/log": true, "POST /tasks/{id}/questions": true, "POST /questions/{id}/cancel": true} |
| must(t, chi.Walk(f.Store.PersonAPIHandler().(chi.Routes), func(method, path string, _ http.Handler, _ ...func(http.Handler) http.Handler) error { |
| if thin[method+" "+path] { |
| return nil |
diff --git a/internal/wire/wiretest/testdata/api/event-project.json b/internal/wire/wiretest/testdata/api/event-project.json| index 36b77360..9482a85a 100644 |
| --- a/internal/wire/wiretest/testdata/api/event-project.json |
| +++ b/internal/wire/wiretest/testdata/api/event-project.json |
| @@ -1 +1 @@ |
| -{"cursor":43,"type":"project","resource":"project","id":"p_0001","revision":1,"data":{"id":"p_0001","revision":1,"repo":"amadan.net/oficina/sample","name":"oficina/sample","title":"Sample","attachments":[{"kind":"repo","ref":"amadan.net/oficina/sample","name":"oficina/sample","default_branch":"main","head_sha":"3333333333333333333333333333333333333333","head_subject":"Swipe from the edge goes back","head_at":"2026-11-07T09:30:00Z"}],"state":"active","added_by":"owner@example.com","created_at":"2026-11-06T10:00:00Z","updated_at":"2026-11-06T10:00:00Z","description":"A sample app for Equipo tests.","stack":["Go"],"checks":{"here":true,"gate":"make ci","reason":""},"people":[{"address":"owner@example.com","name":"Owner","initials":"O"}]}} |
| +{"cursor":43,"type":"project","resource":"project","id":"p_0001","revision":1,"data":{"id":"p_0001","revision":1,"repo":"amadan.net/oficina/sample","name":"oficina/sample","title":"Sample","attachments":[{"kind":"repo","ref":"amadan.net/oficina/sample","name":"oficina/sample","default_branch":"main","head_sha":"3333333333333333333333333333333333333333","head_subject":"Swipe from the edge goes back","head_at":"2026-11-07T09:30:00Z"}],"state":"active","added_by":"owner@example.com","created_at":"2026-11-06T10:00:00Z","updated_at":"2026-11-06T10:00:00Z","description":"A sample app for Equipo tests.","stack":["Go"],"checks":null,"people":[{"address":"owner@example.com","name":"Owner","initials":"O"}]}} |
diff --git a/internal/wire/wiretest/testdata/api/project.json b/internal/wire/wiretest/testdata/api/project.json| index 1f1b0d29..3208c317 100644 |
| --- a/internal/wire/wiretest/testdata/api/project.json |
| +++ b/internal/wire/wiretest/testdata/api/project.json |
| @@ -1 +1 @@ |
| -{"id":"p_0001","revision":1,"repo":"amadan.net/oficina/sample","name":"oficina/sample","title":"Sample","attachments":[{"kind":"repo","ref":"amadan.net/oficina/sample","name":"oficina/sample","default_branch":"main","head_sha":"3333333333333333333333333333333333333333","head_subject":"Swipe from the edge goes back","head_at":"2026-11-07T09:30:00Z"}],"state":"active","added_by":"owner@example.com","created_at":"2026-11-06T10:00:00Z","updated_at":"2026-11-06T10:00:01Z","description":"A sample app for Equipo tests.","stack":["Go"],"checks":{"here":true,"gate":"make ci","reason":""},"people":[{"address":"owner@example.com","name":"Owner","initials":"O"}]} |
| +{"id":"p_0001","revision":1,"repo":"amadan.net/oficina/sample","name":"oficina/sample","title":"Sample","attachments":[{"kind":"repo","ref":"amadan.net/oficina/sample","name":"oficina/sample","default_branch":"main","head_sha":"3333333333333333333333333333333333333333","head_subject":"Swipe from the edge goes back","head_at":"2026-11-07T09:30:00Z"}],"state":"active","added_by":"owner@example.com","created_at":"2026-11-06T10:00:00Z","updated_at":"2026-11-06T10:00:01Z","description":"A sample app for Equipo tests.","stack":["Go"],"checks":null,"people":[{"address":"owner@example.com","name":"Owner","initials":"O"}]} |
diff --git a/internal/wire/wiretest/testdata/api/task.json b/internal/wire/wiretest/testdata/api/task.json| index 2c5332f0..9b11ec8c 100644 |
| --- a/internal/wire/wiretest/testdata/api/task.json |
| +++ b/internal/wire/wiretest/testdata/api/task.json |
| @@ -1 +1 @@ |
| -{"id":"tk0001","revision":5,"project_id":"p_0001","project":"Sample","repo":"amadan.net/oficina/sample","title":"Swipe back from the edge does nothing","brief":"Swiping from the left edge should go back a pane.","stage":"in_progress","branch":"equipo/tk0001-swipe-back-from-the-edge-does-nothing","base_sha":"1111111111111111111111111111111111111111","url":"https://amadan.net/oficina/sample?branch=equipo/tk0001-swipe-back-from-the-edge-does-nothing","creator":"owner@example.com","turn_id":"t_0001","findings":[{"id":"f_0001","text":"The edge-swipe handler returns false, so back never fires.","repo":"amadan.net/oficina/sample","path":"panes/swipe.go","line":4,"at":"2026-11-07T10:00:02Z"}],"steps":[{"id":"s_0001","revision":3,"task_id":"tk0001","index":1,"specialist":"engineering","state":"done","reason":"","attempt":1,"base_sha":"1111111111111111111111111111111111111111","candidate_sha":"2222222222222222222222222222222222222222","pushed":true,"terminated":true,"summary":"EdgeSwipe now goes back on a swipe from the edge.","log_tail":"Edit panes/swipe.go\nDone.","started_at":"2026-11-07T10:00:03Z","finished_at":"2026-11-07T10:01:40Z","round":0,"family":"claude","account":"claude-a","verdict":"","review_label":"","findings":[],"checks":"","gate":"","exit_code":null,"askable":true,"rebase":false,"merge_sha":"","into":"","strategy":"","without_checks":false,"activity":[{"kind":"read","subject":"panes/swipe.go","at":"2026-11-07T10:00:20Z"},{"kind":"edit","subject":"panes/swipe.go","at":"2026-11-07T10:01:02Z"},{"kind":"run","subject":"go test ./panes","at":"2026-11-07T10:01:20Z"}]}],"thread":[{"id":"e_0001","author":"owner@example.com","text":"It happens on the iPhone only.","at":"2026-11-07T10:00:30Z"}],"created_at":"2026-11-07T10:00:01Z","updated_at":"2026-11-07T10:01:40Z","candidate_sha":"2222222222222222222222222222222222222222","checks":"","checks_reason":"","verdict":"","review_label":"","needs_you":"","fix_rounds":0,"branch_head":"","questions":[{"id":"q_0001","revision":3,"task_id":"tk0001","step_id":"s_0001","specialist":"engineering","asker":"owner@example.com","text":"What did you change and why?","state":"answered","reason":"","attempt":1,"answer":"I made the edge swipe return true, so a swipe from the left edge goes back a pane. Before, the handler always said no.","created_at":"2026-11-07T10:05:00Z","updated_at":"2026-11-07T10:05:09Z","timing":null}],"merged":null,"reports":0,"creator_name":"Owner","source_message_id":"m_0001","source_at":"2026-11-07T09:59:58Z","duplicate_of":{"id":"tk0000","title":"Edge swipe does not go back","stage":"ready_to_merge"},"coordinator":null} |
| +{"id":"tk0001","revision":5,"project_id":"p_0001","project":"Sample","repo":"amadan.net/oficina/sample","title":"Swipe back from the edge does nothing","brief":"Swiping from the left edge should go back a pane.","stage":"in_progress","branch":"equipo/tk0001-swipe-back-from-the-edge-does-nothing","base_sha":"1111111111111111111111111111111111111111","url":"https://amadan.net/oficina/sample?branch=equipo/tk0001-swipe-back-from-the-edge-does-nothing","creator":"owner@example.com","turn_id":"t_0001","findings":[{"id":"f_0001","text":"The edge-swipe handler returns false, so back never fires.","repo":"amadan.net/oficina/sample","path":"panes/swipe.go","line":4,"at":"2026-11-07T10:00:02Z"}],"steps":[{"id":"s_0001","revision":3,"task_id":"tk0001","index":1,"specialist":"engineering","state":"done","reason":"","attempt":1,"base_sha":"1111111111111111111111111111111111111111","candidate_sha":"2222222222222222222222222222222222222222","pushed":true,"terminated":true,"summary":"EdgeSwipe now goes back on a swipe from the edge.","log_tail":"Edit panes/swipe.go\nDone.","started_at":"2026-11-07T10:00:03Z","finished_at":"2026-11-07T10:01:40Z","round":0,"family":"claude","account":"claude-a","verdict":"","review_label":"","findings":[],"checks":"","gate":"","exit_code":null,"askable":true,"rebase":false,"merge_sha":"","into":"","strategy":"","without_checks":false,"activity":[{"kind":"read","subject":"panes/swipe.go","at":"2026-11-07T10:00:20Z"},{"kind":"edit","subject":"panes/swipe.go","at":"2026-11-07T10:01:02Z"},{"kind":"run","subject":"go test ./panes","at":"2026-11-07T10:01:20Z"}]}],"thread":[{"id":"e_0001","author":"owner@example.com","text":"It happens on the iPhone only.","at":"2026-11-07T10:00:30Z"}],"created_at":"2026-11-07T10:00:01Z","updated_at":"2026-11-07T10:01:40Z","candidate_sha":"2222222222222222222222222222222222222222","checks":"","checks_reason":"","verdict":"","review_label":"","needs_you":"","fix_rounds":0,"branch_head":"","questions":[{"id":"q_0001","revision":3,"task_id":"tk0001","step_id":"s_0001","specialist":"engineering","asker":"owner@example.com","text":"What did you change and why?","state":"answered","reason":"","attempt":1,"answer":"I made the edge swipe return true, so a swipe from the left edge goes back a pane. Before, the handler always said no.","created_at":"2026-11-07T10:05:00Z","updated_at":"2026-11-07T10:05:09Z","timing":null}],"merged":null,"reports":0,"creator_name":"Owner","source_message_id":"m_0001","source_at":"2026-11-07T09:59:58Z","duplicate_of":null,"coordinator":null} |
diff --git a/internal/wire/wiretest/testdata/api/tasks.json b/internal/wire/wiretest/testdata/api/tasks.json| index b8ef4056..64014951 100644 |
| --- a/internal/wire/wiretest/testdata/api/tasks.json |
| +++ b/internal/wire/wiretest/testdata/api/tasks.json |
| @@ -1 +1 @@ |
| -{"items":[{"id":"tk0001","revision":5,"project_id":"p_0001","project":"Sample","repo":"amadan.net/oficina/sample","title":"Swipe back from the edge does nothing","brief":"Swiping from the left edge should go back a pane.","stage":"in_progress","branch":"equipo/tk0001-swipe-back-from-the-edge-does-nothing","base_sha":"1111111111111111111111111111111111111111","url":"https://amadan.net/oficina/sample?branch=equipo/tk0001-swipe-back-from-the-edge-does-nothing","creator":"owner@example.com","turn_id":"t_0001","findings":[{"id":"f_0001","text":"The edge-swipe handler returns false, so back never fires.","repo":"amadan.net/oficina/sample","path":"panes/swipe.go","line":4,"at":"2026-11-07T10:00:02Z"}],"steps":[{"id":"s_0001","revision":3,"task_id":"tk0001","index":1,"specialist":"engineering","state":"done","reason":"","attempt":1,"base_sha":"1111111111111111111111111111111111111111","candidate_sha":"2222222222222222222222222222222222222222","pushed":true,"terminated":true,"summary":"EdgeSwipe now goes back on a swipe from the edge.","log_tail":"Edit panes/swipe.go\nDone.","started_at":"2026-11-07T10:00:03Z","finished_at":"2026-11-07T10:01:40Z","round":0,"family":"claude","account":"claude-a","verdict":"","review_label":"","findings":[],"checks":"","gate":"","exit_code":null,"askable":true,"rebase":false,"merge_sha":"","into":"","strategy":"","without_checks":false,"activity":[{"kind":"read","subject":"panes/swipe.go","at":"2026-11-07T10:00:20Z"},{"kind":"edit","subject":"panes/swipe.go","at":"2026-11-07T10:01:02Z"},{"kind":"run","subject":"go test ./panes","at":"2026-11-07T10:01:20Z"}]}],"thread":[{"id":"e_0001","author":"owner@example.com","text":"It happens on the iPhone only.","at":"2026-11-07T10:00:30Z"}],"created_at":"2026-11-07T10:00:01Z","updated_at":"2026-11-07T10:01:40Z","candidate_sha":"2222222222222222222222222222222222222222","checks":"","checks_reason":"","verdict":"","review_label":"","needs_you":"","fix_rounds":0,"branch_head":"","questions":[{"id":"q_0001","revision":3,"task_id":"tk0001","step_id":"s_0001","specialist":"engineering","asker":"owner@example.com","text":"What did you change and why?","state":"answered","reason":"","attempt":1,"answer":"I made the edge swipe return true, so a swipe from the left edge goes back a pane. Before, the handler always said no.","created_at":"2026-11-07T10:05:00Z","updated_at":"2026-11-07T10:05:09Z","timing":null}],"merged":null,"reports":0,"creator_name":"Owner","source_message_id":"m_0001","source_at":"2026-11-07T09:59:58Z","duplicate_of":{"id":"tk0000","title":"Edge swipe does not go back","stage":"ready_to_merge"},"coordinator":null}]} |
| +{"items":[{"id":"tk0001","revision":5,"project_id":"p_0001","project":"Sample","repo":"amadan.net/oficina/sample","title":"Swipe back from the edge does nothing","brief":"Swiping from the left edge should go back a pane.","stage":"in_progress","branch":"equipo/tk0001-swipe-back-from-the-edge-does-nothing","base_sha":"1111111111111111111111111111111111111111","url":"https://amadan.net/oficina/sample?branch=equipo/tk0001-swipe-back-from-the-edge-does-nothing","creator":"owner@example.com","turn_id":"t_0001","findings":[{"id":"f_0001","text":"The edge-swipe handler returns false, so back never fires.","repo":"amadan.net/oficina/sample","path":"panes/swipe.go","line":4,"at":"2026-11-07T10:00:02Z"}],"steps":[{"id":"s_0001","revision":3,"task_id":"tk0001","index":1,"specialist":"engineering","state":"done","reason":"","attempt":1,"base_sha":"1111111111111111111111111111111111111111","candidate_sha":"2222222222222222222222222222222222222222","pushed":true,"terminated":true,"summary":"EdgeSwipe now goes back on a swipe from the edge.","log_tail":"Edit panes/swipe.go\nDone.","started_at":"2026-11-07T10:00:03Z","finished_at":"2026-11-07T10:01:40Z","round":0,"family":"claude","account":"claude-a","verdict":"","review_label":"","findings":[],"checks":"","gate":"","exit_code":null,"askable":true,"rebase":false,"merge_sha":"","into":"","strategy":"","without_checks":false,"activity":[{"kind":"read","subject":"panes/swipe.go","at":"2026-11-07T10:00:20Z"},{"kind":"edit","subject":"panes/swipe.go","at":"2026-11-07T10:01:02Z"},{"kind":"run","subject":"go test ./panes","at":"2026-11-07T10:01:20Z"}]}],"thread":[{"id":"e_0001","author":"owner@example.com","text":"It happens on the iPhone only.","at":"2026-11-07T10:00:30Z"}],"created_at":"2026-11-07T10:00:01Z","updated_at":"2026-11-07T10:01:40Z","candidate_sha":"2222222222222222222222222222222222222222","checks":"","checks_reason":"","verdict":"","review_label":"","needs_you":"","fix_rounds":0,"branch_head":"","questions":[{"id":"q_0001","revision":3,"task_id":"tk0001","step_id":"s_0001","specialist":"engineering","asker":"owner@example.com","text":"What did you change and why?","state":"answered","reason":"","attempt":1,"answer":"I made the edge swipe return true, so a swipe from the left edge goes back a pane. Before, the handler always said no.","created_at":"2026-11-07T10:05:00Z","updated_at":"2026-11-07T10:05:09Z","timing":null}],"merged":null,"reports":0,"creator_name":"Owner","source_message_id":"m_0001","source_at":"2026-11-07T09:59:58Z","duplicate_of":null,"coordinator":null}]} |