Skip to content

feat: workflow engine with human-in-the-loop review, schedules, CEO command, and UI improvements#1170

Open
natsukuu wants to merge 1 commit into
multica-ai:mainfrom
natsukuu:feat/workflow-engine-and-ui-improvements
Open

feat: workflow engine with human-in-the-loop review, schedules, CEO command, and UI improvements#1170
natsukuu wants to merge 1 commit into
multica-ai:mainfrom
natsukuu:feat/workflow-engine-and-ui-improvements

Conversation

@natsukuu
Copy link
Copy Markdown

Summary

This PR adds a complete workflow engine with human-in-the-loop review, a schedule system, a CEO command panel, and several UI improvements.

Workflow Engine

  • Multi-step sequential execution and orchestration mode
  • Human-in-the-loop review: any step can set needs_review: true, pausing the workflow for manual approval before continuing
  • Workflow run duration display and history sidebar
  • Cross-step work directory sharing (work_dir propagation via workflow_run)
  • Prevent @mention from bypassing workflow step ordering

Schedule System

  • Cron-triggered workflow execution
  • Schedule management UI with create/edit/delete/toggle

CEO Command Panel

  • One-line command interface to dispatch instructions
  • Optional skip-review shortcut mode
  • Enhanced with once-at scheduling and workflow selection

UI Improvements

  • Issue list date range filter (calendar component)
  • @mention extension fix (dual markdown parse strategy: link-like + shortcode fallback)
  • @mention dropdown click fix (mousedown preventDefault)
  • Sidebar navigation for workflows, schedules, and command

Database Migrations

  • 046: workflow tables (workflow, workflow_step, workflow_run, workflow_step_run)
  • 047: schedule tables
  • 048: orchestrated workflow enhancements
  • 049: CEO command table
  • 050: CEO command enhancements (once_at, workflow_id)
  • 051: workflow_run.work_dir column

Why This Matters

The official version lacks workflow orchestration capabilities. This PR adds a complete workflow engine supporting multi-step sequential execution and orchestration mode. The key highlight is Human-in-the-Loop Review at every node — maintaining human control over critical decisions while AI executes automatically. Combined with cron scheduling and the CEO command panel, it forms a complete "command → execute → review → feedback" closed loop.

…ommand, and UI improvements

## Workflow Engine
- Multi-step sequential execution and orchestration mode
- Human-in-the-loop review: any step can set needs_review: true, pausing workflow for manual approval
- Workflow run duration display and history sidebar
- Cross-step work directory sharing (work_dir propagation via workflow_run)
- Prevent @mention from bypassing workflow step ordering

## Schedule System
- Cron-triggered workflow execution
- Schedule management UI with create/edit/delete/toggle

## CEO Command Panel
- One-line command interface to dispatch instructions
- Optional skip-review shortcut mode
- Enhanced with once-at scheduling and workflow selection

## UI Improvements
- Issue list date range filter (calendar component)
- @mention extension fix (dual markdown parse strategy: link-like + shortcode fallback)
- @mention dropdown click fix (mousedown preventDefault)
- Sidebar navigation for workflows, schedules, and command

## Database Migrations
- 046: workflow tables (workflow, workflow_step, workflow_run, workflow_step_run)
- 047: schedule tables
- 048: orchestrated workflow enhancements
- 049: CEO command table
- 050: CEO command enhancements (once_at, workflow_id)
- 051: workflow_run work_dir column
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
multica-web Ignored Ignored Apr 16, 2026 10:31am
multica-web-production Ignored Ignored Apr 16, 2026 10:31am

Request Review

@leaanthony
Copy link
Copy Markdown

This would be 👌

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.

2 participants