Skip to content

Workflows and plans - #505

Draft
Redooz wants to merge 26 commits into
gethouston:mainfrom
Redooz:main
Draft

Workflows and plans#505
Redooz wants to merge 26 commits into
gethouston:mainfrom
Redooz:main

Conversation

@Redooz

@Redooz Redooz commented Jun 11, 2026

Copy link
Copy Markdown

What this scratches for you

Linked issue

Closes #

Summary

Checklist

  • I read the diff myself before opening this PR (AI-assisted is fine, AI-unreviewed is not)
  • I have no other open PRs on this repo
  • pnpm typecheck passes
  • cargo check --workspace passes (if Rust touched)
  • cargo test --workspace passes (if Rust touched)
  • No external frameworks/methodology imported into knowledge-base/ or docs/

Redooz and others added 26 commits June 6, 2026 11:41
… 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>
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>
… 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
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