Skip to content

Process definition

A Process definition is a keyed step map with a prose body, naming the Verb Functions and Trigger actions that run it.

PropertyValue
Pathworkflows/[process]/index.mdx
HoldsProcess
Kindfile
Leadersdb-first, git-first
TeamOperations Team
Written byChange.merge
Compiled byStartupBuilder

Example

workflows/close/index.mdx in a Startup repository.

workflows/close/index.mdx
---
owner: finance/controller
metric: days-to-close
target: 3
stakes: high
---
Every client's month is reconciled, reviewed and closed within three business days of month end.

Props

The frontmatter keys the file takes. The body is its prose.

PropTypeRequiredDescription
ownerRolerequiredThe Role accountable for it, by path in agents/.
teamTeamThe Team it belongs to; the owner’s by default.
metricMetricThe Metric it moves.
targetnumberThe value the owner is judged on.
stakesstringDefault stakes for its Workflows: low or high.

Generates

StartupBuilder compiles it into these records, Verbs and routes.

KindWhat
RecordsProcess
VerbsProcess.enable
RoutesNone.