You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FUTURE] Implement Workflow/Automation System #334
Implement event-driven workflow engine that allows users to define automations triggered by node events.
Status: FUTURE - This is a placeholder issue for tracking. Design and implementation details will be added after foundational work (#332, #333, #312, #106) is complete.
Triage: closing as superseded by the playbook engine
This issue was filed as a [FUTURE] placeholder, explicitly gated on #332, #333, #312, #106. All four are now closed (the last, #312, closed 2026-05-17) — so the issue's own stated gate cleared about four months ago. In the interim, the concept described here was independently designed and implemented under a different name: the playbook engine (packages/core/src/playbook/), specified in playbook-system.md / playbook-engine.md in nodespace-docs.
It is the same trigger → conditions → actions model this issue asked for, mapped directly:
A playbook node (node_type: "playbook") stored in the universal graph — same concept, stored as a node rather than a dedicated SQL table, consistent with NodeSpace's "everything is a node" model
Event bus integration for triggers
PlaybookEngine subscribes to the domain-event broadcast channel for graph_event triggers (node_created, property_changed, relationship_added, relationship_removed), plus a scheduled/cron trigger type this issue didn't ask for
Exactly create_node, update_node, plus add_relationship / remove_relationship — packages/core/src/playbook/actions.rs
Conditions
CEL expressions (cel-interpreter) with dot-path graph traversal and collection operators (.any, .all, .where) — considerably richer than the flat condition dict in this issue's example
MCP tools for workflow management
Per ADR-035 (2026-05-30), MCP was removed org-wide as the agent-integration surface in favor of the nodespace CLI + skill guidance. The playbook system's external control surface (list_playbooks, enable_playbook / disable_playbook, get_workflow_state, playbook logs) is specified and tracked as CLI verbs + skill guidance rather than MCP tools — see #2563
This is already a complete, unit-tested Rust runtime (CEL evaluation, sequential action execution, cron scheduling, single-device cycle detection, save-time validation) — but it isn't wired up end-to-end yet. The remaining work is tracked on the playbook-engine issues, not here:
Closing this as superseded to consolidate tracking: the concept, data model, and even most of the vocabulary ("trigger", "conditions", "actions", create_node, update_node) is realized by the playbook engine, just built under a different name, with a richer condition language and a graph-node storage substrate instead of a dedicated table. Keeping both open invites exactly the duplicate-effort/confusion risk this triage was meant to catch. Future workflow/automation work should happen on the playbook-engine thread (#2562 / #2563 / #2565 and any follow-ons), not here.
Activity
mstomar125 commentedon Sep 11, 2026
Triage: closing as superseded by the playbook engine
This issue was filed as a
[FUTURE]placeholder, explicitly gated on #332, #333, #312, #106. All four are now closed (the last, #312, closed 2026-05-17) — so the issue's own stated gate cleared about four months ago. In the interim, the concept described here was independently designed and implemented under a different name: the playbook engine (packages/core/src/playbook/), specified inplaybook-system.md/playbook-engine.mdin nodespace-docs.It is the same
trigger → conditions → actionsmodel this issue asked for, mapped directly:workflow_definitionstable)playbooknode (node_type: "playbook") stored in the universal graph — same concept, stored as a node rather than a dedicated SQL table, consistent with NodeSpace's "everything is a node" modelPlaybookEnginesubscribes to the domain-event broadcast channel forgraph_eventtriggers (node_created,property_changed,relationship_added,relationship_removed), plus ascheduled/cron trigger type this issue didn't ask for{trigger.node.id},{trigger.property.new_value},{actions[n].result.id},{item.*}) —packages/core/src/playbook/actions.rs/cel.rscreate_node,update_node, etc.)create_node,update_node, plusadd_relationship/remove_relationship—packages/core/src/playbook/actions.rscel-interpreter) with dot-path graph traversal and collection operators (.any,.all,.where) — considerably richer than the flat condition dict in this issue's examplenodespaceCLI + skill guidance. The playbook system's external control surface (list_playbooks,enable_playbook/disable_playbook,get_workflow_state, playbook logs) is specified and tracked as CLI verbs + skill guidance rather than MCP tools — see #2563This is already a complete, unit-tested Rust runtime (CEL evaluation, sequential action execution, cron scheduling, single-device cycle detection, save-time validation) — but it isn't wired up end-to-end yet. The remaining work is tracked on the playbook-engine issues, not here:
PlaybookEngineinto daemon startup (PlaybookEngine::start()currently has zero call sites anywhere in the repo — no rule can fire in production yet), gated to locally-originated events per ADR-073get-workflow-statevia CLI + skill guidance + a local-agent tool — this is where [FUTURE] Implement Workflow/Automation System #334's "MCP tools for workflow management" ask actually lands, translated through ADR-035Closing this as superseded to consolidate tracking: the concept, data model, and even most of the vocabulary ("trigger", "conditions", "actions",
create_node,update_node) is realized by the playbook engine, just built under a different name, with a richer condition language and a graph-node storage substrate instead of a dedicated table. Keeping both open invites exactly the duplicate-effort/confusion risk this triage was meant to catch. Future workflow/automation work should happen on the playbook-engine thread (#2562 / #2563 / #2565 and any follow-ons), not here.