Skip to content

feat(products): composable multi-dimensional topology in the domain (CR-08)#35

Merged
beyondnetPeru merged 1 commit into
developfrom
feat/cr-08-composable-topology
Jul 8, 2026
Merged

feat(products): composable multi-dimensional topology in the domain (CR-08)#35
beyondnetPeru merged 1 commit into
developfrom
feat/cr-08-composable-topology

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Brings the ADR-0079 composed topology model into the domain (was a single Topology string).

  • TopologyCatalog (authoritative: 5 dimensions + composableWith) + TopologySet VO — hard validation mirrors the frontend (required dims + valid-per-dimension); composability is non-blocking CompositionWarnings so canonical blueprint sets stay valid.
  • Product.SetProductTopologySet (derives legacy Topology), jsonb topology_set + additive migration AddProductTopologySet, POST /{id}/topology-set.

Build -warnaserror 0 warnings; 458→473 tests. Closes CR-08 (Core sync deferred on GAP-004).

🤖 Generated with Claude Code

…CR-08, ADR-0079)

Brings the composed topology model into the domain instead of a single Topology string. New authoritative TopologyCatalog (5 dimensions + composableWith rules) and TopologySet value object: hard validation mirrors the frontend validateTopologySet (required dimensions present + topology valid for its dimension; UnknownDimension/InvalidTopologyForDimension/MissingRequiredDimension), with composability surfaced as non-blocking CompositionWarnings so canonical blueprint sets stay valid. Product gains a TopologySet prop + SetProductTopologySet (derives the legacy Topology from progressive-axis); persisted as jsonb topology_set via an additive migration AddProductTopologySet; new POST /{id}/topology-set endpoint. Build Release -warnaserror 0 warnings; 458->473 tests. Marks CR-08 DONE (Core sync deferred on GAP-004; unifying the Presentation static catalog with TopologyCatalog is a noted follow-up).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@beyondnetPeru beyondnetPeru merged commit 64da0a9 into develop Jul 8, 2026
2 checks passed
@beyondnetPeru beyondnetPeru deleted the feat/cr-08-composable-topology branch July 8, 2026 05:04
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