version = 1
[modules]
errors = {}
format = {}
timeline = {}
simplification = {}
graph = {}
mermaid = {}
engines = { tags = { role = "runtime-facade" } }
render = { tags = { role = "runtime-facade" } }
payload = {}
registry = {}
diagrams = {}
builtins = { tags = { role = "runtime-facade" } }
mmds = {}
frontends = { tags = { role = "runtime-facade" } }
runtime = {}
[[rules]]
id = "allow-errors"
type = "allow"
[rules.config]
source = "errors"
allowed = []
[[rules]]
id = "allow-format"
type = "allow"
[rules.config]
source = "format"
allowed = ["errors"]
[[rules]]
id = "allow-timeline"
type = "allow"
[rules.config]
source = "timeline"
allowed = []
[[rules]]
id = "allow-simplification"
type = "allow"
[rules.config]
source = "simplification"
allowed = ["errors", "format"]
[[rules]]
id = "allow-graph"
type = "allow"
[rules.config]
source = "graph"
allowed = ["errors", "format"]
[[rules]]
id = "allow-mermaid"
type = "allow"
[rules.config]
source = "mermaid"
allowed = ["errors", "graph", "timeline"]
[[rules]]
id = "allow-engines"
type = "allow"
[rules.config]
source = "engines"
allowed = ["errors", "format", "graph"]
[[rules]]
id = "allow-render"
type = "allow"
[rules.config]
source = "render"
allowed = ["format", "graph", "simplification", "timeline"]
[[rules]]
id = "allow-payload"
type = "allow"
[rules.config]
source = "payload"
allowed = ["graph", "timeline"]
[[rules]]
id = "allow-registry"
type = "allow"
[rules.config]
source = "registry"
allowed = ["errors", "format", "payload"]
[[rules]]
id = "allow-diagrams"
type = "allow"
[rules.config]
source = "diagrams"
allowed = ["errors", "graph", "mermaid", "payload", "registry", "timeline"]
[[rules]]
id = "allow-builtins"
type = "allow"
[rules.config]
source = "builtins"
allowed = ["diagrams", "format", "registry"]
[[rules]]
id = "allow-mmds"
type = "allow"
[rules.config]
source = "mmds"
allowed = ["errors", "format", "graph", "simplification"]
[[rules]]
id = "allow-frontends"
type = "allow"
[rules.config]
source = "frontends"
allowed = ["mermaid", "mmds"]
[[rules]]
id = "allow-runtime"
type = "allow"
[rules.config]
source = "runtime"
allowed = [
"builtins", "engines", "errors",
"format", "frontends", "graph", "mermaid", "mmds",
"payload", "registry", "render", "simplification", "timeline",
]
[[rules]]
id = "pipeline-layers"
type = "layers"
[rules.config]
order = ["errors", "format", "graph", "engines", "render", "runtime"]
[[rules]]
id = "parser-independence"
type = "independence"
[rules.config]
members = ["mermaid", "mmds"]
[[rules]]
id = "pipeline-pillar-independence"
type = "independence"
[rules.config]
members = ["engines", "render", "diagrams"]
[[rules]]
id = "protect-runtime-facades"
type = "protected"
[rules.config]
targets = { tag = "role", value = "runtime-facade" }
allowed_importers = ["runtime"]
[[rules]]
id = "protect-diagrams"
type = "protected"
[rules.config]
targets = ["diagrams"]
allowed_importers = ["builtins"]
[[rules]]
id = "no-boundary-cycles"
type = "acyclic"
[rules.config]
members = [
"builtins", "diagrams", "engines", "errors", "format",
"frontends", "graph", "mermaid", "mmds", "payload",
"registry", "render", "runtime", "simplification", "timeline",
]