Repository navigation
T3 Code clone: show Claude workflow phases and stop native tasks - #771
Conversation
Preserve member usage and timing, dynamic phase plans, and native Stop eligibility for the workflow controls. Co-Authored-By: Codex <noreply@openai.com>
…yeon/t3-up-lineage-workflows
Preserve workflow coordinator state, expandable phases and member metadata. Route native task and workflow Stop to their dedicated operations, and name workflow stops in the work log. Co-Authored-By: Codex <noreply@openai.com>
…yeon/t3-up-lineage-workflows
|
Actual new-server Stop verification passed on source The immutable The exact app
No This is real-runtime operation proof through the app functions. The frozen native UI before/after drive and native button acceptance remain pending behind the current source-control-hosts native lane. |
Co-Authored-By: Codex <noreply@openai.com>
|
Frozen macOS UI evidence at The baseline shows the flat workflow row. The implementation shows named Read/Write phases, reported counts and member rows, plus a hover card with model, status and reported output. Phase collapse/expansion and member navigation were asserted in the same native drive; opening “Inspect parser” selected its actual child thread ID, then the owner was selected again. Native Stop acceptance is pending. The independent-task Stop attempt did not settle its target within 10 seconds; the owner and workflow remained running. The server command receipts and synthetic provider journal contain no new Stop operation. The capture helper discarded the tap reply, so a returned platform refusal has not yet been distinguished from a callback/command issue. Workflow Stop was not attempted after this failure. Existing real-server app-function Stop proof remains separately linked; it does not replace native button acceptance. All recorded apps/drivers exited and the GUI was released. No app source changed for this attempt. The draft remains blocked on the bounded native Stop continuation. |
Native Stop diagnostic: repeated agent command IDFrozen app source: The native Stop reached the official server. Its command ID Checked trace file:
Exact’s agent entropy deliberately repeats per launch seed ( The native journal’s182-byte projection request and432-byte command request fit the corresponding actual Request envelopes; its85-byte reply fits Next acceptance: preserve source/server and run with unique agent seed The companion JSON lists exact checked line numbers/timestamps and only bounded nonsecret metadata. Raw state, credentials, WebSocket tickets and private projection bodies are excluded. |
|
Native Stop acceptance passed with unchanged frozen app source
The server accepted a fresh This resolves the earlier apparatus failure: repeated seed1 reused a UUID already accepted as |
Preserve the updated Details breakpoint and linked-prompt handling alongside workflow controls. Co-Authored-By: Codex <noreply@openai.com>
## Request Claude workflows in Lineage show their named phases and member agents. Users can expand workflows and phases, open available member conversations, inspect reported model/status/output, and stop a workflow or native Claude task while its owner continues running. ## Changes and reasons - Project workflow snapshots into coordinator and member records. Keep coordinator status authoritative when its child conversation has newer activity; phase counts, elapsed times and settled outcomes follow the reported members. - Preserve independent workflow/phase expansion and header pagination. Expanded rows are flattened before rendering, avoiding nested fixed-capacity loops. A running phase starts open; member hover cards use the window layer so scrolling cannot clip them. - Stop strongly identified live native tasks with `subagent.stop`, using the task's owner/run/task identifiers. Workflow Stop uses the dedicated `orchestration.stopWorkflow` write RPC. T3-owned child Stop continues to interrupt only the child with its queue held. Read-only controls and duplicate commands are gated; failures use the upstream toast titles. - Name `t3_workflow_stop` in the work log and count unique coordinator identifiers in grouped summaries. Follows upstream T3 Code `9c161462c9`: `b9afba59f4` (#12598), workflow phases/members and stopWorkflow, and `8c777fbfad` (#17826), stopping a native subagent without stopping its owner. Server behavior and schemas come from merged runtime #740; Lineage controls and layout come from merged #752. No framework source changes. ## Verification Final source `5e256bb82` includes fixed integration `bf8fc606fb`. Native feature acceptance is frozen at `a50a912169ce8c8ebe3e7c20aed08b75a4c5beda`; the integration preserves the updated Details breakpoint and linked-prompt handling alongside workflow controls. | Acceptance | Result | Proof | |---|---|---| | Phase/member projection, attempts, usage, timing, terminal propagation and model metadata | Pass | [Projection cases](https://github.com/ccheever/exact2/blob/a50a912169ce8c8ebe3e7c20aed08b75a4c5beda/examples/t3-code/tests/details/lineage-workflows.test.ts) | | Independent workflow/phase expansion, coordinator grouping/status and member availability | Pass | [Consumer and Contract action cases](https://github.com/ccheever/exact2/blob/a50a912169ce8c8ebe3e7c20aed08b75a4c5beda/examples/t3-code/tests/details/lineage-workflows.test.ts) | | Native task Stop targets its task, workflow Stop targets its coordinator; read-only and refusals | Pass | [Operation cases](https://github.com/ccheever/exact2/blob/a50a912169ce8c8ebe3e7c20aed08b75a4c5beda/examples/t3-code/tests/shell/lineage-native-stop.test.ts) | | Existing T3-owned child Stop and duplicate gate | Pass | [Child Stop cases](https://github.com/ccheever/exact2/blob/a50a912169ce8c8ebe3e7c20aed08b75a4c5beda/examples/t3-code/tests/shell/lineage-stop-subagent.test.ts) | | Workflow Stop tool labels, requested effect, unique counts and effect priority | Pass | [Work-log cases](https://github.com/ccheever/exact2/blob/a50a912169ce8c8ebe3e7c20aed08b75a4c5beda/examples/t3-code/tests/timeline/timeline-tool-calls.test.ts) | | Full app/tool Bun suite | Pass | 6,073 tests, 401 files, 128,801 assertions at final5e256; pinned Bun1.4.2, timeout120s | | Strict TypeScript, caps and whitespace | Pass | App strict typecheck; final caps and staged whitespace pass | | Full Contract preflight | Pass | 122,148 nodes; 6,486 slots; 31 derives; 81 resources; 10,922 actions | | New embedded runtime staging | Pass | Immutable archive SHA-256 verified; 11 Mach-O signatures; isolated startup | | Actual new-runtime native-task/workflow Stop | Pass | Real server and synthetic CLI through exact app shellCommand: task cancelled while workflow/owner run stayed running, then workflow cancelled while owner stayed running. No run.interrupt sent. [Actual readback](#771 (comment)). | | App data Rust tests | 29 pass, 0 fail | Consumer workspace; host-dev; aarch64-apple-darwin | | Signed native bundle | Pass | Frozen `a50a912169`; client `1c54876d6bc8e29b68d346c0`; deep codesign verifies | | Live native before/after, phase/member controls and navigation | Pass | Inspected original window captures and asserted child-thread selection. [Native images and attempt](#771 (comment)) | | Native Stop button acceptance | Pass | Unique seed77119031; fresh accepted Stop UUID, actual SDK stop_task for both current tasks, cancelled targets while owner remains running. [Native readback](#771 (comment)). | ## Native comparison Before/after at the same 1280×840 window size and fixture: the flat workflow row becomes named phases with reported member counts and navigable agent rows. Original pixels are unchanged apart from the label band. Both native Stop buttons subsequently passed the unique-seed operation proof linked below.  ## Native operation proof The [unique-seed native drive](#771 (comment)) completes Stop acceptance at the frozen source. The earlier attempts reused seed1 and collided with an older `thread.visit` receipt; the [retained trace diagnosis](#771 (comment)) and successful fresh UUID establish an apparatus cause. No product repair, database reset or rebuild was needed. Final integration is separately covered by the complete source checks. Keep this PR a draft for coordinator review. ## Known differences No product behavior difference identified. Contract refuses `rem` inside CSS `min()`; this uses the existing `min(${28 * rem}px, 55dvh)` expression to preserve upstream sizing. No framework change is required. --------- Co-authored-by: Codex <noreply@openai.com>




Request
Claude workflows in Lineage show their named phases and member agents. Users can expand workflows and phases, open available member conversations, inspect reported model/status/output, and stop a workflow or native Claude task while its owner continues running.
Changes and reasons
subagent.stop, using the task's owner/run/task identifiers. Workflow Stop uses the dedicatedorchestration.stopWorkflowwrite RPC. T3-owned child Stop continues to interrupt only the child with its queue held. Read-only controls and duplicate commands are gated; failures use the upstream toast titles.t3_workflow_stopin the work log and count unique coordinator identifiers in grouped summaries.Follows upstream T3 Code
9c161462c9:b9afba59f4(#12598), workflow phases/members and stopWorkflow, and8c777fbfad(#17826), stopping a native subagent without stopping its owner. Server behavior and schemas come from merged runtime #740; Lineage controls and layout come from merged #752. No framework source changes.Verification
Final source
5e256bb82includes fixed integration6418f138c1. Native feature acceptance is frozen ata50a912169ce8c8ebe3e7c20aed08b75a4c5beda; the integration preserves the updated Details breakpoint and linked-prompt handling alongside workflow controls.a50a912169; client1c54876d6bc8e29b68d346c0; deep codesign verifiesNative comparison
Before/after at the same 1280×840 window size and fixture: the flat workflow row becomes named phases with reported member counts and navigable agent rows. Original pixels are unchanged apart from the label band. Both native Stop buttons subsequently passed the unique-seed operation proof linked below.
Native operation proof
The unique-seed native drive completes Stop acceptance at the frozen source. The earlier attempts reused seed1 and collided with an older
thread.visitreceipt; the retained trace diagnosis and successful fresh UUID establish an apparatus cause. No product repair, database reset or rebuild was needed.Final integration is separately covered by the complete source checks. Keep this PR a draft for coordinator review.
Known differences
No product behavior difference identified. Contract refuses
reminside CSSmin(); this uses the existingmin(${28 * rem}px, 55dvh)expression to preserve upstream sizing. No framework change is required.