Files
orca/mobile/rpc-foundation/pilot-scenarios.json
Neil b5611915f9 refactor(mobile): group usage and shell generation owners (#40783)
* refactor(mobile): group usage and shell generation owners

* refactor(mobile): use direct module types in reset credit adapter
2026-11-10 14:28:58 -08:00

25719 lines
639 KiB
JSON

{
"schemaVersion": 1,
"scenarios": [
{
"id": "b1",
"operation": "workspace.file-inventory",
"family": "legacy-inventory",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-file-search.ts"],
"schedules": ["a-b-a", "stale-inflight-cleanup"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "query",
"id": "old",
"args": {
"query": "old"
}
},
{
"advance": 120
},
{
"complete": "files.searchPaths#1",
"params": {
"worktree": "id:A",
"query": "old",
"limit": 16
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"bind": "old-inventory",
"request": "files.list#1",
"params": {
"worktree": "id:A"
}
},
{
"checkpoint": "old-pending"
},
{
"action": "select",
"id": "select-b",
"args": {
"workspace": "B"
}
},
{
"action": "select",
"id": "reset-a",
"args": {
"workspace": "A"
}
},
{
"action": "query",
"id": "fresh",
"args": {
"query": "fresh"
}
},
{
"advance": 120
},
{
"complete": "files.searchPaths#2",
"params": {
"worktree": "id:A",
"query": "fresh",
"limit": 16
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"bind": "fresh-inventory",
"request": "files.list#2",
"params": {
"worktree": "id:A"
}
},
{
"complete": "old-inventory",
"params": {
"worktree": "id:A"
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "old.ts"
}
]
}
}
},
{
"checkpoint": "stale-arrived-fresh-pending"
},
{
"action": "query",
"id": "third",
"args": {
"query": "third"
}
},
{
"advance": 120
},
{
"checkpoint": "third-query"
},
{
"complete": "fresh-inventory",
"params": {
"worktree": "id:A"
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "fresh.ts"
},
{
"relativePath": "third.ts"
}
]
}
}
},
{
"checkpoint": "fresh-arrived"
}
]
},
{
"id": "b2",
"operation": "project.update-metadata",
"family": "project-explicit-false",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "pending"
},
{
"complete": "github.project.updateIssueBySlug#1",
"params": {
"owner": "owner",
"repo": "repo",
"host": "github.enterprise.test",
"number": 1,
"updates": {
"addLabels": ["recorded"]
}
},
"reply": {
"ok": true,
"result": null
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "b3",
"operation": "linear.issue-detail",
"family": "linear-detail-barrier",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": ["issue-first", "peer-pending"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "pending"
},
{
"complete": "linear.getIssue#1",
"params": {
"id": "issue-1",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "issue refused"
}
}
},
{
"checkpoint": "issue-refused-comments-pending"
},
{
"complete": "linear.issueComments#1",
"params": {
"issueId": "issue-1",
"workspaceId": "linear-workspace"
},
"reject": {
"message": "comments transport error",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-new-tab-ssh",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex", "claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-write",
"operation": "settings.task-preferences",
"family": "settings-best-effort",
"sites": ["mobile/src/tasks/use-mobile-tasks-client-settings-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "write",
"id": "write",
"args": {
"preset": "my-issues"
}
},
{
"checkpoint": "optimistic"
},
{
"complete": "settings.update#1",
"params": {
"defaultTaskViewPreset": "my-issues"
},
"reject": {
"message": "write disconnected",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-bot-overrides-fulfilled",
"operation": "settings.bot-overrides",
"family": "settings.bot-overrides",
"sites": ["mobile/src/source-control/review/use-pr-bot-author-overrides.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-bot-overrides-refused",
"operation": "settings.bot-overrides",
"family": "settings.bot-overrides",
"sites": ["mobile/src/source-control/review/use-pr-bot-author-overrides.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-bot-overrides-transport-error",
"operation": "settings.bot-overrides",
"family": "settings.bot-overrides",
"sites": ["mobile/src/source-control/review/use-pr-bot-author-overrides.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-workspace-context-fulfilled",
"operation": "settings.workspace-context",
"family": "settings.workspace-context",
"sites": ["mobile/src/components/use-new-workspace-runtime-context.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
],
"namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"]
},
{
"id": "settings-workspace-context-refused",
"operation": "settings.workspace-context",
"family": "settings.workspace-context",
"sites": ["mobile/src/components/use-new-workspace-runtime-context.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
],
"namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"]
},
{
"id": "settings-workspace-context-transport-error",
"operation": "settings.workspace-context",
"family": "settings.workspace-context",
"sites": ["mobile/src/components/use-new-workspace-runtime-context.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
],
"namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"]
},
{
"id": "settings-resume-metadata-fulfilled",
"operation": "settings.resume-metadata",
"family": "settings.resume-metadata",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "folderWorkspace.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"folderWorkspaces": []
}
}
},
{
"complete": "projectGroup.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"groups": []
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": []
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-resume-metadata-refused",
"operation": "settings.resume-metadata",
"family": "settings.resume-metadata",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "folderWorkspace.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"folderWorkspaces": []
}
}
},
{
"complete": "projectGroup.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"groups": []
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": []
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-resume-metadata-transport-error",
"operation": "settings.resume-metadata",
"family": "settings.resume-metadata",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "folderWorkspace.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"folderWorkspaces": []
}
}
},
{
"complete": "projectGroup.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"groups": []
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": []
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-repo-metadata-fulfilled",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-repo-metadata-icons",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Lucide",
"badgeColor": "#123456",
"repoIcon": {
"type": "lucide",
"name": "Rocket"
},
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Emoji",
"repoIcon": {
"type": "emoji",
"emoji": "🐳"
},
"connectionId": "ssh-1"
},
{
"id": "repo-3",
"displayName": "Avatar",
"repoIcon": {
"type": "image",
"src": "https://github.com/acme.png?size=64",
"source": "github",
"label": "acme/orca"
},
"executionHostId": "ssh:ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": [],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "darwin"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-repo-metadata-refused",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-repo-metadata-transport-error",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-hydration-fulfilled",
"operation": "settings.task-hydration",
"family": "settings.task-hydration",
"sites": ["mobile/src/tasks/use-mobile-tasks-runtime-hydration.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-hydration-refused",
"operation": "settings.task-hydration",
"family": "settings.task-hydration",
"sites": ["mobile/src/tasks/use-mobile-tasks-runtime-hydration.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-hydration-transport-error",
"operation": "settings.task-hydration",
"family": "settings.task-hydration",
"sites": ["mobile/src/tasks/use-mobile-tasks-runtime-hydration.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-workspace-submit-fulfilled",
"operation": "settings.workspace-submit",
"family": "settings.workspace-submit",
"sites": ["mobile/src/components/use-new-workspace-create-submit.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-workspace-submit-refused",
"operation": "settings.workspace-submit",
"family": "settings.workspace-submit",
"sites": ["mobile/src/components/use-new-workspace-create-submit.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-workspace-submit-transport-error",
"operation": "settings.workspace-submit",
"family": "settings.workspace-submit",
"sites": ["mobile/src/components/use-new-workspace-create-submit.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-workspace-fulfilled",
"operation": "settings.task-workspace",
"family": "settings.task-workspace",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-create-actions.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-workspace-refused",
"operation": "settings.task-workspace",
"family": "settings.task-workspace",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-create-actions.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-workspace-transport-error",
"operation": "settings.task-workspace",
"family": "settings.task-workspace",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-create-actions.tsx"],
"schedules": ["settings-first"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-task-workspace-create-linear",
"operation": "settings.task-workspace-create",
"family": "settings.task-workspace-create",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-create-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit",
"args": {
"item": {
"key": "linear:1",
"provider": "linear",
"title": "Recorded issue",
"source": {
"identifier": "ORC-1",
"title": "Recorded issue",
"url": "https://linear.app/orca/issue/ORC-1"
}
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": [],
"defaultTuiAgent": "codex"
}
}
}
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "orc-1",
"displayName": "ORC-1 Recorded issue",
"displayNameKind": "generated",
"linkedLinearIssue": "ORC-1",
"setupDecision": "inherit",
"activate": true,
"startupDraft": "https://linear.app/orca/issue/ORC-1",
"createdWithAgent": "claude"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"id": "wt-1",
"displayName": "ORC-1 Recorded issue"
}
}
}
},
{
"checkpoint": "created"
}
]
},
{
"id": "settings-task-workspace-create-pr-start-point",
"operation": "settings.task-workspace-create",
"family": "settings.task-workspace-create",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-create-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "submit",
"id": "submit",
"args": {
"item": {
"key": "github:7",
"provider": "github",
"title": "Recorded pull request",
"source": {
"type": "pr",
"repoId": "repo-1",
"number": 7,
"title": "Recorded pull request",
"url": "https://github.com/o/r/pull/7"
}
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": [],
"defaultTuiAgent": "codex"
}
}
}
},
{
"complete": "worktree.resolvePrBase#1",
"params": {
"repo": "id:repo-1",
"prNumber": 7
},
"reply": {
"ok": true,
"result": {
"baseBranch": "main"
}
}
},
{
"checkpoint": "pr-base-resolved"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "pr-7",
"displayName": "Recorded pull request",
"displayNameKind": "generated",
"setupDecision": "inherit",
"activate": true,
"startupDraft": "https://github.com/o/r/pull/7",
"createdWithAgent": "claude",
"baseBranch": "main",
"linkedPR": 7
},
"reply": {
"ok": true,
"result": {
"worktree": {
"id": "wt-2"
},
"warning": "shallow clone"
}
}
},
{
"checkpoint": "created-from-pr-base"
}
]
},
{
"id": "settings-new-tab-refused",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex", "claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-new-tab-transport-error",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["settings-first"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex", "claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "settings-repo-cache-expiry",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["follow-up-cache-observation", "timer-expiry"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "settled"
},
{
"action": "load-cached",
"id": "cached-query"
},
{
"checkpoint": "cache-hit"
},
{
"advance": 59000
},
{
"action": "load-cached",
"id": "warm-query"
},
{
"checkpoint": "cache-warm"
},
{
"advance": 1000
},
{
"action": "load-cached",
"id": "expired-query"
},
{
"checkpoint": "cache-expired"
}
]
},
{
"id": "inventory-lifecycle",
"operation": "workspace.file-inventory",
"family": "legacy-inventory",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-file-search.ts"],
"schedules": ["reset", "unmount-remount", "blur-retained-route"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "query",
"id": "old",
"args": {
"query": "old"
}
},
{
"advance": 120
},
{
"complete": "files.searchPaths#1",
"params": {
"worktree": "id:A",
"query": "old",
"limit": 16
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"bind": "old-inventory",
"request": "files.list#1",
"params": {
"worktree": "id:A"
}
},
{
"complete": "old-inventory",
"params": {
"worktree": "id:A"
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "old.ts"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "inventory-repeat-query",
"operation": "workspace.file-inventory",
"family": "legacy-inventory",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-file-search.ts"],
"schedules": ["normalized-repeat", "cache-cancels-debounce", "cache-stales-inflight"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "query",
"id": "alpha",
"args": {
"query": " ALPHA "
}
},
{
"advance": 120
},
{
"complete": "files.searchPaths#1",
"params": {
"worktree": "id:A",
"query": "alpha",
"limit": 16
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "alpha.ts"
}
]
}
}
},
{
"action": "query",
"id": "beta",
"args": {
"query": "beta"
}
},
{
"advance": 120
},
{
"complete": "files.searchPaths#2",
"params": {
"worktree": "id:A",
"query": "beta",
"limit": 16
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "beta.ts"
}
]
}
}
},
{
"action": "query",
"id": "gamma",
"args": {
"query": "gamma"
}
},
{
"advance": 120
},
{
"bind": "stale-search",
"request": "files.searchPaths#3",
"params": {
"worktree": "id:A",
"query": "gamma",
"limit": 16
}
},
{
"action": "query",
"id": "repeat-alpha",
"args": {
"query": "alpha"
}
},
{
"checkpoint": "cached-alpha"
},
{
"complete": "stale-search",
"params": {
"worktree": "id:A",
"query": "gamma",
"limit": 16
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "gamma.ts"
}
]
}
}
},
{
"checkpoint": "stale-search-ignored"
},
{
"action": "query",
"id": "delta",
"args": {
"query": "delta"
}
},
{
"action": "query",
"id": "repeat-beta",
"args": {
"query": " BETA "
}
},
{
"advance": 120
},
{
"checkpoint": "cached-beta-cancels-debounce"
}
]
},
{
"id": "settings-repo-metadata-single-host",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["single-ssh-host"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Remote",
"connectionId": "ssh-1"
},
{
"id": "repo-2",
"displayName": "Remote folder",
"connectionId": "ssh-1"
}
]
}
}
},
{
"checkpoint": "single-host-without-label-lookups"
}
]
},
{
"id": "settings-bot-overrides-refresh-refused",
"operation": "settings.bot-overrides",
"family": "settings.bot-overrides",
"sites": ["mobile/src/source-control/review/use-pr-bot-author-overrides.ts"],
"schedules": ["success-then-refused"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"checkpoint": "settled"
},
{
"action": "reset",
"id": "refresh"
},
{
"checkpoint": "refresh-pending"
},
{
"complete": "settings.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "Settings refused"
}
}
},
{
"checkpoint": "refused-retains-overrides"
}
]
},
{
"id": "settings-workspace-context-refuse-after-data",
"operation": "settings.workspace-context",
"family": "settings.workspace-context",
"sites": ["mobile/src/components/use-new-workspace-runtime-context.ts"],
"schedules": ["success-then-refused"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
},
{
"checkpoint": "data-present"
},
{
"action": "blur",
"id": "blur"
},
{
"action": "reset",
"id": "revisit"
},
{
"checkpoint": "refresh-pending"
},
{
"complete": "settings.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "ui.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "refused-after-data"
}
]
},
{
"id": "settings-resume-metadata-refuse-after-data",
"operation": "settings.resume-metadata",
"family": "settings.resume-metadata",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": ["success-then-refused"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "folderWorkspace.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"folderWorkspaces": []
}
}
},
{
"complete": "projectGroup.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"groups": []
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": []
}
}
},
{
"checkpoint": "settled"
},
{
"checkpoint": "data-present"
},
{
"action": "load",
"id": "reload"
},
{
"checkpoint": "refresh-pending"
},
{
"complete": "repo.list#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "folderWorkspace.list#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"folderWorkspaces": []
}
}
},
{
"complete": "projectGroup.list#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"groups": []
}
}
},
{
"complete": "settings.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "worktree.ps#2",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": []
}
}
},
{
"checkpoint": "refused-after-data"
}
]
},
{
"id": "settings-repo-metadata-refuse-after-data",
"operation": "settings.repo-metadata",
"family": "settings.repo-metadata",
"sites": ["mobile/src/host-screen/use-host-repo-metadata.ts"],
"schedules": ["success-then-refused"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load"
},
{
"complete": "repo.list#1",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "host.platform#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "settled"
},
{
"checkpoint": "data-present"
},
{
"action": "load",
"id": "reload"
},
{
"checkpoint": "refresh-pending"
},
{
"complete": "repo.list#2",
"params": {
"afterSnapshotId": null
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"displayName": "Local",
"connectionId": null
},
{
"id": "repo-2",
"displayName": "Remote",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "ssh.listTargetSummaries#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"targets": [
{
"id": "ssh-1",
"label": "SSH"
}
]
}
}
},
{
"complete": "settings.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "host.platform#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"platform": "linux"
}
}
},
{
"checkpoint": "refused-after-data"
}
]
},
{
"id": "settings-task-hydration-refuse-after-data",
"operation": "settings.task-hydration",
"family": "settings.task-hydration",
"sites": ["mobile/src/tasks/use-mobile-tasks-runtime-hydration.tsx"],
"schedules": ["success-then-refused"],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "settings-pending"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"disabledTuiAgents": ["claude"],
"defaultTuiAgent": "codex",
"prBotAuthorOverrides": ["bot-user"],
"visibleTaskProviders": ["github", "linear"],
"hostSettingOverrides": {}
}
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "settled"
},
{
"checkpoint": "data-present"
},
{
"action": "remount",
"id": "revisit"
},
{
"checkpoint": "refresh-pending"
},
{
"complete": "settings.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "ui.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {}
}
}
},
{
"complete": "preflight.check#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"glab": {
"installed": false
}
}
}
},
{
"complete": "linear.status#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"complete": "jira.status#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": false
}
}
},
{
"checkpoint": "refused-after-data"
}
]
},
{
"id": "probe-new-tab-both-refused",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["both-refused"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "agents refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "probe-new-tab-refused-sibling-rejects",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["refused-sibling-rejects"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "settings refused"
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reject": {
"message": "agents disconnected",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "probe-new-tab-rejects-sibling-refused",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["rejects-sibling-refused"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reject": {
"message": "settings disconnected",
"deliveryUnknown": true
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "agents refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "probe-new-tab-null-sibling-refused",
"operation": "settings.new-tab-agents",
"family": "settings-agent-read",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": ["null-sibling-refused"],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": null
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "agents refused"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-base-ref-default",
"operation": "source-control.branch-base-ref",
"family": "git.base-ref-chain",
"sites": ["mobile/src/source-control/mobile-branch-base-ref.ts"],
"schedules": [],
"steps": [
{
"action": "resolve",
"id": "resolve"
},
{
"checkpoint": "requests-pending"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": " "
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo42",
"worktreeBaseRef": null
}
]
}
}
},
{
"checkpoint": "barrier-settled"
},
{
"complete": "repo.baseRefDefault#1",
"params": {
"repo": "id:repo42"
},
"reply": {
"ok": true,
"result": {
"defaultBaseRef": " origin/main "
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-base-ref-worktree-hit",
"operation": "source-control.branch-base-ref",
"family": "git.base-ref-chain",
"sites": ["mobile/src/source-control/mobile-branch-base-ref.ts"],
"schedules": [],
"steps": [
{
"action": "resolve",
"id": "resolve"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/dev"
}
}
}
},
{
"checkpoint": "repo-list-outstanding"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-base-ref-repo-fallback",
"operation": "source-control.branch-base-ref",
"family": "git.base-ref-chain",
"sites": ["mobile/src/source-control/mobile-branch-base-ref.ts"],
"schedules": [],
"steps": [
{
"action": "resolve",
"id": "resolve"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "no worktree"
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo42",
"worktreeBaseRef": " origin/rel "
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-base-ref-unavailable",
"operation": "source-control.branch-base-ref",
"family": "git.base-ref-chain",
"sites": ["mobile/src/source-control/mobile-branch-base-ref.ts"],
"schedules": [],
"steps": [
{
"action": "resolve",
"id": "resolve"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "nope"
}
}
},
{
"complete": "repo.baseRefDefault#1",
"params": {
"repo": "id:repo42"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "git is not available to mobile clients"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-history-loaded",
"operation": "source-control.git-history",
"family": "git.history-read",
"sites": ["mobile/src/source-control/mobile-git-history.ts"],
"schedules": [],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "git.history#1",
"params": {
"worktree": "id:repo42::/p",
"limit": 50
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"displayId": "aaaaaaa",
"subject": "first",
"author": "dev",
"parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"],
"timestamp": 1767222000000
},
{
"id": "cccccccccccccccccccccccccccccccccccccccc",
"subject": "",
"parentIds": [],
"timestamp": null
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-commit-message-generated",
"operation": "source-control.commit-message",
"family": "git.commit-message-ai",
"sites": ["mobile/src/source-control/mobile-commit-message-ai.ts"],
"schedules": [],
"steps": [
{
"action": "generate",
"id": "generate"
},
{
"checkpoint": "pending"
},
{
"complete": "git.generateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"success": true,
"message": "feat: recorded"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-commit-message-canceled",
"operation": "source-control.commit-message",
"family": "git.commit-message-ai",
"sites": ["mobile/src/source-control/mobile-commit-message-ai.ts"],
"schedules": [],
"steps": [
{
"action": "generate",
"id": "generate"
},
{
"complete": "git.generateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"success": false,
"error": "",
"canceled": true
}
}
},
{
"checkpoint": "generate-settled"
},
{
"action": "cancel",
"id": "cancel"
},
{
"complete": "git.cancelGenerateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": "late"
}
}
},
{
"checkpoint": "cancel-settled"
}
]
},
{
"id": "sc-commit-message-cancel-rejected",
"operation": "source-control.commit-message",
"family": "git.commit-message-ai",
"sites": ["mobile/src/source-control/mobile-commit-message-ai.ts"],
"schedules": [],
"steps": [
{
"action": "cancel",
"id": "cancel"
},
{
"complete": "git.cancelGenerateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reject": {
"message": "transport failure",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-pr-link-set",
"operation": "source-control.pr-link",
"family": "worktree.review-link",
"sites": ["mobile/src/source-control/mobile-pr-link.ts"],
"schedules": [],
"steps": [
{
"action": "link",
"id": "link"
},
{
"checkpoint": "pending"
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"linkedPR": 12
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-pr-link-hosted-review",
"operation": "source-control.pr-link",
"family": "worktree.review-link",
"sites": ["mobile/src/source-control/mobile-pr-link.ts"],
"schedules": [],
"steps": [
{
"action": "link-review",
"id": "link-review"
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "origin/release",
"linkedGitLabMR": 12
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"action": "unlink",
"id": "unlink"
},
{
"complete": "worktree.set#2",
"params": {
"worktree": "id:repo42::/p",
"linkedPR": null,
"suppressedGitHubPR": 12
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-pr-link-read",
"operation": "source-control.pr-link",
"family": "worktree.review-link",
"sites": ["mobile/src/source-control/mobile-pr-link.ts"],
"schedules": [],
"steps": [
{
"action": "read",
"id": "read"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": 7
}
}
}
},
{
"checkpoint": "read-settled"
},
{
"action": "read",
"id": "read-again"
},
{
"complete": "worktree.show#2",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": null
}
},
{
"checkpoint": "null-result-settled"
}
]
},
{
"id": "sc-review-status-normalized",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "status",
"id": "status"
},
{
"checkpoint": "pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "abc1234",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged"
},
{
"path": "src/new.ts",
"status": "untracked",
"area": "untracked"
}
],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-review-status-entries-not-array",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "status",
"id": "status"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"entries": "nope",
"branch": "feature"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-review-commit",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "commit",
"id": "commit"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "recorded message"
},
"reply": {
"ok": true,
"result": {
"success": true,
"commit": "abc1234"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-review-commit-inner-failure",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "commit",
"id": "commit"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "recorded message"
},
"reply": {
"ok": true,
"result": {
"success": false,
"error": "nothing staged"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-review-commit-refused-empty-message",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "commit",
"id": "commit"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "recorded message"
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": ""
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-review-commit-rejected",
"operation": "source-control.review-git-preparation",
"family": "git.review-preparation",
"sites": ["mobile/src/source-control/mobile-hosted-review-git-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "commit",
"id": "commit"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "recorded message"
},
"reject": {
"message": "connection lost",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prerequisite-push",
"operation": "source-control.remote-prerequisite",
"family": "git.remote-prerequisite",
"sites": ["mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts"],
"schedules": [],
"steps": [
{
"action": "apply",
"id": "apply",
"args": {
"blockedReason": "needs_push",
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0
}
}
},
{
"checkpoint": "pending"
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prerequisite-publish",
"operation": "source-control.remote-prerequisite",
"family": "git.remote-prerequisite",
"sites": ["mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts"],
"schedules": [],
"steps": [
{
"action": "apply",
"id": "apply",
"args": {
"blockedReason": "no_upstream",
"upstreamStatus": {
"hasUpstream": false,
"ahead": 0,
"behind": 0
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main"
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "origin/main"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/main",
"changedFiles": 1,
"status": "ready",
"commitsAhead": 2
},
"entries": []
}
}
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p",
"publish": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prerequisite-force-with-lease",
"operation": "source-control.remote-prerequisite",
"family": "git.remote-prerequisite",
"sites": ["mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts"],
"schedules": [],
"steps": [
{
"action": "apply",
"id": "apply",
"args": {
"blockedReason": "needs_sync",
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 1,
"behindCommitsArePatchEquivalent": true
}
}
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p",
"forceWithLease": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prerequisite-skipped",
"operation": "source-control.remote-prerequisite",
"family": "git.remote-prerequisite",
"sites": ["mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts"],
"schedules": [],
"steps": [
{
"action": "apply",
"id": "apply",
"args": {
"blockedReason": "needs_sync"
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-eligibility-fetched",
"operation": "source-control.hosted-review-eligibility",
"family": "hostedReview.eligibility",
"sites": ["mobile/src/source-control/mobile-hosted-review-service.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"checkpoint": "pending"
},
{
"complete": "hostedReview.getCreationEligibility#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": true,
"result": {
"provider": "gitlab",
"defaultBaseRef": "main",
"title": "Host title",
"body": "Host body",
"canCreate": true,
"blockedReason": null,
"nextAction": null,
"reviewLookupOutcome": "none"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prefill-unavailable-on-refusal",
"operation": "source-control.hosted-review-eligibility",
"family": "hostedReview.eligibility",
"sites": ["mobile/src/source-control/mobile-hosted-review-service.ts"],
"schedules": [],
"steps": [
{
"action": "prefill",
"id": "prefill"
},
{
"complete": "hostedReview.getCreationEligibility#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "no eligibility"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-prefill-unavailable-on-rejection",
"operation": "source-control.hosted-review-eligibility",
"family": "hostedReview.eligibility",
"sites": ["mobile/src/source-control/mobile-hosted-review-service.ts"],
"schedules": [],
"steps": [
{
"action": "prefill",
"id": "prefill"
},
{
"complete": "hostedReview.getCreationEligibility#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reject": {
"message": "transport failure",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-pushes-then-creates",
"operation": "source-control.hosted-review-create",
"family": "hostedReview.create-chain",
"sites": [
"mobile/src/source-control/mobile-hosted-review-service.ts",
"mobile/src/source-control/mobile-pr-link.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {
"pushBeforeCreate": true
}
},
{
"checkpoint": "push-pending"
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "create-pending"
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Recorded title",
"body": "Recorded body",
"draft": false
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 5,
"url": "https://review.test/5"
}
}
},
{
"checkpoint": "link-pending"
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "main",
"linkedPR": 5
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-link-failure-is-non-fatal",
"operation": "source-control.hosted-review-create",
"family": "hostedReview.create-chain",
"sites": [
"mobile/src/source-control/mobile-hosted-review-service.ts",
"mobile/src/source-control/mobile-pr-link.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {}
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Recorded title",
"body": "Recorded body",
"draft": false
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 5,
"url": "https://review.test/5"
}
}
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "main",
"linkedPR": 5
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": ""
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-existing-review",
"operation": "source-control.hosted-review-create",
"family": "hostedReview.create-chain",
"sites": [
"mobile/src/source-control/mobile-hosted-review-service.ts",
"mobile/src/source-control/mobile-pr-link.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {}
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Recorded title",
"body": "Recorded body",
"draft": false
},
"reply": {
"ok": true,
"result": {
"ok": false,
"error": "Create pull request failed: already exists",
"existingReview": {
"number": 9,
"url": "https://review.test/9"
}
}
}
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "main",
"linkedPR": 9
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-refused-empty-message",
"operation": "source-control.hosted-review-create",
"family": "hostedReview.create-chain",
"sites": [
"mobile/src/source-control/mobile-hosted-review-service.ts",
"mobile/src/source-control/mobile-pr-link.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {}
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Recorded title",
"body": "Recorded body",
"draft": false
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": ""
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-rejected-empty-message",
"operation": "source-control.hosted-review-create",
"family": "hostedReview.create-chain",
"sites": [
"mobile/src/source-control/mobile-hosted-review-service.ts",
"mobile/src/source-control/mobile-pr-link.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {}
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Recorded title",
"body": "Recorded body",
"draft": false
},
"reject": {
"message": "",
"deliveryUnknown": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-intent-stage-commit-push-create",
"operation": "source-control.create-intent",
"family": "hostedReview.create-intent",
"sites": [
"mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts",
"mobile/src/source-control/mobile-hosted-review-create-intent.ts"
],
"schedules": [],
"steps": [
{
"action": "run",
"id": "run",
"args": {}
},
{
"checkpoint": "initial-status-pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "abc1234",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged"
},
{
"path": "src/new.ts",
"status": "untracked",
"area": "untracked"
}
],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "stage-pending"
},
{
"complete": "git.bulkStage#1",
"params": {
"worktree": "id:repo42::/p",
"filePaths": ["src/new.ts"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"complete": "git.status#2",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "abc1234",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged"
}
],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "generate-message-pending"
},
{
"complete": "git.generateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"success": true,
"message": "feat: recorded"
}
}
},
{
"checkpoint": "commit-pending"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "feat: recorded"
},
"reply": {
"ok": true,
"result": {
"success": true
}
}
},
{
"complete": "git.status#3",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "def5678",
"entries": [],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "prefill-pending"
},
{
"complete": "hostedReview.getCreationEligibility#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"hasUncommittedChanges": false,
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"defaultBaseRef": "main",
"title": "Host title",
"body": "Host body",
"canCreate": false,
"blockedReason": "needs_push",
"nextAction": null,
"reviewLookupOutcome": "not_found"
}
}
},
{
"checkpoint": "push-pending"
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"complete": "git.status#4",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "def5678",
"entries": [],
"upstreamStatus": {
"ahead": 0,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"complete": "hostedReview.getCreationEligibility#2",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"hasUncommittedChanges": false,
"hasUpstream": true,
"ahead": 0,
"behind": 0,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"defaultBaseRef": "main",
"title": "Host title",
"body": "Host body",
"canCreate": true,
"blockedReason": null,
"nextAction": null,
"reviewLookupOutcome": "not_found"
}
}
},
{
"checkpoint": "create-pending"
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "github",
"base": "main",
"head": "feature",
"title": "Host title",
"body": "Host body",
"draft": false
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 5,
"url": "https://review.test/5"
}
}
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "main",
"linkedPR": 5
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-create-intent-unlisted-provider",
"operation": "source-control.create-intent",
"family": "hostedReview.create-intent",
"sites": [
"mobile/src/source-control/mobile-hosted-review-create-intent-runner.ts",
"mobile/src/source-control/mobile-hosted-review-create-intent.ts"
],
"schedules": [],
"steps": [
{
"action": "run",
"id": "run",
"args": {}
},
{
"checkpoint": "initial-status-pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "abc1234",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged"
},
{
"path": "src/new.ts",
"status": "untracked",
"area": "untracked"
}
],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "stage-pending"
},
{
"complete": "git.bulkStage#1",
"params": {
"worktree": "id:repo42::/p",
"filePaths": ["src/new.ts"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"complete": "git.status#2",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "abc1234",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged"
}
],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "generate-message-pending"
},
{
"complete": "git.generateCommitMessage#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"success": true,
"message": "feat: recorded"
}
}
},
{
"checkpoint": "commit-pending"
},
{
"complete": "git.commit#1",
"params": {
"worktree": "id:repo42::/p",
"message": "feat: recorded"
},
"reply": {
"ok": true,
"result": {
"success": true
}
}
},
{
"complete": "git.status#3",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "def5678",
"entries": [],
"upstreamStatus": {
"ahead": 1,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"checkpoint": "prefill-pending"
},
{
"complete": "hostedReview.getCreationEligibility#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"hasUncommittedChanges": false,
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": true,
"result": {
"provider": "codeberg",
"defaultBaseRef": "main",
"title": "Host title",
"body": "Host body",
"canCreate": false,
"blockedReason": "needs_push",
"nextAction": null,
"reviewLookupOutcome": "not_found"
}
}
},
{
"checkpoint": "push-pending"
},
{
"complete": "git.push#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"complete": "git.status#4",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "def5678",
"entries": [],
"upstreamStatus": {
"ahead": 0,
"behind": 0,
"hasUpstream": true
}
}
}
},
{
"complete": "hostedReview.getCreationEligibility#2",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"branch": "feature",
"base": null,
"hasUncommittedChanges": false,
"hasUpstream": true,
"ahead": 0,
"behind": 0,
"linkedGitHubPR": null,
"linkedGitLabMR": null
},
"reply": {
"ok": true,
"result": {
"provider": "codeberg",
"defaultBaseRef": "main",
"title": "Host title",
"body": "Host body",
"canCreate": true,
"blockedReason": null,
"nextAction": null,
"reviewLookupOutcome": "not_found"
}
}
},
{
"checkpoint": "create-pending"
},
{
"complete": "hostedReview.create#1",
"params": {
"repo": "id:repo42",
"worktree": "id:repo42::/p",
"provider": "codeberg",
"base": "main",
"head": "feature",
"title": "Host title",
"body": "Host body",
"draft": false
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 5,
"url": "https://codeberg.test/pr/5"
}
}
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "main"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "tw-create-retry-created",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"id": "repo-1::/w",
"displayName": "kestrel"
}
}
}
},
{
"checkpoint": "created"
}
]
},
{
"id": "tw-create-retry-warning-kept",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"id": "repo-1::/w"
},
"warning": " startup terminal failed "
}
}
},
{
"checkpoint": "created-with-warning"
}
]
},
{
"id": "tw-create-retry-name-collision",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
},
"reply": {
"ok": false,
"error": {
"code": "conflict",
"message": "Branch \"kestrel\" already exists."
}
}
},
{
"checkpoint": "retrying"
},
{
"complete": "worktree.create#2",
"params": {
"repo": "id:repo-1",
"name": "kestrel-2",
"clientMutationId": "mutation-2"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"id": "repo-1::/w2",
"displayName": "kestrel-2"
}
}
}
},
{
"checkpoint": "created-suffixed"
}
]
},
{
"id": "tw-create-retry-unretryable-refusal",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": ""
}
}
},
{
"checkpoint": "refused-empty-message"
}
]
},
{
"id": "tw-create-retry-ambiguous-while-connected",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
},
"reject": {
"message": "Request timed out",
"deliveryUnknown": true
}
},
{
"checkpoint": "unknown-not-failed"
}
]
},
{
"id": "tw-create-retry-ambiguous-after-drop",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create"
},
{
"action": "disconnect",
"id": "drop"
},
{
"checkpoint": "waiting-for-reconnect"
},
{
"advance": 20000
},
{
"checkpoint": "replay-window-abandoned"
}
]
},
{
"id": "tw-create-retry-ambiguous-without-idempotency",
"operation": "tasks.worktree-create-retry",
"family": "worktree.create-retry",
"sites": ["mobile/src/tasks/worktree-create-retry.ts"],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {
"idempotency": false
}
},
{
"complete": "worktree.create#1",
"params": {
"repo": "id:repo-1",
"name": "kestrel"
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"checkpoint": "unstamped-create-is-not-replayed"
}
]
},
{
"id": "tw-create-retry-agent-launched",
"operation": "tasks.worktree-create-retry",
"family": "worktree.agent-launch-create",
"sites": [
"mobile/src/tasks/worktree-create-retry.ts",
"mobile/src/tasks/agent-launch-request.ts"
],
"schedules": [],
"steps": [
{
"action": "create",
"id": "create",
"args": {
"agentLaunch": true
}
},
{
"checkpoint": "sent"
},
{
"complete": "agent.launch#1",
"params": {
"agent": "codex",
"target": {
"kind": "create-worktree",
"create": {
"repo": "id:repo-1",
"name": "kestrel",
"clientMutationId": "mutation-1"
}
}
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "structured",
"sessionId": "sess-1",
"handle": "t-1"
},
"worktreeId": "repo-1::/w",
"warning": " startup terminal failed ",
"receipt": {
"mode": "structured",
"preferred": "structured",
"reason": "user_default",
"detail": "Structured session created."
}
}
}
},
{
"checkpoint": "launched"
}
]
},
{
"id": "tw-capabilities-advertised",
"operation": "tasks.worktree-capabilities",
"family": "worktree.runtime-capabilities",
"sites": ["mobile/src/tasks/worktree-create-capability.ts"],
"schedules": [],
"steps": [
{
"action": "probe",
"id": "probe"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1", "worktree.create-idempotency.v1"],
"worktreeCreateIdempotency": {
"dedupeTtlMs": 45000
},
"platform": "linux"
}
}
},
{
"checkpoint": "probed"
}
]
},
{
"id": "tw-capabilities-legacy-idempotency",
"operation": "tasks.worktree-capabilities",
"family": "worktree.runtime-capabilities",
"sites": ["mobile/src/tasks/worktree-create-capability.ts"],
"schedules": [],
"steps": [
{
"action": "probe",
"id": "probe"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["worktree.create-idempotency.v1"]
}
}
},
{
"checkpoint": "legacy-host-window"
}
]
},
{
"id": "tw-capabilities-cutover-retried",
"operation": "tasks.worktree-capabilities",
"family": "worktree.runtime-capabilities",
"sites": ["mobile/src/tasks/worktree-create-capability.ts"],
"schedules": [],
"steps": [
{
"action": "probe",
"id": "probe"
},
{
"action": "cutover",
"id": "migrate"
},
{
"bind": "status-after-cutover",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"checkpoint": "reprobing-after-cutover"
},
{
"complete": "status-after-cutover",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "probed-on-replacement"
}
]
},
{
"id": "tw-hosted-base-resolved",
"operation": "tasks.composer-hosted-base",
"family": "worktree.hosted-base",
"sites": ["mobile/src/tasks/composer-source-base-resolve.ts"],
"schedules": [],
"steps": [
{
"action": "pr-base",
"id": "pr"
},
{
"complete": "worktree.resolvePrBase#1",
"params": {
"repo": "id:repo-1",
"prNumber": 12,
"headRefName": "feature"
},
"reply": {
"ok": true,
"result": {
"baseBranch": "main",
"compareBaseRef": "origin/main"
}
}
},
{
"checkpoint": "pr-base-resolved"
},
{
"action": "mr-base",
"id": "mr"
},
{
"complete": "worktree.resolveMrBase#1",
"params": {
"repo": "id:repo-1",
"mrIid": 7,
"sourceBranch": "feature"
},
"reply": {
"ok": true,
"result": {
"baseBranch": "develop"
}
}
},
{
"checkpoint": "mr-base-resolved"
}
]
},
{
"id": "tw-hosted-base-soft-error",
"operation": "tasks.composer-hosted-base",
"family": "worktree.hosted-base",
"sites": ["mobile/src/tasks/composer-source-base-resolve.ts"],
"schedules": [],
"steps": [
{
"action": "pr-base",
"id": "pr"
},
{
"complete": "worktree.resolvePrBase#1",
"params": {
"repo": "id:repo-1",
"prNumber": 12,
"headRefName": "feature"
},
"reply": {
"ok": true,
"result": {
"error": "pull request not found"
}
}
},
{
"checkpoint": "in-band-error"
},
{
"action": "mr-base",
"id": "mr"
},
{
"complete": "worktree.resolveMrBase#1",
"params": {
"repo": "id:repo-1",
"mrIid": 7,
"sourceBranch": "feature"
},
"reply": {
"ok": true,
"result": {
"error": ""
}
}
},
{
"checkpoint": "in-band-empty-error"
}
]
},
{
"id": "tw-setup-hook-trust-approved",
"operation": "tasks.setup-hook-trust",
"family": "worktree.setup-hook-trust",
"sites": ["mobile/src/tasks/setup-hook-trust.ts"],
"schedules": [],
"steps": [
{
"action": "approve",
"id": "approve"
},
{
"complete": "ui.set#1",
"params": {
"trustedOrcaHooks": {
"repo-1": {
"setup": {
"contentHash": "hash-1",
"approvedAt": 1767225600000
}
}
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "approved"
}
]
},
{
"id": "tw-setup-hook-trust-always",
"operation": "tasks.setup-hook-trust",
"family": "worktree.setup-hook-trust",
"sites": ["mobile/src/tasks/setup-hook-trust.ts"],
"schedules": [],
"steps": [
{
"action": "approve",
"id": "approve",
"args": {
"always": true
}
},
{
"complete": "ui.set#1",
"params": {
"trustedOrcaHooks": {
"repo-1": {
"setup": {
"contentHash": "hash-1",
"approvedAt": 1767225600000
},
"all": {
"approvedAt": 1767225600000
}
}
}
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": ""
}
}
},
{
"checkpoint": "refused-empty-message"
}
]
},
{
"id": "tw-smart-search-all-providers",
"operation": "tasks.smart-source-search",
"family": "tasks.smart-source-search",
"sites": ["mobile/src/tasks/smart-source-search-requests.ts"],
"schedules": [],
"steps": [
{
"action": "github",
"id": "github"
},
{
"complete": "github.listWorkItems#1",
"params": {
"repo": "id:repo-1",
"limit": 36,
"query": "bug"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue:1",
"type": "issue",
"number": 1,
"title": "one",
"state": "open",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
]
}
}
},
{
"checkpoint": "github-items"
},
{
"action": "gitlab",
"id": "gitlab"
},
{
"complete": "gitlab.listWorkItems#1",
"params": {
"repo": "id:repo-1",
"state": "opened",
"page": 1,
"perPage": 50,
"query": "bug"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue:2",
"type": "issue",
"number": 2,
"title": "two",
"state": "opened",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
],
"error": {
"type": "not_found",
"message": "missing"
}
}
}
},
{
"checkpoint": "gitlab-items"
},
{
"action": "linear",
"id": "linear"
},
{
"complete": "linear.searchIssues#1",
"params": {
"query": "bug",
"limit": 50,
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue-1",
"identifier": "ENG-1",
"title": "A searched issue",
"url": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
}
},
{
"checkpoint": "linear-search"
},
{
"action": "branches",
"id": "branches"
},
{
"complete": "repo.searchRefs#1",
"params": {
"repo": "id:repo-1",
"query": "bug",
"limit": 20
},
"reply": {
"ok": true,
"result": {
"refs": ["main", "release"]
}
}
},
{
"checkpoint": "branch-refs"
},
{
"action": "linear",
"id": "linear-assigned",
"args": {
"query": " ",
"workspace": null
}
},
{
"complete": "linear.listIssues#1",
"params": {
"filter": "assigned",
"limit": 50,
"workspaceId": {
"$undefined": true
}
},
"reply": {
"ok": true,
"result": [
{
"id": "issue-3",
"identifier": "ENG-3",
"title": "An assigned issue",
"url": "",
"state": {
"name": "In Progress",
"type": "started",
"color": "#111"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 2,
"updatedAt": "2020-01-02T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "linear-assigned-listed"
}
]
},
{
"id": "tw-smart-search-linear-listed",
"operation": "tasks.smart-source-search",
"family": "tasks.smart-source-search",
"sites": ["mobile/src/tasks/smart-source-search-requests.ts"],
"schedules": [],
"steps": [
{
"action": "linear",
"id": "linear",
"args": {
"query": " ",
"workspace": null
}
},
{
"complete": "linear.listIssues#1",
"params": {
"filter": "assigned",
"limit": 50,
"workspaceId": {
"$undefined": true
}
},
"reply": {
"ok": true,
"result": [
{
"id": "issue-2",
"identifier": "ENG-2",
"title": "An assigned issue",
"url": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "linear-assigned"
}
]
},
{
"id": "tw-smart-search-gitlab-provider-error",
"operation": "tasks.smart-source-search",
"family": "tasks.smart-source-search",
"sites": ["mobile/src/tasks/smart-source-search-requests.ts"],
"schedules": [],
"steps": [
{
"action": "gitlab",
"id": "gitlab"
},
{
"complete": "gitlab.listWorkItems#1",
"params": {
"repo": "id:repo-1",
"state": "opened",
"page": 1,
"perPage": 50,
"query": "bug"
},
"reply": {
"ok": true,
"result": {
"items": [],
"error": {
"type": "quota",
"message": "rate limited"
}
}
}
},
{
"checkpoint": "in-band-provider-error"
},
{
"action": "branches",
"id": "branches",
"args": {
"query": " main "
}
},
{
"complete": "repo.searchRefs#1",
"params": {
"repo": "id:repo-1",
"query": "main",
"limit": 20
},
"reply": {
"ok": true,
"result": {
"refDetails": [
{
"refName": "origin/main",
"localBranchName": "main"
}
]
}
}
},
{
"checkpoint": "branch-ref-details"
}
]
},
{
"id": "tw-paste-lookup-resolved",
"operation": "tasks.paste-lookup",
"family": "tasks.paste-lookup",
"sites": ["mobile/src/tasks/smart-source-paste-intent.ts"],
"schedules": [],
"steps": [
{
"action": "by-number",
"id": "by-number"
},
{
"complete": "github.workItem#1",
"params": {
"repo": "id:repo-1",
"number": 12
},
"reply": {
"ok": true,
"result": {
"id": "issue:12",
"type": "issue",
"number": 12,
"title": "twelve",
"state": "open",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
}
},
{
"checkpoint": "by-number"
},
{
"action": "by-slug",
"id": "by-slug"
},
{
"complete": "github.workItemByOwnerRepo#1",
"params": {
"repo": "id:repo-1",
"owner": "owner",
"ownerRepo": "repo",
"number": 12,
"type": "issue"
},
"reply": {
"ok": true,
"result": {
"id": "issue:12",
"type": "issue",
"number": 12,
"title": "twelve",
"state": "open",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
}
},
{
"checkpoint": "by-slug"
},
{
"action": "gitlab-path",
"id": "gitlab-path"
},
{
"complete": "gitlab.workItemByPath#1",
"params": {
"repo": "id:repo-1",
"host": "gitlab.com",
"path": "group/project",
"iid": 7,
"type": "issue"
},
"reply": {
"ok": true,
"result": {
"id": "issue:7",
"type": "issue",
"number": 7,
"title": "seven",
"state": "opened",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
}
},
{
"checkpoint": "gitlab-path"
},
{
"action": "repo-slug",
"id": "repo-slug"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"checkpoint": "repo-slug-matched"
}
]
},
{
"id": "tw-paste-lookup-slug-unsupported",
"operation": "tasks.paste-lookup",
"family": "tasks.paste-lookup",
"sites": ["mobile/src/tasks/smart-source-paste-intent.ts"],
"schedules": [],
"steps": [
{
"action": "repo-slug",
"id": "repo-slug"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "host-wide-probe-cached"
},
{
"action": "repo-slug-again",
"id": "repo-slug-again"
},
{
"checkpoint": "no-second-probe"
}
]
},
{
"id": "tw-paste-lookup-slug-refused",
"operation": "tasks.paste-lookup",
"family": "tasks.paste-lookup",
"sites": ["mobile/src/tasks/smart-source-paste-intent.ts"],
"schedules": [],
"steps": [
{
"action": "repo-slug",
"id": "repo-slug"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "no access"
}
}
},
{
"complete": "github.repoSlug#2",
"params": {
"repo": "id:repo-2"
},
"reply": {
"ok": true,
"result": null
}
},
{
"checkpoint": "refusal-is-per-repo"
}
]
},
{
"id": "tw-workspace-source-presets",
"operation": "tasks.workspace-source",
"family": "tasks.workspace-source",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-source-effects.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "repo.sparsePresets#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"presets": [
{
"id": "p1",
"name": "docs",
"directories": ["docs"]
}
]
}
}
},
{
"checkpoint": "presets-loaded"
},
{
"action": "branch-query",
"id": "branch-query"
},
{
"complete": "repo.searchRefs#1",
"params": {
"repo": "id:repo-1",
"query": "main",
"limit": 20
},
"reply": {
"ok": true,
"result": {
"refs": ["main"]
}
}
},
{
"checkpoint": "branches-loaded"
}
]
},
{
"id": "tw-workspace-source-presets-refused",
"operation": "tasks.workspace-source",
"family": "tasks.workspace-source",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-source-effects.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "repo.sparsePresets#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": ""
}
}
},
{
"checkpoint": "presets-refused-empty-message"
}
]
},
{
"id": "tw-workspace-sparse-saved",
"operation": "tasks.workspace-sparse",
"family": "tasks.workspace-sparse",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-sparse-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"checkpoint": "ssh-state-read"
},
{
"action": "save-preset",
"id": "save"
},
{
"complete": "repo.saveSparsePreset#1",
"params": {
"repo": "id:repo-1",
"name": "docs",
"directories": ["docs"]
},
"reply": {
"ok": true,
"result": {
"preset": {
"id": "p1",
"name": "docs",
"directories": ["docs"]
}
}
}
},
{
"checkpoint": "preset-saved"
}
]
},
{
"id": "tw-workspace-sparse-missing-preset",
"operation": "tasks.workspace-sparse",
"family": "tasks.workspace-sparse",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-sparse-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": ""
}
}
},
{
"action": "save-preset",
"id": "save"
},
{
"complete": "repo.saveSparsePreset#1",
"params": {
"repo": "id:repo-1",
"name": "docs",
"directories": ["docs"]
},
"reply": {
"ok": true,
"result": {}
}
},
{
"checkpoint": "saved-without-preset"
}
]
},
{
"id": "tw-workspace-ssh-connected",
"operation": "tasks.workspace-ssh",
"family": "tasks.workspace-ssh",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-ssh-state.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"checkpoint": "agents-detected"
},
{
"action": "connect",
"id": "connect"
},
{
"complete": "ssh.connect#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"checkpoint": "connected"
},
{
"action": "resolve-setup",
"id": "setup"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hooks": {
"scripts": {
"setup": " pnpm install "
}
},
"setupRunPolicy": "ask",
"source": "repo",
"setupTrust": {
"contentHash": "hash-1",
"scriptContent": "pnpm install"
}
}
}
},
{
"checkpoint": "setup-prompted"
}
]
},
{
"id": "tw-workspace-ssh-not-ready",
"operation": "tasks.workspace-ssh",
"family": "tasks.workspace-ssh",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-ssh-state.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "no access"
}
}
},
{
"action": "ensure-ready",
"id": "ensure"
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "disconnected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"checkpoint": "ensure-rejected"
},
{
"action": "resolve-setup",
"id": "setup"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hooks": {
"scripts": {}
}
}
}
},
{
"checkpoint": "no-setup-script"
}
]
},
{
"id": "tw-workspace-ssh-connect-refused",
"operation": "tasks.workspace-ssh",
"family": "tasks.workspace-ssh",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-ssh-state.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"action": "connect",
"id": "connect"
},
{
"complete": "ssh.connect#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": false,
"error": {
"code": "ssh_failed",
"message": ""
}
}
},
{
"checkpoint": "connect-refused-empty-message"
},
{
"action": "resolve-setup",
"id": "setup"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hooks": {
"scripts": {
"setup": "pnpm i"
}
},
"setupRunPolicy": "never"
}
}
},
{
"checkpoint": "setup-skipped"
}
]
},
{
"id": "tw-workspace-ssh-local-agents",
"operation": "tasks.workspace-ssh-local",
"family": "tasks.workspace-ssh-local",
"sites": ["mobile/src/tasks/use-mobile-tasks-workspace-ssh-state.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "preflight.detectAgents#1",
"params": {
"repoId": "repo-1"
},
"reply": {
"ok": true,
"result": ["codex", "claude"]
}
},
{
"checkpoint": "local-agents-detected"
}
]
},
{
"id": "tw-task-preferences-resume-write",
"operation": "settings.task-preferences",
"family": "settings-best-effort",
"sites": ["mobile/src/tasks/use-mobile-tasks-client-settings-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "resume",
"id": "resume"
},
{
"complete": "ui.set#1",
"params": {
"taskResumeState": {
"githubItemsPreset": "issues"
}
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "no access"
}
}
},
{
"checkpoint": "best-effort-resume-write"
},
{
"action": "trust",
"id": "trust"
},
{
"complete": "ui.set#2",
"params": {
"trustedOrcaHooks": {
"repo-1": {
"setup": {
"contentHash": "hash-1",
"approvedAt": 1767225600000
}
}
}
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": ""
}
}
},
{
"checkpoint": "awaited-trust-write-refused"
}
]
},
{
"id": "files-ownership-ssh",
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"],
"schedules": [],
"steps": [
{
"action": "capture",
"id": "capture"
},
{
"checkpoint": "status-pending"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "ssh:target-1"
}
}
}
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "target-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "target-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0,
"connectionGeneration": 3
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-ownership-local",
"operation": "files.mutation-ownership",
"family": "files.mutation-ownership",
"sites": ["mobile/src/files/mobile-file-mutation-ownership.ts"],
"schedules": [],
"steps": [
{
"action": "capture",
"id": "capture"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "local"
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-grant-refresh",
"operation": "files.preview-load",
"family": "files.preview-load",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load"
},
{
"checkpoint": "read-pending"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": false,
"error": {
"code": "terminal_file_grant_expired",
"message": "Grant expired"
}
}
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"worktree": "id:workspace-1",
"pathText": "run.txt",
"cwd": "/logs",
"terminal": "terminal-1"
},
"reply": {
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"kind": "absolute-file",
"absolutePath": "/logs/run.txt",
"grantId": "grant-2"
}
}
}
},
{
"complete": "files.readTerminalArtifact#2",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-2"
},
"reply": {
"ok": true,
"result": {
"content": "hello",
"truncated": false,
"byteLength": 5
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-artifact-direct",
"operation": "files.preview-load",
"family": "files.preview-load",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "hello",
"truncated": false,
"byteLength": 5
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree",
"operation": "files.preview-load",
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load"
},
{
"complete": "files.read#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/readme.md"
},
"reply": {
"ok": true,
"result": {
"content": "# readme",
"truncated": false,
"byteLength": 8
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree-image",
"operation": "files.preview-load",
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load",
"args": {
"path": "docs/logo.png"
}
},
{
"complete": "files.readPreview#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/logo.png"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-artifact-image",
"operation": "files.preview-load",
"family": "files.preview-load",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load",
"args": {
"path": "/logs/shot.png"
}
},
{
"complete": "files.readTerminalArtifactPreview#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/shot.png",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-save-verified",
"operation": "files.preview-save",
"family": "files.preview-save",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "verified",
"id": "save"
},
{
"checkpoint": "verify-pending"
},
{
"complete": "files.readTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "base",
"truncated": false,
"byteLength": 4
}
}
},
{
"complete": "files.writeTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"content": "next"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-save-blind",
"operation": "files.preview-save",
"family": "files.preview-save",
"sites": [
"mobile/src/files/mobile-file-preview-request.ts",
"mobile/src/files/mobile-terminal-artifact-grant-refresh.ts"
],
"schedules": [],
"steps": [
{
"action": "blind",
"id": "save"
},
{
"complete": "files.writeTerminalArtifact#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1",
"content": "next"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-tab-doc-shapes",
"operation": "files.tab-doc",
"family": "files.tab-doc",
"sites": ["mobile/src/files/mobile-file-tab-doc.ts"],
"schedules": [],
"steps": [
{
"action": "text",
"id": "text"
},
{
"complete": "files.read#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/readme.md"
},
"reply": {
"ok": true,
"result": {
"content": "# readme",
"truncated": false,
"byteLength": 8
}
}
},
{
"action": "image",
"id": "image"
},
{
"complete": "files.readPreview#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/logo.png"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"action": "diff",
"id": "diff"
},
{
"complete": "git.diff#1",
"params": {
"worktree": "id:workspace-1",
"filePath": "docs/readme.md",
"staged": true
},
"reply": {
"ok": true,
"result": {
"kind": "text",
"originalContent": "a\n",
"modifiedContent": "b\n"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-target-ssh",
"operation": "components.execution-target",
"family": "components.execution-target",
"sites": ["mobile/src/components/use-new-workspace-execution-target.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "state-pending"
},
{
"complete": "ssh.getState#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"complete": "preflight.detectRemoteAgents#1",
"params": {
"connectionId": "ssh-1"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"action": "connect",
"id": "connect"
},
{
"complete": "ssh.connect#1",
"params": {
"targetId": "ssh-1"
},
"reply": {
"ok": true,
"result": {
"state": {
"targetId": "ssh-1",
"status": "connected",
"error": null,
"reconnectAttempt": 0
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-target-local",
"operation": "components.execution-target-local",
"family": "components.execution-target-local",
"sites": ["mobile/src/components/use-new-workspace-execution-target.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "detect-pending"
},
{
"complete": "preflight.detectAgents#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": ["claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "components-setup-ask",
"operation": "components.setup-script",
"family": "components.setup-script",
"sites": ["mobile/src/components/use-new-workspace-setup-script.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "hooks-pending"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hooks": {
"scripts": {
"setup": "pnpm install"
}
},
"source": "repo",
"setupRunPolicy": "ask",
"setupTrust": null
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-view-settings-sync",
"operation": "host.view-settings",
"family": "host.view-settings",
"sites": ["mobile/src/host-screen/use-host-view-settings.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "sync",
"id": "sync"
},
{
"checkpoint": "ui-pending"
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {
"sortBy": "name",
"groupBy": "repo",
"hideSleepingWorkspaces": true
}
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"compactWorktreeCards": true
}
}
}
},
{
"action": "sort",
"id": "sort"
},
{
"complete": "ui.set#1",
"params": {
"sortBy": "name"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-home-catalog",
"operation": "worktree.home-catalog",
"family": "worktree.home-catalog",
"sites": ["mobile/src/worktree/home-host-worktree-fetch.ts"],
"schedules": [],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "catalog-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true,
"afterSnapshotId": null,
"acceptRowDelta": true
},
"reply": {
"ok": true,
"result": {
"worktrees": [
{
"worktreeId": "w-1",
"displayName": "One",
"repo": "Repo",
"status": "working"
},
{
"worktreeId": "w-2",
"displayName": "Two",
"repo": "Repo",
"status": "idle"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-catalog-snapshot",
"operation": "worktree.catalog-snapshot",
"family": "worktree.catalog-snapshot",
"sites": ["mobile/src/worktree/worktree-catalog-snapshot-client.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"checkpoint": "catalog-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true,
"afterSnapshotId": null,
"acceptRowDelta": true
},
"reply": {
"ok": true,
"result": {
"snapshotId": "snapshot-1",
"worktrees": [
{
"worktreeId": "w-1",
"displayName": "One",
"repo": "Repo"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-catalog-snapshot-unreadable",
"operation": "worktree.catalog-snapshot",
"family": "worktree.catalog-snapshot",
"sites": ["mobile/src/worktree/worktree-catalog-snapshot-client.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"checkpoint": "catalog-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true,
"afterSnapshotId": null,
"acceptRowDelta": true
},
"reply": {
"ok": true
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "worktree-retired-names",
"operation": "worktree.retired-names",
"family": "worktree.retired-names",
"sites": ["mobile/src/worktree/use-retired-worktree-names.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "names-pending"
},
{
"complete": "worktree.listRetiredNames#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"retiredNamesByRepo": {
"repo-1": ["marlin", "orca"]
},
"retiredNameTiersByRepo": {
"repo-1": 2
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-worktree-actions-pin-open-delete",
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "toggle-pin",
"id": "toggle-pin"
},
{
"checkpoint": "pin-optimistic"
},
{
"complete": "worktree.set#1",
"params": {
"worktree": "id:wt-1",
"isPinned": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"action": "open-session",
"id": "open-session"
},
{
"complete": "worktree.activate#1",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"action": "delete",
"id": "delete"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hasHooksFile": false,
"hooks": null,
"setupRunPolicy": "run-by-default",
"source": null,
"setupConfig": null
}
}
},
{
"checkpoint": "delete-optimistic"
},
{
"complete": "worktree.rm#1",
"params": {
"worktree": "id:wt-1",
"force": true,
"runHooks": false
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "host-worktree-delete-refused",
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "delete",
"id": "delete"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hasHooksFile": false,
"hooks": null,
"setupRunPolicy": "run-by-default",
"source": null,
"setupConfig": null,
"archiveTrust": null
}
}
},
{
"checkpoint": "delete-optimistic"
},
{
"complete": "worktree.rm#1",
"params": {
"worktree": "id:wt-1",
"force": true,
"runHooks": true
},
"reply": {
"ok": false,
"error": {
"code": "worktree_busy",
"message": "Worktree is busy"
}
}
},
{
"checkpoint": "restored"
}
]
},
{
"id": "host-worktree-delete-archive-hook-failed",
"operation": "host.worktree-actions",
"family": "host.worktree-actions",
"sites": ["mobile/src/host-screen/use-host-worktree-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "delete",
"id": "delete"
},
{
"complete": "repo.hooks#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hasHooksFile": true,
"hooks": {
"scripts": {
"archive": "make clean"
}
},
"setupRunPolicy": "run-by-default",
"source": "orca.yaml",
"setupConfig": null,
"archiveTrust": {
"contentHash": "archive-hash-1",
"scriptContent": "make clean"
}
}
}
},
{
"complete": "ui.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {
"trustedOrcaHooks": {}
}
}
}
},
{
"checkpoint": "trust-prompt"
},
{
"action": "approve-archive-trust",
"id": "approve-archive-trust"
},
{
"complete": "ui.set#1",
"params": {
"trustedOrcaHooks": {
"repo-1": {
"archive": {
"contentHash": "archive-hash-1",
"approvedAt": 1767225600000
}
}
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "delete-optimistic"
},
{
"complete": "worktree.rm#1",
"params": {
"worktree": "id:wt-1",
"force": true,
"runHooks": true
},
"reply": {
"ok": false,
"error": {
"code": "worktree_archive_hook_failed",
"message": "Archive hook failed for worktree: /repos/marlin/wt-1 — exited 1.",
"data": {
"worktreePath": "/repos/marlin/wt-1",
"outcome": "exited",
"exitCode": 1,
"output": ""
}
}
}
},
{
"checkpoint": "archive-hook-failed"
},
{
"action": "delete-anyway",
"id": "delete-anyway"
},
{
"complete": "repo.hooks#2",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"hasHooksFile": true,
"hooks": {
"scripts": {
"archive": "make clean"
}
},
"setupRunPolicy": "run-by-default",
"source": "orca.yaml",
"setupConfig": null,
"archiveTrust": {
"contentHash": "archive-hash-1",
"scriptContent": "make clean"
}
}
}
},
{
"complete": "ui.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"ui": {
"trustedOrcaHooks": {
"repo-1": {
"archive": {
"contentHash": "archive-hash-1",
"approvedAt": 1767225600000
}
}
}
}
}
}
},
{
"complete": "worktree.rm#2",
"params": {
"worktree": "id:wt-1",
"force": true,
"runHooks": true,
"allowFailedArchiveHook": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "pr-read-surface",
"operation": "session.pr-reads",
"family": "github.pr-read",
"sites": ["mobile/src/source-control/review/github-pr-rpc.ts"],
"schedules": [],
"steps": [
{
"checkpoint": "pending"
},
{
"action": "repo-slug",
"id": "repo-slug"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "orca",
"repo": "orca",
"host": "github.com"
}
}
},
{
"checkpoint": "repo-slug"
},
{
"action": "hosted-review",
"id": "hosted-review"
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": 12,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://x/12",
"updatedAt": "2026-01-01",
"mergeable": "MERGEABLE"
}
}
},
{
"checkpoint": "hosted-review"
},
{
"action": "pr-for-branch",
"id": "pr-for-branch"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": null,
"currentHeadOid": null
},
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://x/12",
"headSha": "head-sha-1",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr-for-branch"
},
{
"action": "work-item",
"id": "work-item"
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1"
}
}
},
{
"checkpoint": "work-item"
},
{
"action": "checks",
"id": "checks"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"checkpoint": "checks"
},
{
"action": "check-details",
"id": "check-details"
},
{
"complete": "github.prCheckDetails#1",
"params": {
"repo": "id:repo-9",
"checkRunId": 7,
"checkName": "build",
"url": null
},
"reply": {
"ok": true,
"result": {
"name": "build",
"status": "completed",
"conclusion": "success",
"annotations": [],
"jobs": []
}
}
},
{
"checkpoint": "check-details"
},
{
"action": "assignable",
"id": "assignable",
"args": {
"fork": true
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded",
"hostDescriptor": {
"installationId": "recorded"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.listAssignableUsers#1",
"params": {
"repo": "id:repo-9",
"ownerRepo": {
"owner": "fork-owner",
"repo": "fork-repo",
"host": "github.enterprise.test"
}
},
"reply": {
"ok": true,
"result": [
{
"login": "octocat",
"name": "Octo Cat",
"avatarUrl": null
}
]
},
"transport": "native",
"site": "github.listAssignableUsers#1"
},
{
"transport": "bridge",
"complete": "github.listAssignableUsers#1.native-1",
"site": "github.listAssignableUsers#1.native-1",
"bridgeSite": true,
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "shell-runtime",
"hostDescriptor": {
"installationId": "shell-desktop"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.listAssignableUsers#1.native-2",
"params": {
"repo": "id:repo-9",
"ownerRepo": {
"owner": "fork-owner",
"repo": "fork-repo",
"host": "github.enterprise.test"
}
},
"reply": {
"ok": true,
"result": [
{
"login": "octocat",
"name": "Octo Cat",
"avatarUrl": null
}
]
},
"transport": "bridge",
"site": "github.listAssignableUsers#1"
},
{
"checkpoint": "assignable"
}
],
"bridgeOperations": [
{
"request": "github.listAssignableUsers#1",
"probeSite": "github.listAssignableUsers#1.native-1",
"methods": ["status.get", "github.listAssignableUsers"]
}
]
},
{
"id": "pr-read-fork-routing",
"operation": "session.pr-reads",
"family": "github.pr-read",
"sites": ["mobile/src/source-control/review/github-pr-rpc.ts"],
"schedules": [],
"steps": [
{
"action": "checks",
"id": "fork-checks",
"args": {
"fork": true
}
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1",
"prRepo": {
"owner": "fork-owner",
"repo": "fork-repo",
"host": "github.enterprise.test"
}
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"checkpoint": "fork-checks"
},
{
"action": "check-details",
"id": "fork-check-details",
"args": {
"fork": true
}
},
{
"complete": "github.prCheckDetails#1",
"params": {
"repo": "id:repo-9",
"checkRunId": 7,
"checkName": "build",
"url": null,
"prRepo": {
"owner": "fork-owner",
"repo": "fork-repo",
"host": "github.enterprise.test"
}
},
"reply": {
"ok": true,
"result": {
"name": "build",
"status": "completed",
"conclusion": "success",
"annotations": [],
"jobs": []
}
}
},
{
"checkpoint": "fork-check-details"
},
{
"action": "checks",
"id": "no-head-sha",
"args": {
"headSha": null
}
},
{
"complete": "github.prChecks#2",
"params": {
"repo": "id:repo-9",
"prNumber": 12
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"checkpoint": "no-head-sha"
}
]
},
{
"id": "pr-read-upstream-error",
"operation": "session.pr-reads",
"family": "github.pr-read",
"sites": ["mobile/src/source-control/review/github-pr-rpc.ts"],
"schedules": [],
"steps": [
{
"action": "pr-for-branch",
"id": "upstream"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": null,
"currentHeadOid": null
},
"reply": {
"ok": true,
"result": {
"kind": "upstream-error",
"message": "GitHub API rate limit exceeded",
"fetchedAt": 0
}
}
},
{
"checkpoint": "upstream"
},
{
"action": "pr-for-branch",
"id": "malformed"
},
{
"complete": "github.prForBranch#2",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": null,
"currentHeadOid": null
},
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"state": "open"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "malformed"
},
{
"action": "pr-for-branch",
"id": "no-pr"
},
{
"complete": "github.prForBranch#3",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": null,
"currentHeadOid": null
},
"reply": {
"ok": true,
"result": null
}
},
{
"checkpoint": "no-pr"
}
]
},
{
"id": "pr-sidebar-load",
"operation": "session.pr-sidebar",
"family": "session.pr-sidebar",
"sites": [
"mobile/src/source-control/review/use-mobile-pr-sidebar-controller.ts",
"mobile/src/source-control/review/mobile-pr-queries.ts",
"mobile/src/source-control/review/mobile-pr-sidebar-state.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"checkpoint": "branch-hint"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "loaded"
}
]
},
{
"id": "pr-sidebar-revisit-and-refresh",
"operation": "session.pr-sidebar",
"family": "session.pr-sidebar",
"sites": [
"mobile/src/source-control/review/use-mobile-pr-sidebar-controller.ts",
"mobile/src/source-control/review/mobile-pr-queries.ts",
"mobile/src/source-control/review/mobile-pr-sidebar-state.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"checkpoint": "branch-hint"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "loaded"
},
{
"action": "revisit",
"id": "revisit"
},
{
"complete": "worktree.show#2",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"complete": "github.prForBranch#2",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "revisited"
},
{
"action": "refresh",
"id": "refresh"
},
{
"complete": "hostedReview.forBranch#2",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#3",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"complete": "github.prForBranch#3",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null,
"userRefresh": true
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"complete": "github.prChecks#2",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"noCache": true,
"userRefresh": true,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"bind": "refresh-status-2",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "refresh-status-2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"bind": "refresh-status-3",
"request": "status.get#3",
"params": {
"$undefined": true
}
},
{
"complete": "refresh-status-3",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#2",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "refreshed"
}
]
},
{
"id": "pr-sidebar-checks-refused",
"operation": "session.pr-sidebar",
"family": "session.pr-sidebar",
"sites": [
"mobile/src/source-control/review/use-mobile-pr-sidebar-controller.ts",
"mobile/src/source-control/review/mobile-pr-queries.ts",
"mobile/src/source-control/review/mobile-pr-sidebar-state.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"checkpoint": "branch-hint"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": {
"checks": []
}
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "checks-refused"
}
]
},
{
"id": "pr-resolve-refused-rolls-back",
"operation": "session.pr-sidebar",
"family": "session.pr-sidebar",
"sites": [
"mobile/src/source-control/review/use-mobile-pr-sidebar-controller.ts",
"mobile/src/source-control/review/mobile-pr-queries.ts",
"mobile/src/source-control/review/mobile-pr-sidebar-state.ts",
"mobile/src/source-control/review/pr-comment-writes.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"checkpoint": "branch-hint"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "loaded"
},
{
"action": "resolve-thread",
"id": "resolve-thread"
},
{
"checkpoint": "resolved-locally"
},
{
"complete": "github.resolveReviewThread#1",
"params": {
"repo": "id:repo-9",
"threadId": "thread-1",
"resolve": true
},
"paramsFollowDivergence": true,
"reply": {
"ok": false,
"error": {
"code": "upstream_error",
"message": "Resource not accessible by integration"
}
}
},
{
"checkpoint": "rolled-back"
}
]
},
{
"id": "pr-comment-posted-in-place",
"operation": "session.pr-sidebar",
"family": "session.pr-sidebar",
"sites": [
"mobile/src/source-control/review/use-mobile-pr-sidebar-controller.ts",
"mobile/src/source-control/review/mobile-pr-queries.ts",
"mobile/src/source-control/review/mobile-pr-sidebar-state.ts",
"mobile/src/source-control/review/pr-comment-writes.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo"
}
}
},
{
"complete": "hostedReview.forBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedGitHubPR": null,
"active": true
},
"reply": {
"ok": true,
"result": {
"provider": "github",
"number": 12,
"title": "Recorded",
"state": "open",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"linkedPR": null
}
}
}
},
{
"checkpoint": "branch-hint"
},
{
"complete": "github.prForBranch#1",
"params": {
"repo": "id:repo-9",
"branch": "feature",
"linkedPRNumber": null,
"fallbackPRNumber": 12,
"acceptMergedFallbackPR": true,
"currentHeadOid": null
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"kind": "found",
"pr": {
"number": 12,
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"headSha": "head-sha-1",
"updatedAt": "2026-01-01T00:00:00Z",
"mergeable": "MERGEABLE"
},
"fetchedAt": 0
}
}
},
{
"checkpoint": "pr"
},
{
"complete": "github.prChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "completed",
"conclusion": "success",
"checkRunId": 7
}
]
}
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded"
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"item": {
"id": "PR_1",
"number": 12,
"type": "pr",
"state": "open",
"title": "Recorded",
"url": "https://github.com/owner/repo/pull/12",
"updatedAt": "2026-01-01T00:00:00Z",
"labels": [],
"assignees": []
},
"body": "body",
"headSha": "head-sha-1",
"comments": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
}
]
}
}
},
{
"checkpoint": "loaded"
},
{
"action": "post-comment",
"id": "post-comment"
},
{
"complete": "github.addIssueComment#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"body": "recorded comment",
"type": "pr"
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 57
}
}
}
},
{
"checkpoint": "comment-sent"
},
{
"complete": "github.prComments#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"noCache": true,
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"paramsFollowDivergence": true,
"reply": {
"ok": true,
"result": [
{
"id": 55,
"author": "rev",
"body": "please fix",
"createdAt": "2026-01-01T00:00:00Z",
"url": "https://github.com/owner/repo/pull/12#discussion_r55",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3,
"isResolved": false
},
{
"id": 57,
"author": "me",
"body": "recorded comment",
"createdAt": "2026-01-01T00:01:00Z",
"url": "https://github.com/owner/repo/pull/12#issuecomment-57"
}
]
}
},
{
"checkpoint": "comment-shown"
}
]
},
{
"id": "pr-mutation-status",
"operation": "session.pr-mutations",
"family": "github.pr-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"checkpoint": "pending"
},
{
"action": "merge",
"id": "merge"
},
{
"complete": "github.mergePR#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"method": "squash"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "merge"
},
{
"action": "auto-merge",
"id": "auto-merge"
},
{
"complete": "github.setPRAutoMerge#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"enabled": true
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "auto-merge"
},
{
"action": "close",
"id": "close"
},
{
"complete": "github.updatePRState#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"updates": {
"state": "closed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "close"
},
{
"action": "request-reviewers",
"id": "request-reviewers"
},
{
"complete": "github.requestPRReviewers#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"reviewers": ["octocat"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "request-reviewers"
},
{
"action": "remove-reviewers",
"id": "remove-reviewers"
},
{
"complete": "github.removePRReviewers#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"reviewers": ["octocat"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "remove-reviewers"
},
{
"action": "rerun-checks",
"id": "rerun-checks"
},
{
"complete": "github.rerunPRChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"failedOnly": true,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "rerun-checks"
}
]
},
{
"id": "pr-mutation-in-band-failure",
"operation": "session.pr-mutations",
"family": "github.pr-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"action": "merge",
"id": "string-error"
},
{
"complete": "github.mergePR#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"method": "squash"
},
"reply": {
"ok": true,
"result": {
"ok": false,
"error": "Pull request is not mergeable"
}
}
},
{
"checkpoint": "string-error"
},
{
"action": "close",
"id": "object-error"
},
{
"complete": "github.updatePRState#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"updates": {
"state": "closed"
}
},
"reply": {
"ok": true,
"result": {
"ok": false,
"error": {
"message": "Branch is protected"
}
}
}
},
{
"checkpoint": "object-error"
},
{
"action": "auto-merge",
"id": "unstructured"
},
{
"complete": "github.setPRAutoMerge#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"enabled": true
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "unstructured"
},
{
"action": "rerun-checks",
"id": "empty-object-error"
},
{
"complete": "github.rerunPRChecks#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"failedOnly": true,
"headSha": "head-sha-1"
},
"reply": {
"ok": true,
"result": {
"ok": false,
"error": {
"message": ""
}
}
}
},
{
"checkpoint": "empty-object-error"
}
]
},
{
"id": "pr-comment-mutation",
"operation": "session.pr-mutations",
"family": "github.pr-comment-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"checkpoint": "pending"
},
{
"action": "reply",
"id": "reply"
},
{
"complete": "github.addPRReviewCommentReply#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"commentId": 55,
"body": "recorded reply",
"threadId": "thread-1",
"path": "src/app.ts",
"line": 3
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 56
}
}
}
},
{
"checkpoint": "reply"
},
{
"action": "root-comment",
"id": "root-comment"
},
{
"complete": "github.addIssueComment#1",
"params": {
"repo": "id:repo-9",
"number": 12,
"body": "recorded comment",
"type": "pr"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 57
}
}
}
},
{
"checkpoint": "root-comment"
},
{
"action": "resolve-thread",
"id": "resolve-thread"
},
{
"complete": "github.resolveReviewThread#1",
"params": {
"repo": "id:repo-9",
"threadId": "thread-1",
"resolve": true
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "resolve-thread"
},
{
"action": "edit-comment",
"id": "edit-comment"
},
{
"complete": "github.project.updateIssueCommentBySlug#1",
"params": {
"owner": "owner",
"repo": "repo",
"commentId": 55,
"body": "edited"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "edit-comment"
},
{
"action": "delete-comment",
"id": "delete-comment"
},
{
"complete": "github.project.deleteIssueCommentBySlug#1",
"params": {
"owner": "owner",
"repo": "repo",
"commentId": 55
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "delete-comment"
}
]
},
{
"id": "pr-line-comment-and-file-viewed",
"operation": "session.pr-mutations",
"family": "github.pr-comment-mutation",
"sites": ["mobile/src/source-control/review/github-pr-review-line-mutations.ts"],
"schedules": [],
"steps": [
{
"action": "line-comment",
"id": "line-comment"
},
{
"complete": "github.addPRReviewComment#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"commitId": "head-sha-1",
"path": "src/app.ts",
"line": 5,
"body": "recorded line comment",
"startLine": 3
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 57
}
}
}
},
{
"checkpoint": "line-comment"
},
{
"action": "file-viewed",
"id": "viewed"
},
{
"complete": "github.setPRFileViewed#1",
"params": {
"repo": "id:repo-9",
"pullRequestId": "PR_kwDO",
"path": "src/app.ts",
"viewed": true
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "viewed"
},
{
"action": "file-viewed",
"id": "refused"
},
{
"complete": "github.setPRFileViewed#2",
"params": {
"repo": "id:repo-9",
"pullRequestId": "PR_kwDO",
"path": "src/app.ts",
"viewed": true
},
"reply": {
"ok": true,
"result": false
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "pr-comment-resolve-unconfirmed",
"operation": "session.pr-mutations",
"family": "github.pr-comment-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"action": "resolve-thread",
"id": "explicit-false"
},
{
"complete": "github.resolveReviewThread#1",
"params": {
"repo": "id:repo-9",
"threadId": "thread-1",
"resolve": true
},
"reply": {
"ok": true,
"result": false
}
},
{
"checkpoint": "explicit-false"
},
{
"action": "resolve-thread",
"id": "absent-result"
},
{
"complete": "github.resolveReviewThread#2",
"params": {
"repo": "id:repo-9",
"threadId": "thread-1",
"resolve": true
},
"reply": {
"ok": true
}
},
{
"checkpoint": "absent-result"
}
]
},
{
"id": "pr-title-mutation",
"operation": "session.pr-mutations",
"family": "github.pr-title-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"action": "title",
"id": "title"
},
{
"complete": "github.updatePRTitle#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"title": "Recorded title"
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "title"
}
]
},
{
"id": "pr-title-unconfirmed",
"operation": "session.pr-mutations",
"family": "github.pr-title-mutation",
"sites": ["mobile/src/source-control/review/github-pr-mutations.ts"],
"schedules": [],
"steps": [
{
"action": "title",
"id": "explicit-false"
},
{
"complete": "github.updatePRTitle#1",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"title": "Recorded title"
},
"reply": {
"ok": true,
"result": false
}
},
{
"checkpoint": "explicit-false"
},
{
"action": "title",
"id": "refused"
},
{
"complete": "github.updatePRTitle#2",
"params": {
"repo": "id:repo-9",
"prNumber": 12,
"title": "Recorded title"
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": ""
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "pr-triage-launch",
"operation": "session.pr-triage-launch",
"family": "session.pr-triage",
"sites": ["mobile/src/source-control/review/pr-ai-triage-launch.ts"],
"schedules": [],
"steps": [
{
"action": "launch",
"id": "launch"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectAgents#1",
"params": {
"worktreeId": "repo-9::/w"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "codex",
"operationId": "1767225600000-00000000000040008000000000000001",
"target": {
"kind": "existing",
"worktree": "id:repo-9::/w"
},
"prompt": {
"text": "Fix the failing checks",
"delivery": "submit"
},
"launchSource": "task_page"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "terminal",
"handle": "term-1"
},
"worktreeId": "repo-9::/w",
"receipt": {
"mode": "terminal",
"preferred": "terminal",
"reason": "user_default",
"detail": "Started a terminal agent, the default for new agent tabs in your settings."
},
"prompt": {
"delivery": "submit",
"outcome": "handed-to-terminal"
}
}
}
},
{
"checkpoint": "launched"
}
]
},
{
"id": "pr-triage-prompt-not-delivered",
"operation": "session.pr-triage-launch",
"family": "session.pr-triage",
"sites": ["mobile/src/source-control/review/pr-ai-triage-launch.ts"],
"schedules": [],
"steps": [
{
"action": "launch",
"id": "launch"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectAgents#1",
"params": {
"worktreeId": "repo-9::/w"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "codex",
"operationId": "1767225600000-00000000000040008000000000000001",
"target": {
"kind": "existing",
"worktree": "id:repo-9::/w"
},
"prompt": {
"text": "Fix the failing checks",
"delivery": "submit"
},
"launchSource": "task_page"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "terminal",
"handle": "term-1"
},
"worktreeId": "repo-9::/w",
"receipt": {
"mode": "terminal",
"preferred": "terminal",
"reason": "user_default",
"detail": "Started a terminal agent, the default for new agent tabs in your settings."
},
"prompt": {
"delivery": "submit",
"outcome": "not-delivered"
}
}
}
},
{
"checkpoint": "prompt-not-sent"
}
]
},
{
"id": "pr-triage-launch-unconfirmed",
"operation": "session.pr-triage-launch",
"family": "session.pr-triage",
"sites": ["mobile/src/source-control/review/pr-ai-triage-launch.ts"],
"schedules": [],
"steps": [
{
"action": "launch",
"id": "launch"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectAgents#1",
"params": {
"worktreeId": "repo-9::/w"
},
"reply": {
"ok": true,
"result": ["codex"]
}
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "codex",
"operationId": "1767225600000-00000000000040008000000000000001",
"target": {
"kind": "existing",
"worktree": "id:repo-9::/w"
},
"prompt": {
"text": "Fix the failing checks",
"delivery": "submit"
},
"launchSource": "task_page"
},
"reply": {
"ok": false,
"error": {
"code": "agent_session_operation_unknown",
"message": "agent_session_operation_unknown"
}
}
},
{
"checkpoint": "unconfirmed"
}
]
},
{
"id": "pr-triage-update-required",
"operation": "session.pr-triage-launch",
"family": "session.pr-triage",
"sites": ["mobile/src/source-control/review/pr-ai-triage-launch.ts"],
"schedules": [],
"steps": [
{
"action": "launch",
"id": "launch",
"args": {
"legacyHost": true
}
},
{
"checkpoint": "update-required"
}
]
},
{
"id": "pr-branch-identity",
"operation": "session.pr-branch-context",
"family": "session.pr-branch-context",
"sites": ["mobile/src/source-control/review/use-mobile-pr-branch-context.ts"],
"schedules": [],
"steps": [
{
"action": "identity",
"id": "identity"
},
{
"checkpoint": "pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-sha-1",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 3,
"removed": 1
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0
}
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo-9::/w",
"baseRef": "origin/main"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/main",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/old.ts",
"status": "modified",
"added": 1,
"removed": 0
}
]
}
}
},
{
"checkpoint": "identity"
}
]
},
{
"id": "pr-branch-repo-context",
"operation": "session.pr-branch-context",
"family": "session.pr-branch-context",
"sites": ["mobile/src/source-control/review/use-mobile-pr-branch-context.ts"],
"schedules": [],
"steps": [
{
"action": "repo-context",
"id": "repo-context"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-9"
},
"reply": {
"ok": true,
"result": {
"owner": "orca",
"repo": "orca",
"host": "github.com"
}
}
},
{
"checkpoint": "repo-context"
}
]
},
{
"id": "diff-review-snapshot",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": [
"mobile/src/source-control/review/mobile-diff-review-loaders.ts",
"mobile/src/source-control/review/mobile-diff-review-snapshot-loader.ts"
],
"schedules": [],
"steps": [
{
"action": "snapshot",
"id": "snapshot"
},
{
"checkpoint": "pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-sha-1",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 3,
"removed": 1
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0
}
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12,
"diffComments": [],
"mobileDiffReview": {
"files": []
}
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo-9::/w",
"baseRef": "origin/main"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/main",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/old.ts",
"status": "modified",
"added": 1,
"removed": 0
}
]
}
}
},
{
"checkpoint": "snapshot"
}
]
},
{
"id": "diff-review-status-unavailable",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": [
"mobile/src/source-control/review/mobile-diff-review-loaders.ts",
"mobile/src/source-control/review/mobile-diff-review-snapshot-loader.ts"
],
"schedules": [],
"steps": [
{
"action": "snapshot",
"id": "unavailable"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "unavailable"
}
]
},
{
"id": "diff-review-worktree-file-diff",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "diff",
"id": "binary",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": true,
"result": {
"kind": "binary"
}
}
},
{
"checkpoint": "binary"
},
{
"action": "diff",
"id": "too-large",
"args": {
"scope": "staged"
}
},
{
"complete": "git.diff#2",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": true
},
"reply": {
"ok": true,
"result": {
"kind": "too-large",
"byteLength": 2048
}
}
},
{
"checkpoint": "too-large"
},
{
"action": "diff",
"id": "invalid",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#3",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": true,
"result": {
"kind": "unknown"
}
}
},
{
"checkpoint": "invalid"
}
]
},
{
"id": "diff-review-refused-file-diff",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "diff",
"id": "diff-too-large",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": false,
"error": {
"code": "diff_too_large",
"message": "Diff exceeds the limit"
}
}
},
{
"checkpoint": "diff-too-large"
},
{
"action": "diff",
"id": "deleted",
"args": {
"scope": "unstaged",
"status": "deleted"
}
},
{
"complete": "git.diff#2",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": "boom"
}
}
},
{
"checkpoint": "deleted"
},
{
"action": "diff",
"id": "refused",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#3",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": ""
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "diff-review-branch-file-diff",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "diff",
"id": "branch",
"args": {
"scope": "branch"
}
},
{
"complete": "git.branchDiff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"compare": {
"baseRef": "origin/main",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567"
}
},
"reply": {
"ok": true,
"result": {
"kind": "binary"
}
}
},
{
"checkpoint": "branch"
},
{
"action": "diff",
"id": "no-compare",
"args": {
"scope": "branch",
"compare": false
}
},
{
"checkpoint": "no-compare"
}
]
},
{
"id": "diff-review-commit-file-diff",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": [
"mobile/src/source-control/review/mobile-diff-review-loaders.ts",
"mobile/src/source-control/review/mobile-diff-review-commit-loader.ts"
],
"schedules": [],
"steps": [
{
"action": "commit-snapshot",
"id": "commit"
},
{
"complete": "git.commitCompare#1",
"params": {
"worktree": "id:repo-9::/w",
"commitId": "c0ffee0123456789abcdef0123456789abcdef01"
},
"reply": {
"ok": true,
"result": {
"summary": {
"commitOid": "c0ffee0123456789abcdef0123456789abcdef01",
"parentOid": "beef0123456789abcdef0123456789abcdef0123",
"compareRef": "c0ffee0",
"baseRef": "beef012",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"added": 2,
"removed": 1
}
]
}
}
},
{
"checkpoint": "commit"
},
{
"action": "diff",
"id": "commit-file",
"args": {
"scope": "commit"
}
},
{
"complete": "git.commitDiff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"commitOid": "c0ffee0123456789abcdef0123456789abcdef01",
"parentOid": "beef0123456789abcdef0123456789abcdef0123"
},
"reply": {
"ok": true,
"result": {
"kind": "text",
"originalContent": "a\n",
"modifiedContent": "a\nb\n",
"originalIsBinary": false,
"modifiedIsBinary": false
}
}
},
{
"checkpoint": "commit-file"
}
]
},
{
"id": "diff-review-branch-compare",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "branch-compare",
"id": "unavailable"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo-9::/w",
"baseRef": "origin/main"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "git is not available"
}
}
},
{
"checkpoint": "unavailable"
},
{
"action": "branch-compare",
"id": "invalid"
},
{
"complete": "worktree.show#2",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main",
"linkedPR": 12
}
}
}
},
{
"complete": "repo.list#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
},
{
"complete": "git.branchCompare#2",
"params": {
"worktree": "id:repo-9::/w",
"baseRef": "origin/main"
},
"reply": {
"ok": true,
"result": {
"summary": {},
"entries": []
}
}
},
{
"checkpoint": "invalid"
}
]
},
{
"id": "diff-review-notes-refused-before-compare",
"operation": "session.diff-review-load",
"family": "session.diff-review",
"sites": [
"mobile/src/source-control/review/mobile-diff-review-loaders.ts",
"mobile/src/source-control/review/mobile-diff-review-snapshot-loader.ts"
],
"schedules": [],
"steps": [
{
"action": "snapshot",
"id": "snapshot"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-sha-1",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 3,
"removed": 1
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0
}
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-9::/w"
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": "notes unavailable"
}
}
},
{
"checkpoint": "notes-refused"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-9",
"worktreeBaseRef": "origin/main"
}
]
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo-9::/w",
"baseRef": "origin/main"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/main",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/old.ts",
"status": "modified",
"added": 1,
"removed": 0
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "transport-host-status-gates-ready",
"operation": "transport.host-status-gates",
"family": "transport.host-status-gates",
"sites": ["mobile/src/transport/connection/host-status-gates.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"protocolVersion": 5,
"minCompatibleMobileVersion": 1,
"appVersion": "1.4.200",
"capabilities": ["mobile.tasks.v1", "push.v1"],
"floatingWorkspaceEnabled": true
}
}
},
{
"checkpoint": "gates-proven"
}
]
},
{
"id": "transport-host-status-gates-refused-degrades",
"operation": "transport.host-status-gates",
"family": "transport.host-status-gates",
"sites": ["mobile/src/transport/connection/host-status-gates.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "status_unavailable",
"message": "no status"
}
}
},
{
"checkpoint": "gates-degraded"
}
]
},
{
"id": "transport-host-status-gates-drop-keeps-capabilities",
"operation": "transport.host-status-gates",
"family": "transport.host-status-gates",
"sites": ["mobile/src/transport/connection/host-status-gates.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"protocolVersion": 5,
"minCompatibleMobileVersion": 1,
"appVersion": "1.4.200",
"capabilities": ["mobile.tasks.v1", "push.v1"],
"floatingWorkspaceEnabled": true
}
}
},
{
"checkpoint": "gates-proven"
},
{
"action": "state",
"id": "drop",
"args": {
"connState": "connecting"
}
},
{
"checkpoint": "gates-unverified"
}
]
},
{
"id": "transport-capability-probe-publishes",
"operation": "transport.capability-probe",
"family": "transport.capability-probe",
"sites": ["mobile/src/transport/connection/runtime-capability-probe.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["push.v1", "codex.reset-credit"]
}
}
},
{
"checkpoint": "capabilities-published"
}
]
},
{
"id": "transport-capability-probe-refused-backs-off",
"operation": "transport.capability-probe",
"family": "transport.capability-probe",
"sites": ["mobile/src/transport/connection/runtime-capability-probe.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "status_unavailable",
"message": "no status"
}
}
},
{
"checkpoint": "backing-off"
},
{
"advance": 1000
},
{
"complete": "status.get#2",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["push.v1"]
}
}
},
{
"checkpoint": "published-after-backoff"
}
]
},
{
"id": "transport-capability-probe-non-string-capabilities-drop",
"operation": "transport.capability-probe",
"family": "transport.capability-probe",
"sites": ["mobile/src/transport/connection/runtime-capability-probe.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["push.v1", 7]
}
}
},
{
"checkpoint": "capabilities-rejected"
},
{
"action": "stop",
"id": "stop"
},
{
"checkpoint": "stopped"
}
]
},
{
"id": "transport-pairing-race-relay-completes-first",
"operation": "transport.pairing-race",
"family": "transport.pairing-race",
"sites": ["mobile/src/pairing/pairing-candidate-race.ts"],
"schedules": [],
"steps": [
{
"action": "race",
"id": "race"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"checkpoint": "relay-wins-when-it-completes-first"
}
]
},
{
"id": "transport-pairing-race-direct-completes-first",
"operation": "transport.pairing-race",
"family": "transport.pairing-race",
"sites": ["mobile/src/pairing/pairing-candidate-race.ts"],
"schedules": [],
"steps": [
{
"action": "race",
"id": "race"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"checkpoint": "direct-wins-when-it-completes-first"
}
]
},
{
"id": "transport-pairing-race-relay-wins-when-direct-refused",
"operation": "transport.pairing-race",
"family": "transport.pairing-race",
"sites": ["mobile/src/pairing/pairing-candidate-race.ts"],
"schedules": [],
"steps": [
{
"action": "race",
"id": "race"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "unauthorized",
"message": "direct refused"
}
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"checkpoint": "relay-wins"
}
]
},
{
"id": "transport-pairing-race-both-refused",
"operation": "transport.pairing-race",
"family": "transport.pairing-race",
"sites": ["mobile/src/pairing/pairing-candidate-race.ts"],
"schedules": [],
"steps": [
{
"action": "race",
"id": "race"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "unauthorized",
"message": "direct refused"
}
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "unauthorized",
"message": "relay refused"
}
}
},
{
"checkpoint": "both-paths-failed"
}
]
},
{
"id": "relay-rotation-installs-and-commits",
"operation": "relay.credential-rotation",
"family": "relay.credential-rotation",
"sites": ["mobile/src/transport/relay/mobile-relay-credential-rotation.ts"],
"schedules": [],
"steps": [
{
"action": "rotate",
"id": "rotate"
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA",
"state": "not-found"
}
}
}
},
{
"complete": "pairing.provisionRelay#1",
"params": {
"reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA",
"newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU",
"expectedCurrentHash": "r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
},
{
"complete": "pairing.getEndpoints#2",
"params": {
"installReqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA",
"state": "committed",
"result": {
"v": 1,
"reqId": "rotate-VftjjHf-4Lb1-Sdfryl-LA",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
}
}
},
{
"checkpoint": "credential-rotated"
}
]
},
{
"id": "relay-rotation-resumes-committed-pending",
"operation": "relay.credential-rotation",
"family": "relay.credential-rotation",
"sites": ["mobile/src/transport/relay/mobile-relay-credential-rotation.ts"],
"schedules": [],
"steps": [
{
"action": "rotate",
"id": "rotate",
"args": {
"pending": true
}
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "committed",
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "authenticated-direct",
"currentVersion": 5,
"resumeExpiresAt": 1767830400000,
"graceExpiresAt": 1767398400000
}
}
}
}
},
{
"checkpoint": "pending-install-adopted"
}
]
},
{
"id": "relay-direct-upgrade-commits",
"operation": "relay.direct-upgrade",
"family": "relay.direct-upgrade",
"sites": ["mobile/src/transport/relay/mobile-relay-direct-upgrade.ts"],
"schedules": [],
"steps": [
{
"action": "upgrade",
"id": "upgrade",
"args": {
"journal": true
}
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "not-found"
}
}
}
},
{
"complete": "pairing.provisionRelay#1",
"params": {
"reqId": "install-fixture-1",
"newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
},
{
"complete": "pairing.getEndpoints#2",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "committed",
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
}
}
},
{
"checkpoint": "direct-upgrade-committed"
}
]
},
{
"id": "relay-direct-upgrade-unsupported-host-declines",
"operation": "relay.direct-upgrade",
"family": "relay.direct-upgrade",
"sites": ["mobile/src/transport/relay/mobile-relay-direct-upgrade.ts"],
"schedules": [],
"steps": [
{
"action": "upgrade",
"id": "upgrade",
"args": {
"journal": true
}
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "upgrade-declined"
}
]
},
{
"id": "relay-pairing-recovery-resume-committed",
"operation": "relay.pairing-recovery",
"family": "relay.pairing-recovery",
"sites": ["mobile/src/pairing/mobile-relay-pairing-recovery.ts"],
"schedules": [],
"steps": [
{
"action": "recover",
"id": "recover"
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-fixture-1",
"resumeConfirmReqId": "confirm-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "committed",
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "relay-basis",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
}
}
},
{
"checkpoint": "recovered-on-resume"
}
]
},
{
"id": "relay-pairing-recovery-invite-authorizes",
"operation": "relay.pairing-recovery",
"family": "relay.pairing-recovery",
"sites": ["mobile/src/pairing/mobile-relay-pairing-recovery.ts"],
"schedules": [],
"steps": [
{
"action": "recover",
"id": "recover"
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-fixture-1",
"resumeConfirmReqId": "confirm-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "not-found"
}
}
}
},
{
"complete": "pairing.getEndpoints#2",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "not-found"
}
}
}
},
{
"complete": "pairing.provisionRelay#1",
"params": {
"reqId": "install-fixture-1",
"newResumeTokenHash": "7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "relay-basis",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
},
{
"complete": "pairing.getEndpoints#3",
"params": {
"installReqId": "install-fixture-1"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-fixture-1",
"state": "committed",
"result": {
"v": 1,
"reqId": "install-fixture-1",
"authorizationMode": "relay-basis",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
}
}
},
{
"checkpoint": "recovered-through-invite"
}
]
},
{
"id": "pairing-pre-profile-direct-wins-and-provisions",
"operation": "pairing.pre-profile",
"family": "pairing.pre-profile",
"sites": [
"mobile/src/pairing/pre-profile-pairing-coordinator.ts",
"mobile/src/pairing/pairing-candidate-race.ts"
],
"schedules": [],
"steps": [
{
"action": "pair",
"id": "pair"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "pairing.provisionRelay#1",
"params": {
"reqId": "install-l99UBPM71AZiC1ghz2glnA",
"newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"reqId": "install-l99UBPM71AZiC1ghz2glnA",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
},
{
"complete": "pairing.getEndpoints#1",
"params": {
"installReqId": "install-l99UBPM71AZiC1ghz2glnA"
},
"reply": {
"ok": true,
"result": {
"v": 1,
"relay": {
"v": 1,
"directorUrl": "https://director.example",
"cellUrl": "https://cell.example",
"assignmentEpoch": 1,
"relayHostId": "relay-host-0001x",
"e2eeFraming": 2
},
"installStatus": {
"v": 1,
"reqId": "install-l99UBPM71AZiC1ghz2glnA",
"state": "committed",
"result": {
"v": 1,
"reqId": "install-l99UBPM71AZiC1ghz2glnA",
"authorizationMode": "authenticated-direct",
"currentVersion": 4,
"resumeExpiresAt": 1767830400000
}
}
}
}
},
{
"checkpoint": "paired-over-direct"
}
]
},
{
"id": "pairing-pre-profile-provision-unsupported-saves-direct-host",
"operation": "pairing.pre-profile",
"family": "pairing.pre-profile",
"sites": [
"mobile/src/pairing/pre-profile-pairing-coordinator.ts",
"mobile/src/pairing/pairing-candidate-race.ts"
],
"schedules": [],
"steps": [
{
"action": "pair",
"id": "pair"
},
{
"bind": "direct-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"bind": "relay-status",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "direct-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "relay-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": []
}
}
},
{
"complete": "pairing.provisionRelay#1",
"params": {
"reqId": "install-l99UBPM71AZiC1ghz2glnA",
"newResumeTokenHash": "yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "direct-host-saved"
}
]
},
{
"id": "pairing-pre-profile-times-out",
"operation": "pairing.pre-profile",
"family": "pairing.pre-profile",
"sites": [
"mobile/src/pairing/pre-profile-pairing-coordinator.ts",
"mobile/src/pairing/pairing-candidate-race.ts"
],
"schedules": [],
"steps": [
{
"action": "pair",
"id": "pair",
"args": {
"timeoutMs": 5000
}
},
{
"checkpoint": "racing"
},
{
"advance": 5000
},
{
"checkpoint": "timed-out"
}
]
},
{
"id": "transport-capability-probe-cutover-reasks-fast",
"operation": "transport.capability-probe",
"family": "transport.capability-probe",
"sites": ["mobile/src/transport/connection/runtime-capability-probe.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"action": "cutover",
"id": "migrate"
},
{
"checkpoint": "cutover-rejected-the-probe"
},
{
"advance": 250
},
{
"bind": "status-after-cutover",
"request": "status.get#2",
"params": {
"$undefined": true
}
},
{
"complete": "status-after-cutover",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["push.v1"]
}
}
},
{
"checkpoint": "published-after-cutover-reask"
}
]
},
{
"id": "tk-item-detail-github",
"operation": "tasks.item-detail-github",
"family": "tasks.item-detail-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "detail-runtime",
"hostDescriptor": {
"installationId": "detail-host"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"repo": "id:repo-1",
"number": 12,
"type": "pr",
"ownerRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"body": "body",
"comments": [],
"item": {
"id": "pr:12",
"type": "pr",
"number": 12,
"title": "A pull request",
"url": "https://github.com/owner/repo/pull/12",
"state": "open",
"updatedAt": "2026-10-30T00:00:00Z",
"author": null,
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
},
"labels": ["bug"],
"reviewDecision": "APPROVED",
"reviewRequests": [],
"latestReviews": []
},
"assignees": ["octocat"],
"headSha": "head-sha",
"baseSha": "base-sha",
"pullRequestId": "PR_kwDO",
"checks": [],
"files": []
}
},
"transport": "native",
"site": "github.workItemDetails#1"
},
{
"transport": "bridge",
"complete": "github.workItemDetails#1.native-1",
"site": "github.workItemDetails#1.native-1",
"bridgeSite": true,
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "shell-runtime",
"hostDescriptor": {
"installationId": "shell-desktop"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.workItemDetails#1.native-2",
"params": {
"repo": "id:repo-1",
"number": 12,
"type": "pr",
"ownerRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"body": "body",
"comments": [],
"item": {
"id": "pr:12",
"type": "pr",
"number": 12,
"title": "A pull request",
"url": "https://github.com/owner/repo/pull/12",
"state": "open",
"updatedAt": "2026-10-30T00:00:00Z",
"author": null,
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
},
"labels": ["bug"],
"reviewDecision": "APPROVED",
"reviewRequests": [],
"latestReviews": []
},
"assignees": ["octocat"],
"headSha": "head-sha",
"baseSha": "base-sha",
"pullRequestId": "PR_kwDO",
"checks": [],
"files": []
}
},
"transport": "bridge",
"site": "github.workItemDetails#1"
},
{
"checkpoint": "mounted"
}
],
"bridgeOperations": [
{
"request": "github.workItemDetails#1",
"probeSite": "github.workItemDetails#1.native-1",
"methods": ["status.get", "github.workItemDetails"]
}
],
"replyBranches": [
{
"site": "status.get#1",
"partitions": [
"inner-ok-missing",
"inner-false-string-error",
"inner-false-object-error"
],
"request": "github.workItemDetails#1",
"params": {
"number": 12,
"repo": "id:repo-1",
"type": "pr"
}
}
]
},
{
"id": "tk-item-detail-github-reactions",
"operation": "tasks.item-detail-github",
"family": "tasks.item-detail-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "detail-runtime",
"hostDescriptor": {
"installationId": "detail-host"
}
}
}
},
{
"complete": "github.workItemDetails#1",
"params": {
"number": 12,
"repo": "id:repo-1",
"type": "pr"
},
"reply": {
"ok": true,
"result": {
"body": "body",
"comments": [
{
"id": 901,
"author": "octocat",
"authorAvatarUrl": "",
"body": "a review comment",
"createdAt": "2020-01-01T00:00:00.000Z",
"url": "https://github.com/owner/repo/pull/12#issuecomment-901",
"reactions": [
{
"content": "+1",
"count": 3
},
{
"content": "heart",
"count": 1
}
]
}
],
"item": {
"id": "pr:12",
"type": "pr",
"number": 12,
"title": "A pull request",
"url": "https://github.com/owner/repo/pull/12",
"state": "open",
"updatedAt": "2026-10-30T00:00:00Z",
"author": null,
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
},
"labels": ["bug"],
"reviewDecision": "APPROVED",
"reviewRequests": [],
"latestReviews": []
},
"assignees": ["octocat"],
"headSha": "head-sha",
"baseSha": "base-sha",
"pullRequestId": "PR_kwDO",
"checks": [],
"files": []
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-item-detail-gitlab",
"operation": "tasks.item-detail-gitlab",
"family": "tasks.item-detail-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "gitlab.workItemDetails#1",
"params": {
"iid": 4,
"markViewerComments": true,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"type": "issue"
},
"reply": {
"ok": true,
"result": {
"body": "body",
"comments": [],
"item": {
"labels": ["bug"],
"mergeable": "MERGEABLE"
},
"assignees": [],
"pipelineJobs": [],
"reviewers": [],
"approvalState": {
"approvalsRequired": 1,
"approvalsLeft": 0
}
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-item-detail-gitlab-reactions",
"operation": "tasks.item-detail-gitlab",
"family": "tasks.item-detail-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "gitlab.workItemDetails#1",
"params": {
"iid": 4,
"markViewerComments": true,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"type": "issue"
},
"reply": {
"ok": true,
"result": {
"body": "body",
"comments": [
{
"id": 901,
"author": "octocat",
"authorAvatarUrl": "",
"body": "a discussion note",
"createdAt": "2020-01-01T00:00:00.000Z",
"url": "https://gitlab.example.com/group/project/-/issues/4#note_901",
"reactions": [
{
"name": "thumbsup",
"count": 2
}
]
}
],
"item": {
"labels": ["bug"],
"mergeable": "MERGEABLE"
},
"assignees": [],
"pipelineJobs": [],
"reviewers": [],
"approvalState": {
"approvalsRequired": 1,
"approvalsLeft": 0
}
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-item-detail-linear",
"operation": "tasks.item-detail-linear",
"family": "tasks.item-detail-linear",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "linear.getIssue#1",
"params": {
"id": "issue-1",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"id": "issue-1",
"identifier": "ENG-1",
"title": "A Linear issue",
"url": "",
"description": "a description",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace",
"subIssues": []
}
}
},
{
"complete": "linear.issueComments#1",
"params": {
"issueId": "issue-1",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": [
{
"id": "comment-1",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z",
"user": {
"displayName": "Octo"
}
}
]
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-item-detail-metadata",
"operation": "tasks.item-detail-metadata",
"family": "tasks.item-detail-metadata",
"sites": ["mobile/src/tasks/use-mobile-tasks-item-detail-metadata-effects.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-linear-team-context",
"operation": "tasks.linear-team-context",
"family": "tasks.linear-team-context",
"sites": ["mobile/src/tasks/use-mobile-tasks-list-and-detail-effects.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "open-composer",
"id": "open-composer-0"
},
{
"complete": "linear.listTeams#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "open-composer-settled"
},
{
"action": "select-metadata-item",
"id": "select-metadata-item-1"
},
{
"complete": "linear.teamStates#1",
"params": {
"teamId": "team-1",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": [
{
"id": "state-1",
"name": "Todo",
"type": "unstarted",
"color": "#000000"
}
]
}
},
{
"checkpoint": "select-metadata-item-settled"
}
]
},
{
"id": "tk-provider-load",
"operation": "tasks.provider-load",
"family": "tasks.provider-load",
"sites": ["mobile/src/tasks/use-mobile-tasks-provider-load-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "linear-context",
"id": "linear-context-0"
},
{
"complete": "linear.status#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"connected": true,
"workspaces": [
{
"id": "linear-workspace",
"name": "Workspace"
}
],
"selectedWorkspaceId": "linear-workspace"
}
}
},
{
"complete": "linear.listTeams#1",
"params": {
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": [
{
"id": "team-1",
"key": "ENG",
"name": "Engineering",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "linear-context-settled"
},
{
"action": "persist-teams",
"id": "persist-teams-1"
},
{
"complete": "settings.update#1",
"params": {
"defaultLinearTeamSelection": ["team-1"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "persist-teams-settled"
},
{
"action": "github-page",
"id": "github-page-2"
},
{
"complete": "github.listWorkItems#1",
"params": {
"limit": 36,
"page": 1,
"query": "is:issue bug",
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue:9",
"type": "issue",
"number": 9,
"title": "An issue",
"state": "open",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
],
"sources": {
"issues": "upstream"
}
}
}
},
{
"checkpoint": "github-page-settled"
},
{
"action": "github-count",
"id": "github-count-3"
},
{
"complete": "github.countWorkItems#1",
"params": {
"query": "is:issue bug",
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": 4
}
},
{
"checkpoint": "github-count-settled"
}
]
},
{
"id": "tk-list-gitlab-todos",
"operation": "tasks.task-list-gitlab-todos",
"family": "tasks.task-list-gitlab-todos",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load-0"
},
{
"complete": "gitlab.todos#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": [
{
"id": 1,
"actionName": "review_requested",
"targetType": "Issue",
"targetIid": 4,
"targetTitle": "A GitLab todo",
"targetUrl": "https://gitlab.example.com/group/project/-/issues/4",
"projectPath": "group/project",
"authorUsername": "octocat",
"authorAvatarUrl": "",
"updatedAt": "2020-01-01T00:00:00.000Z",
"state": "pending"
}
]
}
},
{
"checkpoint": "load-settled"
}
]
},
{
"id": "tk-list-gitlab-items",
"operation": "tasks.task-list-gitlab-items",
"family": "tasks.task-list-gitlab-items",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load-0"
},
{
"complete": "gitlab.listWorkItems#1",
"params": {
"page": 1,
"perPage": 50,
"query": {
"$undefined": true
},
"repo": "id:repo-1",
"state": "opened"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue:4",
"type": "issue",
"number": 4,
"title": "A GitLab issue",
"state": "opened",
"url": "",
"labels": [],
"updatedAt": "2020-01-01T00:00:00.000Z",
"author": null
}
]
}
}
},
{
"checkpoint": "load-settled"
}
]
},
{
"id": "tk-list-linear",
"operation": "tasks.task-list-linear",
"family": "tasks.task-list-linear",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load-0"
},
{
"complete": "linear.listIssues#1",
"params": {
"filter": "all",
"limit": 50,
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue-1",
"identifier": "ENG-1",
"title": "A Linear issue",
"url": "",
"description": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
}
},
{
"checkpoint": "load-settled"
},
{
"action": "set-query",
"id": "set-query-1",
"args": {
"query": "bug"
}
},
{
"checkpoint": "set-query-done"
},
{
"action": "load",
"id": "load-2"
},
{
"complete": "linear.searchIssues#1",
"params": {
"limit": 50,
"query": "bug",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": [
{
"id": "issue-2",
"identifier": "ENG-2",
"title": "A found issue",
"url": "",
"description": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "load-settled"
}
]
},
{
"id": "tk-list-linear-switch-back",
"operation": "tasks.task-list-linear",
"family": "tasks.task-list-linear",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-list-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "load",
"id": "load-0"
},
{
"complete": "linear.listIssues#1",
"params": {
"filter": "all",
"limit": 50,
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue-1",
"identifier": "ENG-1",
"title": "A Linear issue",
"url": "",
"description": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
}
},
{
"checkpoint": "first-filter-settled"
},
{
"action": "set-query",
"id": "set-query-1",
"args": {
"query": "bug"
}
},
{
"action": "load",
"id": "load-2"
},
{
"checkpoint": "second-filter-pending"
},
{
"complete": "linear.searchIssues#1",
"params": {
"limit": 50,
"query": "bug",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": [
{
"id": "issue-2",
"identifier": "ENG-2",
"title": "A found issue",
"url": "",
"description": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
},
{
"checkpoint": "second-filter-settled"
},
{
"action": "set-query",
"id": "set-query-2",
"args": {
"query": ""
}
},
{
"action": "load",
"id": "load-3"
},
{
"checkpoint": "first-filter-back-pending"
},
{
"complete": "linear.listIssues#2",
"params": {
"filter": "all",
"limit": 50,
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "issue-1",
"identifier": "ENG-1",
"title": "A Linear issue",
"url": "",
"description": "",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace"
}
]
}
}
},
{
"checkpoint": "first-filter-back-settled"
}
]
},
{
"id": "tk-linear-connect",
"operation": "tasks.linear-connect",
"family": "tasks.linear-connect",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "connect",
"id": "connect-0"
},
{
"complete": "linear.connect#1",
"params": {
"apiKey": "lin_api_key"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "connect-settled"
}
]
},
{
"id": "tk-create-github",
"operation": "tasks.task-create-github",
"family": "tasks.task-create-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "create",
"id": "create-0"
},
{
"complete": "github.createIssue#1",
"params": {
"body": "a body",
"repo": "id:repo-1",
"title": "A new task"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 11,
"url": "https://github.com/owner/repo/issues/11"
}
}
},
{
"checkpoint": "create-settled"
},
{
"action": "issue-source",
"id": "issue-source-1"
},
{
"complete": "repo.update#1",
"params": {
"repo": "id:repo-1",
"updates": {
"issueSourcePreference": "upstream"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "issue-source-settled"
}
]
},
{
"id": "tk-create-gitlab",
"operation": "tasks.task-create-gitlab",
"family": "tasks.task-create-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "create",
"id": "create-0"
},
{
"complete": "gitlab.createIssue#1",
"params": {
"body": "a body",
"repo": "id:repo-1",
"title": "A new task"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"number": 6,
"url": "https://gitlab.com/group/project/-/issues/6"
}
}
},
{
"checkpoint": "create-settled"
}
]
},
{
"id": "tk-create-linear",
"operation": "tasks.task-create-linear",
"family": "tasks.task-create-linear",
"sites": ["mobile/src/tasks/use-mobile-tasks-task-create-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "create",
"id": "create-0"
},
{
"complete": "linear.createIssue#1",
"params": {
"description": "a body",
"teamId": "team-1",
"title": "A new task",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"id": "issue-3",
"identifier": "ENG-3",
"title": "A sub-issue",
"url": ""
}
}
},
{
"checkpoint": "create-settled"
}
]
},
{
"id": "tk-item-comment-github",
"operation": "tasks.item-comment-github",
"family": "tasks.item-comment-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "comment",
"id": "comment-0"
},
{
"complete": "github.addIssueComment#1",
"params": {
"body": "a comment",
"number": 9,
"repo": "id:repo-1",
"type": "issue",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 902,
"author": "You",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "comment-settled"
}
]
},
{
"id": "tk-item-review-github",
"operation": "tasks.item-review-github",
"family": "tasks.item-review-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "reviewers",
"id": "reviewers-0"
},
{
"complete": "github.requestPRReviewers#1",
"params": {
"prNumber": 12,
"repo": "id:repo-1",
"reviewers": ["octocat"],
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "reviewers-settled"
},
{
"action": "checks",
"id": "checks-1"
},
{
"complete": "github.prChecks#1",
"params": {
"headSha": "head-sha",
"noCache": true,
"prNumber": 12,
"repo": "id:repo-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "COMPLETED",
"conclusion": "SUCCESS",
"url": ""
}
]
}
},
{
"complete": "status.get#1",
"site": "pr-check-discovery",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded",
"hostDescriptor": {
"installationId": "recorded"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"checkpoint": "checks-settled"
}
]
},
{
"id": "tk-item-comment-gitlab",
"operation": "tasks.item-comment-gitlab",
"family": "tasks.item-comment-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "comment",
"id": "comment-0"
},
{
"complete": "gitlab.addIssueComment#1",
"params": {
"body": "a comment",
"number": 4,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 904,
"author": "You",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "comment-settled"
}
]
},
{
"id": "tk-item-comment-gitlab-mr",
"operation": "tasks.item-comment-gitlab-mr",
"family": "tasks.item-comment-gitlab-mr",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-comment-review-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "comment",
"id": "comment-0"
},
{
"complete": "gitlab.addMRComment#1",
"params": {
"body": "a comment",
"iid": 7,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 905,
"author": "You",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "comment-settled"
}
]
},
{
"id": "tk-item-checks-files",
"operation": "tasks.item-checks-files-github",
"family": "tasks.item-checks-files",
"sites": ["mobile/src/tasks/use-mobile-tasks-github-check-file-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "rerun",
"id": "rerun-0"
},
{
"complete": "github.rerunPRChecks#1",
"params": {
"failedOnly": true,
"headSha": "head-sha",
"prNumber": 12,
"repo": "id:repo-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "rerun-settled"
},
{
"action": "viewed",
"id": "viewed-1"
},
{
"complete": "github.setPRFileViewed#1",
"params": {
"path": "src/index.ts",
"pullRequestId": "PR_kwDO",
"repo": "id:repo-1",
"viewed": true,
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "viewed-settled"
},
{
"action": "thread",
"id": "thread-2"
},
{
"complete": "github.resolveReviewThread#1",
"params": {
"repo": "id:repo-1",
"resolve": true,
"threadId": "thread-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "thread-settled"
},
{
"action": "expand",
"id": "expand-3"
},
{
"complete": "github.prFileContents#1",
"params": {
"baseSha": "base-sha",
"headSha": "head-sha",
"oldPath": {
"$undefined": true
},
"path": "src/index.ts",
"prNumber": 12,
"repo": "id:repo-1",
"status": "modified",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"original": "a",
"modified": "b",
"originalIsBinary": false,
"modifiedIsBinary": false
}
},
"transport": "native"
},
{
"complete": "github.prFileContents#1.native-1",
"params": {
"baseSha": "base-sha",
"headSha": "head-sha",
"path": "src/index.ts",
"prNumber": 12,
"repo": "id:repo-1",
"status": "modified",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"original": "a",
"modified": "b",
"originalIsBinary": false,
"modifiedIsBinary": false
}
},
"site": "github.prFileContents#1",
"transport": "bridge"
},
{
"checkpoint": "expand-settled"
},
{
"action": "file-comment",
"id": "file-comment-4"
},
{
"complete": "github.addPRReviewComment#1",
"params": {
"body": "a review comment",
"commitId": "head-sha",
"line": 12,
"path": "src/index.ts",
"prNumber": 12,
"repo": "id:repo-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 901,
"author": "You",
"body": "a review comment",
"createdAt": "2020-01-01T00:00:00.000Z",
"path": "src/index.ts",
"line": 12
}
}
}
},
{
"checkpoint": "file-comment-settled"
}
]
},
{
"id": "tk-item-reply-merge",
"operation": "tasks.item-reply-merge-github",
"family": "tasks.item-reply-merge",
"sites": ["mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "review-reply",
"id": "review-reply-0"
},
{
"complete": "github.addPRReviewCommentReply#1",
"params": {
"body": "a reply",
"commentId": 501,
"line": 12,
"path": "src/index.ts",
"prNumber": 12,
"repo": "id:repo-1",
"threadId": "thread-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 903,
"author": "You",
"body": "a reply",
"createdAt": "2020-01-01T00:00:00.000Z",
"path": "src/index.ts",
"line": 12,
"threadId": "thread-1"
}
}
}
},
{
"checkpoint": "review-reply-settled"
},
{
"action": "issue-reply",
"id": "issue-reply-1"
},
{
"complete": "github.addIssueComment#1",
"params": {
"body": "@octocat a reply",
"number": 12,
"repo": "id:repo-1",
"type": "pr",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 902,
"author": "You",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "issue-reply-settled"
},
{
"action": "merge",
"id": "merge-2"
},
{
"complete": "github.mergePR#1",
"params": {
"method": "squash",
"prNumber": 12,
"repo": "id:repo-1",
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "merge-settled"
},
{
"action": "linear-status",
"id": "linear-status-3"
},
{
"complete": "linear.updateIssue#1",
"params": {
"id": "issue-1",
"updates": {
"stateId": "state-2"
},
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "linear-status-settled"
}
]
},
{
"id": "tk-item-merge-gitlab",
"operation": "tasks.item-merge-gitlab",
"family": "tasks.item-merge-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-github-reply-merge-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "merge",
"id": "merge-0"
},
{
"complete": "gitlab.mergeMR#1",
"params": {
"iid": 7,
"method": "squash",
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "merge-settled"
}
]
},
{
"id": "tk-item-status-gitlab",
"operation": "tasks.item-status-gitlab",
"family": "tasks.item-status-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "gitlab-status",
"id": "gitlab-status-0"
},
{
"complete": "gitlab.updateIssue#1",
"params": {
"number": 4,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"updates": {
"state": "closed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "gitlab-status-settled"
},
{
"action": "github-metadata",
"id": "github-metadata-1"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded",
"hostDescriptor": {
"installationId": "recorded"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.updateIssue#1",
"params": {
"repo": "id:repo-1",
"number": 9,
"updates": {
"title": "Renamed",
"addLabels": ["triage"],
"removeLabels": ["bug"]
},
"ownerRepo": {
"host": "github.com",
"owner": "owner",
"repo": "repo"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"transport": "native",
"site": "github.updateIssue#1"
},
{
"transport": "bridge",
"complete": "github.updateIssue#1.native-1",
"site": "github.updateIssue#1.native-1",
"bridgeSite": true,
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "shell-runtime",
"hostDescriptor": {
"installationId": "shell-desktop"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.updateIssue#1.native-2",
"params": {
"repo": "id:repo-1",
"number": 9,
"updates": {
"title": "Renamed",
"addLabels": ["triage"],
"removeLabels": ["bug"]
},
"ownerRepo": {
"host": "github.com",
"owner": "owner",
"repo": "repo"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"transport": "bridge",
"site": "github.updateIssue#1"
},
{
"checkpoint": "github-metadata-settled"
}
],
"bridgeOperations": [
{
"request": "github.updateIssue#1",
"probeSite": "github.updateIssue#1.native-1",
"methods": ["status.get", "github.updateIssue"]
}
]
},
{
"id": "tk-item-status-gitlab-mr",
"operation": "tasks.item-status-gitlab-mr",
"family": "tasks.item-status-gitlab-mr",
"sites": ["mobile/src/tasks/use-mobile-tasks-gitlab-github-status-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "gitlab-status",
"id": "gitlab-status-0"
},
{
"complete": "gitlab.updateMRState#1",
"params": {
"iid": 7,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"state": "closed"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "gitlab-status-settled"
}
]
},
{
"id": "tk-item-metadata-github",
"operation": "tasks.item-metadata-github",
"family": "tasks.item-metadata-github",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "update-pr",
"id": "update-pr-0"
},
{
"complete": "github.updatePR#1",
"params": {
"prNumber": 12,
"repo": "id:repo-1",
"updates": {
"body": "new body",
"title": "Renamed"
},
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "update-pr-settled"
}
]
},
{
"id": "tk-item-metadata-gitlab",
"operation": "tasks.item-metadata-gitlab",
"family": "tasks.item-metadata-gitlab",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "update-gitlab",
"id": "update-gitlab-0"
},
{
"complete": "gitlab.updateIssue#1",
"params": {
"number": 4,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"updates": {
"addLabels": ["triage"],
"title": "Renamed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "update-gitlab-settled"
}
]
},
{
"id": "tk-item-metadata-gitlab-mr",
"operation": "tasks.item-metadata-gitlab-mr",
"family": "tasks.item-metadata-gitlab-mr",
"sites": ["mobile/src/tasks/use-mobile-tasks-hosted-metadata-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "update-gitlab",
"id": "update-gitlab-0"
},
{
"complete": "gitlab.updateMR#1",
"params": {
"iid": 7,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"updates": {
"addLabels": ["triage"],
"body": {
"$undefined": true
},
"removeLabels": {
"$undefined": true
},
"title": "Renamed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"transport": "native"
},
{
"complete": "gitlab.updateMR#1.native-1",
"params": {
"iid": 7,
"projectRef": {
"host": "gitlab.com",
"path": "group/project"
},
"repo": "id:repo-1",
"updates": {
"addLabels": ["triage"],
"title": "Renamed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"site": "gitlab.updateMR#1",
"transport": "bridge"
},
{
"checkpoint": "update-gitlab-settled"
}
]
},
{
"id": "tk-linear-item",
"operation": "tasks.linear-item-actions",
"family": "tasks.linear-item",
"sites": ["mobile/src/tasks/use-mobile-tasks-linear-item-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "comment",
"id": "comment-0"
},
{
"complete": "linear.addIssueComment#1",
"params": {
"body": "a linear comment",
"issueId": "issue-1",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"id": "comment-9"
}
}
},
{
"checkpoint": "comment-settled"
},
{
"action": "sub-issue-open",
"id": "sub-issue-open-1"
},
{
"complete": "linear.getIssue#1",
"params": {
"id": "issue-2",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"id": "issue-2",
"identifier": "ENG-2",
"title": "A sub-issue",
"url": "",
"description": "a description",
"state": {
"name": "Todo",
"type": "unstarted",
"color": "#000"
},
"team": {
"id": "team-1",
"key": "ENG",
"name": "Engineering"
},
"labels": [],
"priority": 0,
"updatedAt": "2020-01-01T00:00:00.000Z",
"workspaceId": "linear-workspace",
"subIssues": []
}
}
},
{
"checkpoint": "sub-issue-open-settled"
},
{
"action": "sub-issue-create",
"id": "sub-issue-create-2"
},
{
"complete": "linear.createIssue#1",
"params": {
"parentIssueId": "issue-1",
"projectId": null,
"teamId": "team-1",
"title": "A sub-issue",
"workspaceId": "linear-workspace"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"id": "issue-3",
"identifier": "ENG-3",
"title": "A sub-issue",
"url": ""
}
}
},
{
"checkpoint": "sub-issue-create-settled"
}
]
},
{
"id": "tk-project-repo-slugs",
"operation": "tasks.project-repo-slugs",
"family": "tasks.project-repo-slugs",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-repository-resolution.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.repoSlug#1",
"params": {
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-project-board-load",
"operation": "tasks.project-board-load",
"family": "tasks.project-board-load",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "projects",
"id": "projects-0"
},
{
"complete": "github.project.listAccessible#1",
"params": {
"host": "github.com"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"projects": [
{
"owner": "owner",
"ownerType": "organization",
"number": 3,
"title": "Board",
"host": "github.com"
}
],
"partialFailures": []
}
}
},
{
"checkpoint": "projects-settled"
},
{
"action": "views",
"id": "views-1"
},
{
"complete": "github.project.listViews#1",
"params": {
"host": "github.enterprise.test",
"owner": "owner",
"ownerType": "organization",
"projectNumber": 3
},
"reply": {
"ok": true,
"result": {
"ok": true,
"views": [
{
"id": "view-1",
"number": 1,
"name": "Table",
"layout": "TABLE_LAYOUT"
}
]
}
}
},
{
"checkpoint": "views-settled"
},
{
"action": "table",
"id": "table-2"
},
{
"complete": "github.project.viewTable#1",
"params": {
"host": "github.enterprise.test",
"owner": "owner",
"ownerType": "organization",
"projectNumber": 3,
"viewId": "view-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"data": {
"project": {
"id": "project-1",
"title": "Board",
"number": 3
},
"selectedView": {
"id": "view-1",
"number": 1,
"name": "Table",
"filter": "is:open",
"layout": "TABLE_LAYOUT"
},
"fields": [],
"rows": []
}
}
}
},
{
"checkpoint": "table-settled"
},
{
"action": "paste",
"id": "paste-3"
},
{
"complete": "github.project.resolveRef#1",
"params": {
"host": "github.com",
"input": "https://github.com/orgs/owner/projects/3"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"owner": "owner",
"ownerType": "organization",
"number": 3,
"title": "Board",
"host": "github.com",
"viewNumber": 1
}
}
},
{
"complete": "github.project.listViews#2",
"params": {
"host": "github.com",
"owner": "owner",
"ownerType": "organization",
"projectNumber": 3
},
"reply": {
"ok": true,
"result": {
"ok": true,
"views": [
{
"id": "view-1",
"number": 1,
"name": "Table",
"layout": "TABLE_LAYOUT"
}
]
}
}
},
{
"checkpoint": "paste-settled"
}
]
},
{
"id": "tk-project-row-detail",
"operation": "tasks.project-row-detail",
"family": "tasks.project-row-detail",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-detail-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.project.workItemDetailsBySlug#1",
"params": {
"host": "github.enterprise.test",
"number": 1,
"owner": "owner",
"repo": "repo",
"type": "issue"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"details": {
"body": "body",
"comments": [],
"item": {
"id": "issue:1",
"type": "issue",
"number": 1,
"title": "Project issue",
"url": "https://github.enterprise.test/owner/repo/issues/1",
"state": "open",
"updatedAt": "2026-10-30T00:00:00Z",
"author": null,
"labels": []
},
"assignees": [],
"headSha": "head-sha",
"baseSha": "base-sha",
"pullRequestId": "PR_kwDO",
"checks": [],
"files": []
}
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-project-row-metadata-load",
"operation": "tasks.project-row-metadata-load",
"family": "tasks.project-row-metadata-load",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-metadata-loading.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "github.project.listLabelsBySlug#1",
"params": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"labels": ["bug"]
}
}
},
{
"complete": "github.project.listAssignableUsersBySlug#1",
"params": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo",
"seedLogins": ["octocat"]
},
"reply": {
"ok": true,
"result": {
"ok": true,
"users": [
{
"login": "octocat",
"name": "Octo"
}
]
}
}
},
{
"complete": "github.project.listIssueTypesBySlug#1",
"params": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"types": [
{
"id": "type-1",
"name": "Bug"
}
]
}
}
},
{
"checkpoint": "mounted"
}
]
},
{
"id": "tk-project-row-fields",
"operation": "tasks.project-row-fields",
"family": "tasks.project-row-fields",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-metadata-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "set-field",
"id": "set-field-0"
},
{
"complete": "github.project.updateItemField#1",
"params": {
"fieldId": "field-1",
"host": "github.enterprise.test",
"itemId": "item-1",
"projectId": "project-1",
"value": {
"kind": "single-select",
"optionId": "option-1"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "set-field-settled"
},
{
"action": "clear-field",
"id": "clear-field-1"
},
{
"complete": "github.project.clearItemField#1",
"params": {
"fieldId": "field-1",
"host": "github.enterprise.test",
"itemId": "item-1",
"projectId": "project-1"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "clear-field-settled"
},
{
"action": "issue-type",
"id": "issue-type-2"
},
{
"complete": "github.project.updateIssueTypeBySlug#1",
"params": {
"host": "github.enterprise.test",
"issueTypeId": "type-1",
"number": 1,
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "issue-type-settled"
}
]
},
{
"id": "tk-project-row-review-checks",
"operation": "tasks.project-row-review-checks",
"family": "tasks.project-row-review-checks",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-review-check-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "reviewers",
"id": "reviewers-0"
},
{
"complete": "github.requestPRReviewers#1",
"params": {
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"reviewers": ["octocat"]
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "reviewers-settled"
},
{
"action": "checks",
"id": "checks-1"
},
{
"complete": "github.prChecks#1",
"params": {
"headSha": "head-sha",
"noCache": true,
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": [
{
"name": "build",
"status": "COMPLETED",
"conclusion": "SUCCESS",
"url": ""
}
]
}
},
{
"checkpoint": "checks-settled"
},
{
"action": "rerun",
"id": "rerun-2"
},
{
"complete": "github.rerunPRChecks#1",
"params": {
"failedOnly": true,
"headSha": "head-sha",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "rerun-settled"
},
{
"action": "viewed",
"id": "viewed-3"
},
{
"complete": "github.setPRFileViewed#1",
"params": {
"path": "src/index.ts",
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"pullRequestId": "PR_kwDO",
"repo": "id:repo-1",
"viewed": true
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "viewed-settled"
}
]
},
{
"id": "tk-project-row-threads",
"operation": "tasks.project-row-threads",
"family": "tasks.project-row-threads",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-thread-reply-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "delete-comment",
"id": "delete-comment-0"
},
{
"complete": "github.project.deleteIssueCommentBySlug#1",
"params": {
"commentId": 501,
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "delete-comment-settled"
},
{
"action": "thread",
"id": "thread-1"
},
{
"complete": "github.resolveReviewThread#1",
"params": {
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"resolve": true,
"threadId": "thread-1"
},
"reply": {
"ok": true,
"result": true
}
},
{
"checkpoint": "thread-settled"
},
{
"action": "review-reply",
"id": "review-reply-2"
},
{
"complete": "github.addPRReviewCommentReply#1",
"params": {
"body": "a reply",
"commentId": 501,
"line": 12,
"path": "src/index.ts",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"threadId": "thread-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 903,
"author": "You",
"body": "a reply",
"createdAt": "2020-01-01T00:00:00.000Z",
"path": "src/index.ts",
"line": 12,
"threadId": "thread-1"
}
}
}
},
{
"checkpoint": "review-reply-settled"
},
{
"action": "issue-reply",
"id": "issue-reply-3"
},
{
"complete": "github.addIssueComment#1",
"params": {
"body": "@octocat a reply",
"number": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"type": "pr"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 902,
"author": "You",
"body": "a comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "issue-reply-settled"
}
]
},
{
"id": "tk-project-row-comments-issue",
"operation": "tasks.project-row-comments-issue",
"family": "tasks.project-row-comments-issue",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "update-item",
"id": "update-item-0"
},
{
"complete": "github.project.updateIssueBySlug#1",
"params": {
"host": "github.enterprise.test",
"number": 1,
"owner": "owner",
"repo": "repo",
"updates": {
"title": "Renamed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "update-item-settled"
},
{
"action": "add-comment",
"id": "add-comment-1"
},
{
"complete": "github.project.addIssueCommentBySlug#1",
"params": {
"body": "a project comment",
"host": "github.enterprise.test",
"number": 1,
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 906,
"author": "You",
"body": "a project comment",
"createdAt": "2020-01-01T00:00:00.000Z"
}
}
}
},
{
"checkpoint": "add-comment-settled"
},
{
"action": "update-comment",
"id": "update-comment-2"
},
{
"complete": "github.project.updateIssueCommentBySlug#1",
"params": {
"body": "an edited comment",
"commentId": 501,
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "update-comment-settled"
}
]
},
{
"id": "tk-project-row-comments-pr",
"operation": "tasks.project-row-comments-pr",
"family": "tasks.project-row-comments-pr",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-workspace-comment-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "update-item",
"id": "update-item-0"
},
{
"complete": "github.project.updatePullRequestBySlug#1",
"params": {
"host": "github.enterprise.test",
"number": 2,
"owner": "owner",
"repo": "repo",
"updates": {
"title": "Renamed"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "update-item-settled"
}
]
},
{
"id": "tk-project-row-files-merge",
"operation": "tasks.project-row-files-merge",
"family": "tasks.project-row-files-merge",
"sites": ["mobile/src/tasks/use-mobile-tasks-project-file-merge-actions.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "expand",
"id": "expand-0"
},
{
"complete": "github.prFileContents#1",
"params": {
"baseSha": "base-sha",
"headSha": "head-sha",
"oldPath": {
"$undefined": true
},
"path": "src/index.ts",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"status": "modified"
},
"reply": {
"ok": true,
"result": {
"original": "a",
"modified": "b",
"originalIsBinary": false,
"modifiedIsBinary": false
}
},
"transport": "native"
},
{
"complete": "github.prFileContents#1.native-1",
"params": {
"baseSha": "base-sha",
"headSha": "head-sha",
"path": "src/index.ts",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1",
"status": "modified"
},
"reply": {
"ok": true,
"result": {
"original": "a",
"modified": "b",
"originalIsBinary": false,
"modifiedIsBinary": false
}
},
"site": "github.prFileContents#1",
"transport": "bridge"
},
{
"checkpoint": "expand-settled"
},
{
"action": "file-comment",
"id": "file-comment-1"
},
{
"complete": "github.addPRReviewComment#1",
"params": {
"body": "a review comment",
"commitId": "head-sha",
"line": 12,
"path": "src/index.ts",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"comment": {
"id": 901,
"author": "You",
"body": "a review comment",
"createdAt": "2020-01-01T00:00:00.000Z",
"path": "src/index.ts",
"line": 12
}
}
}
},
{
"checkpoint": "file-comment-settled"
},
{
"action": "merge",
"id": "merge-2"
},
{
"complete": "github.mergePR#1",
"params": {
"method": "squash",
"prNumber": 2,
"prRepo": {
"host": "github.enterprise.test",
"owner": "owner",
"repo": "repo"
},
"repo": "id:repo-1"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "merge-settled"
},
{
"action": "issue-state",
"id": "issue-state-3"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "recorded",
"hostDescriptor": {
"installationId": "recorded"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.updateIssue#1",
"params": {
"repo": "id:repo-1",
"number": 9,
"updates": {
"state": "closed"
},
"ownerRepo": {
"host": "github.com",
"owner": "owner",
"repo": "repo"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"transport": "native",
"site": "github.updateIssue#1"
},
{
"transport": "bridge",
"complete": "github.updateIssue#1.native-1",
"site": "github.updateIssue#1.native-1",
"bridgeSite": true,
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"runtimeId": "shell-runtime",
"hostDescriptor": {
"installationId": "shell-desktop"
},
"capabilities": ["github.exact-work-item-target.v1"]
}
}
},
{
"complete": "github.updateIssue#1.native-2",
"params": {
"repo": "id:repo-1",
"number": 9,
"updates": {
"state": "closed"
},
"ownerRepo": {
"host": "github.com",
"owner": "owner",
"repo": "repo"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
},
"transport": "bridge",
"site": "github.updateIssue#1"
},
{
"checkpoint": "issue-state-settled"
},
{
"action": "pr-state",
"id": "pr-state-4"
},
{
"complete": "github.updatePRState#1",
"params": {
"prNumber": 12,
"repo": "id:repo-1",
"updates": {
"state": "closed"
},
"prRepo": {
"owner": "owner",
"repo": "repo",
"host": "github.com"
}
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "pr-state-settled"
}
],
"bridgeOperations": [
{
"request": "github.updateIssue#1",
"probeSite": "github.updateIssue#1.native-1",
"methods": ["status.get", "github.updateIssue"]
}
]
},
{
"id": "speech-setup-sheet-fulfilled",
"operation": "speech.setup-sheet",
"family": "speech.setup-sheet",
"sites": ["mobile/src/dictation/mobile-dictation-setup.ts"],
"schedules": [],
"steps": [
{
"action": "list",
"id": "list"
},
{
"complete": "speech.models.list#1",
"params": null,
"reply": {
"ok": true,
"result": {
"enabled": true,
"selectedModelId": "whisper-small",
"models": [
{
"id": "whisper-small",
"name": "Small",
"status": "ready"
}
]
}
}
},
{
"action": "download",
"id": "download"
},
{
"complete": "speech.models.download#1",
"params": {
"modelId": "whisper-small"
},
"reply": {
"ok": true,
"result": {
"started": true
}
}
},
{
"action": "delete",
"id": "delete"
},
{
"complete": "speech.models.delete#1",
"params": {
"modelId": "whisper-small"
},
"reply": {
"ok": true,
"result": {
"enabled": true,
"selectedModelId": "whisper-small",
"models": []
}
}
},
{
"action": "configure",
"id": "configure"
},
{
"complete": "speech.dictation.setup#1",
"params": {
"enabled": true,
"modelId": "whisper-small"
},
"reply": {
"ok": true,
"result": {
"enabled": true,
"selectedModelId": "whisper-small",
"models": [
{
"id": "whisper-small",
"name": "Small",
"status": "ready"
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "speech-setup-sheet-model-vocabulary",
"operation": "speech.setup-sheet",
"family": "speech.setup-sheet",
"sites": ["mobile/src/dictation/mobile-dictation-setup.ts"],
"schedules": [],
"steps": [
{
"action": "list",
"id": "list"
},
{
"complete": "speech.models.list#1",
"params": null,
"reply": {
"ok": true,
"result": {
"enabled": true,
"selectedModelId": "gpt-4o-transcribe",
"dictationMode": "hold",
"models": [
{
"id": "whisper-small",
"label": "Small",
"provider": "local",
"status": "downloading",
"sizeBytes": 466862080,
"progress": 0.42,
"recommended": true
},
{
"id": "gpt-4o-transcribe",
"label": "OpenAI",
"provider": "openai",
"status": "ready",
"sizeBytes": null,
"progress": null,
"recommended": false
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "speech-setup-sheet-legacy-desktop",
"operation": "speech.setup-sheet",
"family": "speech.setup-sheet",
"sites": ["mobile/src/dictation/mobile-dictation-setup.ts"],
"schedules": [],
"steps": [
{
"action": "list",
"id": "list"
},
{
"complete": "speech.models.list#1",
"params": null,
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method: speech.models.list"
}
}
},
{
"checkpoint": "legacy-desktop"
}
]
},
{
"id": "speech-setup-sheet-denied-to-mobile",
"operation": "speech.setup-sheet",
"family": "speech.setup-sheet",
"sites": ["mobile/src/dictation/mobile-dictation-setup.ts"],
"schedules": [],
"steps": [
{
"action": "list",
"id": "list"
},
{
"complete": "speech.models.list#1",
"params": null,
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "speech.models.list is not available to mobile clients"
}
}
},
{
"checkpoint": "denied"
}
]
},
{
"id": "speech-desktop-start-superseded",
"operation": "speech.desktop-start",
"family": "speech.dictation-start",
"sites": ["mobile/src/hooks/mobile-dictation-desktop-start.ts"],
"schedules": [],
"steps": [
{
"action": "supersede",
"id": "supersede"
},
{
"action": "start",
"id": "start"
},
{
"complete": "speech.dictation.start#1",
"params": {
"dictationId": "dictation-1"
},
"reply": {
"ok": true,
"result": {
"started": true
}
}
},
{
"complete": "speech.dictation.cancel#1",
"params": {
"dictationId": "dictation-1"
},
"reply": {
"ok": true,
"result": {
"cancelled": true
}
}
},
{
"checkpoint": "stale-start-cancelled"
}
]
},
{
"id": "speech-desktop-start-fulfilled",
"operation": "speech.desktop-start",
"family": "speech.dictation-start",
"sites": ["mobile/src/hooks/mobile-dictation-desktop-start.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"complete": "speech.dictation.start#1",
"params": {
"dictationId": "dictation-1"
},
"reply": {
"ok": true,
"result": {
"started": true
}
}
},
{
"checkpoint": "recording"
}
]
},
{
"id": "speech-audio-chunk-acknowledged",
"operation": "speech.audio-chunk",
"family": "speech.dictation-chunk",
"sites": ["mobile/src/hooks/mobile-dictation-audio-chunk.ts"],
"schedules": [],
"steps": [
{
"action": "chunk",
"id": "chunk"
},
{
"complete": "speech.dictation.chunk#1",
"params": {
"audioBase64": "ACVKb5S53gM=",
"dictationId": "dictation-1",
"sampleRate": 16000,
"seq": 0
},
"reply": {
"ok": true,
"result": {
"received": true
}
}
},
{
"checkpoint": "acknowledged"
}
]
},
{
"id": "speech-dictation-session-transcript",
"operation": "speech.dictation-session",
"family": "speech.dictation-session",
"sites": ["mobile/src/hooks/use-mobile-dictation.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "start",
"id": "start"
},
{
"complete": "speech.dictation.start#1",
"params": {
"dictationId": "mobile-dictation-1767225600000-8ig2henseon"
},
"reply": {
"ok": true,
"result": {
"started": true
}
}
},
{
"action": "stop",
"id": "stop"
},
{
"complete": "speech.dictation.finish#1",
"params": {
"dictationId": "mobile-dictation-1767225600000-8ig2henseon"
},
"reply": {
"ok": true,
"result": {
"text": " hello world "
}
}
},
{
"checkpoint": "transcribed"
}
]
},
{
"id": "speech-dictation-session-cancelled",
"operation": "speech.dictation-session",
"family": "speech.dictation-session",
"sites": ["mobile/src/hooks/use-mobile-dictation.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "start",
"id": "start"
},
{
"complete": "speech.dictation.start#1",
"params": {
"dictationId": "mobile-dictation-1767225600000-8ig2henseon"
},
"reply": {
"ok": true,
"result": {
"started": true
}
}
},
{
"action": "cancel",
"id": "cancel"
},
{
"complete": "speech.dictation.cancel#1",
"params": {
"dictationId": "mobile-dictation-1767225600000-8ig2henseon"
},
"reply": {
"ok": true,
"result": {
"cancelled": true
}
}
},
{
"checkpoint": "cancelled"
}
]
},
{
"id": "aivault-history-scan-fulfilled",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
}
]
},
{
"id": "aivault-history-scan-unsupported",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["mobile.tasks.v1"]
}
}
},
{
"checkpoint": "unsupported"
}
]
},
{
"id": "aivault-history-scan-worktrees-late",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreesLoaded": false
}
},
{
"checkpoint": "held"
},
{
"action": "worktrees-loaded",
"id": "worktrees-loaded"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
}
]
},
{
"id": "aivault-history-scan-revisit",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
},
{
"action": "leave",
"id": "leave"
},
{
"advance": 31000
},
{
"action": "return",
"id": "return"
},
{
"checkpoint": "cached"
},
{
"complete": "aiVault.listSessions#2",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "claude",
"cwd": "/repo/feature"
},
{
"id": "s2",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "revalidated"
}
]
},
{
"id": "aivault-history-scan-refresh",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
},
{
"action": "refresh",
"id": "refresh"
},
{
"complete": "aiVault.listSessions#2",
"params": {
"force": true,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s2",
"agent": "claude",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "refreshed"
}
]
},
{
"id": "aivault-history-scan-association",
"operation": "aiVault.history-scan",
"family": "aiVault.history",
"sites": ["mobile/src/agent-history/use-mobile-agent-history-state.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "pi",
"cwd": "/repo/feature"
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
},
{
"frame": "agentSession.subscribeStatus#1",
"params": {},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "snapshot",
"sessions": [
{
"sessionId": "native",
"agent": "pi",
"workspaceId": "worktree-1",
"latestPrompt": "",
"status": null,
"updatedAt": 1,
"providerSession": {
"key": "session_id",
"id": "/provider"
},
"conversationName": "Budget plan"
}
]
}
}
},
{
"complete": "aiVault.listSessions#2",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"agent": "pi",
"cwd": "/repo/feature",
"structuredSession": {
"sessionId": "native",
"workspaceId": "worktree-1"
}
}
],
"issues": []
}
}
},
{
"checkpoint": "associated"
}
]
},
{
"id": "terminal-query-reply-accepted",
"operation": "terminal.query-reply",
"family": "terminal.query-reply",
"sites": ["mobile/src/terminal/mobile-terminal-query-reply.ts"],
"schedules": [],
"steps": [
{
"action": "send",
"id": "send"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"inputKind": "query-reply",
"terminal": "terminal-1",
"text": "\u001b[0n"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "accepted"
}
]
},
{
"id": "terminal-query-reply-unsubscribed",
"operation": "terminal.query-reply",
"family": "terminal.query-reply",
"sites": ["mobile/src/terminal/mobile-terminal-query-reply.ts"],
"schedules": [],
"steps": [
{
"action": "send",
"id": "send",
"args": {
"handle": "terminal-9"
}
},
{
"checkpoint": "dropped"
}
]
},
{
"id": "terminal-raw-input-reported",
"operation": "terminal.accessory-raw-send",
"family": "terminal.raw-input",
"sites": ["mobile/src/terminal/terminal-live-accessory-raw-send.ts"],
"schedules": [],
"steps": [
{
"action": "send",
"id": "send"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"terminal": "terminal-1",
"text": "ls"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "reported"
}
]
},
{
"id": "terminal-raw-input-refused",
"operation": "terminal.accessory-raw-send",
"family": "terminal.raw-input",
"sites": ["mobile/src/terminal/terminal-live-accessory-raw-send.ts"],
"schedules": [],
"steps": [
{
"action": "send",
"id": "send"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"enter": false,
"terminal": "terminal-1",
"text": "ls"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "not-reported"
}
]
},
{
"id": "terminal-viewport-refit-applied",
"operation": "terminal.viewport-refit",
"family": "terminal.viewport-refit",
"sites": ["mobile/src/terminal/terminal-viewport-refit.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "height",
"id": "height"
},
{
"advance": 150
},
{
"complete": "terminal.updateViewport#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"viewport": {
"cols": 100,
"rows": 30
}
},
"reply": {
"ok": true,
"result": {
"updated": true,
"applied": true
}
}
},
{
"checkpoint": "reflowed"
}
]
},
{
"id": "terminal-viewport-refit-legacy-desktop",
"operation": "terminal.viewport-refit",
"family": "terminal.viewport-refit",
"sites": ["mobile/src/terminal/terminal-viewport-refit.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "height",
"id": "height"
},
{
"advance": 150
},
{
"complete": "terminal.updateViewport#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"viewport": {
"cols": 100,
"rows": 30
}
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method: terminal.updateViewport"
}
}
},
{
"checkpoint": "resubscribed"
}
]
},
{
"id": "notifications-push-registered",
"operation": "notifications.push-registration",
"family": "notifications.push-registration",
"sites": ["mobile/src/notifications/mobile-push-registration-operations.ts"],
"schedules": [],
"steps": [
{
"action": "register",
"id": "register"
},
{
"complete": "notifications.registerPush#1",
"params": {
"filter": {
"onlyWhenDesktopAway": true,
"sound": true
},
"apnsEnvironment": "production",
"platform": "ios",
"token": "apns-token-1"
},
"reply": {
"ok": true,
"result": {
"registered": true,
"registrationId": "registration-1"
}
}
},
{
"action": "unregister",
"id": "unregister"
},
{
"complete": "notifications.unregisterPush#1",
"params": null,
"reply": {
"ok": true,
"result": {
"unregistered": true
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "notifications-push-gateway-rejected",
"operation": "notifications.push-registration",
"family": "notifications.push-registration",
"sites": ["mobile/src/notifications/mobile-push-registration-operations.ts"],
"schedules": [],
"steps": [
{
"action": "register",
"id": "register"
},
{
"complete": "notifications.registerPush#1",
"params": {
"filter": {
"onlyWhenDesktopAway": true,
"sound": true
},
"apnsEnvironment": "production",
"platform": "ios",
"token": "apns-token-1"
},
"reply": {
"ok": true,
"result": {
"registered": false,
"reason": "gateway_rejected"
}
}
},
{
"checkpoint": "not-registered"
}
]
},
{
"id": "browser-pointer-click-fallback",
"operation": "browser.page-commands",
"family": "browser.pointer-click",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "click",
"id": "click"
},
{
"complete": "browser.mouseClick#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"button": "left",
"modifiers": [],
"radius": 14,
"x": 40,
"y": 80
},
"reply": {
"ok": false,
"error": {
"code": "refused",
"message": "selector_not_found"
}
}
},
{
"complete": "browser.mouseMove#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"x": 40,
"y": 80
},
"reply": {
"ok": true,
"result": {
"moved": true
}
}
},
{
"complete": "browser.mouseDown#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"button": "left"
},
"reply": {
"ok": true,
"result": {
"down": true
}
}
},
{
"complete": "browser.mouseUp#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"button": "left"
},
"reply": {
"ok": true,
"result": {
"up": true
}
}
},
{
"checkpoint": "tap-settled"
}
]
},
{
"id": "browser-pointer-click-accepted",
"operation": "browser.page-commands",
"family": "browser.pointer-click",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "click",
"id": "click"
},
{
"complete": "browser.mouseClick#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"button": "left",
"modifiers": [],
"radius": 14,
"x": 40,
"y": 80
},
"reply": {
"ok": true,
"result": {
"clicked": true
}
}
},
{
"checkpoint": "clicked"
}
]
},
{
"id": "browser-wheel-scrolled",
"operation": "browser.page-commands",
"family": "browser.wheel",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "wheel",
"id": "wheel"
},
{
"complete": "browser.mouseMove#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"x": 40,
"y": 80
},
"reply": {
"ok": true,
"result": {
"moved": true
}
}
},
{
"complete": "browser.mouseWheel#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"dx": 0,
"dy": -120
},
"reply": {
"ok": true,
"result": {
"scrolled": true
}
}
},
{
"checkpoint": "scrolled"
}
]
},
{
"id": "browser-keyboard-input",
"operation": "browser.page-commands",
"family": "browser.keyboard",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "keyboard-text",
"id": "text"
},
{
"complete": "browser.keyboardInsertText#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"text": "hello"
},
"reply": {
"ok": true,
"result": {
"inserted": true
}
}
},
{
"action": "keypress",
"id": "keypress"
},
{
"complete": "browser.keypress#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1",
"key": "Enter"
},
"reply": {
"ok": true,
"result": {
"pressed": true
}
}
},
{
"checkpoint": "typed"
}
]
},
{
"id": "browser-dialog-accepted",
"operation": "browser.page-commands",
"family": "browser.dialog",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "dialog",
"id": "dialog"
},
{
"complete": "browser.dialogAccept#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1"
},
"reply": {
"ok": true,
"result": {
"accepted": true
}
}
},
{
"checkpoint": "dismissed"
}
]
},
{
"id": "browser-dialog-dismissed",
"operation": "browser.page-commands",
"family": "browser.dialog",
"sites": [
"mobile/src/browser/use-mobile-browser-request.ts",
"mobile/src/browser/use-mobile-browser-commands.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "dialog",
"id": "dialog",
"args": {
"accept": false
}
},
{
"complete": "browser.dialogDismiss#1",
"params": {
"page": "page-1",
"worktree": "id:worktree-1"
},
"reply": {
"ok": true,
"result": {
"dismissed": true
}
}
},
{
"checkpoint": "dismissed"
}
]
},
{
"id": "aivault-resume-prepare-repin",
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"sites": ["mobile/src/agent-history/ai-vault-resume-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "prepare",
"id": "prepare"
},
{
"complete": "aiVault.prepareSessionResume#1",
"params": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
},
"reply": {
"ok": true,
"result": {
"useRealCodexHome": false,
"substituteCodexHome": "/hosts/codex-accounts/acct-1/home"
}
}
},
{
"checkpoint": "repinned"
}
]
},
{
"id": "aivault-resume-prepare-unavailable",
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"sites": ["mobile/src/agent-history/ai-vault-resume-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "prepare",
"id": "prepare"
},
{
"complete": "aiVault.prepareSessionResume#1",
"params": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
},
"reply": {
"ok": false,
"error": {
"code": "forbidden",
"message": "Method 'aiVault.prepareSessionResume' is not available to mobile clients"
}
}
},
{
"checkpoint": "degraded-to-legacy"
}
]
},
{
"id": "aivault-resume-prepare-refused",
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"sites": ["mobile/src/agent-history/ai-vault-resume-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "prepare",
"id": "prepare"
},
{
"complete": "aiVault.prepareSessionResume#1",
"params": {
"agent": "codex",
"codexHome": "/hosts/codex-runtime-home/home",
"executionHostId": "local",
"filePath": "/sessions/rollout.jsonl"
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": "codex home is locked"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "aivault-resume-prepare-skipped",
"operation": "aiVault.resume-preparation",
"family": "aiVault.resume-preparation",
"sites": ["mobile/src/agent-history/ai-vault-resume-preparation.ts"],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"checkpoint": "no-wire"
}
]
},
{
"id": "aivault-resume-launch-sent",
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"sites": ["mobile/src/agent-history/ai-vault-resume-launch.ts"],
"schedules": [],
"steps": [
{
"action": "full",
"id": "full"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tab": {
"id": "tab-9",
"type": "terminal",
"title": "codex",
"terminal": "terminal-9"
}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-9",
"text": "codex resume rollout",
"enter": true
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "resumed"
}
]
},
{
"id": "aivault-resume-launch-locked",
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"sites": ["mobile/src/agent-history/ai-vault-resume-launch.ts"],
"schedules": [],
"steps": [
{
"action": "full",
"id": "full"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tab": {
"id": "tab-9",
"type": "terminal",
"title": "codex",
"terminal": "terminal-9"
}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-9",
"text": "codex resume rollout",
"enter": true
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "input-locked"
}
]
},
{
"id": "aivault-resume-launch-create-refused",
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"sites": ["mobile/src/agent-history/ai-vault-resume-launch.ts"],
"schedules": [],
"steps": [
{
"action": "bare",
"id": "bare"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"activate": false,
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_busy",
"message": "Workspace is busy"
}
}
},
{
"checkpoint": "create-refused"
}
]
},
{
"id": "aivault-resume-launch-invalid-tab",
"operation": "aiVault.resume-launch",
"family": "aiVault.resume-launch",
"sites": ["mobile/src/agent-history/ai-vault-resume-launch.ts"],
"schedules": [],
"steps": [
{
"action": "full",
"id": "full"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"activate": false,
"clientMutationId": "resume-mutation-1",
"env": {
"ORCA_RESUME": "1"
},
"envToDelete": ["CODEX_HOME"],
"launchAgent": "codex",
"navigation": "caller",
"select": true,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tab": {
"id": "tab-9"
}
}
}
},
{
"checkpoint": "invalid-tab"
}
]
},
{
"id": "clipboard-image-upload-single-frame-fallback",
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"sites": ["mobile/src/files/attachments/mobile-clipboard-image.ts"],
"schedules": [],
"steps": [
{
"action": "remote",
"id": "remote"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"complete": "clipboard.saveImageAsTempFile#1",
"params": {
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"connectionId": "connection-1"
},
"reply": {
"ok": true,
"result": "/tmp/legacy.png"
}
},
{
"checkpoint": "fell-back"
}
]
},
{
"id": "clipboard-image-upload-chunked",
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"sites": ["mobile/src/files/attachments/mobile-clipboard-image.ts"],
"schedules": [],
"steps": [
{
"action": "remote",
"id": "remote"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img.png"
}
},
{
"checkpoint": "uploaded"
}
]
},
{
"id": "clipboard-image-upload-aborts-on-chunk-failure",
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"sites": ["mobile/src/files/attachments/mobile-clipboard-image.ts"],
"schedules": [],
"steps": [
{
"action": "local",
"id": "local"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": null,
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-2"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-2",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": false,
"error": {
"code": "upload_expired",
"message": "Upload slot expired"
}
}
},
{
"complete": "clipboard.abortImageUpload#1",
"params": {
"uploadId": "upload-2"
},
"reply": {
"ok": true,
"result": {
"aborted": true
}
}
},
{
"checkpoint": "aborted"
}
]
},
{
"id": "clipboard-image-upload-start-refused",
"operation": "clipboard.image-upload",
"family": "clipboard.image-upload",
"sites": ["mobile/src/files/attachments/mobile-clipboard-image.ts"],
"schedules": [],
"steps": [
{
"action": "remote",
"id": "remote"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": false,
"error": {
"code": "too_large",
"message": "Image is too large"
}
}
},
{
"checkpoint": "start-refused"
}
]
},
{
"id": "clipboard-image-attachment-upload-refused",
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"sites": [
"mobile/src/files/attachments/mobile-image-attachment.ts",
"mobile/src/files/attachments/mobile-clipboard-image.ts"
],
"schedules": [],
"steps": [
{
"action": "normal",
"id": "normal"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": false,
"error": {
"code": "too_large",
"message": "Image is too large"
}
}
},
{
"checkpoint": "upload-refused"
}
]
},
{
"id": "clipboard-image-attachment-pasted",
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"sites": [
"mobile/src/files/attachments/mobile-image-attachment.ts",
"mobile/src/files/attachments/mobile-clipboard-image.ts"
],
"schedules": [],
"steps": [
{
"action": "normal",
"id": "normal"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img.png"
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~/tmp/img.png\u001b[201~ ",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "attached"
}
]
},
{
"id": "clipboard-image-attachment-cancelled",
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"sites": [
"mobile/src/files/attachments/mobile-image-attachment.ts",
"mobile/src/files/attachments/mobile-clipboard-image.ts"
],
"schedules": [],
"steps": [
{
"action": "cancelled",
"id": "cancelled"
},
{
"checkpoint": "no-wire"
}
]
},
{
"id": "clipboard-image-attachment-blocked-before-send",
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"sites": [
"mobile/src/files/attachments/mobile-image-attachment.ts",
"mobile/src/files/attachments/mobile-clipboard-image.ts"
],
"schedules": [],
"steps": [
{
"action": "blocked",
"id": "blocked"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img.png"
}
},
{
"checkpoint": "blocked"
}
]
},
{
"id": "clipboard-image-attachment-anonymous",
"operation": "clipboard.image-terminal-attachment",
"family": "clipboard.image-attachment",
"sites": [
"mobile/src/files/attachments/mobile-image-attachment.ts",
"mobile/src/files/attachments/mobile-clipboard-image.ts"
],
"schedules": [],
"steps": [
{
"action": "anonymous",
"id": "anonymous"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img.png"
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~/tmp/img.png\u001b[201~ ",
"enter": false
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "rejected"
}
]
},
{
"id": "native-chat-image-paste-single",
"operation": "nativeChat.image-paste",
"family": "nativeChat.image-paste",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts"],
"schedules": [],
"steps": [
{
"action": "one",
"id": "one"
},
{
"complete": "terminal.read#1",
"params": {
"terminal": "terminal-1",
"screen": true,
"limit": 1
},
"reply": {
"ok": true,
"result": {
"terminal": {}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"complete": "terminal.send#2",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/a.png\u001b[201~ ",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "pasted"
}
]
},
{
"id": "native-chat-image-paste-two-images",
"operation": "nativeChat.image-paste",
"family": "nativeChat.image-paste",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts"],
"schedules": [],
"steps": [
{
"action": "two",
"id": "two"
},
{
"complete": "terminal.read#1",
"params": {
"terminal": "terminal-1",
"screen": true,
"limit": 1
},
"reply": {
"ok": true,
"result": {
"terminal": {}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"complete": "terminal.send#2",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/a.png\u001b[201~ ",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"complete": "terminal.send#3",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/b.png\u001b[201~ ",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "pasted-both"
}
]
},
{
"id": "native-chat-image-paste-stops-on-rejection",
"operation": "nativeChat.image-paste",
"family": "nativeChat.image-paste",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts"],
"schedules": [],
"steps": [
{
"action": "two",
"id": "two"
},
{
"complete": "terminal.read#1",
"params": {
"terminal": "terminal-1",
"screen": true,
"limit": 1
},
"reply": {
"ok": true,
"result": {
"terminal": {}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"complete": "terminal.send#2",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/a.png\u001b[201~ ",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "stopped"
}
]
},
{
"id": "native-chat-image-paste-trailing-image",
"operation": "nativeChat.image-paste",
"family": "nativeChat.image-paste",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts"],
"schedules": [],
"steps": [
{
"action": "trailing",
"id": "trailing"
},
{
"complete": "terminal.read#1",
"params": {
"terminal": "terminal-1",
"screen": true,
"limit": 1
},
"reply": {
"ok": true,
"result": {
"terminal": {}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"complete": "terminal.send#2",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~@/tmp/a.png\u001b[201~",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "pasted"
}
]
},
{
"id": "native-chat-write-accepted",
"operation": "nativeChat.terminal-write",
"family": "nativeChat.terminal-write",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"],
"schedules": [],
"steps": [
{
"action": "body",
"id": "body"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "hello",
"enter": true,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "accepted"
}
]
},
{
"id": "native-chat-write-rejected",
"operation": "nativeChat.terminal-write",
"family": "nativeChat.terminal-write",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"],
"schedules": [],
"steps": [
{
"action": "body",
"id": "body"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "hello",
"enter": true,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "rejected"
}
]
},
{
"id": "native-chat-write-delivery-unknown",
"operation": "nativeChat.terminal-write",
"family": "nativeChat.terminal-write",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"],
"schedules": [],
"steps": [
{
"action": "body",
"id": "body"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "hello",
"enter": true,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"checkpoint": "unknown"
}
]
},
{
"id": "native-chat-write-clear-line",
"operation": "nativeChat.terminal-write",
"family": "nativeChat.terminal-write",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"],
"schedules": [],
"steps": [
{
"action": "clear",
"id": "clear"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "cleared"
}
]
},
{
"id": "native-chat-write-typed-command",
"operation": "nativeChat.terminal-write",
"family": "nativeChat.terminal-write",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"],
"schedules": [],
"steps": [
{
"action": "command",
"id": "command"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u0015",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"advance": 16
},
{
"complete": "terminal.send#2",
"params": {
"terminal": "terminal-1",
"text": "o",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"advance": 16
},
{
"complete": "terminal.send#3",
"params": {
"terminal": "terminal-1",
"text": "k",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"advance": 16
},
{
"complete": "terminal.send#4",
"params": {
"terminal": "terminal-1",
"text": "\r",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "typed"
}
]
},
{
"id": "native-chat-session-option-pick-written",
"operation": "nativeChat.session-option-pick",
"family": "nativeChat.session-option-pick",
"sites": [
"mobile/src/session/native-chat/input/mobile-native-chat-session-option-persistence.ts"
],
"schedules": [],
"steps": [
{
"action": "pick",
"id": "pick"
},
{
"complete": "settings.mutateNativeChatSessionOptions#1",
"params": {
"type": "apply-picks",
"agent": "claude",
"picks": [
{
"modelId": "opus",
"optionId": "model",
"value": "opus"
}
]
},
"reply": {
"ok": true,
"result": {
"applied": true
}
}
},
{
"checkpoint": "written"
}
]
},
{
"id": "native-chat-session-option-pick-refused",
"operation": "nativeChat.session-option-pick",
"family": "nativeChat.session-option-pick",
"sites": [
"mobile/src/session/native-chat/input/mobile-native-chat-session-option-persistence.ts"
],
"schedules": [],
"steps": [
{
"action": "pick",
"id": "pick"
},
{
"complete": "settings.mutateNativeChatSessionOptions#1",
"params": {
"type": "apply-picks",
"agent": "claude",
"picks": [
{
"modelId": "opus",
"optionId": "model",
"value": "opus"
}
]
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "refusal-swallowed"
}
]
},
{
"id": "native-chat-session-option-pick-empty",
"operation": "nativeChat.session-option-pick",
"family": "nativeChat.session-option-pick",
"sites": [
"mobile/src/session/native-chat/input/mobile-native-chat-session-option-persistence.ts"
],
"schedules": [],
"steps": [
{
"action": "empty",
"id": "empty"
},
{
"checkpoint": "no-wire"
}
]
},
{
"id": "session-tab-activation-focus-and-activate",
"operation": "session.tab-activation",
"family": "session.tab-activation",
"sites": ["mobile/src/session/tabs/mobile-session-tab-activation.ts"],
"schedules": [],
"steps": [
{
"action": "focus",
"id": "focus"
},
{
"complete": "terminal.focus#1",
"params": {
"navigation": "host",
"terminal": "terminal-1"
},
"reply": {
"ok": true,
"result": {
"focused": true
}
}
},
{
"action": "activate",
"id": "activate"
},
{
"complete": "session.tabs.activate#1",
"params": {
"intent": "user",
"navigation": "caller",
"notifyClients": false,
"tabId": "tab-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"activated": true
}
}
},
{
"checkpoint": "activated"
}
]
},
{
"id": "session-tab-activation-refused",
"operation": "session.tab-activation",
"family": "session.tab-activation",
"sites": ["mobile/src/session/tabs/mobile-session-tab-activation.ts"],
"schedules": [],
"steps": [
{
"action": "activate",
"id": "activate"
},
{
"complete": "session.tabs.activate#1",
"params": {
"intent": "user",
"navigation": "caller",
"notifyClients": false,
"tabId": "tab-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "tab_not_found",
"message": "No such tab"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-tab-activation-transport-error",
"operation": "session.tab-activation",
"family": "session.tab-activation",
"sites": ["mobile/src/session/tabs/mobile-session-tab-activation.ts"],
"schedules": [],
"steps": [
{
"action": "focus",
"id": "focus"
},
{
"complete": "terminal.focus#1",
"params": {
"navigation": "host",
"terminal": "terminal-1"
},
"reject": {
"message": "Request timed out"
}
},
{
"checkpoint": "errored"
}
]
},
{
"id": "session-tabs-health-reconciled",
"operation": "session.tabs-stream-health",
"family": "session.tabs-stream-health",
"sites": ["mobile/src/session/tabs/mobile-session-tabs-stream-health.ts"],
"schedules": [],
"steps": [
{
"action": "activate",
"id": "activate"
},
{
"action": "reconcile",
"id": "reconcile"
},
{
"complete": "session.tabs.list#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tabs": [
{
"id": "tab-1"
}
]
}
}
},
{
"checkpoint": "reconciled"
}
]
},
{
"id": "session-tabs-health-refused",
"operation": "session.tabs-stream-health",
"family": "session.tabs-stream-health",
"sites": ["mobile/src/session/tabs/mobile-session-tabs-stream-health.ts"],
"schedules": [],
"steps": [
{
"action": "activate",
"id": "activate"
},
{
"action": "reconcile",
"id": "reconcile"
},
{
"complete": "session.tabs.list#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_not_found",
"message": "No such workspace"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-tabs-health-stale-application-revision",
"operation": "session.tabs-stream-health",
"family": "session.tabs-stream-health",
"sites": ["mobile/src/session/tabs/mobile-session-tabs-stream-health.ts"],
"schedules": [],
"steps": [
{
"action": "activate",
"id": "activate"
},
{
"action": "reconcile",
"id": "reconcile"
},
{
"action": "revise",
"id": "revise"
},
{
"complete": "session.tabs.list#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tabs": [
{
"id": "tab-1"
}
]
}
}
},
{
"checkpoint": "dropped"
}
]
},
{
"id": "session-tabs-health-errored",
"operation": "session.tabs-stream-health",
"family": "session.tabs-stream-health",
"sites": ["mobile/src/session/tabs/mobile-session-tabs-stream-health.ts"],
"schedules": [],
"steps": [
{
"action": "activate",
"id": "activate"
},
{
"action": "reconcile",
"id": "reconcile"
},
{
"complete": "session.tabs.list#1",
"params": {
"worktree": "id:workspace-1"
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"checkpoint": "errored"
}
]
},
{
"id": "file-tap-opens-worktree-file",
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"sites": ["mobile/src/files/session-documents/mobile-file-tap-open.ts"],
"schedules": [],
"steps": [
{
"action": "tap",
"id": "tap"
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"relativePath": "src/app.ts",
"openTarget": {
"kind": "worktree-file",
"relativePath": "src/app.ts",
"absolutePath": "/repo/src/app.ts",
"provider": "ssh"
}
}
}
},
{
"complete": "files.open#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "src/app.ts"
},
"reply": {
"ok": true,
"result": {
"opened": true
}
}
},
{
"action": "list",
"id": "list"
},
{
"advance": 300
},
{
"checkpoint": "switched"
},
{
"advance": 1500
},
{
"checkpoint": "settled"
}
]
},
{
"id": "file-tap-resolve-miss",
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"sites": ["mobile/src/files/session-documents/mobile-file-tap-open.ts"],
"schedules": [],
"steps": [
{
"action": "tap",
"id": "tap"
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"exists": false,
"isDirectory": false
}
}
},
{
"checkpoint": "missed"
}
]
},
{
"id": "file-tap-resolve-refused",
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"sites": ["mobile/src/files/session-documents/mobile-file-tap-open.ts"],
"schedules": [],
"steps": [
{
"action": "tap",
"id": "tap"
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_not_found",
"message": "No such workspace"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "file-tap-open-refused",
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"sites": ["mobile/src/files/session-documents/mobile-file-tap-open.ts"],
"schedules": [],
"steps": [
{
"action": "tap",
"id": "tap"
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"relativePath": "src/app.ts",
"openTarget": {
"kind": "worktree-file",
"relativePath": "src/app.ts",
"absolutePath": "/repo/src/app.ts",
"provider": "ssh"
}
}
}
},
{
"complete": "files.open#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "src/app.ts"
},
"reply": {
"ok": false,
"error": {
"code": "file_locked",
"message": "File is locked"
}
}
},
{
"checkpoint": "open-refused"
}
]
},
{
"id": "file-tap-previews-absolute-artifact",
"operation": "files.terminal-path-tap",
"family": "files.terminal-path-tap",
"sites": ["mobile/src/files/session-documents/mobile-file-tap-open.ts"],
"schedules": [],
"steps": [
{
"action": "tap",
"id": "tap"
},
{
"complete": "files.resolveTerminalPath#1",
"params": {
"crossWorkspace": true,
"cwd": "/repo",
"pathText": "src/app.ts",
"terminal": "terminal-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"exists": true,
"isDirectory": false,
"openTarget": {
"kind": "absolute-file",
"absolutePath": "/logs/run.txt",
"grantId": "grant-1"
}
}
}
},
{
"checkpoint": "previewed"
}
]
},
{
"id": "structured-launch-unsupported",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-launch",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"supported": false,
"reason": "remote"
}
}
},
{
"checkpoint": "unsupported"
}
]
},
{
"id": "structured-launch-support-refused",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-launch",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "unsupported"
}
]
},
{
"id": "structured-launch-created",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-launch",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"supported": true
}
}
},
{
"complete": "agentSession.create#1",
"params": {
"agent": "claude",
"envelope": {
"clientOperationId": "1767225600000-00000000000040008000000000000002",
"expectedRuntimeFence": null,
"payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605",
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"value": {
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
}
}
}
},
{
"checkpoint": "created"
}
]
},
{
"id": "structured-launch-definitive-refusal",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-launch",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"supported": true
}
}
},
{
"complete": "agentSession.create#1",
"params": {
"agent": "claude",
"envelope": {
"clientOperationId": "1767225600000-00000000000040008000000000000002",
"expectedRuntimeFence": null,
"payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605",
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"ok": false,
"refusal": {
"code": "agent_session_unsupported",
"message": "No agent"
}
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "structured-launch-replays-dropped-create",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-launch",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"supported": true
}
}
},
{
"complete": "agentSession.create#1",
"params": {
"agent": "claude",
"envelope": {
"clientOperationId": "1767225600000-00000000000040008000000000000002",
"expectedRuntimeFence": null,
"payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605",
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
},
"worktree": "id:workspace-1"
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"complete": "agentSession.create#2",
"params": {
"agent": "claude",
"envelope": {
"clientOperationId": "1767225600000-00000000000040008000000000000002",
"expectedRuntimeFence": null,
"payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605",
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"value": {
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
}
}
}
},
{
"checkpoint": "replayed"
}
]
},
{
"id": "session-markdown-tab-read",
"operation": "session.tab-documents",
"family": "session.tab-documents",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "markdown.readTab#1",
"params": {
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "# a",
"version": "v1",
"isDirty": false,
"editable": true
}
}
},
{
"checkpoint": "read"
}
]
},
{
"id": "session-markdown-tab-disk-fallback",
"operation": "session.tab-documents",
"family": "session.tab-documents",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "markdown.readTab#1",
"params": {
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "renderer_unavailable",
"message": "Renderer unavailable"
}
}
},
{
"complete": "files.read#1",
"params": {
"relativePath": "docs/readme.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "# disk",
"truncated": false,
"byteLength": 6
}
}
},
{
"checkpoint": "fell-back"
}
]
},
{
"id": "session-markdown-tab-refused",
"operation": "session.tab-documents",
"family": "session.tab-documents",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "markdown.readTab#1",
"params": {
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "tab_not_found",
"message": "No such tab"
}
}
},
{
"checkpoint": "errored"
}
]
},
{
"id": "session-file-tab-read",
"operation": "session.tab-documents",
"family": "session.tab-documents",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "file",
"id": "file"
},
{
"complete": "files.read#1",
"params": {
"relativePath": "src/app.ts",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "a\n",
"truncated": false,
"byteLength": 2
}
}
},
{
"checkpoint": "read"
}
]
},
{
"id": "session-terminal-list-merged",
"operation": "session.terminal-inventory",
"family": "session.terminal-inventory",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-list.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "terminal.list#1",
"params": {
"includeVisualLayouts": false,
"includePreview": false,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"terminals": [
{
"handle": "terminal-1",
"title": "one"
},
{
"handle": "terminal-2",
"title": "two"
}
]
}
}
},
{
"checkpoint": "listed"
}
]
},
{
"id": "session-terminal-list-dedupes-handles",
"operation": "session.terminal-inventory",
"family": "session.terminal-inventory",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-list.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "terminal.list#1",
"params": {
"includeVisualLayouts": false,
"includePreview": false,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"terminals": [
{
"handle": "terminal-1",
"title": "one"
},
{
"handle": "terminal-1",
"title": "renamed"
}
]
}
}
},
{
"checkpoint": "deduped"
}
]
},
{
"id": "session-terminal-list-refused",
"operation": "session.terminal-inventory",
"family": "session.terminal-inventory",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-list.ts"],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "terminal.list#1",
"params": {
"includeVisualLayouts": false,
"includePreview": false,
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_not_found",
"message": "No such workspace"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-terminal-list-empty-guarded",
"operation": "session.terminal-inventory",
"family": "session.terminal-inventory",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-list.ts"],
"schedules": [],
"steps": [
{
"action": "no-empty",
"id": "no-empty"
},
{
"complete": "terminal.list#1",
"params": {
"includeVisualLayouts": false,
"includePreview": false,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"terminals": []
}
}
},
{
"checkpoint": "kept"
}
]
},
{
"id": "native-chat-readability-local-repo",
"operation": "session.native-chat-readability",
"family": "session.native-chat-readability",
"sites": ["mobile/src/session/native-chat/transcript/use-mobile-native-chat-readability.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": null
}
]
}
}
},
{
"checkpoint": "readable"
}
]
},
{
"id": "native-chat-readability-remote-repo",
"operation": "session.native-chat-readability",
"family": "session.native-chat-readability",
"sites": ["mobile/src/session/native-chat/transcript/use-mobile-native-chat-readability.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": "ssh-1"
}
]
}
}
},
{
"checkpoint": "unreadable"
}
]
},
{
"id": "native-chat-readability-refused",
"operation": "session.native-chat-readability",
"family": "session.native-chat-readability",
"sites": ["mobile/src/session/native-chat/transcript/use-mobile-native-chat-readability.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "internal",
"message": "Scan failed"
}
}
},
{
"checkpoint": "unreadable"
}
]
},
{
"id": "native-chat-stop-accepted",
"operation": "session.native-chat-stop",
"family": "session.native-chat-stop",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"],
"schedules": [],
"steps": [
{
"action": "stop",
"id": "stop"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "first-accepted"
},
{
"advance": 1000
},
{
"complete": "terminal.send#2",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"optional": true,
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "native-chat-stop-both-rejected",
"operation": "session.native-chat-stop",
"family": "session.native-chat-stop",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"],
"schedules": [],
"steps": [
{
"action": "stop",
"id": "stop"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"advance": 1000
},
{
"complete": "terminal.send#2",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"optional": true,
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "reported"
}
]
},
{
"id": "native-chat-stop-delivery-unknown",
"operation": "session.native-chat-stop",
"family": "session.native-chat-stop",
"sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"],
"schedules": [],
"steps": [
{
"action": "stop",
"id": "stop"
},
{
"complete": "terminal.send#1",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"advance": 1000
},
{
"complete": "terminal.send#2",
"params": {
"client": {
"id": "device-token-1",
"type": "mobile"
},
"terminal": "terminal-1",
"text": "\u001b"
},
"optional": true,
"reject": {
"message": "Connection lost",
"deliveryUnknown": true
}
},
{
"checkpoint": "unconfirmed"
}
]
},
{
"id": "session-create-markdown-note",
"operation": "session.content-create",
"family": "session.content-create",
"sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "local"
}
}
}
},
{
"complete": "files.createFile#1",
"params": {
"expectedExecutionHostId": "local",
"relativePath": "untitled.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"created": true
}
}
},
{
"complete": "files.open#1",
"params": {
"relativePath": "untitled.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"opened": true
}
}
},
{
"advance": 300
},
{
"checkpoint": "created"
}
]
},
{
"id": "session-create-markdown-name-collision",
"operation": "session.content-create",
"family": "session.content-create",
"sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "status.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["files.mutation-ownership.v1"]
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"hostId": "local"
}
}
}
},
{
"complete": "files.createFile#1",
"params": {
"expectedExecutionHostId": "local",
"relativePath": "untitled.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "file_exists",
"message": "File already exists"
}
}
},
{
"complete": "files.createFile#2",
"params": {
"expectedExecutionHostId": "local",
"relativePath": "untitled-2.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"created": true
}
}
},
{
"complete": "files.open#1",
"params": {
"relativePath": "untitled-2.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"opened": true
}
}
},
{
"advance": 300
},
{
"checkpoint": "created-second"
}
]
},
{
"id": "session-create-browser-tab",
"operation": "session.content-create",
"family": "session.content-create",
"sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "browser",
"id": "browser"
},
{
"complete": "browser.tabCreate#1",
"params": {
"activate": true,
"url": "https://example.com/",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"browserPageId": "page-1"
}
}
},
{
"advance": 1200
},
{
"checkpoint": "created"
}
]
},
{
"id": "session-create-browser-refused",
"operation": "session.content-create",
"family": "session.content-create",
"sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "browser",
"id": "browser"
},
{
"complete": "browser.tabCreate#1",
"params": {
"activate": true,
"url": "https://example.com/",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "browser_unavailable",
"message": "Browser unavailable"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-tab-close-terminal",
"operation": "session.tab-close",
"family": "session.tab-close",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "close-terminal",
"id": "close-terminal"
},
{
"complete": "terminal.close#1",
"params": {
"terminal": "terminal-1"
},
"reply": {
"ok": true,
"result": {
"closed": true
}
}
},
{
"checkpoint": "closed"
}
]
},
{
"id": "session-tab-close-refused-keeps-tab",
"operation": "session.tab-close",
"family": "session.tab-close",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "close-terminal",
"id": "close-terminal"
},
{
"complete": "terminal.close#1",
"params": {
"terminal": "terminal-1"
},
"reply": {
"ok": false,
"error": {
"code": "terminal_not_found",
"message": "No such terminal"
}
}
},
{
"checkpoint": "kept"
}
]
},
{
"id": "session-tab-rename",
"operation": "session.tab-close",
"family": "session.tab-close",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "rename",
"id": "rename",
"args": {
"title": "build"
}
},
{
"complete": "terminal.rename#1",
"params": {
"terminal": "terminal-1",
"title": "build"
},
"reply": {
"ok": true,
"result": {
"renamed": true
}
}
},
{
"advance": 300
},
{
"checkpoint": "renamed"
}
]
},
{
"id": "session-tab-close-session-tab",
"operation": "session.tab-close",
"family": "session.tab-close",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "close-tab",
"id": "close-tab"
},
{
"complete": "session.tabs.close#1",
"params": {
"reason": "user",
"tabId": "tab-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"closed": true
}
}
},
{
"checkpoint": "closed"
}
]
},
{
"id": "review-mark-reviewed-persists",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "mark-reviewed",
"id": "mark-reviewed"
},
{
"complete": "worktree.set#1",
"params": {
"diffComments": [
{
"body": "needs a test",
"createdAt": 0,
"filePath": "src/app.ts",
"id": "note-1",
"lineNumber": 4,
"worktreeId": "workspace-1",
"side": "modified"
}
],
"diffCommentsBase": [
{
"body": "needs a test",
"createdAt": 0,
"filePath": "src/app.ts",
"id": "note-1",
"lineNumber": 4,
"worktreeId": "workspace-1",
"side": "modified"
}
],
"mobileDiffReview": {
"completedAt": 1767225600000,
"files": {
"unstaged:src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged:src/app.ts",
"lastOpenedAt": {
"$undefined": true
},
"lastSeenDiffIdentity": "identity-1",
"oldPath": {
"$undefined": true
},
"reviewDiffIdentity": "identity-1",
"reviewedAt": 1767225600000,
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"updated": true
}
}
},
{
"checkpoint": "persisted"
}
]
},
{
"id": "review-mark-reviewed-rolls-back",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "mark-reviewed",
"id": "mark-reviewed"
},
{
"complete": "worktree.set#1",
"params": {
"diffComments": [
{
"body": "needs a test",
"createdAt": 0,
"filePath": "src/app.ts",
"id": "note-1",
"lineNumber": 4,
"worktreeId": "workspace-1",
"side": "modified"
}
],
"diffCommentsBase": [
{
"body": "needs a test",
"createdAt": 0,
"filePath": "src/app.ts",
"id": "note-1",
"lineNumber": 4,
"worktreeId": "workspace-1",
"side": "modified"
}
],
"mobileDiffReview": {
"completedAt": 1767225600000,
"files": {
"unstaged:src/app.ts": {
"filePath": "src/app.ts",
"key": "unstaged:src/app.ts",
"lastOpenedAt": {
"$undefined": true
},
"lastSeenDiffIdentity": "identity-1",
"oldPath": {
"$undefined": true
},
"reviewDiffIdentity": "identity-1",
"reviewedAt": 1767225600000,
"scope": "unstaged"
}
},
"updatedAt": 1767225600000,
"version": 1
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_locked",
"message": "Workspace is locked"
}
}
},
{
"checkpoint": "rolled-back"
}
]
},
{
"id": "review-stage-file",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "stage",
"id": "stage"
},
{
"complete": "git.stage#1",
"params": {
"filePath": "src/app.ts",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"staged": true
}
}
},
{
"checkpoint": "staged"
}
]
},
{
"id": "review-stage-refused",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "discard",
"id": "discard"
},
{
"complete": "git.discard#1",
"params": {
"filePath": "src/app.ts",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "git_conflict",
"message": "Cannot discard during a merge"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "review-open-in-session",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "open-in-session",
"id": "open-in-session"
},
{
"complete": "files.openDiff#1",
"params": {
"relativePath": "src/app.ts",
"staged": false,
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"opened": true
}
}
},
{
"checkpoint": "opened"
}
]
},
{
"id": "review-send-notes-heals-stale-input",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "mark-stale",
"id": "mark-stale"
},
{
"action": "send-notes",
"id": "send-notes"
},
{
"complete": "terminal.read#1",
"params": {
"terminal": "terminal-1",
"screen": true,
"limit": 1
},
"reply": {
"ok": true,
"result": {
"terminal": {}
}
}
},
{
"complete": "terminal.send#1",
"params": {
"enter": false,
"terminal": "terminal-1",
"text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b"
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "healed"
}
]
},
{
"id": "review-create-agent-refused",
"operation": "session.diff-review-actions",
"family": "session.diff-review-actions",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "create-and-send",
"id": "create-and-send"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "workspace-1"
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": null,
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectAgents#1",
"params": {
"worktreeId": "workspace-1"
},
"reply": {
"ok": true,
"result": ["claude"]
}
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "claude",
"operationId": "1767225600000-00000000000040008000000000000001",
"target": {
"kind": "existing",
"worktree": "id:workspace-1"
},
"prompt": {
"delivery": "submit",
"text": "File: src/app.ts\nLine: 4\nUser comment: \"needs a test\""
},
"launchSource": "notes_send"
},
"reply": {
"ok": false,
"error": {
"code": "selector_not_found",
"message": "Workspace not found"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-diff-notes-loaded",
"operation": "session.diff-notes",
"family": "session.diff-notes",
"sites": ["mobile/src/source-control/review/use-mobile-session-diff-comments.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"diffComments": [
{
"body": "needs a test",
"createdAt": 0,
"filePath": "src/app.ts",
"id": "note-1",
"lineNumber": 4,
"worktreeId": "workspace-1"
}
]
}
}
}
},
{
"checkpoint": "loaded"
}
]
},
{
"id": "session-diff-notes-load-refused",
"operation": "session.diff-notes",
"family": "session.diff-notes",
"sites": ["mobile/src/source-control/review/use-mobile-session-diff-comments.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "worktree_not_found",
"message": "No such workspace"
}
}
},
{
"checkpoint": "unchanged"
}
]
},
{
"id": "session-markdown-saved",
"operation": "session.markdown-save",
"family": "session.markdown-save",
"sites": ["mobile/src/files/session-documents/use-mobile-session-markdown-actions.ts"],
"schedules": [],
"steps": [
{
"action": "save",
"id": "save"
},
{
"complete": "markdown.saveTab#1",
"params": {
"baseVersion": "v1",
"content": "# b",
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "# b",
"version": "v2",
"isDirty": false
}
}
},
{
"checkpoint": "saved"
}
]
},
{
"id": "session-markdown-save-conflict",
"operation": "session.markdown-save",
"family": "session.markdown-save",
"sites": ["mobile/src/files/session-documents/use-mobile-session-markdown-actions.ts"],
"schedules": [],
"steps": [
{
"action": "save",
"id": "save"
},
{
"complete": "markdown.saveTab#1",
"params": {
"baseVersion": "v1",
"content": "# b",
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "version_conflict",
"message": "Document changed on disk"
}
}
},
{
"checkpoint": "conflicted"
}
]
},
{
"id": "quick-commands-loaded-and-saved",
"operation": "settings.quick-commands",
"family": "settings.quick-commands",
"sites": ["mobile/src/terminal/quick-commands/use-quick-commands.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.getTerminalQuickCommands#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"terminalQuickCommands": []
}
}
},
{
"action": "persist",
"id": "persist"
},
{
"complete": "settings.updateTerminalQuickCommands#1",
"params": {
"mutation": {
"command": {
"appendEnter": true,
"command": "pnpm build",
"id": "qc-1",
"label": "build"
},
"type": "upsert"
}
},
"reply": {
"ok": true,
"result": {
"terminalQuickCommands": [
{
"id": "qc-1",
"label": "build",
"command": "pnpm build",
"appendEnter": true
}
]
}
}
},
{
"checkpoint": "saved"
}
]
},
{
"id": "quick-commands-save-refused-rolls-back",
"operation": "settings.quick-commands",
"family": "settings.quick-commands",
"sites": ["mobile/src/terminal/quick-commands/use-quick-commands.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.getTerminalQuickCommands#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"terminalQuickCommands": []
}
}
},
{
"action": "persist",
"id": "persist"
},
{
"complete": "settings.updateTerminalQuickCommands#1",
"params": {
"mutation": {
"command": {
"appendEnter": true,
"command": "pnpm build",
"id": "qc-1",
"label": "build"
},
"type": "upsert"
}
},
"reply": {
"ok": false,
"error": {
"code": "settings_locked",
"message": "Settings are locked"
}
}
},
{
"checkpoint": "rolled-back"
}
]
},
{
"id": "quick-commands-load-refused",
"operation": "settings.quick-commands",
"family": "settings.quick-commands",
"sites": ["mobile/src/terminal/quick-commands/use-quick-commands.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.getTerminalQuickCommands#1",
"params": {
"$undefined": true
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"checkpoint": "errored"
}
]
},
{
"id": "native-chat-image-upload-start-refused",
"operation": "nativeChat.image-upload",
"family": "nativeChat.image-upload",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"],
"schedules": [],
"steps": [
{
"action": "normal",
"id": "normal"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": false,
"error": {
"code": "too_large",
"message": "Image is too large"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "native-chat-image-upload-single",
"operation": "nativeChat.image-upload",
"family": "nativeChat.image-upload",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"],
"schedules": [],
"steps": [
{
"action": "normal",
"id": "normal"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img-1.png"
}
},
{
"checkpoint": "uploaded"
}
]
},
{
"id": "native-chat-image-upload-two",
"operation": "nativeChat.image-upload",
"family": "nativeChat.image-upload",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"],
"schedules": [],
"steps": [
{
"action": "two",
"id": "two"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img-1.png"
}
},
{
"complete": "clipboard.startImageUpload#2",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-2"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#2",
"params": {
"uploadId": "upload-2",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#2",
"params": {
"uploadId": "upload-2"
},
"reply": {
"ok": true,
"result": "/tmp/img-2.png"
}
},
{
"checkpoint": "uploaded-both"
}
]
},
{
"id": "native-chat-image-upload-second-fails",
"operation": "nativeChat.image-upload",
"family": "nativeChat.image-upload",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"],
"schedules": [],
"steps": [
{
"action": "two",
"id": "two"
},
{
"complete": "clipboard.startImageUpload#1",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": true,
"result": {
"uploadId": "upload-1"
}
}
},
{
"complete": "clipboard.appendImageUploadChunk#1",
"params": {
"uploadId": "upload-1",
"offset": 0,
"contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"reply": {
"ok": true,
"result": {
"received": 32
}
}
},
{
"complete": "clipboard.commitImageUpload#1",
"params": {
"uploadId": "upload-1"
},
"reply": {
"ok": true,
"result": "/tmp/img-1.png"
}
},
{
"complete": "clipboard.startImageUpload#2",
"params": {
"connectionId": "connection-1",
"expectedBase64Length": 32
},
"reply": {
"ok": false,
"error": {
"code": "too_large",
"message": "Image is too large"
}
}
},
{
"checkpoint": "partial"
}
]
},
{
"id": "native-chat-image-upload-cancelled",
"operation": "nativeChat.image-upload",
"family": "nativeChat.image-upload",
"sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"],
"schedules": [],
"steps": [
{
"action": "cancelled",
"id": "cancelled"
},
{
"checkpoint": "no-wire"
}
]
},
{
"id": "files-explorer-legacy-fallback",
"operation": "files.explorer-screen",
"family": "files.explorer-screen",
"sites": ["mobile/src/files/MobileFileExplorerPanel.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "loading"
},
{
"complete": "files.readDir#1",
"params": {
"worktree": "id:wt-files",
"relativePath": "",
"limit": 500
},
"reply": {
"ok": false,
"error": {
"code": "method_not_found",
"message": "Unknown method"
}
}
},
{
"complete": "files.list#1",
"params": {
"worktree": "id:wt-files"
},
"reply": {
"ok": true,
"result": {
"files": [
{
"relativePath": "README.md",
"basename": "README.md",
"kind": "text"
},
{
"relativePath": "src/app.ts",
"basename": "app.ts",
"kind": "text"
}
],
"totalCount": 2,
"truncated": true
}
}
},
{
"checkpoint": "legacy-listed"
}
]
},
{
"id": "files-explorer-readdir",
"operation": "files.explorer-screen",
"family": "files.explorer-screen",
"sites": ["mobile/src/files/MobileFileExplorerPanel.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "loading"
},
{
"complete": "files.readDir#1",
"params": {
"worktree": "id:wt-files",
"relativePath": "",
"limit": 500
},
"reply": {
"ok": true,
"result": [
{
"name": "src",
"isDirectory": true
},
{
"name": "README.md",
"isDirectory": false
}
]
}
},
{
"checkpoint": "listed"
}
]
},
{
"id": "new-workspace-repositories-fulfilled",
"operation": "workspace.repositories",
"family": "components.new-workspace-repositories",
"sites": ["mobile/src/components/use-new-workspace-repositories.ts"],
"schedules": [],
"deviceStore": {
"orca:last-visited-worktree": "{\"hostId\":\"host-1\",\"worktreeId\":\"repo-b::/tmp/repo-b\"}"
},
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "loading"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-a",
"displayName": "alpha",
"path": "/tmp/repo-a"
},
{
"id": "repo-b",
"displayName": "beta",
"path": "/tmp/repo-b"
}
]
}
}
},
{
"checkpoint": "selected"
}
]
},
{
"id": "codex-reset-credit-consumed",
"operation": "accounts.codex-reset-credit",
"family": "components.codex-reset-credit",
"sites": ["mobile/src/accounts/usage/codex-reset-credit.ts"],
"schedules": [],
"deviceStore": {},
"steps": [
{
"action": "confirm",
"id": "confirm"
},
{
"checkpoint": "requested"
},
{
"complete": "accounts.consumeCodexResetCredit#1",
"params": {
"idempotencyKey": "00000000-0000-4000-8000-000000000001",
"expectedScope": {
"target": {
"runtime": "host",
"wslDistro": null
},
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]"
}
},
"reply": {
"ok": true,
"result": {
"outcome": "reset",
"scope": {
"target": {
"runtime": "host",
"wslDistro": null
},
"accountId": "codex-1",
"accountRevision": 1700000000000,
"offerRevision": "v1:[1,null,null,[],null,null,1700000000000]"
},
"snapshot": {
"claude": {
"accounts": [],
"activeAccountId": null
},
"codex": {
"accounts": [
{
"id": "codex-1",
"email": "codex@example.test",
"updatedAt": 1700000000000
}
],
"activeAccountId": "codex-1",
"activeAccountIdsByRuntime": {
"host": "codex-1",
"wsl": {}
}
},
"rateLimits": {
"claude": null,
"codex": {
"provider": "codex",
"session": null,
"weekly": null,
"rateLimitResetCredits": {
"availableCount": 1
},
"updatedAt": 1700000000000,
"error": null,
"status": "ok"
},
"inactiveClaudeAccounts": [],
"inactiveCodexAccounts": []
}
}
}
}
},
{
"checkpoint": "consumed"
}
]
},
{
"id": "push-dismissal-tray-reconciled",
"operation": "notifications.push-dismissal",
"family": "notifications.push-dismissal",
"sites": ["mobile/src/notifications/push-dismissal-reconciliation.ts"],
"schedules": [],
"deviceStore": {
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"wss://desk.test\",\"publicKeyB64\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationTray": [
{
"request": {
"identifier": "tray-1",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
}
}
}
]
},
"steps": [
{
"action": "catchup",
"id": "catchup"
},
{
"checkpoint": "requested"
},
{
"complete": "notifications.getMissedSince#1",
"params": {
"lastSeenSeq": 9007199254740991,
"deliveredPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
]
},
"reply": {
"ok": true,
"result": {
"dismissedPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
]
}
}
},
{
"checkpoint": "reconciled"
}
]
},
{
"id": "terminal-paste-accepted",
"operation": "session.terminal-clipboard",
"family": "session.terminal-paste",
"sites": [
"mobile/src/terminal/session/use-mobile-terminal-paste.ts",
"mobile/src/terminal/session/use-mobile-session-accessory-selection.ts"
],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"terminalCopyTrimsGutter": true
}
}
}
},
{
"action": "copy",
"id": "copy",
"args": {
"text": "echo hi"
}
},
{
"checkpoint": "copied"
},
{
"action": "paste",
"id": "paste"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~echo hi\u001b[201~",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "pasted"
}
]
},
{
"id": "terminal-paste-refused",
"operation": "session.terminal-clipboard",
"family": "session.terminal-paste",
"sites": ["mobile/src/terminal/session/use-mobile-terminal-paste.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"terminalCopyTrimsGutter": true
}
}
}
},
{
"action": "copy",
"id": "copy",
"args": {
"text": "echo hi"
}
},
{
"action": "paste",
"id": "paste"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u001b[200~echo hi\u001b[201~",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": false
}
}
}
},
{
"checkpoint": "not-reported"
}
]
},
{
"id": "terminal-worktree-connection-resolved",
"operation": "session.terminal-clipboard",
"family": "session.worktree-connection",
"sites": ["mobile/src/terminal/session/use-mobile-session-accessory-selection.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"terminalCopyTrimsGutter": true
}
}
}
},
{
"action": "connection",
"id": "connection"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-z",
"displayName": "zeta",
"connectionId": "ssh-zeta"
},
{
"id": "repo-a",
"displayName": "alpha",
"connectionId": "ssh-alpha"
}
]
}
}
},
{
"checkpoint": "resolved"
}
]
},
{
"id": "terminal-live-input-accepted",
"operation": "session.terminal-input-send",
"family": "session.terminal-input-send",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-send-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "live",
"id": "live",
"args": {
"bytes": "ls"
}
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "ls",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "live-sent"
}
]
},
{
"id": "notifications-display-test-accepted",
"operation": "notifications.display-test-screen",
"family": "notifications.display-test-screen",
"sites": ["mobile/src/settings/notification-display-test.tsx"],
"schedules": [],
"deviceStore": {
"orca:pushServiceNotificationsEnabled": "true",
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationPermissions": {
"status": "granted",
"canAskAgain": true
},
"pushToken": {
"type": "ios",
"data": "fixture-apns-token"
}
},
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "mounted"
},
{
"action": "send-test",
"id": "press"
},
{
"checkpoint": "sending"
},
{
"complete": "notifications.testPush#1",
"params": null,
"reply": {
"ok": true,
"result": {
"accepted": true
}
}
},
{
"checkpoint": "accepted"
}
]
},
{
"id": "notifications-display-test-not-registered",
"operation": "notifications.display-test-screen",
"family": "notifications.display-test-screen",
"sites": ["mobile/src/settings/notification-display-test.tsx"],
"schedules": [],
"deviceStore": {
"orca:pushServiceNotificationsEnabled": "true",
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationPermissions": {
"status": "granted",
"canAskAgain": true
},
"pushToken": {
"type": "ios",
"data": "fixture-apns-token"
}
},
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "mounted"
},
{
"action": "send-test",
"id": "press"
},
{
"checkpoint": "sending"
},
{
"complete": "notifications.testPush#1",
"params": null,
"reply": {
"ok": true,
"result": {
"accepted": false,
"reason": "not_registered"
}
}
},
{
"checkpoint": "not-registered"
}
]
},
{
"id": "notifications-display-test-rate-limited",
"operation": "notifications.display-test-screen",
"family": "notifications.display-test-screen",
"sites": ["mobile/src/settings/notification-display-test.tsx"],
"schedules": [],
"deviceStore": {
"orca:pushServiceNotificationsEnabled": "true",
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationPermissions": {
"status": "granted",
"canAskAgain": true
},
"pushToken": {
"type": "ios",
"data": "fixture-apns-token"
}
},
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "mounted"
},
{
"action": "send-test",
"id": "press"
},
{
"checkpoint": "sending"
},
{
"complete": "notifications.testPush#1",
"params": null,
"reply": {
"ok": true,
"result": {
"accepted": false,
"reason": "rate_limited"
}
}
},
{
"checkpoint": "rate-limited"
}
]
},
{
"id": "notifications-display-test-unknown-reason",
"operation": "notifications.display-test-screen",
"family": "notifications.display-test-screen",
"sites": ["mobile/src/settings/notification-display-test.tsx"],
"schedules": [],
"deviceStore": {
"orca:pushServiceNotificationsEnabled": "true",
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationPermissions": {
"status": "granted",
"canAskAgain": true
},
"pushToken": {
"type": "ios",
"data": "fixture-apns-token"
}
},
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "mounted"
},
{
"action": "send-test",
"id": "press"
},
{
"checkpoint": "sending"
},
{
"complete": "notifications.testPush#1",
"params": null,
"reply": {
"ok": true,
"result": {
"accepted": false,
"reason": "quota_exceeded"
}
}
},
{
"checkpoint": "unknown-reason"
}
]
},
{
"id": "aivault-history-screen-worktrees",
"operation": "aiVault.history-screen",
"family": "aiVault.history-screen",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "worktrees-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": [
{
"worktreeId": "wt-history",
"path": "/repo/feature",
"repoId": "repo-1"
},
{
"worktreeId": "wt-2",
"path": "/repo/sibling",
"repoId": "repo-1"
}
]
}
}
},
{
"bind": "platform-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"complete": "platform-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"checkpoint": "worktrees-listed"
}
]
},
{
"id": "aivault-history-screen-listed",
"operation": "aiVault.history-screen",
"family": "aiVault.history-screen",
"sites": ["mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "worktrees-pending"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true
},
"reply": {
"ok": true,
"result": {
"worktrees": [
{
"worktreeId": "wt-history",
"path": "/repo/feature",
"repoId": "repo-1"
},
{
"worktreeId": "wt-2",
"path": "/repo/sibling",
"repoId": "repo-1"
}
]
}
}
},
{
"bind": "platform-status",
"request": "status.get#1",
"params": {
"$undefined": true
}
},
{
"complete": "platform-status",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"capabilities": ["aiVault.v1"]
}
}
},
{
"checkpoint": "worktrees-listed"
},
{
"complete": "aiVault.listSessions#1",
"params": {
"force": false,
"limit": 500,
"scopeOnly": true,
"scopePaths": ["/repo/feature"]
},
"reply": {
"ok": true,
"result": {
"sessions": [
{
"id": "s1",
"executionHostId": "local",
"agent": "claude",
"sessionId": "sess-1",
"title": "Fix the explorer",
"cwd": "/repo/feature",
"branch": "feature",
"model": "opus",
"filePath": "/repo/feature/.claude/sess-1.jsonl",
"codexHome": null,
"createdAt": "2025-12-31T23:00:00.000Z",
"updatedAt": "2025-12-31T23:30:00.000Z",
"modifiedAt": "2025-12-31T23:30:00.000Z",
"messageCount": 4,
"totalTokens": 1200,
"previewMessages": [
{
"role": "user",
"text": "fix it",
"timestamp": "2025-12-31T23:00:00.000Z"
}
]
}
],
"issues": []
}
}
},
{
"checkpoint": "ready"
}
]
},
{
"id": "tasks-route-repo-list",
"operation": "tasks.route-repo-list",
"family": "tasks.route-repo-list",
"sites": ["mobile/src/tasks/use-mobile-tasks-route-and-item-state.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "idle"
},
{
"action": "ensure-repos",
"id": "ensure"
},
{
"checkpoint": "repos-pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"name": "orca"
},
{
"id": "repo-2",
"name": "relay"
}
]
}
}
},
{
"checkpoint": "repos-loaded"
}
]
},
{
"id": "linear-select-workspace",
"operation": "linear.select-workspace-picker",
"family": "linear.select-workspace-picker",
"sites": ["mobile/src/tasks/mobile-tasks-filter-pickers.tsx"],
"schedules": [],
"steps": [
{
"action": "select-workspace",
"id": "select-b",
"args": {
"workspace": "workspace-b"
}
},
{
"checkpoint": "selected"
},
{
"complete": "linear.selectWorkspace#1",
"params": {
"workspaceId": "workspace-b"
},
"reply": {
"ok": true,
"result": {
"ok": true
}
}
},
{
"checkpoint": "switched"
}
]
},
{
"id": "live-worktree-name-stream",
"operation": "session.live-worktree-name",
"family": "live-worktree-name",
"sites": ["mobile/src/worktree/use-live-worktree-name.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "subscribed"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"checkpoint": "ready"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo-1::/work/feature"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"worktreeId": "repo-1::/work/feature",
"displayName": "Feature Work"
}
}
}
},
{
"checkpoint": "named"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"complete": "worktree.show#2",
"params": {
"worktree": "id:repo-1::/work/feature"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"worktreeId": "repo-1::/work/feature",
"displayName": "Feature Work Renamed"
}
}
}
},
{
"checkpoint": "refreshed"
},
{
"action": "cutover",
"id": "cutover"
},
{
"checkpoint": "re-subscribed"
},
{
"frame": "runtime.clientEvents.subscribe#2",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-2"
}
}
},
{
"complete": "worktree.show#3",
"params": {
"worktree": "id:repo-1::/work/feature"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"worktreeId": "repo-1::/work/feature",
"displayName": "Feature Work Replayed"
}
}
}
},
{
"checkpoint": "replayed"
},
{
"action": "unmount",
"id": "unmount"
},
{
"checkpoint": "unmounted"
}
]
},
{
"id": "host-worktree-refresh-stream",
"operation": "worktree.host-refresh",
"family": "host-worktree-refresh",
"sites": ["mobile/src/worktree/host-worktree-refresh.ts"],
"schedules": [],
"steps": [
{
"action": "start",
"id": "start"
},
{
"checkpoint": "started"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"checkpoint": "ready"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"checkpoint": "worktrees-changed"
},
{
"advance": 3000
},
{
"checkpoint": "polled"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "reposChanged"
}
}
},
{
"checkpoint": "repos-changed"
},
{
"action": "cutover",
"id": "cutover"
},
{
"checkpoint": "re-subscribed"
},
{
"frame": "runtime.clientEvents.subscribe#2",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-2"
}
}
},
{
"checkpoint": "replayed"
},
{
"action": "stop",
"id": "stop"
},
{
"checkpoint": "stopped"
}
]
},
{
"id": "event-router-failed-read-floor",
"operation": "query.event-router-catalog",
"family": "query.event-router-catalog",
"sites": ["mobile/src/query/host-event-router.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"checkpoint": "listening"
},
{
"complete": "worktree.ps#1",
"params": {
"limit": 10000,
"supportsWorktreeVisibilitySourceDefaults": true,
"afterSnapshotId": null,
"acceptRowDelta": true
},
"reply": {
"ok": false,
"error": {
"code": "runtime_error",
"message": "worktree list unavailable"
}
}
},
{
"checkpoint": "read-refused"
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"advance": 150
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"advance": 150
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"advance": 150
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"advance": 150
},
{
"frame": "runtime.clientEvents.subscribe#1",
"params": null,
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "worktreesChanged",
"repoId": "repo-1"
}
}
},
{
"advance": 150
},
{
"checkpoint": "five-notices-inside-the-floor"
},
{
"advance": 3000
},
{
"checkpoint": "floor-passed"
},
{
"action": "unmount",
"id": "unmount"
},
{
"checkpoint": "unmounted"
}
]
},
{
"id": "sc-changes-loaded",
"operation": "source-control.changes-load",
"family": "git.changes-load",
"sites": ["mobile/src/source-control/use-mobile-source-control-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "status-pending"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"checkpoint": "compare-pending"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/dev"
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "origin/dev"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/dev",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"added": 2,
"removed": 1
}
]
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "sc-changes-return-from-memory",
"operation": "source-control.changes-load",
"family": "git.changes-load",
"sites": ["mobile/src/source-control/use-mobile-source-control-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/dev"
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": []
}
}
},
{
"complete": "git.branchCompare#1",
"params": {
"worktree": "id:repo42::/p",
"baseRef": "origin/dev"
},
"reply": {
"ok": true,
"result": {
"summary": {
"baseRef": "origin/dev",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"compareRef": "feature",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567",
"changedFiles": 1,
"status": "ready"
},
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"added": 2,
"removed": 1
}
]
}
}
},
{
"checkpoint": "loaded"
},
{
"action": "leave",
"id": "leave"
},
{
"advance": 3001
},
{
"action": "remount",
"id": "return"
},
{
"checkpoint": "rows-while-revalidating"
},
{
"complete": "git.status#2",
"params": {
"worktree": "id:repo42::/p",
"reuseLineStats": true,
"admissionTier": "background"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"checkpoint": "revalidated"
}
]
},
{
"id": "sc-changes-write-reads-live",
"operation": "source-control.changes-load",
"family": "git.changes-load",
"sites": ["mobile/src/source-control/use-mobile-source-control-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"complete": "git.status#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"action": "leave",
"id": "leave"
},
{
"advance": 3001
},
{
"action": "remount",
"id": "return"
},
{
"bind": "revalidation",
"request": "git.status#2",
"params": {
"worktree": "id:repo42::/p",
"reuseLineStats": true,
"admissionTier": "background"
}
},
{
"action": "written",
"id": "stage"
},
{
"bind": "post-write",
"request": "git.status#3",
"params": {
"worktree": "id:repo42::/p"
}
},
{
"complete": "post-write",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "staged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"checkpoint": "post-write-status"
},
{
"complete": "revalidation",
"params": {
"worktree": "id:repo42::/p",
"reuseLineStats": true,
"admissionTier": "background"
},
"reply": {
"ok": true,
"result": {
"branch": "feature",
"head": "head-oid",
"entries": [
{
"path": "src/app.ts",
"status": "modified",
"area": "unstaged",
"added": 4,
"removed": 1
},
{
"path": "src/old.ts",
"oldPath": "src/older.ts",
"status": "renamed",
"area": "staged"
}
],
"upstreamStatus": {
"hasUpstream": true,
"ahead": 1,
"behind": 0,
"upstreamName": "origin/feature"
}
}
}
},
{
"checkpoint": "superseded-revalidation-ignored"
}
]
},
{
"id": "sc-history-branch-commits",
"operation": "source-control.history-branch-commits",
"family": "git.history-branch-commits",
"sites": ["mobile/src/source-control/MobileGitHistoryList.tsx"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "base-pending"
},
{
"complete": "worktree.show#1",
"params": {
"worktree": "id:repo42::/p"
},
"reply": {
"ok": true,
"result": {
"worktree": {
"baseRef": "origin/main"
}
}
}
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo42",
"worktreeBaseRef": null
}
]
}
}
},
{
"checkpoint": "history-pending"
},
{
"complete": "git.history#1",
"params": {
"worktree": "id:repo42::/p",
"limit": 50,
"skip": 0,
"baseRef": "origin/main",
"branchOnly": true
},
"reply": {
"ok": true,
"result": {
"items": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"displayId": "aaaaaaa",
"subject": "first",
"author": "dev",
"parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"],
"timestamp": 1767222000000,
"pushed": false,
"statistics": {
"files": 2,
"insertions": 13,
"deletions": 1
},
"message": "first\n\nExplains the change.\n\nCo-authored-by: Pair <pair@example.test>"
}
],
"hasMore": false,
"skip": 0,
"branch": {
"baseRef": {
"id": "refs/remotes/origin/main",
"name": "origin/main"
},
"ahead": 1,
"behind": 2,
"unpushed": 1
}
}
}
},
{
"action": "open",
"id": "open"
},
{
"checkpoint": "settled"
}
]
},
{
"id": "notifications-desktop-stream",
"operation": "notifications.desktop-stream",
"family": "notifications.desktop-stream",
"sites": ["mobile/src/notifications/mobile-notifications.ts"],
"schedules": [],
"deviceStore": {
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"wss://desk.test\",\"publicKeyB64\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationTray": [
{
"request": {
"identifier": "tray-1",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
}
}
},
{
"request": {
"identifier": "tray-2",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
}
}
}
]
},
"steps": [
{
"action": "start",
"id": "start"
},
{
"checkpoint": "subscribed"
},
{
"frame": "notifications.subscribe#1",
"params": {
"includeDesktopSuppressed": true
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"checkpoint": "ready"
},
{
"complete": "notifications.getMissedSince#1",
"params": {
"lastSeenSeq": 9007199254740991,
"deliveredPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
},
{
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
]
},
"reply": {
"ok": true,
"result": {
"dismissedPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
]
}
}
},
{
"checkpoint": "caught-up"
},
{
"frame": "notifications.subscribe#1",
"params": {
"includeDesktopSuppressed": true
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "dismiss",
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
}
},
{
"checkpoint": "dismissed"
},
{
"action": "stop",
"id": "stop"
},
{
"checkpoint": "unsubscribing"
},
{
"checkpoint": "stopped"
}
]
},
{
"id": "notifications-desktop-stream-replayed",
"operation": "notifications.desktop-stream",
"family": "notifications.desktop-stream",
"sites": ["mobile/src/notifications/mobile-notifications.ts"],
"schedules": [],
"deviceStore": {
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"wss://desk.test\",\"publicKeyB64\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationTray": [
{
"request": {
"identifier": "tray-1",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
}
}
},
{
"request": {
"identifier": "tray-2",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
}
}
}
]
},
"steps": [
{
"action": "start",
"id": "start"
},
{
"frame": "notifications.subscribe#1",
"params": {
"includeDesktopSuppressed": true
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"complete": "notifications.getMissedSince#1",
"params": {
"lastSeenSeq": 9007199254740991,
"deliveredPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
},
{
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
]
},
"reply": {
"ok": true,
"result": {
"dismissedPushes": []
}
}
},
{
"checkpoint": "ready"
},
{
"action": "cutover",
"id": "cutover"
},
{
"checkpoint": "re-subscribed"
},
{
"frame": "notifications.subscribe#2",
"params": {
"includeDesktopSuppressed": true
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-2"
}
}
},
{
"complete": "notifications.getMissedSince#2",
"params": {
"lastSeenSeq": 9007199254740991,
"deliveredPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
},
{
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
]
},
"reply": {
"ok": true,
"result": {
"dismissedPushes": [
{
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
]
}
}
},
{
"checkpoint": "replayed"
},
{
"action": "stop",
"id": "stop"
},
{
"checkpoint": "stopped"
}
]
},
{
"id": "native-chat-page-earlier",
"operation": "session.native-chat-page",
"family": "session.native-chat-page",
"sites": ["mobile/src/session/native-chat/use-mobile-native-chat-session.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"checkpoint": "subscribed"
},
{
"frame": "nativeChat.subscribe#1",
"params": {
"agent": "claude",
"sessionId": "session-1",
"limit": 40,
"subscriptionId": "claude:session-1:00000000-0000-4000-8000-000000000001",
"capabilities": {
"transcriptPending": 1,
"transcriptSourceOrder": 1
},
"transcriptPath": "/work/feature/.claude/session-1.jsonl"
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "snapshot",
"messages": [
{
"id": "m-3",
"role": "assistant",
"source": "transcript",
"timestamp": 3000,
"blocks": [
{
"type": "text",
"text": "third"
}
]
},
{
"id": "m-4",
"role": "assistant",
"source": "transcript",
"timestamp": 4000,
"blocks": [
{
"type": "text",
"text": "fourth"
}
]
}
],
"hasMore": true,
"beforeOffset": 1200
}
}
},
{
"checkpoint": "snapshot"
},
{
"action": "load-earlier",
"id": "page"
},
{
"checkpoint": "paging"
},
{
"complete": "nativeChat.readSession#1",
"params": {
"agent": "claude",
"sessionId": "session-1",
"limit": 60,
"capabilities": {
"transcriptSourceOrder": 1
},
"beforeOffset": 1200,
"transcriptPath": "/work/feature/.claude/session-1.jsonl"
},
"reply": {
"ok": true,
"result": {
"messages": [
{
"id": "m-1",
"role": "assistant",
"source": "transcript",
"timestamp": 1000,
"blocks": [
{
"type": "text",
"text": "first"
}
]
},
{
"id": "m-2",
"role": "assistant",
"source": "transcript",
"timestamp": 2000,
"blocks": [
{
"type": "text",
"text": "second"
}
]
}
],
"hasMore": false,
"beforeOffset": 0
}
}
},
{
"checkpoint": "paged"
},
{
"action": "cutover",
"id": "cutover"
},
{
"checkpoint": "re-subscribed"
},
{
"frame": "nativeChat.subscribe#2",
"params": {
"agent": "claude",
"sessionId": "session-1",
"limit": 40,
"subscriptionId": "claude:session-1:00000000-0000-4000-8000-000000000001",
"capabilities": {
"transcriptPending": 1,
"transcriptSourceOrder": 1
},
"transcriptPath": "/work/feature/.claude/session-1.jsonl"
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "snapshot",
"messages": [
{
"id": "m-3",
"role": "assistant",
"source": "transcript",
"timestamp": 3000,
"blocks": [
{
"type": "text",
"text": "third"
}
]
},
{
"id": "m-4",
"role": "assistant",
"source": "transcript",
"timestamp": 4000,
"blocks": [
{
"type": "text",
"text": "fourth"
}
]
},
{
"id": "m-5",
"role": "assistant",
"source": "transcript",
"timestamp": 5000,
"blocks": [
{
"type": "text",
"text": "fifth"
}
]
}
],
"hasMore": true,
"beforeOffset": 1200
}
}
},
{
"checkpoint": "replayed"
},
{
"action": "unmount",
"id": "unmount"
},
{
"checkpoint": "unmounted"
}
]
},
{
"id": "terminal-gesture-flush-and-clear",
"operation": "session.terminal-gesture-input",
"family": "session.terminal-gesture-input",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-input.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount"
},
{
"action": "gesture",
"id": "gesture"
},
{
"checkpoint": "queued"
},
{
"advance": 16
},
{
"checkpoint": "flushing"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "\u001b[<64;10;5M",
"enter": false,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "sent"
},
{
"checkpoint": "reported"
},
{
"action": "clear",
"id": "clear"
},
{
"checkpoint": "clearing"
},
{
"complete": "terminal.clearBuffer#1",
"params": {
"terminal": "terminal-1"
},
"reply": {
"ok": true,
"result": {
"clear": {
"handle": "terminal-1",
"cleared": true
}
}
}
},
{
"checkpoint": "cleared"
}
]
},
{
"id": "session-startup-both-activation-sites",
"operation": "session.startup",
"family": "session.startup",
"sites": ["mobile/src/session/use-mobile-session-startup.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"created": "1"
}
},
{
"checkpoint": "loading"
},
{
"advance": 1800
},
{
"checkpoint": "reactivating"
},
{
"complete": "worktree.activate#1",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"sleepingAgentWake": "unsupported-headless"
}
}
},
{
"checkpoint": "reactivated"
},
{
"advance": 750
},
{
"checkpoint": "refreshed"
},
{
"action": "consume-created-route",
"id": "consume-route"
},
{
"checkpoint": "activating"
},
{
"complete": "worktree.activate#2",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"sleepingAgentWake": "unsupported-headless"
}
}
},
{
"checkpoint": "activated"
},
{
"advance": 1500
},
{
"checkpoint": "reloaded"
}
]
},
{
"id": "session-startup-floating-route-skips-activation",
"operation": "session.startup",
"family": "session.startup",
"sites": ["mobile/src/session/use-mobile-session-startup.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"created": "1",
"floating": true
}
},
{
"checkpoint": "loading"
},
{
"advance": 2600
},
{
"checkpoint": "settled"
}
]
},
{
"id": "session-startup-reopens-with-last-strip",
"operation": "session.startup",
"family": "session.startup",
"sites": ["mobile/src/session/use-mobile-session-startup.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"floating": true
}
},
{
"action": "host-tabs",
"id": "host-lists-three",
"args": {
"tabs": ["tab-a", "tab-b", "tab-x"]
}
},
{
"checkpoint": "live"
},
{
"action": "leave",
"id": "leave"
},
{
"action": "mount",
"id": "reopen",
"args": {
"floating": true
}
},
{
"checkpoint": "reopened-with-last-strip"
},
{
"action": "host-tabs",
"id": "host-closed-x",
"args": {
"tabs": ["tab-a", "tab-b"]
}
},
{
"checkpoint": "snapshot-replaced-strip"
},
{
"action": "leave",
"id": "leave-again"
},
{
"action": "mount",
"id": "reopen-again",
"args": {
"floating": true
}
},
{
"checkpoint": "closed-tab-stays-gone"
},
{
"action": "switch-worktree",
"id": "switch-to-wt-2",
"args": {
"worktree": "wt-2"
}
},
{
"checkpoint": "next-worktree-starts-empty"
},
{
"action": "leave",
"id": "leave-wt-2"
},
{
"action": "mount",
"id": "reopen-wt-2",
"args": {
"floating": true
}
},
{
"checkpoint": "next-worktree-never-took-the-last-strip"
},
{
"action": "unmount",
"id": "unmount"
}
]
},
{
"id": "session-startup-keeps-terminals-visible-on-reconnect",
"operation": "session.startup",
"family": "session.startup",
"sites": ["mobile/src/session/use-mobile-session-startup.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"initialized": ["terminal-0"]
}
},
{
"checkpoint": "loading"
},
{
"complete": "worktree.activate#1",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {}
}
},
{
"advance": 1500
},
{
"checkpoint": "refreshed"
},
{
"action": "unmount",
"id": "unmount"
},
{
"checkpoint": "unmounted"
}
]
},
{
"id": "session-startup-refused-tab-load-still-loads-terminals",
"operation": "session.startup",
"family": "session.startup",
"sites": ["mobile/src/session/use-mobile-session-startup.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"tabLoadRejects": true
}
},
{
"checkpoint": "tab-load-refused"
},
{
"complete": "worktree.activate#1",
"params": {
"worktree": "id:wt-1",
"notifyClients": false,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {}
}
},
{
"advance": 1500
},
{
"checkpoint": "refreshed"
}
]
},
{
"id": "session-create-terminal-with-prompt",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0",
"deviceToken": "device-token-1"
}
},
{
"action": "create",
"id": "create",
"args": {
"initialPrompt": "review these notes",
"successToast": "Notes sent",
"errorToast": "Couldn't run Notes"
}
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"complete": "terminal.send#1",
"params": {
"terminal": "terminal-1",
"text": "review these notes",
"enter": true,
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"send": {
"accepted": true
}
}
}
},
{
"checkpoint": "prompt-sent"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-replaces-active",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create"
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-refused",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create",
"args": {
"errorToast": "Couldn't run Notes"
}
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": false,
"error": {
"code": "pty_exhausted",
"message": "No pty slots left on the host"
}
}
},
{
"checkpoint": "refused"
}
]
},
{
"id": "session-create-terminal-without-handle",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create"
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": null,
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-without-active-tab",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1"
}
},
{
"action": "create",
"id": "create"
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": {
"$undefined": true
},
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-runs-a-quick-command",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create",
"args": {
"startupCommand": "pnpm test",
"startupCommandDelivery": "shell-ready",
"errorToast": "Couldn't run Tests"
}
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"command": "pnpm test",
"startupCommandDelivery": "shell-ready",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-launches-an-agent-quick-command",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create",
"args": {
"agent": "claude",
"agentPrompt": "summarize the diff",
"errorToast": "Couldn't run Review"
}
},
{
"checkpoint": "creating"
},
{
"complete": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"agentPrompt": "summarize the diff",
"agent": "claude",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-ignores-a-second-create-in-flight",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0"
}
},
{
"action": "create",
"id": "create"
},
{
"action": "create",
"id": "create-again"
},
{
"bind": "first-create",
"request": "session.tabs.createTerminal#1",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
}
},
{
"checkpoint": "second-create-ignored"
},
{
"complete": "first-create",
"params": {
"worktree": "id:wt-1",
"afterTabId": "tab-0",
"clientMutationId": "mobile-create:mjuohs00-8ig2hens",
"activate": false,
"select": true,
"navigation": "caller"
},
"reply": {
"ok": true,
"result": {
"tab": {
"type": "terminal",
"id": "tab-1",
"title": "zsh",
"terminal": "terminal-1",
"isActive": true
}
}
}
},
{
"checkpoint": "created"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-agent-launched",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0",
"deviceToken": "device-token-1",
"agentLaunch": true
}
},
{
"action": "create",
"id": "create",
"args": {
"agent": "claude"
}
},
{
"checkpoint": "creating"
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "claude",
"operationId": "1767225600000-00000000000040008000000000000004",
"target": {
"kind": "existing",
"worktree": "id:wt-1"
},
"paneKey": "00000000-0000-4000-8000-000000000001:00000000-0000-4000-8000-000000000002",
"sessionId": "claude_00000000_0000_4000_8000_000000000003"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "terminal",
"handle": "terminal-1"
},
"worktreeId": "wt-1",
"receipt": {
"mode": "terminal",
"preferred": "terminal",
"reason": "user_default",
"detail": "Started a terminal agent."
}
}
}
},
{
"checkpoint": "launched"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-agent-launched-as-chat",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0",
"deviceToken": "device-token-1",
"agentLaunch": true
}
},
{
"action": "create",
"id": "create",
"args": {
"agent": "claude"
}
},
{
"checkpoint": "creating"
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "claude",
"operationId": "1767225600000-00000000000040008000000000000004",
"target": {
"kind": "existing",
"worktree": "id:wt-1"
},
"paneKey": "00000000-0000-4000-8000-000000000001:00000000-0000-4000-8000-000000000002",
"sessionId": "claude_00000000_0000_4000_8000_000000000003"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "structured",
"sessionId": "claude_s1",
"handle": "h-1"
},
"worktreeId": "wt-1",
"receipt": {
"mode": "structured",
"preferred": "structured",
"reason": "user_default",
"detail": "Started a terminal agent."
}
}
}
},
{
"checkpoint": "launched"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-diff-notes-launched",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0",
"deviceToken": "device-token-1",
"agentLaunch": true
}
},
{
"action": "create",
"id": "create",
"args": {
"agent": "codex",
"initialPrompt": "review these notes",
"successToast": "Notes sent"
}
},
{
"checkpoint": "creating"
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "codex",
"operationId": "1767225600000-00000000000040008000000000000004",
"target": {
"kind": "existing",
"worktree": "id:wt-1"
},
"prompt": {
"text": "review these notes",
"delivery": "submit"
},
"launchSource": "diff_notes_send",
"paneKey": "00000000-0000-4000-8000-000000000001:00000000-0000-4000-8000-000000000002",
"sessionId": "codex_00000000_0000_4000_8000_000000000003"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "terminal",
"handle": "terminal-1"
},
"worktreeId": "wt-1",
"receipt": {
"mode": "terminal",
"preferred": "terminal",
"reason": "user_default",
"detail": "Started a terminal agent."
},
"prompt": {
"delivery": "submit",
"outcome": "handed-to-terminal"
}
}
}
},
{
"checkpoint": "notes-sent"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-create-terminal-diff-notes-not-delivered",
"operation": "session.create-terminal",
"family": "session.create-terminal",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"worktreeId": "wt-1",
"activeSessionTabId": "tab-0",
"deviceToken": "device-token-1",
"agentLaunch": true
}
},
{
"action": "create",
"id": "create",
"args": {
"agent": "codex",
"initialPrompt": "review these notes",
"successToast": "Notes sent"
}
},
{
"checkpoint": "creating"
},
{
"complete": "agent.launchReplay#1",
"params": {
"agent": "codex",
"operationId": "1767225600000-00000000000040008000000000000004",
"target": {
"kind": "existing",
"worktree": "id:wt-1"
},
"prompt": {
"text": "review these notes",
"delivery": "submit"
},
"launchSource": "diff_notes_send",
"paneKey": "00000000-0000-4000-8000-000000000001:00000000-0000-4000-8000-000000000002",
"sessionId": "codex_00000000_0000_4000_8000_000000000003"
},
"reply": {
"ok": true,
"result": {
"outcome": {
"kind": "terminal",
"handle": "terminal-1"
},
"worktreeId": "wt-1",
"receipt": {
"mode": "terminal",
"preferred": "terminal",
"reason": "user_default",
"detail": "Started a terminal agent."
},
"prompt": {
"delivery": "submit",
"outcome": "not-delivered"
}
}
}
},
{
"checkpoint": "notes-kept"
},
{
"advance": 500
},
{
"checkpoint": "tabs-refreshed"
}
]
},
{
"id": "session-terminal-display-mode-auto-take-floor",
"operation": "session.terminal-display-mode",
"family": "session.terminal-display-mode",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-stream-display.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"deviceToken": "device-token-1",
"viewport": {
"cols": 100,
"rows": 30
},
"modes": {
"terminal-1": "desktop"
}
}
},
{
"action": "toggle",
"id": "toggle",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "in-flight"
},
{
"complete": "terminal.setDisplayMode#1",
"params": {
"terminal": "terminal-1",
"mode": "auto",
"client": {
"id": "device-token-1",
"type": "mobile"
},
"viewport": {
"cols": 100,
"rows": 30
}
},
"reply": {
"ok": true,
"result": {
"mode": "auto"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "session-terminal-display-mode-to-desktop",
"operation": "session.terminal-display-mode",
"family": "session.terminal-display-mode",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-stream-display.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"deviceToken": "device-token-1",
"viewport": {
"cols": 100,
"rows": 30
}
}
},
{
"action": "toggle",
"id": "toggle",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "in-flight"
},
{
"complete": "terminal.setDisplayMode#1",
"params": {
"terminal": "terminal-1",
"mode": "desktop",
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"mode": "desktop"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "session-terminal-display-mode-drops-second-toggle",
"operation": "session.terminal-display-mode",
"family": "session.terminal-display-mode",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-stream-display.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"deviceToken": "device-token-1",
"viewport": {
"cols": 100,
"rows": 30
},
"modes": {
"terminal-1": "phone"
}
}
},
{
"action": "toggle",
"id": "first",
"args": {
"handle": "terminal-1"
}
},
{
"action": "toggle",
"id": "second",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "one-in-flight"
},
{
"complete": "terminal.setDisplayMode#1",
"params": {
"terminal": "terminal-1",
"mode": "desktop",
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"mode": "desktop"
}
}
},
{
"checkpoint": "settled"
},
{
"action": "toggle",
"id": "third",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "retoggled"
}
]
},
{
"id": "session-terminal-display-mode-auto-without-viewport",
"operation": "session.terminal-display-mode",
"family": "session.terminal-display-mode",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-stream-display.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"deviceToken": "device-token-1",
"modes": {
"terminal-1": "desktop"
}
}
},
{
"action": "toggle",
"id": "toggle",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "in-flight"
},
{
"complete": "terminal.setDisplayMode#1",
"params": {
"terminal": "terminal-1",
"mode": "auto",
"client": {
"id": "device-token-1",
"type": "mobile"
}
},
"reply": {
"ok": true,
"result": {
"mode": "auto"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "session-terminal-display-mode-auto-without-device-token",
"operation": "session.terminal-display-mode",
"family": "session.terminal-display-mode",
"sites": ["mobile/src/terminal/session/use-mobile-session-terminal-stream-display.ts"],
"schedules": [],
"steps": [
{
"action": "mount",
"id": "mount",
"args": {
"viewport": {
"cols": 100,
"rows": 30
},
"modes": {
"terminal-1": "desktop"
}
}
},
{
"action": "toggle",
"id": "toggle",
"args": {
"handle": "terminal-1"
}
},
{
"checkpoint": "in-flight"
},
{
"complete": "terminal.setDisplayMode#1",
"params": {
"terminal": "terminal-1",
"mode": "auto",
"viewport": {
"cols": 100,
"rows": 30
}
},
"reply": {
"ok": true,
"result": {
"mode": "auto"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "notifications-desktop-stream-closed",
"operation": "notifications.desktop-stream",
"family": "notifications.desktop-stream",
"sites": ["mobile/src/notifications/mobile-notifications.ts"],
"schedules": [],
"deviceStore": {
"orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"wss://desk.test\",\"publicKeyB64\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=\",\"lastConnected\":1700000000000}]"
},
"deviceState": {
"notificationTray": [
{
"request": {
"identifier": "tray-1",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
}
}
}
},
{
"request": {
"identifier": "tray-2",
"content": {
"data": {
"hostFingerprint": "Yw3NKWbEM2aRElRI",
"kind": "alert",
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
}
}
}
]
},
"steps": [
{
"action": "start",
"id": "start"
},
{
"frame": "notifications.subscribe#1",
"params": {
"includeDesktopSuppressed": true
},
"reply": {
"ok": true,
"streaming": true,
"result": {
"type": "ready",
"subscriptionId": "sub-1"
}
}
},
{
"complete": "notifications.getMissedSince#1",
"params": {
"lastSeenSeq": 9007199254740991,
"deliveredPushes": [
{
"notificationId": "note-1",
"notificationEpoch": "epoch-1",
"notificationSeq": 7
},
{
"notificationId": "note-2",
"notificationEpoch": "epoch-1",
"notificationSeq": 8
}
]
},
"reply": {
"ok": true,
"result": {
"dismissedPushes": []
}
}
},
{
"checkpoint": "ready"
},
{
"action": "stop",
"id": "stop"
},
{
"checkpoint": "stopped"
},
{
"action": "cutover",
"id": "cutover"
},
{
"checkpoint": "not-replayed"
}
]
},
{
"id": "review-file-diff-shapes",
"operation": "session.diff-review-load",
"family": "session.review-file-diff",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "diff",
"id": "binary",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": true,
"result": {
"kind": "binary"
}
}
},
{
"checkpoint": "binary"
},
{
"action": "diff",
"id": "too-large",
"args": {
"scope": "staged"
}
},
{
"complete": "git.diff#2",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": true
},
"reply": {
"ok": true,
"result": {
"kind": "too-large",
"byteLength": 2048
}
}
},
{
"checkpoint": "too-large"
},
{
"action": "diff",
"id": "invalid",
"args": {
"scope": "unstaged"
}
},
{
"complete": "git.diff#3",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"staged": false
},
"reply": {
"ok": true,
"result": {
"kind": "unknown"
}
}
},
{
"checkpoint": "invalid"
}
]
},
{
"id": "review-branch-diff-shapes",
"operation": "session.diff-review-load",
"family": "session.review-branch-diff",
"sites": ["mobile/src/source-control/review/mobile-diff-review-loaders.ts"],
"schedules": [],
"steps": [
{
"action": "diff",
"id": "branch",
"args": {
"scope": "branch"
}
},
{
"complete": "git.branchDiff#1",
"params": {
"worktree": "id:repo-9::/w",
"filePath": "src/app.ts",
"compare": {
"baseRef": "origin/main",
"baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678",
"headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432",
"mergeBase": "0123456789abcdef0123456789abcdef01234567"
}
},
"reply": {
"ok": true,
"result": {
"kind": "binary"
}
}
},
{
"checkpoint": "branch"
},
{
"action": "diff",
"id": "no-compare",
"args": {
"scope": "branch",
"compare": false
}
},
{
"checkpoint": "no-compare"
}
]
},
{
"id": "review-git-mutations-run",
"operation": "session.diff-review-actions",
"family": "session.review-git-mutations",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "stage",
"id": "stage"
},
{
"complete": "git.stage#1",
"params": {
"filePath": "src/app.ts",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"staged": true
}
}
},
{
"checkpoint": "staged"
},
{
"action": "discard",
"id": "discard"
},
{
"complete": "git.discard#1",
"params": {
"filePath": "src/app.ts",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"discarded": true
}
}
},
{
"checkpoint": "discarded"
}
]
},
{
"id": "review-send-sheet-lists-terminals",
"operation": "session.diff-review-actions",
"family": "session.review-send-sheet",
"sites": [
"mobile/src/source-control/review/use-mobile-diff-review-interactions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts",
"mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts",
"mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts"
],
"schedules": [],
"steps": [
{
"action": "open-send-sheet",
"id": "open"
},
{
"complete": "session.tabs.list#1",
"params": {
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"tabs": [
{
"id": "tab-1",
"type": "terminal",
"title": "codex",
"terminal": "terminal-1"
},
{
"id": "tab-2",
"type": "markdown",
"title": "notes.md"
}
]
}
}
},
{
"checkpoint": "listed"
}
]
},
{
"id": "session-browser-tab-created",
"operation": "session.content-create",
"family": "session.browser-tab-create",
"sites": ["mobile/src/session/use-mobile-session-content-create-actions.ts"],
"schedules": [],
"steps": [
{
"action": "browser",
"id": "browser"
},
{
"complete": "browser.tabCreate#1",
"params": {
"activate": true,
"url": "https://example.com/",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"browserPageId": "page-1"
}
}
},
{
"advance": 1200
},
{
"checkpoint": "created"
}
]
},
{
"id": "structured-agent-session-created",
"operation": "agentSession.structured-launch",
"family": "agentSession.structured-create",
"sites": [
"mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts"
],
"schedules": [],
"steps": [
{
"action": "claude",
"id": "claude"
},
{
"complete": "agentSession.createSupport#1",
"params": {
"agent": "claude",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"supported": true
}
}
},
{
"complete": "agentSession.create#1",
"params": {
"agent": "claude",
"envelope": {
"clientOperationId": "1767225600000-00000000000040008000000000000002",
"expectedRuntimeFence": null,
"payloadFingerprint": "ce04a6ad4f07079b36cb0b4e9b1bcfd95481b5cb2428fbe93b3c0cf995ef8605",
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
},
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"ok": true,
"value": {
"sessionId": "claude_00000000_0000_4000_8000_000000000001"
}
}
}
},
{
"checkpoint": "created"
}
]
},
{
"id": "session-tab-renamed",
"operation": "session.tab-close",
"family": "session.tab-rename",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "rename",
"id": "rename",
"args": {
"title": "build"
}
},
{
"complete": "terminal.rename#1",
"params": {
"terminal": "terminal-1",
"title": "build"
},
"reply": {
"ok": true,
"result": {
"renamed": true
}
}
},
{
"advance": 300
},
{
"checkpoint": "renamed"
}
]
},
{
"id": "session-tab-closed",
"operation": "session.tab-close",
"family": "session.tab-close-session",
"sites": ["mobile/src/session/tabs/use-mobile-session-close-actions.ts"],
"schedules": [],
"steps": [
{
"action": "close-tab",
"id": "close-tab"
},
{
"complete": "session.tabs.close#1",
"params": {
"reason": "user",
"tabId": "tab-1",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"closed": true
}
}
},
{
"checkpoint": "closed"
}
]
},
{
"id": "new-tab-local-agents",
"operation": "settings.new-tab-agents",
"family": "settings.new-tab-local-agents",
"sites": ["mobile/src/session/agent-launch/mobile-new-tab-agent-loader.ts"],
"schedules": [],
"steps": [
{
"action": "load",
"id": "load"
},
{
"checkpoint": "pending"
},
{
"complete": "repo.list#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"repos": [
{
"id": "repo-1",
"connectionId": null
}
]
}
}
},
{
"complete": "settings.get#1",
"params": {
"$undefined": true
},
"reply": {
"ok": true,
"result": {
"settings": {
"defaultTuiAgent": "codex",
"disabledTuiAgents": []
}
}
}
},
{
"complete": "preflight.detectAgents#1",
"params": {
"worktreeId": "repo-1::/folder"
},
"reply": {
"ok": true,
"result": ["codex", "claude"]
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree-text-read",
"operation": "files.preview-load",
"family": "files.preview-worktree-text",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load"
},
{
"complete": "files.read#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/readme.md"
},
"reply": {
"ok": true,
"result": {
"content": "# readme",
"truncated": false,
"byteLength": 8
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-worktree-image-read",
"operation": "files.preview-load",
"family": "files.preview-worktree-image",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "worktree",
"id": "load",
"args": {
"path": "docs/logo.png"
}
},
{
"complete": "files.readPreview#1",
"params": {
"worktree": "id:workspace-1",
"relativePath": "docs/logo.png"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "files-preview-artifact-image-read",
"operation": "files.preview-load",
"family": "files.preview-artifact-image",
"sites": ["mobile/src/files/mobile-file-preview-request.ts"],
"schedules": [],
"steps": [
{
"action": "artifact",
"id": "load",
"args": {
"path": "/logs/shot.png"
}
},
{
"complete": "files.readTerminalArtifactPreview#1",
"params": {
"worktree": "id:workspace-1",
"absolutePath": "/logs/shot.png",
"grantId": "grant-1"
},
"reply": {
"ok": true,
"result": {
"content": "aGk=",
"isBinary": true,
"isImage": true,
"mimeType": "image/png"
}
}
},
{
"checkpoint": "settled"
}
]
},
{
"id": "session-markdown-disk-read",
"operation": "session.tab-documents",
"family": "session.markdown-disk-fallback",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "markdown.readTab#1",
"params": {
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": false,
"error": {
"code": "renderer_unavailable",
"message": "Renderer unavailable"
}
}
},
{
"complete": "files.read#1",
"params": {
"relativePath": "docs/readme.md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "# disk",
"truncated": false,
"byteLength": 6
}
}
},
{
"checkpoint": "fell-back"
}
]
},
{
"id": "session-markdown-disk-served",
"operation": "session.tab-documents",
"family": "session.markdown-disk-fallback",
"sites": ["mobile/src/files/session-documents/use-mobile-session-document-readers.ts"],
"schedules": [],
"steps": [
{
"action": "markdown",
"id": "markdown"
},
{
"complete": "markdown.readTab#1",
"params": {
"tabId": "tab-md",
"worktree": "id:workspace-1"
},
"reply": {
"ok": true,
"result": {
"content": "# served",
"version": "v1",
"isDirty": false,
"editable": true
}
}
},
{
"checkpoint": "served"
}
]
},
{
"id": "mobile-web-bundle-manifest-read",
"operation": "mobileWeb.bundle-manifest",
"family": "mobileWeb.bundle-manifest",
"sites": ["mobile/src/transport/web-bundle/mobile-web-bundle-operations.ts"],
"schedules": [],
"steps": [
{
"action": "read",
"id": "read"
},
{
"complete": "mobileWeb.bundle.manifest#1",
"params": null,
"reply": {
"ok": true,
"result": {
"manifest": {
"schemaVersion": 1,
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"desktopVersion": "1.4.201",
"minCompatibleRuntimeProtocolVersion": 2,
"runtimeProtocolVersion": 2,
"entrypoint": "index.html",
"totalBytes": 37,
"assets": [
{
"path": "assets/app.js",
"sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d",
"byteLength": 11,
"contentType": "text/javascript; charset=utf-8"
},
{
"path": "index.html",
"sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e",
"byteLength": 26,
"contentType": "text/html; charset=utf-8"
}
]
},
"chunkBytes": 16
}
}
},
{
"checkpoint": "manifest-read"
}
]
},
{
"id": "mobile-web-bundle-fetch-paged",
"operation": "mobileWeb.bundle-fetch",
"family": "mobileWeb.bundle-fetch",
"sites": [
"mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts",
"mobile/src/diagnostics/use-mobile-web-bundle-probe.ts"
],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "mobileWeb.bundle.manifest#1",
"params": null,
"reply": {
"ok": true,
"result": {
"manifest": {
"schemaVersion": 1,
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"desktopVersion": "1.4.201",
"minCompatibleRuntimeProtocolVersion": 2,
"runtimeProtocolVersion": 2,
"entrypoint": "index.html",
"totalBytes": 37,
"assets": [
{
"path": "assets/app.js",
"sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d",
"byteLength": 11,
"contentType": "text/javascript; charset=utf-8"
},
{
"path": "index.html",
"sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e",
"byteLength": 26,
"contentType": "text/html; charset=utf-8"
}
]
},
"chunkBytes": 16
}
}
},
{
"bind": "index-head",
"request": "mobileWeb.bundle.chunk#1",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 0
}
},
{
"bind": "index-tail",
"request": "mobileWeb.bundle.chunk#2",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 16
}
},
{
"bind": "app-js",
"request": "mobileWeb.bundle.chunk#3",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0
}
},
{
"complete": "index-head",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 0
},
"reply": {
"ok": true,
"result": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 0,
"assetByteLength": 26,
"sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e",
"dataBase64": "PCFkb2N0eXBlIGh0bWw+PA==",
"eof": false
}
}
},
{
"complete": "index-tail",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 16
},
"reply": {
"ok": true,
"result": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 16,
"assetByteLength": 26,
"sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e",
"dataBase64": "cD5vcmNhPC9wPg==",
"eof": true
}
}
},
{
"complete": "app-js",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0
},
"reply": {
"ok": true,
"result": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0,
"assetByteLength": 11,
"sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d",
"dataBase64": "b3JjYS5ib290KCk=",
"eof": true
}
}
},
{
"checkpoint": "bundle-fetched"
}
]
},
{
"id": "mobile-web-bundle-unavailable",
"operation": "mobileWeb.bundle-fetch",
"family": "mobileWeb.bundle-fetch",
"sites": [
"mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts",
"mobile/src/diagnostics/use-mobile-web-bundle-probe.ts"
],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "mobileWeb.bundle.manifest#1",
"params": null,
"reply": {
"ok": false,
"error": {
"code": "invalid_argument",
"message": "mobile_web_bundle_unavailable"
}
}
},
{
"checkpoint": "bundle-unavailable"
}
]
},
{
"id": "mobile-web-bundle-build-changed",
"operation": "mobileWeb.bundle-fetch",
"family": "mobileWeb.bundle-fetch",
"sites": [
"mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts",
"mobile/src/diagnostics/use-mobile-web-bundle-probe.ts"
],
"schedules": [],
"steps": [
{
"action": "fetch",
"id": "fetch"
},
{
"complete": "mobileWeb.bundle.manifest#1",
"params": null,
"reply": {
"ok": true,
"result": {
"manifest": {
"schemaVersion": 1,
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"desktopVersion": "1.4.201",
"minCompatibleRuntimeProtocolVersion": 2,
"runtimeProtocolVersion": 2,
"entrypoint": "index.html",
"totalBytes": 37,
"assets": [
{
"path": "assets/app.js",
"sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d",
"byteLength": 11,
"contentType": "text/javascript; charset=utf-8"
},
{
"path": "index.html",
"sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e",
"byteLength": 26,
"contentType": "text/html; charset=utf-8"
}
]
},
"chunkBytes": 16
}
}
},
{
"bind": "index-head",
"request": "mobileWeb.bundle.chunk#1",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 0
}
},
{
"bind": "index-tail",
"request": "mobileWeb.bundle.chunk#2",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 16
}
},
{
"bind": "app-js",
"request": "mobileWeb.bundle.chunk#3",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0
}
},
{
"complete": "app-js",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0
},
"reply": {
"ok": true,
"result": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "assets/app.js",
"offset": 0,
"assetByteLength": 11,
"sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d",
"dataBase64": "b3JjYS5ib290KCk=",
"eof": true
}
}
},
{
"complete": "index-head",
"params": {
"buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177",
"path": "index.html",
"offset": 0
},
"reply": {
"ok": false,
"error": {
"code": "invalid_argument",
"message": "mobile_web_bundle_build_changed"
}
}
},
{
"checkpoint": "bundle-build-changed"
}
]
}
]
}