Issue 16900 final-head runtime evidence — sanitized independent read-only capture Captured UTC: 2026-10-22T21:03:06.167814+00:00 Runtime tested head: 8ede7461b5a92f50a85ee1e3f143565293472b0c Base: 22840ab943b8418744b48223411e46ba4fdcef1a Branch: fix/issue-16900 Environment (primary-reported): real vp run dev web app; isolated worktree .t3; Linux x64; 1280x800; Codex 0.163.0; gpt-6.1-sol; full access. Persisted child model options independently observed: reasoningEffort=low. Capture method: Python sqlite3.connect("file:.t3/userdata/statev2.sqlite?mode=ro", uri=True). Tables: orchestration_v2_projection_messages (text/provenance from payload_json), orchestration_v2_projection_runs, orchestration_v2_projection_subagents, corroborating projection_turn_items. Only designated parent and final attempt >=21:00Z selected. Actual thread/native IDs replaced by ROOT, A, B; run ordinals retained. No seeded conversations exported. SCRIPTED STEPS 1. Primary opens isolated real web client at tested head. 2. At 21:00:32.495Z submits prompt below. 3. Parent launches native A/B, then ends. No wait/poll requested. 4. Allow native completion and automatic continuation; independently inspect persisted records without sending prompts or starting browser/server. MESSAGES (exact text; identity fields omitted) {"at": "2026-10-22T21:00:32.495Z", "updatedAt": "2026-10-22T21:00:32.495Z", "run": 7, "role": "user", "createdBy": "user", "creationSource": "web", "notification": null, "text": "Final-head issue16900 verification. Spawn two native collaboration.spawn_agent helpers. Helper A runs sleep 25 then returns FINAL_16900_A_DONE; helper B runs sleep 40 then returns FINAL_16900_B_DONE. Immediately end parent turn with FINAL_16900_PARENT_IDLE, without wait_agent or polling. On automatic completion notifications, acknowledge each result exactly as received and say FINAL_16900_RESUMED. Do not launch more work or send manual messages."} {"at": "2026-10-22T21:00:42.414Z", "updatedAt": "2026-10-22T21:00:42.564Z", "run": 7, "role": "assistant", "createdBy": "agent", "creationSource": "provider", "notification": null, "text": "FINAL_16900_PARENT_IDLE"} {"at": "2026-10-22T21:01:15.084Z", "updatedAt": "2026-10-22T21:01:15.084Z", "run": 8, "role": "user", "createdBy": "agent", "creationSource": "server", "notification": {"outcome": "completed", "summary": "Subagent \"/root/final_16900_a\" finished"}, "text": "Subagent completed: /root/final_16900_a\n\nResult:\nFINAL_16900_A_DONE"} {"at": "2026-10-22T21:01:17.277Z", "updatedAt": "2026-10-22T21:01:17.548Z", "run": 8, "role": "assistant", "createdBy": "agent", "creationSource": "provider", "notification": null, "text": "FINAL_16900_A_DONE\nFINAL_16900_RESUMED"} {"at": "2026-10-22T21:01:25.799Z", "updatedAt": "2026-10-22T21:01:25.799Z", "run": 9, "role": "user", "createdBy": "agent", "creationSource": "server", "notification": {"outcome": "completed", "summary": "Subagent \"/root/final_16900_b\" finished"}, "text": "Subagent completed: /root/final_16900_b\n\nResult:\nFINAL_16900_B_DONE"} {"at": "2026-10-22T21:01:27.854Z", "updatedAt": "2026-10-22T21:01:28.150Z", "run": 9, "role": "assistant", "createdBy": "agent", "creationSource": "provider", "notification": null, "text": "FINAL_16900_B_DONE\nFINAL_16900_RESUMED"} RUNS {"ordinal": 7, "status": "completed", "requestedAt": "2026-10-22T21:00:32.495Z", "startedAt": "2026-10-22T21:00:34.473Z", "completedAt": "2026-10-22T21:00:42.683Z", "modelSelection": {"instanceId": "codex", "model": "gpt-6.1-sol"}} {"ordinal": 8, "status": "completed", "requestedAt": "2026-10-22T21:01:15.084Z", "startedAt": "2026-10-22T21:01:15.230Z", "completedAt": "2026-10-22T21:01:17.653Z", "modelSelection": {"instanceId": "codex", "model": "gpt-6.1-sol"}} {"ordinal": 9, "status": "completed", "requestedAt": "2026-10-22T21:01:25.799Z", "startedAt": "2026-10-22T21:01:25.911Z", "completedAt": "2026-10-22T21:01:28.238Z", "modelSelection": {"instanceId": "codex", "model": "gpt-6.1-sol"}} NATIVE CHILDREN (both direct children of ROOT/run 7 root node) {"title": "/root/final_16900_a", "origin": "provider_native", "status": "completed", "startedAt": "2026-10-22T21:00:37.000Z", "completedAt": "2026-10-22T21:01:15.000Z", "updatedAt": "2026-10-22T21:01:15.041Z", "result": "FINAL_16900_A_DONE", "modelSelection": {"instanceId": "codex", "model": "gpt-6.1-sol", "options": [{"id": "reasoningEffort", "value": "low"}]}} {"title": "/root/final_16900_b", "origin": "provider_native", "status": "completed", "startedAt": "2026-10-22T21:00:40.000Z", "completedAt": "2026-10-22T21:01:25.000Z", "updatedAt": "2026-10-22T21:01:25.782Z", "result": "FINAL_16900_B_DONE", "modelSelection": {"instanceId": "codex", "model": "gpt-6.1-sol", "options": [{"id": "reasoningEffort", "value": "low"}]}} EXPECTED / ACTUAL Expected: root ends first, each late direct child completion wakes settled root once with exact result, without manual input. Actual: run7 completed 21:00:42.683Z < A completed 21:01:15.000Z < run8 started 21:01:15.230Z; run8 completed 21:01:17.653Z < B completed 21:01:25.000Z < run9 started 21:01:25.911Z. Both continuations completed with exact A/B result and FINAL_16900_RESUMED. Exactly one web-created user prompt, two agent/server-created notification inputs, three completed parent runs in selected interval. No duplicate continuation in persisted state at capture. Turn items contain native children, assistant replies, notifications and checkpoints; no parent wait/poll item in selected attempt. Observation is bounded at capture time, not a guarantee against arbitrarily delayed future duplicates. MERGE EQUIVALENCE After runtime, primary merged updated main ef92441313 into branch. Current checkout: b80e32bfa26fd97de029cc44d27ce73c6e187cad Exact command: git diff 8ede7461b5..HEAD -- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts Output: EMPTY apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts tested/current blobs: 200f05ea7ef1968c7284980c80c9e45b7763282a / 200f05ea7ef1968c7284980c80c9e45b7763282a apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts tested/current blobs: 7abc1bdf79ae5904c05a832d951c730b66754980 / 7abc1bdf79ae5904c05a832d951c730b66754980 This proves unchanged changed-file contents across merge; runtime remains attributed to 8ede7461b5, not the merge. VISUAL MATRIX Changed visible list: none. Required rows: 0; captured rows: 0 (0/0). No renderer/style/layout/assets/client/contracts changed. Server behavioral proof uses runtime transcript and regression tests. No screenshots or recordings required. TEST EVIDENCE Primary reports red regression at 98d149dbae149f96137922277e96299d86007a65: expected continuation length 1, actual 0; reports 103 scoped tests passing at final implementation. Exact command/log confirmation requested; merge rerun underway. Not independently rerun by evidence collector. Do not treat reported counts as attached execution logs. BEFORE Prior runtime: https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/454ea3b43e7070c5/runtime-before.txt Root completed 20:32:07.489Z, child completed 20:33:14Z, no automatic continuation; manual recovery later consumed result. Final attempt above demonstrates corrected late-child behavior. FRICTION Public artifact URLs failed in web reader; fetched successfully via curl. Requested short table names are suffixes: actual SQLite names use orchestration_v2_projection_ prefix. Exact test commands/logs not yet supplied. Broader matrix cases (foreground active root, later active root, nested child, resumed child, failed/interrupted parent/child and recovery) are not runtime-proven by this final attempt; source/replay evidence must be labeled separately. No new runtime scenarios launched under read-only capture scope. No edits, commits, browsers, servers or forge writes; running server untouched. Only own scratch created and removed after upload.