# R05: after-side rerun

After [4b55798444](https://git.cafe/pingdotgg/t3code/commit/4b557984448fd3d2e5bb506b3d9ff180e32f7748), OpenCode 2.2.6, Linux x86_64. Fresh synthetic data only. Actual UTC timestamps; private model labels replaced by `<model>`. Browser Date is frozen for visual consistency and is not elapsed-time evidence.

Outcome unchanged. After a READY initial turn, the identical sleep 20; echo done driver starts run 2. At 13:50:19.030 the real bash and sleep processes are alive with one pending command. Native completion at 13:50:38.930 contains done, and a continuation notification is persisted at 13:50:38.992: Command "sleep 20; echo done" finished, source background_command, outcome completed. The actual web client renders that notification and replies The background shell completed and printed done. At 13:51:11.338 both PIDs are absent, roster [], and all 3 runs are completed. This covers successful natural completion only. No new stills were needed.

| UTC observation | Run states | Pending roster | Owned processes |
|---|---|---|---|
| 2026-11-10T13:50:19.029982+00:00 | `[{"ordinal": 1, "status": "completed"}, {"ordinal": 2, "status": "running"}]` | `[[{"taskId": "shell_20", "description": "sleep 20; echo done", "kind": "command"}]]` | `[{"pid": 786504, "cwd": "/tmp/lead-32851-r1/capture-4/fixture", "ps": "PID    PPID STAT     ELAPSED COMMAND\n 786504  785267 Ss         00:00 /bin/bash -c sleep 20; echo done"}, {"pid": 786505, "cwd": "/tmp/lead-32851-r1/capture-4/fixture", "ps": "PID    PPID STAT     ELAPSED COMMAND\n 786505  786504 S          00:00 sleep 20"}]` |
| 2026-11-10T13:51:11.338487+00:00 | `[{"ordinal": 1, "status": "completed"}, {"ordinal": 2, "status": "completed"}, {"ordinal": 3, "status": "completed"}]` | `[[]]` | `[{"pid": 786504, "state": "absent from /proc"}, {"pid": 786505, "state": "absent from /proc"}]` |

## Final persisted counts

```json
{
  "observedAt": "2026-11-10T13:56:00.752240+00:00",
  "runCount": 3,
  "nativeDescendantSessions": 0,
  "pendingBackgroundTasks": []
}
```

## Native user and synthetic inputs

### user / 2026-11-10T13:49:32.078000+00:00

```text
Do not call tools. Reply only READY.
```

### user / 2026-11-10T13:50:16.367000+00:00

```text
Use the shell tool to launch exactly `sleep 20; echo done` with background: true. Do not use ampersand. Do not wait for it or stop it. After the launch, reply only `Background shell started.` and finish your turn.
```

### synthetic / 2026-11-10T13:50:38.930000+00:00

```text
<shell id="shell_20" state="completed" command="sleep 20; echo done">
done

</shell>
```


## Persisted continuation and notification

2026-11-10T13:50:38.992Z

```text
<shell id="shell_20" state="completed" command="sleep 20; echo done">
done

</shell>
```

```json
{
  "source": {
    "kind": "background_command"
  },
  "outcome": "completed",
  "summary": "Command \"sleep 20; echo done\" finished"
}
```


## Browser observation

```json
{
  "observedAt": {
    "current_time": "2026-11-10 13:51:54 UTC"
  },
  "visibleText": {
    "text": "Code\nWorking\n1\nSettled\n0\nBE\nBackground shell evidence\n/\nMid-turn Stop evidence\nAgent\nAgent\nDo not call tools. Reply only READY.\nT3 Code\n\nREADY\n\n1:49 PM\n\nAgent\nAgent\nUse the shell tool to launch exactly `sleep 20; echo done` with background: true. Do not use ampersand. Do not wait for it or stop it. After the launch, reply only `Background shell started.` and finish your turn.\nWorked for 5.2s\n1:50 PM\nT3 Code\n\nBackground shell started.\n\n1:50 PM\n\nCommand \"sleep 20; echo done\" finished\n\n1:50 PM\nT3 Code\n\nThe background shell completed and printed done.\n\n1:50 PM\n\n\n\n\nAsk anything. @ files, $ skills, / commands\n<model>\nDefault\nToggle Sidebar",
    "fonts": "loaded"
  }
}
```

The companion JSON retains full redacted ordered events, rosters, process observations, and native inputs. These observations are bounded; no universal future-time claim is made.
