Workflows & Reminders
Language: English · 简体中文
Turn repeatable engineering routines — weekly Wiki lints, nightly audits, release verification checklists, or structured triage — into declarative Agentic Workflows (/workflows) or lightweight conversational Reminders.

Visual DAG Editor (/workflows)
Open Work → Workflows to author, run, and inspect *.workflow.json DAGs.
The 5 Node Types
| Node Type | Purpose | Key Behavior |
|---|---|---|
start | Entry point & inputs | Declares workflow parameters and initial artifact addresses. |
agent | Dispatches an Agent Run | Targets any agentId + optional model override; supports JSON outputSchema to enforce structured JSON output. |
script | Sandboxed deterministic script | Runs inside Linux bubblewrap or macOS sandbox-exec with no network, isolated PID namespace, and no access to dataDir or .env. Opt-in via WORKFLOW_SCRIPTS_ENABLED=1. |
human | Human-in-the-loop gate / form | Pauses execution (waiting_human) and renders a web approval or structured question form in both the execution trace and /today. |
end | Terminal state | Marks success or failure and captures final outputs. |
Conditional Routing & Artifacts
- JSON-Logic edges: branch dynamically on an
agentnode's structured output or ahumannode's form answers. - Frozen routing: outgoing edges evaluate once at node completion and freeze into
CompletionRecord.routedTo— past executions never drift on replay. - Join semantics: converging paths use
any-ofjoin semantics. - Typed
artifacts://handoffs: pass reports, diffs, and JSON files between nodes cleanly.
Drafting via Side-Panel Chat (/workflow_design)
- Open any workflow editor and invoke
/workflow_designin the embedded PA side-panel. - The PA generates the DAG and validates it with
parseWorkflow(the runtime's exact schema validator). - Following Propose ≠ Save, the draft opens as an unsaved proposal on the canvas — review every node, edge, and cron trigger, then press Save (
Ctrl+S/Cmd+S).
Cron Triggers & Live Executions
- Attach UTC cron schedules in the Triggers panel (e.g.
0 3 * * 0for Sundays at 03:00 UTC). - Watch node-by-node progress live over SSE on
/workflows/<id>/executions/<executionId>, inspect node logs/outputs/artifacts, submit human forms inline, or cancel running executions cleanly.
Conversational Reminders (/reminder_manage)
For lightweight one-shot or recurring reminders scoped to a single chat thread, invoke /reminder_manage directly in /chat:
remind_me: "Remind me every Monday at 09:00 UTC to check open Requirements."reminder_list: list active reminders in the current conversation.reminder_cancel: cancel a scheduled reminder.