Skip to content

feat(tui): inspect and recover dynamic workflow runs - #173

Merged
kingsword09 merged 3 commits into
mainfrom
codex/dynamic-workflow-panel
Sep 24, 2026
Merged

kingsword09 merged 3 commits into
mainfrom
codex/dynamic-workflow-panel

Conversation

@kingsword09

Copy link
Copy Markdown
Owner

Add /workflows to inspect dynamic workflow progress, agents, token usage and artifact summaries, with keyboard actions to stop or resume through the current runtime's /dwf commands.

Connect the existing list/replay/session-event callbacks and expose the runtime's own workflow reducer through an optional compatibility patch. Replay and live events share that reducer; duplicate delivery, late session hydration and synthetic interrupted-run settlement are handled explicitly. Progress counts describe observed steps, not an invented overall percentage. Older runtimes retain summary-only inspection when the reducer is unavailable.

Validation:

  • Typecheck and locked Desktop 3.14.3 build/runtime checks
  • Unit suite (655 passed before the added interrupted-resume regression; updated workflow tests also passed)
  • Full TUI suite and 60/110-column keyboard scenarios
  • Terminal smoke suite
  • Independent review: all three findings resolved (interrupted resume, picker status race, overflow messaging)

If the bounded live-event buffer overflows, the view labels progress incomplete and directs users to /dwf list; the runtime cannot replay every live run in the same process.

@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
npx https://pkg.pr.new/zcode-app-cli@8a03a50

commit: 8a03a50

Preserve context cache invalidation alongside dynamic workflow events and keep both terminal regression suites.
@kingsword09
kingsword09 merged commit 618b1a0 into main Sep 24, 2026
7 checks passed
@kingsword09
kingsword09 deleted the codex/dynamic-workflow-panel branch September 24, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant