oompa
🌊Factory Flows/OMP-1001

/river

Insert a workflow flowchart diagram

Insert a mermaid flowchart that users can edit inline to model decision trees, workflows, and sequential processes. Smart-fill auto-populates nodes based on document context.

workflowprocessdecision-tree
For: product managers, architects, requirement writers
Integrates with: traceoarielsmo1

Live Demo

See /river in action with CSS-animated examples.

MERMAID: /river
graph TD
  A["Start"] --> B{Decision}
  B -->|Yes| C["Action"]
  B -->|No| D["End"]
  C --> D

Rationale

Flowcharts are the most common visualization in requirements docs. Smart-fill reduces blank-slate friction. Wonka's factory "rivers" (chocolate waterfalls) = natural flow metaphor.

Acceptance Criteria

  • User types "/" → sees /river in suggestions
  • User selects /river → mermaid template inserted
  • If doc title contains "order", "process", "workflow", nodes auto-populate
  • User can edit mermaid source inline
  • On save, block syncs to Traceo, Ariel, SMO1

Demo Type

mermaidInteractive diagram (flowchart, gantt, ER, tree, network, cycle)

Semantic Layers

workflow
process
decision-tree

Federation Integration

This command syncs with the following systems on save:

Traceo

Requirement snapshots, verification matrix, status sync

Ariel

Diagram baselines, config registration, version control

SMO1

Campaign routing, short links, external domain mapping

Requirements Traceability

Specification: OMP-1001

This command is defined in oompa-spec.yaml and part of the official requirement catalog.