Skip to content

feat: add gds-business package — business dynamics DSL#74

Merged
rororowyourboat merged 5 commits intomainfrom
dev
Feb 28, 2026
Merged

feat: add gds-business package — business dynamics DSL#74
rororowyourboat merged 5 commits intomainfrom
dev

Conversation

@rororowyourboat
Copy link
Collaborator

Summary

  • New gds-business package with 3 diagram types compiling to GDS role blocks and composition trees:
    • CLD (Causal Loop Diagrams) — stateless signal relay, h = g
    • SCN (Supply Chain Networks) — stateful inventory dynamics, h = f ∘ g
    • VSM (Value Stream Maps) — partially stateful process chains, h = g or h = f ∘ g
  • 11 domain verification checks (CLD-001..003, SCN-001..004, VSM-001..004) with union-dispatch verify() engine
  • 175 tests at 95% coverage, lint clean
  • Full documentation — package overview, getting started guide, diagram types reference, verification guide, and 16 auto-generated API reference pages
  • Workspace integration — root pyproject.toml updated with deps, sources, ruff config; mkdocs.yml nav updated; ecosystem index updated

Test plan

  • uv run --package gds-business pytest packages/gds-business/tests -v — 175 passed
  • uv run ruff check packages/gds-business/ — all checks passed
  • uv run ruff format --check packages/gds-business/ — all formatted
  • uv run mkdocs build --strict — docs build clean
  • Canonical spectrum verified: CLD stateless, SCN stateful, VSM conditionally stateful

🤖 Generated with Claude Code

Six diagram types (DFD, state machine, component, C4, ERD, dependency)
compiled to GDS specifications with 27 verification checks and 223 tests.
Each diagram type follows the standard DSL pattern: elements, model,
compiler (GDSSpec + SystemIR), and domain-specific checks.
Demonstrates gds-software DFD DSL with a classic order processing
scenario — 2 external entities, 3 processes, 2 data stores, 11 data
flows. Includes 46 tests covering model, compilation, verification,
canonical decomposition, and query API.
Alias duplicate imports with underscore prefixes so marimo treats them
as cell-private. Fixes "was defined by another cell" errors in the
verification and visualization guide notebooks.
Three diagram types compiling to GDS role blocks and composition trees:

- CLD (Causal Loop Diagrams): stateless signal relay, h = g
- SCN (Supply Chain Networks): stateful inventory dynamics, h = f ∘ g
- VSM (Value Stream Maps): partially stateful process chains

11 domain verification checks (CLD-001..003, SCN-001..004, VSM-001..004),
verification engine with union dispatch, 175 tests at 95% coverage.
Package overview, getting started tutorial, diagram types guide,
verification guide, and 16 auto-generated API reference pages.
Updated mkdocs.yml nav and ecosystem index.
@rororowyourboat rororowyourboat merged commit a9b8f7f into main Feb 28, 2026
10 checks passed
rororowyourboat added a commit that referenced this pull request Feb 28, 2026
Merge pull request #74 from BlockScience/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant