Workflows and plans - #505
Draft
Redooz wants to merge 26 commits into
Draft
Conversation
… patch Wire vendor/libsql-ffi via [patch.crates-io] so Windows builds use std::fs::copy instead of Unix cp. Add workflow defs, plans, runs, and types with JSON repair for unsalvageable workflow_runs corruption.
Keep libsql-ffi vendoring local-only. Remove the crates.io patch and restore the registry lockfile entry so CI and fresh clones do not depend on a committed vendor tree.
Re-wire [patch.crates-io] to gitignored vendor/libsql-ffi and add a setup script that materializes the crate from the registry with the cp-to-fs::copy fix.
fix(engine): restore local libsql-ffi patch for Windows builds
Add workflow run lifecycle (plan, approve, execute, cancel, resume), engine dispatcher on real provider sessions, orphan-run sweep on boot, workflow events for file watcher reactivity, and /v1/workflows routes. Co-authored-by: Cursor <cursoragent@cursor.com>
feat(engine): workflows phase 2 planner, executor, and REST API
Introduce @houston-ai/workflows with grid, editor, plan approval, step progress, and run history. Wire the Workflows tab in the app with i18n and TanStack Query hooks. Include Composio/Windows stderr fixes and engine-client workflow types. Co-authored-by: Cursor <cursoragent@cursor.com>
feat: add workflows tab UI and run dashboard (phase 4)
…tion Pause runs at requires_approval steps with UI mid-run approval, pass upstream context and step-system instructions so approved agents act instead of re-asking, and harden planner JSON extraction plus Codex quota error propagation. Co-authored-by: Cursor <cursoragent@cursor.com>
Add inline workflow run execution and chat-triggered workflows, plus engine-side scaffolding for structured user questions surfaced in chat. Co-authored-by: Cursor <cursoragent@cursor.com>
Add decoders and card components for structured questions and inline workflow-run links so chat surfaces can render them, with unit tests. Co-authored-by: Cursor <cursoragent@cursor.com>
Pull run rendering into a reusable run-content component used by both the active-run panel and a new inline run card; extend WorkflowRun wire type with inline plan/name/description fields. Co-authored-by: Cursor <cursoragent@cursor.com>
Wire question and workflow-run decoders into the agent chat panel, add inline question/workflow/answer card components and prompt builders, and add en/es/pt question strings. Co-authored-by: Cursor <cursoragent@cursor.com>
Update knowledge-base and agent guides for inline workflow runs and structured questions; add the houston-internals slides. Co-authored-by: Cursor <cursoragent@cursor.com>
Chat-triggered workflows were planning in English because the planner session had no language cue. Instruct the chat agent to author planPrompt in the user's language and tell the planner and synthesis prompts to preserve that language in user-facing task text and reports. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Claude/fix saved step status
Add save-run-as-workflow promotion, mid-run approval gates, inline chat workflow panel with stop/cancel wiring, workflow definition panel in the editor, and Windows smoke scripts. Updates engine routes, client types, i18n, and knowledge-base docs. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Feat/workflow inline promote panel
… missing integrations Add pre-flight toolkit checks, runtime connection markers, and a prose-failure recovery probe so blocked steps pause with waiting_for_connection instead of completing silently. Wire WorkflowConnectionBlockerCard in the app with auto-retry after connect. Co-authored-by: Cursor <cursoragent@cursor.com>
…-gates feat(workflows): show Composio connect cards when workflow steps need…
Add approve/replan chat markers, plan-ready invite, run approval actions, fan-out executor refactor, and step-progress UI updates. Wire session completion to workflow chat triggers and document the flow. Co-authored-by: Cursor <cursoragent@cursor.com>
feat(workflows): plan approval from chat and run UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this scratches for you
Linked issue
Closes #
Summary
Checklist
pnpm typecheckpassescargo check --workspacepasses (if Rust touched)cargo test --workspacepasses (if Rust touched)knowledge-base/ordocs/