.kiwi/workflows/. Pages reference them with frontmatter keys workflow and state.
Base path: http://localhost:3333/api/kiwi.
List and read
Save definition
name from the URL segment and validates structure.
Delete a workflow
state but can no longer be advanced.
Assign a page to a workflow
workflow and state frontmatter fields on the page. Use this to onboard a page into a workflow for the first time.
Advance a page
- Requires the page to have
workflowandstatein frontmatter. - Validates
(state → target_state)against the workflow’stransitions. - Writes the page with updated
statevia the normal pipeline.
409 when the transition is not allowed.
Reorder items on the board
paths array defines the new order top-to-bottom.
Kanban board
{ "workflow": { ... }, "board": { "<state>": [ { "path", "title", ... } ] } } grouping markdown pages that declare the given workflow name.
MCP parity
kiwi_workflow_list, kiwi_workflow_get, kiwi_workflow_save, kiwi_workflow_advance, kiwi_workflow_board — see MCP.