-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Open
Copy link
Labels
area:mappingarea:modelpriority: highstatus:waiting-for-releasetype:featureuser-facing capability (metrics/trends/rules)user-facing capability (metrics/trends/rules)
Milestone
Description
Currently, Pacta architecture modeling feels focused on a single service or a flat structure.
In real-world systems, architecture is fractal: the same concepts repeat at different levels of scale.
This issue proposes introducing a fractal architecture model, where a Pacta project can describe:
- a whole system (or platform)
- multiple services (microservices or bounded contexts)
- modules inside services
- layers inside modules
- shared libraries as first-class architectural elements
All levels should use the same conceptual building blocks and rules.
Why this matters
- Enables Pacta to work with monorepos and microservice architectures
- Avoids forcing users to split architecture across multiple tools
- Makes Pacta applicable beyond “single-service” use cases
Acceptance Criteria
- Architecture model supports multiple hierarchy levels: system, service, module, layer, library
- Rules can be applied at any level (e.g. service-to-service, layer-to-layer)
- Libraries can be modeled independently or attached to services
- Architecture remains analyzable via CLI and CI
Out of scope
- Enterprise architecture layers (Business / Technology)
- Visual modeling UI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:mappingarea:modelpriority: highstatus:waiting-for-releasetype:featureuser-facing capability (metrics/trends/rules)user-facing capability (metrics/trends/rules)