@adecore/agents 0.0.1 → 0.17.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +110 -0
- package/README.md +33 -0
- package/dist/async.d.ts +2 -0
- package/dist/async.js +31 -0
- package/dist/chat/attachment-store.d.ts +10 -0
- package/dist/chat/attachment-store.js +93 -0
- package/dist/chat/backend.d.ts +214 -0
- package/dist/chat/backend.js +1 -0
- package/dist/chat/background-work.d.ts +8 -0
- package/dist/chat/background-work.js +33 -0
- package/dist/chat/bookmark-store.d.ts +25 -0
- package/dist/chat/bookmark-store.js +141 -0
- package/dist/chat/chat-core.d.ts +311 -0
- package/dist/chat/chat-core.js +1025 -0
- package/dist/chat/chat-log.d.ts +33 -0
- package/dist/chat/chat-log.js +163 -0
- package/dist/chat/chat-process.d.ts +46 -0
- package/dist/chat/chat-process.js +190 -0
- package/dist/chat/chat-session.d.ts +209 -0
- package/dist/chat/chat-session.js +1511 -0
- package/dist/chat/chat-store.d.ts +37 -0
- package/dist/chat/chat-store.js +202 -0
- package/dist/chat/chat-title.d.ts +10 -0
- package/dist/chat/chat-title.js +74 -0
- package/dist/chat/claude-backend.d.ts +35 -0
- package/dist/chat/claude-backend.js +214 -0
- package/dist/chat/claude-protocol.d.ts +41 -0
- package/dist/chat/claude-protocol.js +642 -0
- package/dist/chat/claude-title.d.ts +11 -0
- package/dist/chat/claude-title.js +97 -0
- package/dist/chat/claude-transcript.d.ts +28 -0
- package/dist/chat/claude-transcript.js +211 -0
- package/dist/chat/codex-backend.d.ts +51 -0
- package/dist/chat/codex-backend.js +364 -0
- package/dist/chat/codex-protocol.d.ts +56 -0
- package/dist/chat/codex-protocol.js +767 -0
- package/dist/chat/codex-thread.d.ts +32 -0
- package/dist/chat/codex-thread.js +131 -0
- package/dist/chat/codex-transport.d.ts +42 -0
- package/dist/chat/codex-transport.js +188 -0
- package/dist/chat/composer-preferences.d.ts +15 -0
- package/dist/chat/composer-preferences.js +46 -0
- package/dist/chat/context-breakdown.d.ts +2 -0
- package/dist/chat/context-breakdown.js +74 -0
- package/dist/chat/delta-coalescer.d.ts +12 -0
- package/dist/chat/delta-coalescer.js +55 -0
- package/dist/chat/errors.d.ts +4 -0
- package/dist/chat/errors.js +4 -0
- package/dist/chat/fake-claude.d.ts +3 -0
- package/dist/chat/fake-claude.js +982 -0
- package/dist/chat/fake-cli.d.ts +25 -0
- package/dist/chat/fake-cli.js +157 -0
- package/dist/chat/fake-codex.d.ts +10 -0
- package/dist/chat/fake-codex.js +502 -0
- package/dist/chat/fixtures/claude-2.1.285-auto-fallback.json +24 -0
- package/dist/chat/fixtures/claude-2.1.285-native-children.json +6600 -0
- package/dist/chat/fixtures/claude-2.1.285-resume-direct-compact.json +202 -0
- package/dist/chat/fixtures/claude-2.1.285-resume-task-notification.json +57 -0
- package/dist/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a4c2e8f10b3d5a7e9.jsonl +10 -0
- package/dist/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a4c2e8f10b3d5a7e9.meta.json +1 -0
- package/dist/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a9b8c7d6e5f4a3b21.jsonl +2 -0
- package/dist/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a9b8c7d6e5f4a3b21.meta.json +1 -0
- package/dist/chat/fixtures/codex-0.159.2-native-approval.json +119 -0
- package/dist/chat/fixtures/codex-0.159.2-native-file-approval.json +136 -0
- package/dist/chat/fixtures/codex-0.159.2-native-interacted.json +220 -0
- package/dist/chat/fixtures/codex-0.159.2-usage-windows.json +74 -0
- package/dist/chat/input.d.ts +19 -0
- package/dist/chat/input.js +71 -0
- package/dist/chat/limit-resume.d.ts +11 -0
- package/dist/chat/limit-resume.js +68 -0
- package/dist/chat/projector.d.ts +60 -0
- package/dist/chat/projector.js +860 -0
- package/dist/chat/request-summary.d.ts +3 -0
- package/dist/chat/request-summary.js +143 -0
- package/dist/chat/subagent-projection.d.ts +8 -0
- package/dist/chat/subagent-projection.js +40 -0
- package/dist/chat/subagent-reader.d.ts +66 -0
- package/dist/chat/subagent-reader.js +396 -0
- package/dist/chat/subagent-settlement.d.ts +6 -0
- package/dist/chat/subagent-settlement.js +103 -0
- package/dist/chat/thread.d.ts +30 -0
- package/dist/chat/thread.js +147 -0
- package/dist/chat/wake-chat.d.ts +20 -0
- package/dist/chat/wake-chat.js +27 -0
- package/dist/client-sinks.d.ts +9 -0
- package/dist/client-sinks.js +34 -0
- package/dist/coded-error.d.ts +5 -0
- package/dist/coded-error.js +17 -0
- package/dist/context/argv.d.ts +11 -0
- package/dist/context/argv.js +58 -0
- package/dist/context/refusal.d.ts +9 -0
- package/dist/context/refusal.js +38 -0
- package/dist/context/verb.d.ts +85 -0
- package/dist/context/verb.js +233 -0
- package/dist/error-text.d.ts +5 -0
- package/dist/error-text.js +24 -0
- package/dist/events.d.ts +12 -0
- package/dist/events.js +1 -0
- package/dist/fs.d.ts +9 -0
- package/dist/fs.js +107 -0
- package/dist/host/agent-host.d.ts +28 -0
- package/dist/host/agent-host.js +105 -0
- package/dist/host/environment.d.ts +7 -0
- package/dist/host/environment.js +22 -0
- package/dist/host/handlers.d.ts +30 -0
- package/dist/host/handlers.js +111 -0
- package/dist/host/memory-port.d.ts +2 -0
- package/dist/host/memory-port.js +25 -0
- package/dist/host/wiring.d.ts +40 -0
- package/dist/host/wiring.js +120 -0
- package/dist/lineage.d.ts +44 -0
- package/dist/lineage.js +134 -0
- package/dist/messages/deliver-message.d.ts +21 -0
- package/dist/messages/deliver-message.js +42 -0
- package/dist/messages/deliver-notice.d.ts +25 -0
- package/dist/messages/deliver-notice.js +75 -0
- package/dist/messages/notice-notes.d.ts +15 -0
- package/dist/messages/notice-notes.js +26 -0
- package/dist/messages/notice-store.d.ts +30 -0
- package/dist/messages/notice-store.js +120 -0
- package/dist/modes.d.ts +11 -0
- package/dist/modes.js +28 -0
- package/dist/outbox/manual-clock.d.ts +10 -0
- package/dist/outbox/manual-clock.js +25 -0
- package/dist/outbox/outbox-worker.d.ts +44 -0
- package/dist/outbox/outbox-worker.js +173 -0
- package/dist/outbox/outbox.d.ts +37 -0
- package/dist/outbox/outbox.js +76 -0
- package/dist/providers/accounts/accounts.d.ts +20 -0
- package/dist/providers/accounts/accounts.js +158 -0
- package/dist/providers/accounts/launch.d.ts +17 -0
- package/dist/providers/accounts/launch.js +30 -0
- package/dist/providers/accounts/service.d.ts +87 -0
- package/dist/providers/accounts/service.js +538 -0
- package/dist/providers/accounts/shadow-home.d.ts +8 -0
- package/dist/providers/accounts/shadow-home.js +70 -0
- package/dist/providers/accounts/status.d.ts +12 -0
- package/dist/providers/accounts/status.js +85 -0
- package/dist/providers/accounts/store.d.ts +14 -0
- package/dist/providers/accounts/store.js +112 -0
- package/dist/providers/accounts/test-accounts.d.ts +12 -0
- package/dist/providers/accounts/test-accounts.js +38 -0
- package/dist/providers/accounts/variables.d.ts +27 -0
- package/dist/providers/accounts/variables.js +94 -0
- package/dist/providers/catalog.d.ts +17 -0
- package/dist/providers/catalog.js +76 -0
- package/dist/providers/claude-models.json +114 -0
- package/dist/providers/claude-provider.d.ts +4 -0
- package/dist/providers/claude-provider.js +29 -0
- package/dist/providers/claude.d.ts +15 -0
- package/dist/providers/claude.js +105 -0
- package/dist/providers/codex-models.json +135 -0
- package/dist/providers/codex-provider.d.ts +4 -0
- package/dist/providers/codex-provider.js +27 -0
- package/dist/providers/codex-rules.d.ts +9 -0
- package/dist/providers/codex-rules.js +35 -0
- package/dist/providers/codex.d.ts +14 -0
- package/dist/providers/codex.js +52 -0
- package/dist/providers/detect.d.ts +6 -0
- package/dist/providers/detect.js +30 -0
- package/dist/providers/provider.d.ts +25 -0
- package/dist/providers/provider.js +1 -0
- package/dist/providers/registry.d.ts +28 -0
- package/dist/providers/registry.js +118 -0
- package/dist/record-directory.d.ts +27 -0
- package/dist/record-directory.js +114 -0
- package/dist/run-process.d.ts +13 -0
- package/dist/run-process.js +42 -0
- package/dist/serializer.d.ts +9 -0
- package/dist/serializer.js +34 -0
- package/dist/skills.d.ts +21 -0
- package/dist/skills.js +174 -0
- package/dist/tasks/background-limit.d.ts +16 -0
- package/dist/tasks/background-limit.js +55 -0
- package/dist/tasks/end-children.d.ts +34 -0
- package/dist/tasks/end-children.js +53 -0
- package/dist/tasks/give-task.d.ts +14 -0
- package/dist/tasks/give-task.js +33 -0
- package/dist/tasks/task-coordinator.d.ts +52 -0
- package/dist/tasks/task-coordinator.js +323 -0
- package/dist/tasks/task-store.d.ts +49 -0
- package/dist/tasks/task-store.js +197 -0
- package/dist/tasks/task-work.d.ts +47 -0
- package/dist/tasks/task-work.js +28 -0
- package/dist/tasks/waiting-child.d.ts +51 -0
- package/dist/tasks/waiting-child.js +143 -0
- package/dist/tasks/wake-parent.d.ts +19 -0
- package/dist/tasks/wake-parent.js +109 -0
- package/dist/tasks/wiring.d.ts +51 -0
- package/dist/tasks/wiring.js +151 -0
- package/dist/title-file.d.ts +2 -0
- package/dist/title-file.js +55 -0
- package/dist/usage/accounts.d.ts +15 -0
- package/dist/usage/accounts.js +64 -0
- package/dist/usage/aggregate.d.ts +12 -0
- package/dist/usage/aggregate.js +154 -0
- package/dist/usage/exchange.d.ts +16 -0
- package/dist/usage/exchange.js +84 -0
- package/dist/usage/index-file.d.ts +15 -0
- package/dist/usage/index-file.js +123 -0
- package/dist/usage/limits/monitor.d.ts +50 -0
- package/dist/usage/limits/monitor.js +179 -0
- package/dist/usage/limits/normalize.d.ts +21 -0
- package/dist/usage/limits/normalize.js +160 -0
- package/dist/usage/limits/probe.d.ts +9 -0
- package/dist/usage/limits/probe.js +113 -0
- package/dist/usage/prices-snapshot.json +1071 -0
- package/dist/usage/pricing.d.ts +34 -0
- package/dist/usage/pricing.js +186 -0
- package/dist/usage/projects.d.ts +17 -0
- package/dist/usage/projects.js +49 -0
- package/dist/usage/readers/claude.d.ts +3 -0
- package/dist/usage/readers/claude.js +59 -0
- package/dist/usage/readers/codex.d.ts +23 -0
- package/dist/usage/readers/codex.js +155 -0
- package/dist/usage/record.d.ts +15 -0
- package/dist/usage/record.js +39 -0
- package/dist/usage/roots.d.ts +12 -0
- package/dist/usage/roots.js +29 -0
- package/dist/usage/scanner.d.ts +30 -0
- package/dist/usage/scanner.js +234 -0
- package/dist/usage/usage-service.d.ts +35 -0
- package/dist/usage/usage-service.js +130 -0
- package/dist/watch-seam.d.ts +29 -0
- package/dist/watch-seam.js +78 -0
- package/dist/watch-test-helpers.d.ts +28 -0
- package/dist/watch-test-helpers.js +86 -0
- package/package.json +42 -3
- package/src/async.ts +40 -0
- package/src/chat/attachment-store.ts +108 -0
- package/src/chat/backend.ts +199 -0
- package/src/chat/background-work.ts +42 -0
- package/src/chat/bookmark-store.ts +166 -0
- package/src/chat/chat-core.ts +1228 -0
- package/src/chat/chat-log.ts +187 -0
- package/src/chat/chat-process.ts +237 -0
- package/src/chat/chat-session.ts +1723 -0
- package/src/chat/chat-store.ts +261 -0
- package/src/chat/chat-title.ts +90 -0
- package/src/chat/claude-backend.ts +235 -0
- package/src/chat/claude-protocol.ts +684 -0
- package/src/chat/claude-title.ts +106 -0
- package/src/chat/claude-transcript.ts +233 -0
- package/src/chat/codex-backend.ts +397 -0
- package/src/chat/codex-protocol.ts +872 -0
- package/src/chat/codex-thread.ts +162 -0
- package/src/chat/codex-transport.ts +224 -0
- package/src/chat/composer-preferences.ts +67 -0
- package/src/chat/context-breakdown.ts +80 -0
- package/src/chat/delta-coalescer.ts +62 -0
- package/src/chat/errors.ts +25 -0
- package/src/chat/fake-claude.ts +1006 -0
- package/src/chat/fake-cli.ts +199 -0
- package/src/chat/fake-codex.ts +534 -0
- package/src/chat/fixtures/claude-2.1.285-auto-fallback.json +24 -0
- package/src/chat/fixtures/claude-2.1.285-native-children.json +6600 -0
- package/src/chat/fixtures/claude-2.1.285-resume-direct-compact.json +202 -0
- package/src/chat/fixtures/claude-2.1.285-resume-task-notification.json +57 -0
- package/src/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a4c2e8f10b3d5a7e9.jsonl +10 -0
- package/src/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a4c2e8f10b3d5a7e9.meta.json +1 -0
- package/src/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a9b8c7d6e5f4a3b21.jsonl +2 -0
- package/src/chat/fixtures/claude-projects/-work-demo/5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10/subagents/agent-a9b8c7d6e5f4a3b21.meta.json +1 -0
- package/src/chat/fixtures/codex-0.159.2-native-approval.json +119 -0
- package/src/chat/fixtures/codex-0.159.2-native-file-approval.json +136 -0
- package/src/chat/fixtures/codex-0.159.2-native-interacted.json +220 -0
- package/src/chat/fixtures/codex-0.159.2-usage-windows.json +74 -0
- package/src/chat/input.ts +89 -0
- package/src/chat/limit-resume.ts +74 -0
- package/src/chat/projector.ts +969 -0
- package/src/chat/request-summary.ts +168 -0
- package/src/chat/subagent-projection.ts +45 -0
- package/src/chat/subagent-reader.ts +469 -0
- package/src/chat/subagent-settlement.ts +111 -0
- package/src/chat/thread.ts +167 -0
- package/src/chat/wake-chat.ts +45 -0
- package/src/client-sinks.ts +39 -0
- package/src/coded-error.ts +18 -0
- package/src/context/argv.ts +61 -0
- package/src/context/refusal.ts +50 -0
- package/src/context/verb.ts +392 -0
- package/src/error-text.ts +28 -0
- package/src/events.ts +9 -0
- package/src/fs.ts +118 -0
- package/src/host/agent-host.ts +124 -0
- package/src/host/environment.ts +31 -0
- package/src/host/handlers.ts +142 -0
- package/src/host/memory-port.ts +27 -0
- package/src/host/wiring.ts +164 -0
- package/src/lineage.ts +159 -0
- package/src/messages/deliver-message.ts +61 -0
- package/src/messages/deliver-notice.ts +120 -0
- package/src/messages/notice-notes.ts +34 -0
- package/src/messages/notice-store.ts +142 -0
- package/src/modes.ts +38 -0
- package/src/outbox/manual-clock.ts +31 -0
- package/src/outbox/outbox-worker.ts +214 -0
- package/src/outbox/outbox.ts +106 -0
- package/src/providers/accounts/accounts.ts +192 -0
- package/src/providers/accounts/launch.ts +55 -0
- package/src/providers/accounts/service.ts +632 -0
- package/src/providers/accounts/shadow-home.ts +85 -0
- package/src/providers/accounts/status.ts +106 -0
- package/src/providers/accounts/store.ts +158 -0
- package/src/providers/accounts/test-accounts.ts +48 -0
- package/src/providers/accounts/variables.ts +132 -0
- package/src/providers/catalog.ts +90 -0
- package/src/providers/claude-models.json +114 -0
- package/src/providers/claude-provider.ts +32 -0
- package/src/providers/claude.ts +123 -0
- package/src/providers/codex-models.json +135 -0
- package/src/providers/codex-provider.ts +30 -0
- package/src/providers/codex-rules.ts +54 -0
- package/src/providers/codex.ts +69 -0
- package/src/providers/detect.ts +40 -0
- package/src/providers/provider.ts +46 -0
- package/src/providers/registry.ts +150 -0
- package/src/record-directory.ts +136 -0
- package/src/run-process.ts +61 -0
- package/src/serializer.ts +41 -0
- package/src/skills.ts +199 -0
- package/src/tasks/background-limit.ts +72 -0
- package/src/tasks/end-children.ts +100 -0
- package/src/tasks/give-task.ts +52 -0
- package/src/tasks/task-coordinator.ts +384 -0
- package/src/tasks/task-store.ts +236 -0
- package/src/tasks/task-work.ts +62 -0
- package/src/tasks/waiting-child.ts +203 -0
- package/src/tasks/wake-parent.ts +142 -0
- package/src/tasks/wiring.ts +231 -0
- package/src/title-file.ts +57 -0
- package/src/usage/accounts.ts +86 -0
- package/src/usage/aggregate.ts +220 -0
- package/src/usage/exchange.ts +93 -0
- package/src/usage/index-file.ts +178 -0
- package/src/usage/limits/monitor.ts +239 -0
- package/src/usage/limits/normalize.ts +188 -0
- package/src/usage/limits/probe.ts +120 -0
- package/src/usage/prices-snapshot.json +1071 -0
- package/src/usage/pricing.ts +236 -0
- package/src/usage/projects.ts +65 -0
- package/src/usage/readers/claude.ts +60 -0
- package/src/usage/readers/codex.ts +196 -0
- package/src/usage/record.ts +60 -0
- package/src/usage/roots.ts +39 -0
- package/src/usage/scanner.ts +265 -0
- package/src/usage/usage-service.ts +161 -0
- package/src/watch-seam.ts +111 -0
- package/src/watch-test-helpers.ts +102 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.1.285",
|
|
3
|
+
"source": "Live direct /compact immediately after resume on 2026-10-01; preceding background sleep lost with disposed process. Non-protocol init fields omitted.",
|
|
4
|
+
"frames": [
|
|
5
|
+
{
|
|
6
|
+
"type": "system",
|
|
7
|
+
"subtype": "hook_started",
|
|
8
|
+
"uuid": "9f68e5d9-140b-4aee-b5b3-67e670cbbd68",
|
|
9
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "system",
|
|
13
|
+
"subtype": "hook_started",
|
|
14
|
+
"uuid": "97b2488c-bfca-4903-bdcb-e743f3fc483b",
|
|
15
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "system",
|
|
19
|
+
"subtype": "hook_started",
|
|
20
|
+
"uuid": "aa5c96da-871f-49eb-8e3e-907de5284a1c",
|
|
21
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "system",
|
|
25
|
+
"subtype": "hook_response",
|
|
26
|
+
"uuid": "17e99c6f-ae58-49bc-92a9-cdfee6a0b840",
|
|
27
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "system",
|
|
31
|
+
"subtype": "hook_response",
|
|
32
|
+
"uuid": "396c09c0-6a71-4ce9-b054-ef2c16eceaa2",
|
|
33
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "system",
|
|
37
|
+
"subtype": "hook_response",
|
|
38
|
+
"uuid": "200f9322-d22a-476a-8607-5c1c4f8b80b0",
|
|
39
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "system",
|
|
43
|
+
"subtype": "task_notification",
|
|
44
|
+
"uuid": "07fa003c-cf6d-4117-9f3c-75a92de64bce",
|
|
45
|
+
"summary": "Background shell command didn't finish before the previous session ended",
|
|
46
|
+
"status": "stopped",
|
|
47
|
+
"task_id": "bni44r6ak",
|
|
48
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1",
|
|
49
|
+
"tool_use_id": "toolu_01N37zPVu9HtKEuABpRbLdeB"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "command_lifecycle",
|
|
53
|
+
"uuid": "62cd0356-9261-4f87-907b-0e1d7b0c07f8",
|
|
54
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "system",
|
|
58
|
+
"subtype": "init",
|
|
59
|
+
"uuid": "26c8e637-1230-4d84-a0fa-e5e01107cef0",
|
|
60
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1",
|
|
61
|
+
"model": "claude-haiku-4-5"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "result",
|
|
65
|
+
"subtype": "success",
|
|
66
|
+
"uuid": "32c3be72-2552-411c-8ef7-6a5853862691",
|
|
67
|
+
"origin": {
|
|
68
|
+
"kind": "task-notification"
|
|
69
|
+
},
|
|
70
|
+
"num_turns": 0,
|
|
71
|
+
"result": "",
|
|
72
|
+
"is_error": false,
|
|
73
|
+
"total_cost_usd": 0.0632323,
|
|
74
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "command_lifecycle",
|
|
78
|
+
"uuid": "8dba0083-697d-407f-add5-88f90ad2c51f",
|
|
79
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "system",
|
|
83
|
+
"subtype": "status",
|
|
84
|
+
"uuid": "d6c02aff-2483-492e-8c3d-3d72e51d551a",
|
|
85
|
+
"status": "compacting",
|
|
86
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "system",
|
|
90
|
+
"subtype": "commands_changed",
|
|
91
|
+
"uuid": "b0066ce9-9df2-46c7-b814-5d4d3b875814",
|
|
92
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "rate_limit_event",
|
|
96
|
+
"uuid": "d26d65ba-9303-4a6b-a803-edfb21986d09",
|
|
97
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "system",
|
|
101
|
+
"subtype": "hook_started",
|
|
102
|
+
"uuid": "9b5873d1-8cfa-4628-86aa-e231dfef040b",
|
|
103
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "system",
|
|
107
|
+
"subtype": "hook_started",
|
|
108
|
+
"uuid": "2b3ed9a4-c51e-4900-9504-df50c6144c9b",
|
|
109
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "system",
|
|
113
|
+
"subtype": "hook_started",
|
|
114
|
+
"uuid": "cf39359b-63cb-4e38-9fb3-4d0bdb8f7e6d",
|
|
115
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "system",
|
|
119
|
+
"subtype": "hook_response",
|
|
120
|
+
"uuid": "20f08c69-665e-49dc-bba3-9a02f6e1d58f",
|
|
121
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "system",
|
|
125
|
+
"subtype": "hook_response",
|
|
126
|
+
"uuid": "1b3b55d1-14a1-4c01-8425-1685e78f4ccc",
|
|
127
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "system",
|
|
131
|
+
"subtype": "hook_response",
|
|
132
|
+
"uuid": "ab19b1b8-22e1-495b-8749-82a19ff14257",
|
|
133
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "system",
|
|
137
|
+
"subtype": "status",
|
|
138
|
+
"uuid": "0828412a-fb42-441e-a351-5cf47f2f9231",
|
|
139
|
+
"status": null,
|
|
140
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "system",
|
|
144
|
+
"subtype": "init",
|
|
145
|
+
"uuid": "e9217bc2-b608-4c16-a378-09a82c29c009",
|
|
146
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1",
|
|
147
|
+
"model": "claude-haiku-4-5"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "system",
|
|
151
|
+
"subtype": "compact_boundary",
|
|
152
|
+
"uuid": "ca2485c6-2cc3-42b1-8df1-e66cb07e2013",
|
|
153
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "user",
|
|
157
|
+
"uuid": "bf1ab40f-0b7d-440c-9e1a-14311ed223b8",
|
|
158
|
+
"message": {
|
|
159
|
+
"role": "user",
|
|
160
|
+
"content": "This session is being continued from a previous conversation that ran out of context. The summary below covers the earlier portion of the conversation.\n\nSummary:\n1. Primary Request and Intent:\n The user provided a single, explicit test instruction: \"Use Bash once with run_in_background true to run sleep 300. Finish immediately by saying OCT1-CAPTURE-READY. Do not wait, poll, edit files or delegate.\" This was presented as part of an authorized, bounded lifecycle acceptance test with the instruction to follow the exact prompt without editing files or using other tools. The intent was to verify correct execution of a background task followed by immediate completion signaling.\n\n2. Key Technical Concepts:\n - Bash tool execution with background flag\n - Background process management (run_in_background: true parameter)\n - Process duration (300 seconds / 5 minutes)\n - Immediate completion without polling or delegation\n - Bounded acceptance test framework\n\n3. Files and Code Sections:\n No files were read, created, or modified in this conversation. The only tool execution was a single Bash command.\n\n4. Errors and fixes:\n No errors occurred. The instruction was executed correctly on the first attempt.\n\n5. Problem Solving:\n No problems required solving. The task was straightforward and executed as specified.\n\n6. All user messages:\n - System reminders and context configuration (non-interactive setup)\n - \"Use Bash once with run_in_background true to run sleep 300. Finish immediately by saying OCT1-CAPTURE-READY. Do not wait, poll, edit files or delegate.\"\n - \"CRITICAL: Respond with TEXT ONLY. Do NOT call any tools. [followed by summary request instructions]\"\n\n7. Pending Tasks:\n None. The bounded test has been completed as requested.\n\n8. Current Work:\n Immediately before this summary request, I had just executed the Bash command `sleep 300` in the background and signaled completion with \"OCT1-CAPTURE-READY\". The background process (ID: bni44r6ak) is still running and will complete in approximately 5 minutes, but no further action is required from me on that task.\n\n9. Optional Next Step:\n None. The user's request was to complete a specific bounded test, which has been accomplished. The background sleep process is running unattended as intended. Any future work would depend on the user's next explicit instruction after this summary is provided.\n\nIf you need specific details from before compaction (like exact code snippets, error messages, or content you generated), read the full transcript at: /Users/bas/.claude/projects/-private-tmp-ruimte-oct1-final-claude-replay/df9bafaa-32dc-491c-a63c-caa613f81db1.jsonl\nContinue the conversation from where it left off without asking the user any further questions. Resume directly \u2014 do not acknowledge the summary, do not recap what was happening, do not preface with \"I'll continue\" or similar. Pick up the last task as if the break never happened."
|
|
161
|
+
},
|
|
162
|
+
"parent_tool_use_id": null,
|
|
163
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "user",
|
|
167
|
+
"uuid": "d4c16392-30f4-4e12-a0c4-4d9397e3758b",
|
|
168
|
+
"message": {
|
|
169
|
+
"role": "user",
|
|
170
|
+
"content": "<local-command-stdout>Compacted </local-command-stdout>"
|
|
171
|
+
},
|
|
172
|
+
"parent_tool_use_id": null,
|
|
173
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"type": "user",
|
|
177
|
+
"uuid": "507d9705-9dc5-4972-8275-c30f40246322",
|
|
178
|
+
"message": {
|
|
179
|
+
"role": "user",
|
|
180
|
+
"content": "<command-name>/compact</command-name>\n <command-message>compact</command-message>\n <command-args></command-args>"
|
|
181
|
+
},
|
|
182
|
+
"parent_tool_use_id": null,
|
|
183
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "result",
|
|
187
|
+
"subtype": "success",
|
|
188
|
+
"uuid": "5247b9bd-e0d1-4179-91ca-785ceb360e00",
|
|
189
|
+
"user_message_uuids": ["507d9705-9dc5-4972-8275-c30f40246322"],
|
|
190
|
+
"num_turns": 0,
|
|
191
|
+
"result": "",
|
|
192
|
+
"is_error": false,
|
|
193
|
+
"total_cost_usd": 0.07698735000000001,
|
|
194
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"type": "command_lifecycle",
|
|
198
|
+
"uuid": "2701f43f-dbee-4e5f-828c-7f86300c3e9d",
|
|
199
|
+
"session_id": "df9bafaa-32dc-491c-a63c-caa613f81db1"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "Claude Code 2.1.285",
|
|
3
|
+
"capturedAt": "2026-10-01",
|
|
4
|
+
"source": "Live stream-json resumed after a native background sleep was interrupted by process disposal. The task-notification result precedes replay of the submitted user prompt. Only task notification, replay and result frames are retained.",
|
|
5
|
+
"frames": [
|
|
6
|
+
{
|
|
7
|
+
"type": "system",
|
|
8
|
+
"subtype": "task_notification",
|
|
9
|
+
"uuid": "6435bd06-bcd0-415b-acde-ec84279465be",
|
|
10
|
+
"summary": "Background shell command didn't finish before the previous session ended",
|
|
11
|
+
"status": "stopped",
|
|
12
|
+
"task_id": "bv233vvac",
|
|
13
|
+
"session_id": "113ca8b9-84dc-4646-a959-edf9c7cf3236"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "result",
|
|
17
|
+
"subtype": "success",
|
|
18
|
+
"uuid": "b68e6412-3ee9-4ea3-8b2e-eade18f2f015",
|
|
19
|
+
"origin": {
|
|
20
|
+
"kind": "task-notification"
|
|
21
|
+
},
|
|
22
|
+
"num_turns": 0,
|
|
23
|
+
"result": "",
|
|
24
|
+
"is_error": false,
|
|
25
|
+
"total_cost_usd": 0.0346902,
|
|
26
|
+
"session_id": "113ca8b9-84dc-4646-a959-edf9c7cf3236"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "user",
|
|
30
|
+
"uuid": "1c98c539-79c7-41ac-abbb-d716c70b8003",
|
|
31
|
+
"message": {
|
|
32
|
+
"role": "user",
|
|
33
|
+
"content": [
|
|
34
|
+
{
|
|
35
|
+
"type": "text",
|
|
36
|
+
"text": "Reply exactly OCT1-CAPTURE-NORMAL. No tools."
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"parent_tool_use_id": null,
|
|
41
|
+
"session_id": "113ca8b9-84dc-4646-a959-edf9c7cf3236"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "result",
|
|
45
|
+
"subtype": "success",
|
|
46
|
+
"uuid": "4871b9e9-083e-4595-aabe-be37112d594d",
|
|
47
|
+
"user_message_uuids": [
|
|
48
|
+
"1c98c539-79c7-41ac-abbb-d716c70b8003"
|
|
49
|
+
],
|
|
50
|
+
"num_turns": 1,
|
|
51
|
+
"result": "OCT1-CAPTURE-NORMAL",
|
|
52
|
+
"is_error": false,
|
|
53
|
+
"total_cost_usd": 0.0394587,
|
|
54
|
+
"session_id": "113ca8b9-84dc-4646-a959-edf9c7cf3236"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{"parentUuid":null,"isSidechain":true,"promptId":"p-1","agentId":"a4c2e8f10b3d5a7e9","type":"user","message":{"role":"user","content":"Survey the docs folder and say what is missing."},"uuid":"u-0001","timestamp":"2026-09-16T08:58:20.551Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
2
|
+
{"parentUuid":"u-0001","isSidechain":true,"agentId":"a4c2e8f10b3d5a7e9","attachment":{"type":"deferred_tools_delta","addedNames":["WebFetch"]},"type":"attachment","uuid":"u-0002","timestamp":"2026-09-16T08:58:20.600Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
3
|
+
{"parentUuid":"u-0002","isSidechain":true,"promptId":"p-1","agentId":"a4c2e8f10b3d5a7e9","type":"user","message":{"role":"user","content":"<system-reminder>Report back when done.</system-reminder>"},"isMeta":true,"uuid":"u-0003","timestamp":"2026-09-16T08:58:20.610Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
4
|
+
{"parentUuid":"u-0003","isSidechain":true,"agentId":"a4c2e8f10b3d5a7e9","message":{"model":"claude-opus-5","id":"msg_01Survey1","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The docs folder first.","signature":"sig"}],"stop_reason":null,"usage":{"input_tokens":2,"cache_creation_input_tokens":100,"cache_read_input_tokens":50,"output_tokens":8}},"requestId":"req_1","type":"assistant","uuid":"u-0004","timestamp":"2026-09-16T08:58:22.344Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
5
|
+
{"parentUuid":"u-0004","isSidechain":true,"agentId":"a4c2e8f10b3d5a7e9","message":{"model":"claude-opus-5","id":"msg_01Survey1","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01Glob","name":"Glob","input":{"pattern":"docs/**/*.md"},"caller":{"type":"direct"}}],"stop_reason":"tool_use","usage":{"input_tokens":2,"output_tokens":40}},"requestId":"req_1","type":"assistant","uuid":"u-0005","timestamp":"2026-09-16T08:58:22.400Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
6
|
+
{"parentUuid":"u-0005","isSidechain":true,"promptId":"p-1","agentId":"a4c2e8f10b3d5a7e9","type":"user","message":{"role":"user","content":[{"type":"tool_result","tool_use_id":"toolu_01Glob","content":"docs/README.md\ndocs/DECISIONS.md"}]},"uuid":"u-0006","timestamp":"2026-09-16T08:58:22.881Z","sourceToolAssistantUUID":"u-0005","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
7
|
+
{"parentUuid":"u-0006","isSidechain":true,"promptId":"p-1","agentId":"a4c2e8f10b3d5a7e9","type":"user","message":{"role":"user","content":[{"type":"text","text":"Skill instructions the CLI added."}]},"isMeta":true,"turnCompanion":true,"uuid":"u-0007","timestamp":"2026-09-16T08:58:22.890Z","sourceToolUseID":"toolu_01Glob","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
8
|
+
{"parentUuid":"u-0007","isSidechain":true,"agentId":"a4c2e8f10b3d5a7e9","message":{"model":"claude-opus-5","id":"msg_01Survey2","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01ChildAgentCall","name":"Agent","input":{"description":"Count the headings","prompt":"Count the headings in docs/DECISIONS.md.","subagent_type":"general-purpose"},"caller":{"type":"direct"}}],"stop_reason":"tool_use","usage":{"input_tokens":2,"output_tokens":60}},"requestId":"req_2","type":"assistant","uuid":"u-0008","timestamp":"2026-09-16T08:58:24.000Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
9
|
+
{"parentUuid":"u-0008","isSidechain":true,"promptId":"p-1","agentId":"a4c2e8f10b3d5a7e9","type":"user","message":{"role":"user","content":[{"type":"tool_result","tool_use_id":"toolu_01ChildAgentCall","content":[{"type":"text","text":"There are 42 headings."}]}]},"uuid":"u-0009","timestamp":"2026-09-16T08:58:40.000Z","sourceToolAssistantUUID":"u-0008","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
10
|
+
{"parentUuid":"u-0009","isSidechain":true,"agentId":"a4c2e8f10b3d5a7e9","message":{"model":"claude-opus-5","id":"msg_01Survey3","type":"message","role":"assistant","content":[{"type":"text","text":"The docs have a README and the decisions; a guide for contributors is missing."}],"stop_reason":"end_turn","usage":{"input_tokens":2,"output_tokens":30}},"requestId":"req_3","type":"assistant","uuid":"u-0010","timestamp":"2026-09-16T08:58:45.000Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"agentType":"general-purpose","description":"Survey the docs","toolUseId":"toolu_01ParentAgentCall","spawnDepth":1,"requestShape":"foreground","requestNonInteractive":true,"model":"opus"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"parentUuid":null,"isSidechain":true,"promptId":"p-2","agentId":"a9b8c7d6e5f4a3b21","type":"user","message":{"role":"user","content":"Count the headings in docs/DECISIONS.md."},"uuid":"g-0001","timestamp":"2026-09-16T08:58:24.100Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
2
|
+
{"parentUuid":"g-0001","isSidechain":true,"agentId":"a9b8c7d6e5f4a3b21","message":{"model":"claude-opus-5","id":"msg_01Count1","type":"message","role":"assistant","content":[{"type":"text","text":"There are 42 headings."}],"stop_reason":"end_turn","usage":{"input_tokens":2,"output_tokens":10}},"requestId":"req_4","type":"assistant","uuid":"g-0002","timestamp":"2026-09-16T08:58:39.000Z","userType":"external","entrypoint":"sdk-cli","cwd":"/work/demo","sessionId":"5f1c2a9e-0b7d-4c1e-9a53-3e2f8d6b7a10","version":"2.1.273","gitBranch":"main","slug":"survey"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"agentType":"general-purpose","description":"Count the headings","toolUseId":"toolu_01ChildAgentCall","parentAgentId":"a4c2e8f10b3d5a7e9","spawnDepth":2}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "codex-cli 0.159.2",
|
|
3
|
+
"capturedAt": "2026-09-30",
|
|
4
|
+
"source": "Live app-server stdio. Root spawned one native child and delayed completion with sleep 25. The child command write in a temporary folder was declined only after root completion. Temporary cwd is redacted. Unrelated frames were omitted.",
|
|
5
|
+
"rootThreadId": "01a0f19d-5e91-7513-9a9a-78e464ac2e92",
|
|
6
|
+
"frames": [
|
|
7
|
+
{
|
|
8
|
+
"method": "item/started",
|
|
9
|
+
"params": {
|
|
10
|
+
"item": {
|
|
11
|
+
"type": "subAgentActivity",
|
|
12
|
+
"id": "call_SU1LgqCHix4oNHa7WZuwBvRQ",
|
|
13
|
+
"kind": "started",
|
|
14
|
+
"agentThreadId": "01a0f19d-7ed5-73e3-8b77-59f8222fdc06",
|
|
15
|
+
"agentPath": "/root/approval_probe"
|
|
16
|
+
},
|
|
17
|
+
"threadId": "01a0f19d-5e91-7513-9a9a-78e464ac2e92",
|
|
18
|
+
"turnId": "01a0f19d-5f0d-7af1-b592-7245fc5ae30e",
|
|
19
|
+
"startedAtMs": 1790760025825
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"method": "item/completed",
|
|
24
|
+
"params": {
|
|
25
|
+
"item": {
|
|
26
|
+
"type": "subAgentActivity",
|
|
27
|
+
"id": "call_SU1LgqCHix4oNHa7WZuwBvRQ",
|
|
28
|
+
"kind": "started",
|
|
29
|
+
"agentThreadId": "01a0f19d-7ed5-73e3-8b77-59f8222fdc06",
|
|
30
|
+
"agentPath": "/root/approval_probe"
|
|
31
|
+
},
|
|
32
|
+
"threadId": "01a0f19d-5e91-7513-9a9a-78e464ac2e92",
|
|
33
|
+
"turnId": "01a0f19d-5f0d-7af1-b592-7245fc5ae30e",
|
|
34
|
+
"completedAtMs": 1790760025825
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"method": "item/commandExecution/requestApproval",
|
|
39
|
+
"params": {
|
|
40
|
+
"kind": "command",
|
|
41
|
+
"threadId": "01a0f19d-7ed5-73e3-8b77-59f8222fdc06",
|
|
42
|
+
"turnId": "01a0f19d-7ee1-7c80-8f3d-121dcb7e6a61",
|
|
43
|
+
"itemId": "exec-682e43ae-7f6d-4104-bba1-606c10792101",
|
|
44
|
+
"startedAtMs": 1790760036365,
|
|
45
|
+
"environmentId": "local",
|
|
46
|
+
"reason": "Protocol probe for a temporary file.",
|
|
47
|
+
"command": "/bin/zsh -lc 'printf sample > approval-probe.txt'",
|
|
48
|
+
"cwd": "<temporary-folder>",
|
|
49
|
+
"commandActions": [
|
|
50
|
+
{
|
|
51
|
+
"type": "unknown",
|
|
52
|
+
"command": "printf sample > approval-probe.txt"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"proposedExecpolicyAmendment": [
|
|
56
|
+
"/bin/zsh",
|
|
57
|
+
"-lc",
|
|
58
|
+
"printf sample > approval-probe.txt"
|
|
59
|
+
],
|
|
60
|
+
"availableDecisions": [
|
|
61
|
+
"accept",
|
|
62
|
+
{
|
|
63
|
+
"acceptWithExecpolicyAmendment": {
|
|
64
|
+
"execpolicy_amendment": [
|
|
65
|
+
"/bin/zsh",
|
|
66
|
+
"-lc",
|
|
67
|
+
"printf sample > approval-probe.txt"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"cancel"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"id": 0
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"method": "turn/completed",
|
|
78
|
+
"params": {
|
|
79
|
+
"threadId": "01a0f19d-5e91-7513-9a9a-78e464ac2e92",
|
|
80
|
+
"turn": {
|
|
81
|
+
"id": "01a0f19d-5f0d-7af1-b592-7245fc5ae30e",
|
|
82
|
+
"items": [
|
|
83
|
+
{
|
|
84
|
+
"type": "agentMessage",
|
|
85
|
+
"id": "msg_097b6f1b3dff4c80016abcd47ab84087d2b0f64d1d0b8f7df2",
|
|
86
|
+
"text": "Spawned exactly one child and completed `sleep 25`. Ending without waiting for the child or its write approval.",
|
|
87
|
+
"phase": "final_answer",
|
|
88
|
+
"memoryCitation": null,
|
|
89
|
+
"delivery": null,
|
|
90
|
+
"questions": null
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"itemsView": "summary",
|
|
94
|
+
"status": "completed",
|
|
95
|
+
"error": null,
|
|
96
|
+
"startedAt": 1790760017,
|
|
97
|
+
"completedAt": 1790760059,
|
|
98
|
+
"durationMs": 41904
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"method": "turn/completed",
|
|
104
|
+
"params": {
|
|
105
|
+
"threadId": "01a0f19d-7ed5-73e3-8b77-59f8222fdc06",
|
|
106
|
+
"turn": {
|
|
107
|
+
"id": "01a0f19d-7ee1-7c80-8f3d-121dcb7e6a61",
|
|
108
|
+
"items": [],
|
|
109
|
+
"itemsView": "notLoaded",
|
|
110
|
+
"status": "interrupted",
|
|
111
|
+
"error": null,
|
|
112
|
+
"startedAt": 1790760025,
|
|
113
|
+
"completedAt": 1790760059,
|
|
114
|
+
"durationMs": 33779
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "codex-cli 0.159.2",
|
|
3
|
+
"capturedAt": "2026-09-30",
|
|
4
|
+
"source": "Live app-server stdio, workspace-write with exclude_tmpdir_env_var and exclude_slash_tmp. One child requested apply_patch outside the workspace but inside the isolated temporary probe folder. The file approval was held across root completion and declined. Paths are redacted; unrelated frames omitted.",
|
|
5
|
+
"rootThreadId": "01a0f1cb-b203-7622-ba34-2b236060399d",
|
|
6
|
+
"frames": [
|
|
7
|
+
{
|
|
8
|
+
"method": "item/started",
|
|
9
|
+
"params": {
|
|
10
|
+
"item": {
|
|
11
|
+
"type": "subAgentActivity",
|
|
12
|
+
"id": "call_sVAHTvH2y4JqK9A4xFgujb1A",
|
|
13
|
+
"kind": "started",
|
|
14
|
+
"agentThreadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
15
|
+
"agentPath": "/root/file_probe"
|
|
16
|
+
},
|
|
17
|
+
"threadId": "01a0f1cb-b203-7622-ba34-2b236060399d",
|
|
18
|
+
"turnId": "01a0f1cb-b25a-7021-ab7c-d8d90902e90d",
|
|
19
|
+
"startedAtMs": 1790763062138
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"method": "item/completed",
|
|
24
|
+
"params": {
|
|
25
|
+
"item": {
|
|
26
|
+
"type": "subAgentActivity",
|
|
27
|
+
"id": "call_sVAHTvH2y4JqK9A4xFgujb1A",
|
|
28
|
+
"kind": "started",
|
|
29
|
+
"agentThreadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
30
|
+
"agentPath": "/root/file_probe"
|
|
31
|
+
},
|
|
32
|
+
"threadId": "01a0f1cb-b203-7622-ba34-2b236060399d",
|
|
33
|
+
"turnId": "01a0f1cb-b25a-7021-ab7c-d8d90902e90d",
|
|
34
|
+
"completedAtMs": 1790763062138
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"method": "item/started",
|
|
39
|
+
"params": {
|
|
40
|
+
"item": {
|
|
41
|
+
"type": "fileChange",
|
|
42
|
+
"id": "exec-e3b6ac70-4d60-4535-ba47-fc5b26fb67f3",
|
|
43
|
+
"changes": [
|
|
44
|
+
{
|
|
45
|
+
"path": "<temporary-folder>/approval-probe.txt",
|
|
46
|
+
"kind": {
|
|
47
|
+
"type": "add"
|
|
48
|
+
},
|
|
49
|
+
"diff": "sample\n"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"status": "inProgress"
|
|
53
|
+
},
|
|
54
|
+
"threadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
55
|
+
"turnId": "01a0f1cb-d37a-7883-8b09-afec79101cd8",
|
|
56
|
+
"startedAtMs": 1790763068850
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"method": "item/fileChange/requestApproval",
|
|
61
|
+
"id": 0,
|
|
62
|
+
"params": {
|
|
63
|
+
"threadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
64
|
+
"turnId": "01a0f1cb-d37a-7883-8b09-afec79101cd8",
|
|
65
|
+
"itemId": "exec-e3b6ac70-4d60-4535-ba47-fc5b26fb67f3",
|
|
66
|
+
"startedAtMs": 1790763068861,
|
|
67
|
+
"reason": null,
|
|
68
|
+
"grantRoot": null
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"method": "turn/completed",
|
|
73
|
+
"params": {
|
|
74
|
+
"threadId": "01a0f1cb-b203-7622-ba34-2b236060399d",
|
|
75
|
+
"turn": {
|
|
76
|
+
"id": "01a0f1cb-b25a-7021-ab7c-d8d90902e90d",
|
|
77
|
+
"items": [
|
|
78
|
+
{
|
|
79
|
+
"type": "agentMessage",
|
|
80
|
+
"id": "msg_02041b3cd17efb35016abce05728cc87d288ed0134a136dfb4",
|
|
81
|
+
"text": "Spawned `file_probe` and ran `sleep 25`. Ending without waiting for the child or approval.",
|
|
82
|
+
"phase": "final_answer",
|
|
83
|
+
"memoryCitation": null,
|
|
84
|
+
"delivery": null,
|
|
85
|
+
"questions": null
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"itemsView": "summary",
|
|
89
|
+
"status": "completed",
|
|
90
|
+
"error": null,
|
|
91
|
+
"startedAt": 1790763053,
|
|
92
|
+
"completedAt": 1790763095,
|
|
93
|
+
"durationMs": 42325
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"method": "item/completed",
|
|
99
|
+
"params": {
|
|
100
|
+
"item": {
|
|
101
|
+
"type": "fileChange",
|
|
102
|
+
"id": "exec-e3b6ac70-4d60-4535-ba47-fc5b26fb67f3",
|
|
103
|
+
"changes": [
|
|
104
|
+
{
|
|
105
|
+
"path": "<temporary-folder>/approval-probe.txt",
|
|
106
|
+
"kind": {
|
|
107
|
+
"type": "add"
|
|
108
|
+
},
|
|
109
|
+
"diff": "sample\n"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"status": "declined"
|
|
113
|
+
},
|
|
114
|
+
"threadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
115
|
+
"turnId": "01a0f1cb-d37a-7883-8b09-afec79101cd8",
|
|
116
|
+
"completedAtMs": 1790763095987
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"method": "turn/completed",
|
|
121
|
+
"params": {
|
|
122
|
+
"threadId": "01a0f1cb-d36d-7222-accf-69eb3a9c7899",
|
|
123
|
+
"turn": {
|
|
124
|
+
"id": "01a0f1cb-d37a-7883-8b09-afec79101cd8",
|
|
125
|
+
"items": [],
|
|
126
|
+
"itemsView": "notLoaded",
|
|
127
|
+
"status": "interrupted",
|
|
128
|
+
"error": null,
|
|
129
|
+
"startedAt": 1790763062,
|
|
130
|
+
"completedAt": 1790763096,
|
|
131
|
+
"durationMs": 33861
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|