Expand description
Domain layer containing core business logic.
This module contains the core domain types and logic for ADRScope, independent of external concerns like I/O, parsing, or rendering.
Structs§
- Adr
- A fully parsed Architecture Decision Record.
- AdrId
- Unique identifier for an ADR, typically derived from the filename.
- AdrStatistics
- Aggregated statistics for an ADR collection.
- Edge
- An edge connecting two ADRs in the graph.
- Facet
- A facet is a filterable dimension with all its possible values.
- Facet
Value - A single facet value with its count.
- Facets
- Collection of all facets computed from ADRs.
- Frontmatter
- Parsed YAML frontmatter from an ADR file following the structured-madr schema.
- Graph
- The complete ADR relationship graph.
- Node
- A node in the ADR relationship graph.
- Recommended
Fields Rule - Rule that warns about missing optional but recommended fields.
- Required
Fields Rule - Rule that checks for required frontmatter fields.
- Validation
Issue - A single validation issue found in an ADR.
- Validation
Report - Aggregated result of validating a collection of ADRs.
- Validator
- A validator that runs multiple rules against ADRs.
Enums§
- Edge
Type - The type of relationship between two ADRs.
- Severity
- Severity level for validation issues.
- Status
- The status of an Architecture Decision Record in its lifecycle.
Traits§
- Validation
Rule - Trait for implementing validation rules.
Functions§
- default_
rules - Returns the default set of validation rules.