Skip to content

feat(company-os): roles own workflows of reusable processes — transitions, triggers, skills, meta skills, routine-run processes #18390

Open
1 of 1 issue completed

Description

@mrveiss

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
  • UI per the mockups (Refined UI step 5c · Company OS, Automation and Business intelligence #18245)

Needs a decision before building

  • Can one role's workflow hand off to (trigger) another role's workflow? Not modelled in the mockups.
  • Does a skill delivered through a held meta skill count as held by the role? Mockups assume yes.
  • How this maps onto existing Automation workflows (Automation screen "Attached to" chips still show the old process link).

Generated by Claude Code

Activity

  1. mrveiss commented on Oct 12, 2026

    @mrveiss
    OwnerAuthor

    Owner decisions (2026-10-12) on the three open questions:

    1. 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.
    2. 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.
    3. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions