Dependency Matrix
The Dependency Matrix collects product-team knowledge in a consistent form and gradually connects it to the SysCraft architecture model. It answers practical questions such as:
- which services and endpoints a process depends on;
- whether a service outage causes full or partial unavailability;
- which processes trigger, include, or extend other processes;
- which entries are backed by model objects and which still need work;
- how the number of discrepancies changes as the registry and model evolve.
The matrix is stored separately from diagrams, so a user can maintain the registry without permission to edit architecture objects.
Open the Dependency Matrix
Select Dependency Matrix in the left navigation.
An owner or settings administrator must first enable the Dependency Matrix landscape policy. The section then appears at landscape level, even before a domain is selected, for a user who meets at least one of these conditions:
- has matrix-view permission at landscape level or in an accessible domain;
- owns the domain, landscape, or organization;
- belongs to an organization where access control is disabled.
When the policy is disabled, the menu item is hidden and the backend rejects loading, candidate search, saving, reconciliation, analytics, and export with DEPENDENCY_MATRIX_DISABLED. Existing documents and revisions are retained and become available again when the policy is re-enabled.
Enabling the policy does not grant regular users access automatically. It makes the feature available for the landscape; user- and domain-level permissions are still evaluated separately. Organization and landscape owners receive owner access. No additional rights are required when organization access control is disabled.
Without a selected domain, the page aggregates products from every domain the user can access. Product cards show their domain, while inaccessible domains are excluded. This mode is intended for viewing, reconciliation, analytics, and export.
Selecting a domain acts both as a filter and as an unambiguous editing scope. Only that domain's products remain, editing becomes available, and saving creates a new revision of that domain's document. An aggregated cross-domain view therefore cannot be saved accidentally.
Enter Matrix Data
The Matrix Input tab has three levels:
- Product, for example, “Payment Cards.”
- Process, for example, “Cardless Top-Up.”
- Dependency — a service and, optionally, one of its endpoints.
A process can be linked to one or more existing data flows. The searchable multi-select field supports many-to-many mapping: a process may appear in several flows, and a flow may support several business processes. These links let SysCraft validate the registry against the current model.
After flows are selected, SysCraft analyzes their steps and adds any missing systems, containers, and components to the process dependencies. Existing services are not duplicated, and new dependencies start with Not Defined outage impact. Removing a flow does not delete a populated dependency because it may already contain important impact analysis or commentary.
Product names are unique across the landscape after trimming whitespace and ignoring case. Process names are unique within a product. The interface detects conflicts before saving, and the backend enforces both rules for direct API requests as well.
Select a Service
Start typing a service name. SysCraft searches systems, containers, and components throughout the current landscape:
- a single exact match is linked automatically;
- similar results remain suggestions and never silently replace the entered text;
- an unmatched entry can remain in the matrix as a service that has not been modeled yet.
If the user can create objects, a + action appears next to a new name. It opens the standard system, container, or component form. The entered name is carried over and protected from accidental changes; the description, domain, type, and parent element are completed normally. After creation, the service is linked to the matrix row immediately.
Showing the action in the interface is not a substitute for authorization. The create command is checked again by the backend.
Outage Impact
Choose an impact for each service dependency:
| Value | Use it when |
|---|---|
| Full | The process cannot complete successfully without the service. |
| Partial | Some capabilities or users are affected, but the main scenario remains operational. |
| Fallback Available | A defined alternative allows the process to continue. |
| No Impact | The service is outside the process's critical path. |
| Not Defined | The process owner still needs to assess the impact. |
Add a concise explanation of how the outage affects the process. Separate state-machine flags are not used in the matrix; scenario conditions belong in process relationships and data flows.
Not Defined does not mean no risk. Matrix values represent the team's current knowledge, not measured reliability statistics. Successful reconciliation confirms references to the model; it does not prove service reliability or that a fallback route works.
Endpoints and Examples
Select an endpoint from the linked service's interfaces or describe one manually. Searching by path, method, or name is limited to endpoints owned by the selected service, including interfaces previously imported from Swagger.
Each endpoint entry can contain:
- name and method;
- the process stage or time of invocation;
- its purpose in this process;
- a Swagger link;
- request parameters and an example request;
- an example response;
- an endpoint-specific outage rating;
- an explanation of the endpoint's impact on the process.
One row represents one invocation. Add separate rows when the same endpoint is called at different stages, with different parameters, or with different outage consequences.
A manual entry preserves knowledge before the endpoint exists in the model. If no interface matches and the user has Manage Interfaces permission, a + action opens the standard create dialog. Choose the interface type, verify the prefilled name and service, and complete the remaining fields. The new endpoint is linked immediately; reconciliation continues to flag any manual entries that remain unlinked.
Process Relationships
Use the Process Relationships tab to connect processes from the same or different products:
- includes — a required subprocess;
- extends — an optional or conditional scenario;
- triggers — one process initiates another;
- runs after — an ordering dependency;
- alternative process — an interchangeable route;
- depends on — a general dependency without narrower semantics.
Each relationship can include a condition or explanation. Deleting a process removes its relationships from the current editable matrix version.
Reconcile with the Model
The Model Reconciliation tab produces a concrete action list rather than an abstract quality score. It checks:
- whether each process has at least one linked data flow;
- whether every selected flow still exists in the current branch;
- whether each service exists and its link is current;
- whether each endpoint exists;
- whether the endpoint belongs to the selected service.
When SysCraft finds one unambiguous match, Apply Link fills the reference in the editable matrix. Save the document to persist it.
Summary cards distinguish declared and linked services and endpoints, as well as remaining actions. The chart contains two series:
- Discrepancies — unresolved actions;
- Linked Correctly — records confirmed against the model.
The discrepancy line may rise while teams are actively documenting previously unknown dependencies. It should decline as the corresponding model objects are created and linked. In a multi-domain view, each point is the aggregate state at that moment, not a mixture of unrelated domain revision numbers.
Additional breakdowns show discrepancy types, service outage impact, and products with the most open actions. These views help locate the largest body of work without exporting the data first.
Reports
The Report menu provides two independent UTF-8 CSV exports:
- Dependency Matrix — the complete registry, including correctly linked records. It includes domain, product, process, service, service outage type and consequence, endpoint, method, stage, purpose, endpoint-specific or inherited outage rating, endpoint impact, Swagger URL, and request and response examples. Process descriptions and linked-flow lists are not included.
- Discrepancies — only records that must be linked or corrected. Every row includes the problem context and a ready-to-use action statement.
While a report is being generated and downloaded, the menu is temporarily disabled and a progress indicator appears beside the active item. This prevents duplicate execution of an expensive export.
Open the files in a spreadsheet application, filter by product or service, and share them with the domain team. After corrections, reconcile again. Resolved entries disappear from the next discrepancy export but remain in the full matrix as properly linked dependencies.
Questions for the Assistant
In the selected landscape chat, ask a natural-language question such as:
Which services affect the purchase process, and how? Compare the Dependency Matrix with the architecture model and summarize the result.
The assistant can compare processes, services, and declared outage impacts directly in the conversation. The question should contain a recognizable product or process name; technical IDs and page-layout instructions are unnecessary.
Verify that the response distinguishes full and partial outages, available fallbacks, and impact that is still undefined. Suggestions to improve data are recommendations, not guarantees that the system is already configured that way. Request a file-based report separately when needed.
Access Permissions
An administrator can grant three independent permissions:
| Permission | Purpose |
|---|---|
| View Dependency Matrix | Open and read the registry. |
| Maintain Dependency Matrix | Add or change products, processes, dependencies, and relationships. |
| Reconcile Matrix with Model | Run validation and view discrepancies. |
Creating a missing service additionally requires Create Objects. Creating a missing endpoint requires Manage Interfaces in the service's domain. Multi-domain summaries include only domains in which the user may view the matrix.
Branches, Merges, and History
The matrix is part of the landscape's versioned context:
- creating a branch copies every domain document with stable product, process, and relationship IDs;
- references to flows, use cases, services, and endpoints are remapped to the branch copies;
- deleting a branch, domain, or landscape also removes related documents and snapshots;
- a matrix change appears as a separate item in the branch diff and is merged only when that item is selected;
- when the policy is disabled, matrix changes are excluded from branch diffs and merges;
- additions, updates, and deletions are transferred safely;
- if the same product changes independently in both branches, the diff reports a conflict and does not silently overwrite the target;
- each save and merge creates a revision with its author, timestamp, explanation, and discrepancy count.
Revision numbers protect concurrent edits. If another user saves a newer version first, SysCraft does not overwrite it; the interface asks you to reload the matrix and repeat your changes.
Matrix work is tracked as its own activity type and is not reported as architecture-object creation or modification.