oompa
🌊Factory Flows/OMP-1004

/loom

Insert a state machine diagram

Create a tree/hierarchy diagram for organizational structures, taxonomies, and state machines. Smart-fill detects org keywords and auto-populates structure.

hierarchystateorganization
For: architects, state machine designers
Integrates with: traceosmo1

Live Demo

See /loom in action with CSS-animated examples.

MERMAID: /loom
graph TD
  Root["Root"]
  Root --> A["State A"]
  Root --> B["State B"]
  A --> C["State C"]

Rationale

State machines and hierarchies are needed for system architecture docs. "Loom" = rigid framework structure (palette name for /lattice).

Acceptance Criteria

  • /loom creates tree template with root node
  • User can add children, customize labels
  • If doc mentions state-related keywords, auto-populates
  • On save, federated to Traceo + SMO1

Demo Type

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

Semantic Layers

hierarchy
state
organization

Federation Integration

This command syncs with the following systems on save:

Traceo

Requirement snapshots, verification matrix, status sync

SMO1

Campaign routing, short links, external domain mapping

Requirements Traceability

Specification: OMP-1004

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