Process definition
A Process definition is a keyed step map with a prose body, naming the Verb Functions and Trigger actions that run it.
| Property | Value |
|---|---|
| Path | workflows/ |
| Holds | Process |
| Kind | file |
| Leaders | db-first, git-first |
| Team | Operations Team |
| Written by | Change.merge |
| Compiled by | StartupBuilder |
Example
workflows/ in a Startup repository.
---
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.
| Prop | Type | Required | Description |
|---|---|---|---|
owner | Role | required | The Role accountable for it, by path in agents/. |
team | Team | The Team it belongs to; the owner’s by default. | |
metric | Metric | The Metric it moves. | |
target | number | The value the owner is judged on. | |
stakes | string | Default stakes for its Workflows: low or high. |
Generates
StartupBuilder compiles it into these records, Verbs and routes.
| Kind | What |
|---|---|
| Records | Process |
| Verbs | Process.enable |
| Routes | None. |