Org Simulation
Agent-guided organization design simulation model inspired by the Curious Duck simulation studio (ducksimng.onrender.com). Capture an organization as a topology of teams, repos/modules, environments (with a defect/reliability model), and customer bases, wired together by connectors. Then run a deterministic, seedable flow simulation to estimate feature/bug cycle times, defect detection, find-vs-fix balance, and customer sentiment (NPS) under a chosen deploy policy.
Designed for organization design exploration: model the current org, model a proposed redesign, run both, and compare the versioned outcomes to decide whether a structural change is worth making. The agent interviews, the model simulates and persists.
2026.07.23.1
Added: Initial release of @webframp/org-simulation, an agent-guided
organization design simulation model inspired by the Curious Duck simulation
studio (ducksimng.onrender.com).
design_topology— capture an organization as a topology of teams, repos/modules, environments (with a defect/reliability model), and customer bases wired by connectors, under a named scenario label ("current"for as-is, or a descriptive label for a proposed redesign).run_simulation— run a deterministic, seedable flow simulation against a topology scenario, estimating feature/bug cycle times, defect detection and find-vs-fix balance, customer sentiment (NPS), and environment reliability over a configurable time horizon.record_design_decision— record an adopt/reject/iterate/hold decision comparing a proposed scenario's simulated outcomes against a baseline, with quantified deltas and risks the simulation can't capture.
Three resources track the model's data: topology, simulation_results, and
design_decision, each versioned per scenario/seed/comparison.
Global Arguments
| Argument | Type | Description |
|---|---|---|
| organizationContext | string | Brief description of the organization, its size, business, and the team area under design |
| defectModel | object | Global defect-model parameters shared across all environments |
| Argument | Type | Description |
|---|---|---|
| scenarioLabel | string | Label for this topology snapshot — 'current' for the as-is org, or a proposed-design name like 'split-platform-team' |
| widgets | array | Widgets on the organization canvas (teams, repos, environments, customer bases) |
| connectors | array | Wires between widgets |
| notes? | string | Context about this snapshot — what it represents and why |
| Argument | Type | Description |
|---|---|---|
| scenarioLabel | string | Which topology snapshot to run. Must match a label previously passed to design_topology, or 'current'. |
| seed | number | RNG seed for deterministic, reproducible runs. Use different seeds to estimate variance. |
| horizon? | enum | Override the topology's metrics.horizon for this run. Defaults to the topology's configured horizon. |
| Argument | Type | Description |
|---|---|---|
| baselineLabel | string | Label of the baseline scenario results were compared against |
Resources
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned