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
feat(company-os): roles own workflows of reusable processes — transitions, triggers, skills, meta skills, routine-run processes #18390
Part of #18237. Design: Refined UI mockups OrgChart, ProcessCanvas, ProcessCanvasTable, Roles, Routines (canvas v29–v32); full model on #18245.
Owner model (2026-10-11)
Like a film script: people and agents are actors → they hold roles → roles perform workflows → workflows are made of processes.
Concept
Rule
Role
Owns workflows; holds skills and meta skills; every holder gets them
Workflow
Belongs to one role; has one trigger; a graph of processes joined by typed transitions
Trigger
Manual, schedule, email received, work item status change, webhook, file added to folder, another process's result
Transition
On success · on failure (optional retry N× then) · if condition / else · after timeout; Start, End (Done / Failed)
Process
Reusable across workflows; one owner role; may require skills; may also run alone on a routine (runs as its owner role)
Meta skill
Reusable graph of processes with no trigger and no owning role; roles hold it, workflows call it as one step
Acceptance criteria
Data model and API for roles → workflows → processes, with transitions, triggers, skills, meta skills, and process owner roles — designed against what Company OS already stores (roles, routines, automation workflows); no parallel second registry
A routine runs a process as its owner role; changing the role's holder moves the accountability
Validation surfaced to the UI: process with no on-failure path, if without else, role missing a skill or tool a process needs
Owner decisions (2026-10-12) on the three open questions:
Cross-role handoff: yes, as a transition. A workflow's End or a transition can trigger another role's workflow. Each role's owner stays accountable for its own part, and the handoff is visible on both sides.
Meta-skill delivery: yes, transitively. Holding a meta skill gives the role every skill inside it. The UI shows which skills came through which meta skill.
Relation to Automation: extend it. The existing Automation workflows store becomes the workflow layer, gaining role ownership, processes and transitions. There is no second registry, per this issue's no-parallel-registry AC, and the Automation 'Attached to' chips switch to the new process link.
Activity
mrveiss commentedon Oct 12, 2026
Owner decisions (2026-10-12) on the three open questions:
fix(company-os): legacy workflow routes honour the admin gate, downgr…
refactor(company-os): the Company OS routes use the shared actor_id h…
fix(company-os): legacy writes carry the plain-workflow predicate and…
chore(types): regenerate frontend API types for the train-11 tree (#1…
feat(company-os): roles, workflows and processes data model with comp…
chore(company-os): regenerate api.ts for the Company OS model endpoin…
fix(company-os): give the new symbols their own names, no fork cluste…