Context Diagram
flowchart TB
subgraph system["architecture-model-standard"]
IF_1((main CLI))
IF_2((runner CLI))
IF_3(("COMP-4-7 Library API"))
IF_4(("COMP-3-1 Library API"))
IF_5(("COMP-4-1 Library API"))
IF_6(("COMP-4-2 Library API"))
IF_7(("COMP-4-3 Library API"))
IF_8(("COMP-4-4 Library API"))
IF_9(("COMP-4-5 Library API"))
IF_10(("COMP-4-6 Library API"))
IF_11(("COMP-4-8 Library API"))
IF_12(("COMP-4-9 Library API"))
IF_13(("COMP-4-10 Library API"))
IF_14(("COMP-4-11 Library API"))
IF_15(("COMP-4-12 Library API"))
IF_16(("COMP-4-13 Library API"))
IF_auto_COMP_1((Core API))
IF_auto_COMP_1_1((Type System API))
IF_auto_COMP_1_2((Validation API))
IF_auto_COMP_1_3((Parser & Persistence API))
IF_auto_COMP_1_4((Model Operations API))
IF_auto_COMP_1_5((Quality Metrics API))
IF_auto_COMP_2((Pipeline API))
IF_auto_COMP_2_1((Pipeline Coordination API))
IF_auto_COMP_2_2((Observation Stages API))
IF_auto_COMP_2_3((Allocation & Relation Stages API))
IF_auto_COMP_2_4((Specification & Contract Stages API))
IF_auto_COMP_2_5((Synthesis & Emit Stages API))
IF_auto_COMP_3_1((Scanners API))
IF_auto_COMP_3_2((Graph & Analysis API))
IF_auto_COMP_3_3((Grouping & Generation API))
IF_auto_COMP_4_1((Core Doc Generators API))
IF_auto_COMP_4_2((SE Document Suite API))
IF_auto_COMP_5((Orchestration API))
IF_auto_COMP_5_1((Enrichment API))
IF_auto_COMP_5_2((Decomposition API))
IF_auto_COMP_6((Extract API))
IF_auto_COMP_7((Authoring API))
IF_auto_COMP_8((CLI API))
IF_auto_COMP_9((Configuration API))
IF_auto_COMP_10((Export API))
IF_auto_COMP_11((Pipeline Learning API))
IF_auto_COMP_12((Utilities API))
end
ACT_1(["AI Agent (MCP Client)"])
ACT_2([Developer])
ACT_3([CI/CD Pipeline])
COMP_4 -.->|exposes| IF_1
COMP_3 -.->|exposes| IF_2
COMP_4 -.->|exposes| IF_3
COMP_3 -.->|exposes| IF_4
COMP_4 -.->|exposes| IF_5
COMP_4 -.->|exposes| IF_6
COMP_4 -.->|exposes| IF_7
COMP_4 -.->|exposes| IF_8
COMP_4 -.->|exposes| IF_9
COMP_4 -.->|exposes| IF_10
COMP_4 -.->|exposes| IF_11
COMP_4 -.->|exposes| IF_12
COMP_4 -.->|exposes| IF_13
COMP_4 -.->|exposes| IF_14
COMP_4 -.->|exposes| IF_15
COMP_4 -.->|exposes| IF_16
COMP_1 -.->|exposes| IF_auto_COMP_1
COMP_1_1 -.->|exposes| IF_auto_COMP_1_1
COMP_1_2 -.->|exposes| IF_auto_COMP_1_2
COMP_1_3 -.->|exposes| IF_auto_COMP_1_3
COMP_1_4 -.->|exposes| IF_auto_COMP_1_4
COMP_1_5 -.->|exposes| IF_auto_COMP_1_5
COMP_2 -.->|exposes| IF_auto_COMP_2
COMP_2_1 -.->|exposes| IF_auto_COMP_2_1
COMP_2_2 -.->|exposes| IF_auto_COMP_2_2
COMP_2_3 -.->|exposes| IF_auto_COMP_2_3
COMP_2_4 -.->|exposes| IF_auto_COMP_2_4
COMP_2_5 -.->|exposes| IF_auto_COMP_2_5
COMP_3_1 -.->|exposes| IF_auto_COMP_3_1
COMP_3_2 -.->|exposes| IF_auto_COMP_3_2
COMP_3_3 -.->|exposes| IF_auto_COMP_3_3
COMP_4_1 -.->|exposes| IF_auto_COMP_4_1
COMP_4_2 -.->|exposes| IF_auto_COMP_4_2
COMP_5 -.->|exposes| IF_auto_COMP_5
COMP_5_1 -.->|exposes| IF_auto_COMP_5_1
COMP_5_2 -.->|exposes| IF_auto_COMP_5_2
COMP_6 -.->|exposes| IF_auto_COMP_6
COMP_7 -.->|exposes| IF_auto_COMP_7
COMP_8 -.->|exposes| IF_auto_COMP_8
COMP_9 -.->|exposes| IF_auto_COMP_9
COMP_10 -.->|exposes| IF_auto_COMP_10
COMP_11 -.->|exposes| IF_auto_COMP_11
COMP_12 -.->|exposes| IF_auto_COMP_12
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class IF_1 cls_iface
class IF_2 cls_iface
class IF_3 cls_iface
class IF_4 cls_iface
class IF_5 cls_iface
class IF_6 cls_iface
class IF_7 cls_iface
class IF_8 cls_iface
class IF_9 cls_iface
class IF_10 cls_iface
class IF_11 cls_iface
class IF_12 cls_iface
class IF_13 cls_iface
class IF_14 cls_iface
class IF_15 cls_iface
class IF_16 cls_iface
class IF_auto_COMP_1 cls_iface
class IF_auto_COMP_1_1 cls_iface
class IF_auto_COMP_1_2 cls_iface
class IF_auto_COMP_1_3 cls_iface
class IF_auto_COMP_1_4 cls_iface
class IF_auto_COMP_1_5 cls_iface
class IF_auto_COMP_2 cls_iface
class IF_auto_COMP_2_1 cls_iface
class IF_auto_COMP_2_2 cls_iface
class IF_auto_COMP_2_3 cls_iface
class IF_auto_COMP_2_4 cls_iface
class IF_auto_COMP_2_5 cls_iface
class IF_auto_COMP_3_1 cls_iface
class IF_auto_COMP_3_2 cls_iface
class IF_auto_COMP_3_3 cls_iface
class IF_auto_COMP_4_1 cls_iface
class IF_auto_COMP_4_2 cls_iface
class IF_auto_COMP_5 cls_iface
class IF_auto_COMP_5_1 cls_iface
class IF_auto_COMP_5_2 cls_iface
class IF_auto_COMP_6 cls_iface
class IF_auto_COMP_7 cls_iface
class IF_auto_COMP_8 cls_iface
class IF_auto_COMP_9 cls_iface
class IF_auto_COMP_10 cls_iface
class IF_auto_COMP_11 cls_iface
class IF_auto_COMP_12 cls_iface
class ACT_1 cls_actor
class ACT_2 cls_actor
class ACT_3 cls_actor
Components Diagram
flowchart TB
subgraph ungrouped[Components]
COMP_1[Core]
click COMP_1 href "#diagram-component-COMP-1"
COMP_1_1[Type System]
click COMP_1_1 href "#diagram-component-COMP-1.1"
COMP_1_2[Validation]
click COMP_1_2 href "#diagram-component-COMP-1.2"
COMP_1_3[Parser & Persistence]
click COMP_1_3 href "#diagram-component-COMP-1.3"
COMP_1_4[Model Operations]
click COMP_1_4 href "#diagram-component-COMP-1.4"
COMP_1_5[Quality Metrics]
click COMP_1_5 href "#diagram-component-COMP-1.5"
COMP_2[Pipeline]
click COMP_2 href "#diagram-component-COMP-2"
COMP_2_1[Pipeline Coordination]
click COMP_2_1 href "#diagram-component-COMP-2.1"
COMP_2_2[Observation Stages]
click COMP_2_2 href "#diagram-component-COMP-2.2"
COMP_2_3[Allocation & Relation Stages]
click COMP_2_3 href "#diagram-component-COMP-2.3"
COMP_2_4[Specification & Contract Stages]
click COMP_2_4 href "#diagram-component-COMP-2.4"
COMP_2_5[Synthesis & Emit Stages]
click COMP_2_5 href "#diagram-component-COMP-2.5"
COMP_3[Manifest]
click COMP_3 href "#diagram-component-COMP-3"
COMP_3_1[Scanners]
click COMP_3_1 href "#diagram-component-COMP-3.1"
COMP_3_2[Graph & Analysis]
click COMP_3_2 href "#diagram-component-COMP-3.2"
COMP_3_3[Grouping & Generation]
click COMP_3_3 href "#diagram-component-COMP-3.3"
COMP_4[Documentation]
click COMP_4 href "#diagram-component-COMP-4"
COMP_4_1[Core Doc Generators]
click COMP_4_1 href "#diagram-component-COMP-4.1"
COMP_4_2[SE Document Suite]
click COMP_4_2 href "#diagram-component-COMP-4.2"
COMP_5[Orchestration]
click COMP_5 href "#diagram-component-COMP-5"
COMP_5_1[Enrichment]
click COMP_5_1 href "#diagram-component-COMP-5.1"
COMP_5_2[Decomposition]
click COMP_5_2 href "#diagram-component-COMP-5.2"
COMP_6[Extract]
click COMP_6 href "#diagram-component-COMP-6"
COMP_7[Authoring]
click COMP_7 href "#diagram-component-COMP-7"
COMP_8[CLI]
click COMP_8 href "#diagram-component-COMP-8"
COMP_9[Configuration]
click COMP_9 href "#diagram-component-COMP-9"
COMP_10[Export]
click COMP_10 href "#diagram-component-COMP-10"
COMP_11[Pipeline Learning]
click COMP_11 href "#diagram-component-COMP-11"
COMP_12[Utilities]
click COMP_12 href "#diagram-component-COMP-12"
end
CAP_1(Validate Architecture Models)
CAP_2(Extract Architecture from Code)
CAP_3(Run Modular Extraction Pipeline)
CAP_4(Generate Reality Manifest)
CAP_5(Generate SE Documentation)
CAP_6(Author Model from Requirements)
CAP_7(Slice and Query Models)
CAP_8(Diff Model Versions)
CAP_9(Decompose Models Hierarchically)
CAP_10(Enrich Models with Code Intelligence)
CAP_11(Assess Regen Readiness)
CAP_12(Check Development Gate)
CAP_13(Detect and Fix Model Drift)
CAP_14(Manage Global Learnings)
CAP_15(Export for AI Consumption)
COMP_1_2 ==>|realizes| CAP_1
COMP_6 ==>|realizes| CAP_2
COMP_2 ==>|realizes| CAP_3
COMP_3 ==>|realizes| CAP_4
COMP_4_2 ==>|realizes| CAP_5
COMP_7 ==>|realizes| CAP_6
COMP_1_4 ==>|realizes| CAP_7
COMP_1_4 ==>|realizes| CAP_8
COMP_5_2 ==>|realizes| CAP_9
COMP_5_1 ==>|realizes| CAP_10
COMP_1_5 ==>|realizes| CAP_11
COMP_7 ==>|realizes| CAP_12
COMP_1_4 ==>|realizes| CAP_13
COMP_11 ==>|realizes| CAP_14
COMP_10 ==>|realizes| CAP_15
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1 cls_comp
class COMP_1_1 cls_comp
class COMP_1_2 cls_comp
class COMP_1_3 cls_comp
class COMP_1_4 cls_comp
class COMP_1_5 cls_comp
class COMP_2 cls_comp
class COMP_2_1 cls_comp
class COMP_2_2 cls_comp
class COMP_2_3 cls_comp
class COMP_2_4 cls_comp
class COMP_2_5 cls_comp
class COMP_3 cls_comp
class COMP_3_1 cls_comp
class COMP_3_2 cls_comp
class COMP_3_3 cls_comp
class COMP_4 cls_comp
class COMP_4_1 cls_comp
class COMP_4_2 cls_comp
class COMP_5 cls_comp
class COMP_5_1 cls_comp
class COMP_5_2 cls_comp
class COMP_6 cls_comp
class COMP_7 cls_comp
class COMP_8 cls_comp
class COMP_9 cls_comp
class COMP_10 cls_comp
class COMP_11 cls_comp
class COMP_12 cls_comp
class CAP_1 cls_cap
class CAP_2 cls_cap
class CAP_3 cls_cap
class CAP_4 cls_cap
class CAP_5 cls_cap
class CAP_6 cls_cap
class CAP_7 cls_cap
class CAP_8 cls_cap
class CAP_9 cls_cap
class CAP_10 cls_cap
class CAP_11 cls_cap
class CAP_12 cls_cap
class CAP_13 cls_cap
class CAP_14 cls_cap
class CAP_15 cls_cap
Behaviors Diagram
flowchart LR
BEH_19{{CLI: Test Guided Round Trip}}
click BEH_19 href "#diagram-use-case-BEH-19"
BEH_20{{CLI: Test Enriched Round Trip}}
click BEH_20 href "#diagram-use-case-BEH-20"
BEH_21{{CLI: Test Multi Repo}}
click BEH_21 href "#diagram-use-case-BEH-21"
BEH_22{{CLI: Test Round Trip}}
click BEH_22 href "#diagram-use-case-BEH-22"
BEH_23{{CLI: Test Decomposed Round Trip}}
click BEH_23 href "#diagram-use-case-BEH-23"
BEH_24{{CLI: Main}}
click BEH_24 href "#diagram-use-case-BEH-24"
BEH_25{{CLI: Runner}}
click BEH_25 href "#diagram-use-case-BEH-25"
BEH_P1{{Run Extraction Pipeline}}
click BEH_P1 href "#diagram-use-case-BEH-P1"
BEH_P1_1{{Run Observe Stage}}
click BEH_P1_1 href "#diagram-use-case-BEH-P1.1"
BEH_P1_2{{Run Infer Stage}}
click BEH_P1_2 href "#diagram-use-case-BEH-P1.2"
BEH_P1_3{{Run Allocate Stage}}
click BEH_P1_3 href "#diagram-use-case-BEH-P1.3"
BEH_P1_4{{Run Relate Stage}}
click BEH_P1_4 href "#diagram-use-case-BEH-P1.4"
BEH_P1_5{{Run Specify Stage}}
click BEH_P1_5 href "#diagram-use-case-BEH-P1.5"
BEH_P1_6{{Run Contract Stage}}
click BEH_P1_6 href "#diagram-use-case-BEH-P1.6"
BEH_P1_7{{Run Validate Stage}}
click BEH_P1_7 href "#diagram-use-case-BEH-P1.7"
BEH_P1_8{{Run Decompose Stage}}
click BEH_P1_8 href "#diagram-use-case-BEH-P1.8"
BEH_P1_9{{Run Synthesize Stage}}
click BEH_P1_9 href "#diagram-use-case-BEH-P1.9"
BEH_P1_10{{Run Emit Stage}}
click BEH_P1_10 href "#diagram-use-case-BEH-P1.10"
BEH_P1_R{{LLM Refinement}}
click BEH_P1_R href "#diagram-use-case-BEH-P1.R"
BEH_P1_1_1{{Filter Files}}
click BEH_P1_1_1 href "#diagram-use-case-BEH-P1.1.1"
BEH_P1_1_2{{Scan Module}}
click BEH_P1_1_2 href "#diagram-use-case-BEH-P1.1.2"
BEH_P1_1_3{{Extract Functions}}
click BEH_P1_1_3 href "#diagram-use-case-BEH-P1.1.3"
BEH_P1_1_4{{Extract Classes}}
click BEH_P1_1_4 href "#diagram-use-case-BEH-P1.1.4"
BEH_P1_1_5{{Extract Constants}}
click BEH_P1_1_5 href "#diagram-use-case-BEH-P1.1.5"
BEH_P1_1_6{{Extract Imports}}
click BEH_P1_1_6 href "#diagram-use-case-BEH-P1.1.6"
BEH_P1_1_7{{Resolve Import Edges}}
click BEH_P1_1_7 href "#diagram-use-case-BEH-P1.1.7"
BEH_P1_1_8{{Detect Routes}}
click BEH_P1_1_8 href "#diagram-use-case-BEH-P1.1.8"
BEH_P1_1_9{{Detect Constraints}}
click BEH_P1_1_9 href "#diagram-use-case-BEH-P1.1.9"
BEH_P1_1_10{{Find Tests}}
click BEH_P1_1_10 href "#diagram-use-case-BEH-P1.1.10"
BEH_P1_1_11{{Find Docs}}
click BEH_P1_1_11 href "#diagram-use-case-BEH-P1.1.11"
BEH_P1_2_1{{Infer from Routes}}
click BEH_P1_2_1 href "#diagram-use-case-BEH-P1.2.1"
BEH_P1_2_2{{Infer from Triggers}}
click BEH_P1_2_2 href "#diagram-use-case-BEH-P1.2.2"
BEH_P1_2_3{{Infer Domain Modules}}
click BEH_P1_2_3 href "#diagram-use-case-BEH-P1.2.3"
BEH_P1_2_4{{Infer CLI}}
click BEH_P1_2_4 href "#diagram-use-case-BEH-P1.2.4"
BEH_P1_2_5{{Infer Infrastructure}}
click BEH_P1_2_5 href "#diagram-use-case-BEH-P1.2.5"
BEH_P1_2_6{{Infer Package Grouping}}
click BEH_P1_2_6 href "#diagram-use-case-BEH-P1.2.6"
BEH_P1_2_7{{Infer Default Actors}}
click BEH_P1_2_7 href "#diagram-use-case-BEH-P1.2.7"
BEH_P1_2_8{{Infer Behaviors}}
click BEH_P1_2_8 href "#diagram-use-case-BEH-P1.2.8"
BEH_P1_2_9{{Infer Library Behaviors}}
click BEH_P1_2_9 href "#diagram-use-case-BEH-P1.2.9"
BEH_P1_2_10{{Infer Fallback}}
click BEH_P1_2_10 href "#diagram-use-case-BEH-P1.2.10"
BEH_P1_3_1{{Detect Project Type}}
click BEH_P1_3_1 href "#diagram-use-case-BEH-P1.3.1"
BEH_P1_3_2{{Seed from Capabilities}}
click BEH_P1_3_2 href "#diagram-use-case-BEH-P1.3.2"
BEH_P1_3_3{{Import Affinity}}
click BEH_P1_3_3 href "#diagram-use-case-BEH-P1.3.3"
BEH_P1_3_4{{"Per-File Allocation"}}
click BEH_P1_3_4 href "#diagram-use-case-BEH-P1.3.4"
BEH_P1_3_5{{Split Oversized}}
click BEH_P1_3_5 href "#diagram-use-case-BEH-P1.3.5"
BEH_P1_3_6{{Merge Undersized}}
click BEH_P1_3_6 href "#diagram-use-case-BEH-P1.3.6"
BEH_P1_3_7{{Infer Layer}}
click BEH_P1_3_7 href "#diagram-use-case-BEH-P1.3.7"
BEH_P1_3_8{{Boundary Coherence}}
click BEH_P1_3_8 href "#diagram-use-case-BEH-P1.3.8"
BEH_P1_3_9{{Package Grouping}}
click BEH_P1_3_9 href "#diagram-use-case-BEH-P1.3.9"
BEH_P1_4_1{{Derive Realizes}}
click BEH_P1_4_1 href "#diagram-use-case-BEH-P1.4.1"
BEH_P1_4_2{{"Derive Depends-On"}}
click BEH_P1_4_2 href "#diagram-use-case-BEH-P1.4.2"
BEH_P1_4_3{{Derive Contains}}
click BEH_P1_4_3 href "#diagram-use-case-BEH-P1.4.3"
BEH_P1_4_4{{Derive Exposes}}
click BEH_P1_4_4 href "#diagram-use-case-BEH-P1.4.4"
BEH_P1_4_5{{"Derive Constrained-By"}}
click BEH_P1_4_5 href "#diagram-use-case-BEH-P1.4.5"
BEH_P1_4_6{{Build File Map}}
click BEH_P1_4_6 href "#diagram-use-case-BEH-P1.4.6"
BEH_P1_5_1{{Specify REST Interfaces}}
click BEH_P1_5_1 href "#diagram-use-case-BEH-P1.5.1"
BEH_P1_5_2{{Specify CLI Interfaces}}
click BEH_P1_5_2 href "#diagram-use-case-BEH-P1.5.2"
BEH_P1_5_3{{Specify Library API}}
click BEH_P1_5_3 href "#diagram-use-case-BEH-P1.5.3"
BEH_P1_5_4{{Name Library Interface}}
click BEH_P1_5_4 href "#diagram-use-case-BEH-P1.5.4"
BEH_P1_5_5{{Specify Fallback}}
click BEH_P1_5_5 href "#diagram-use-case-BEH-P1.5.5"
BEH_P1_6_1{{Match by Target}}
click BEH_P1_6_1 href "#diagram-use-case-BEH-P1.6.1"
BEH_P1_6_2{{Match by Directory}}
click BEH_P1_6_2 href "#diagram-use-case-BEH-P1.6.2"
BEH_P1_7_1{{Check Capability Realization}}
click BEH_P1_7_1 href "#diagram-use-case-BEH-P1.7.1"
BEH_P1_7_2{{Detect Orphans}}
click BEH_P1_7_2 href "#diagram-use-case-BEH-P1.7.2"
BEH_P1_7_3{{Check File Coverage}}
click BEH_P1_7_3 href "#diagram-use-case-BEH-P1.7.3"
BEH_P1_7_4{{Check Boundary Coherence}}
click BEH_P1_7_4 href "#diagram-use-case-BEH-P1.7.4"
BEH_P1_7_5{{Compute Confidence}}
click BEH_P1_7_5 href "#diagram-use-case-BEH-P1.7.5"
BEH_P1_8_1{{Identify Autonomous Systems}}
click BEH_P1_8_1 href "#diagram-use-case-BEH-P1.8.1"
BEH_P1_8_2{{Decompose Large Components}}
click BEH_P1_8_2 href "#diagram-use-case-BEH-P1.8.2"
BEH_P1_8_3{{Cluster by Directory}}
click BEH_P1_8_3 href "#diagram-use-case-BEH-P1.8.3"
BEH_P1_8_4{{Merge Coupled Components}}
click BEH_P1_8_4 href "#diagram-use-case-BEH-P1.8.4"
BEH_P1_9_1{{Decide Stages}}
click BEH_P1_9_1 href "#diagram-use-case-BEH-P1.9.1"
BEH_P1_9_2{{"Run Scoped Sub-Pipeline"}}
click BEH_P1_9_2 href "#diagram-use-case-BEH-P1.9.2"
BEH_P1_9_3{{Build Model YAML}}
click BEH_P1_9_3 href "#diagram-use-case-BEH-P1.9.3"
BEH_P1_9_4{{Build Manifest}}
click BEH_P1_9_4 href "#diagram-use-case-BEH-P1.9.4"
BEH_P1_9_5{{"Build System-of-Systems"}}
click BEH_P1_9_5 href "#diagram-use-case-BEH-P1.9.5"
BEH_P1_9_6{{Collect Lessons}}
click BEH_P1_9_6 href "#diagram-use-case-BEH-P1.9.6"
BEH_P1_10_1{{Write Files}}
click BEH_P1_10_1 href "#diagram-use-case-BEH-P1.10.1"
BEH_P1_10_2{{Build Test Map}}
click BEH_P1_10_2 href "#diagram-use-case-BEH-P1.10.2"
BEH_P1_10_3{{Generate SE Docs}}
click BEH_P1_10_3 href "#diagram-use-case-BEH-P1.10.3"
BEH_P1_10_4{{Enrich Model}}
click BEH_P1_10_4 href "#diagram-use-case-BEH-P1.10.4"
BEH_P1_10_5{{System Interactions}}
click BEH_P1_10_5 href "#diagram-use-case-BEH-P1.10.5"
BEH_P1_10_6{{LLM Reviews}}
click BEH_P1_10_6 href "#diagram-use-case-BEH-P1.10.6"
BEH_P1_10_7{{Inline Reviews}}
click BEH_P1_10_7 href "#diagram-use-case-BEH-P1.10.7"
BEH_P1_R_1{{Build Refinement Prompt}}
click BEH_P1_R_1 href "#diagram-use-case-BEH-P1.R.1"
BEH_P1_R_2{{Normalize LLM Output}}
click BEH_P1_R_2 href "#diagram-use-case-BEH-P1.R.2"
BEH_P1_R_3{{Diff Stage Outputs}}
click BEH_P1_R_3 href "#diagram-use-case-BEH-P1.R.3"
BEH_P1_R_4{{Apply Corrections}}
click BEH_P1_R_4 href "#diagram-use-case-BEH-P1.R.4"
BEH_P1 -.->|contains| BEH_P1_1
BEH_P1 -.->|contains| BEH_P1_2
BEH_P1 -.->|contains| BEH_P1_3
BEH_P1 -.->|contains| BEH_P1_4
BEH_P1 -.->|contains| BEH_P1_5
BEH_P1 -.->|contains| BEH_P1_6
BEH_P1 -.->|contains| BEH_P1_7
BEH_P1 -.->|contains| BEH_P1_8
BEH_P1 -.->|contains| BEH_P1_9
BEH_P1 -.->|contains| BEH_P1_10
BEH_P1 -.->|contains| BEH_P1_R
BEH_P1_1 -->|triggers| BEH_P1_2
BEH_P1_2 -->|triggers| BEH_P1_3
BEH_P1_3 -->|triggers| BEH_P1_4
BEH_P1_4 -->|triggers| BEH_P1_5
BEH_P1_5 -->|triggers| BEH_P1_6
BEH_P1_6 -->|triggers| BEH_P1_7
BEH_P1_7 -->|triggers| BEH_P1_8
BEH_P1_8 -->|triggers| BEH_P1_9
BEH_P1_9 -->|triggers| BEH_P1_10
BEH_P1_2 -->|triggers| BEH_P1_R
BEH_P1_3 -->|triggers| BEH_P1_R
BEH_P1_4 -->|triggers| BEH_P1_R
BEH_P1_5 -->|triggers| BEH_P1_R
BEH_P1_1 -.->|contains| BEH_P1_1_1
BEH_P1_1 -.->|contains| BEH_P1_1_2
BEH_P1_1 -.->|contains| BEH_P1_1_3
BEH_P1_1 -.->|contains| BEH_P1_1_4
BEH_P1_1 -.->|contains| BEH_P1_1_5
BEH_P1_1 -.->|contains| BEH_P1_1_6
BEH_P1_1 -.->|contains| BEH_P1_1_7
BEH_P1_1 -.->|contains| BEH_P1_1_8
BEH_P1_1 -.->|contains| BEH_P1_1_9
BEH_P1_1 -.->|contains| BEH_P1_1_10
BEH_P1_1 -.->|contains| BEH_P1_1_11
BEH_P1_2 -.->|contains| BEH_P1_2_1
BEH_P1_2 -.->|contains| BEH_P1_2_2
BEH_P1_2 -.->|contains| BEH_P1_2_3
BEH_P1_2 -.->|contains| BEH_P1_2_4
BEH_P1_2 -.->|contains| BEH_P1_2_5
BEH_P1_2 -.->|contains| BEH_P1_2_6
BEH_P1_2 -.->|contains| BEH_P1_2_7
BEH_P1_2 -.->|contains| BEH_P1_2_8
BEH_P1_2 -.->|contains| BEH_P1_2_9
BEH_P1_2 -.->|contains| BEH_P1_2_10
BEH_P1_3 -.->|contains| BEH_P1_3_1
BEH_P1_3 -.->|contains| BEH_P1_3_2
BEH_P1_3 -.->|contains| BEH_P1_3_3
BEH_P1_3 -.->|contains| BEH_P1_3_4
BEH_P1_3 -.->|contains| BEH_P1_3_5
BEH_P1_3 -.->|contains| BEH_P1_3_6
BEH_P1_3 -.->|contains| BEH_P1_3_7
BEH_P1_3 -.->|contains| BEH_P1_3_8
BEH_P1_3 -.->|contains| BEH_P1_3_9
BEH_P1_4 -.->|contains| BEH_P1_4_1
BEH_P1_4 -.->|contains| BEH_P1_4_2
BEH_P1_4 -.->|contains| BEH_P1_4_3
BEH_P1_4 -.->|contains| BEH_P1_4_4
BEH_P1_4 -.->|contains| BEH_P1_4_5
BEH_P1_4 -.->|contains| BEH_P1_4_6
BEH_P1_5 -.->|contains| BEH_P1_5_1
BEH_P1_5 -.->|contains| BEH_P1_5_2
BEH_P1_5 -.->|contains| BEH_P1_5_3
BEH_P1_5 -.->|contains| BEH_P1_5_4
BEH_P1_5 -.->|contains| BEH_P1_5_5
BEH_P1_6 -.->|contains| BEH_P1_6_1
BEH_P1_6 -.->|contains| BEH_P1_6_2
BEH_P1_7 -.->|contains| BEH_P1_7_1
BEH_P1_7 -.->|contains| BEH_P1_7_2
BEH_P1_7 -.->|contains| BEH_P1_7_3
BEH_P1_7 -.->|contains| BEH_P1_7_4
BEH_P1_7 -.->|contains| BEH_P1_7_5
BEH_P1_8 -.->|contains| BEH_P1_8_1
BEH_P1_8 -.->|contains| BEH_P1_8_2
BEH_P1_8 -.->|contains| BEH_P1_8_3
BEH_P1_8 -.->|contains| BEH_P1_8_4
BEH_P1_9 -.->|contains| BEH_P1_9_1
BEH_P1_9 -.->|contains| BEH_P1_9_2
BEH_P1_9 -.->|contains| BEH_P1_9_3
BEH_P1_9 -.->|contains| BEH_P1_9_4
BEH_P1_9 -.->|contains| BEH_P1_9_5
BEH_P1_9 -.->|contains| BEH_P1_9_6
BEH_P1_10 -.->|contains| BEH_P1_10_1
BEH_P1_10 -.->|contains| BEH_P1_10_2
BEH_P1_10 -.->|contains| BEH_P1_10_3
BEH_P1_10 -.->|contains| BEH_P1_10_4
BEH_P1_10 -.->|contains| BEH_P1_10_5
BEH_P1_10 -.->|contains| BEH_P1_10_6
BEH_P1_10 -.->|contains| BEH_P1_10_7
BEH_P1_R -.->|contains| BEH_P1_R_1
BEH_P1_R -.->|contains| BEH_P1_R_2
BEH_P1_R -.->|contains| BEH_P1_R_3
BEH_P1_R -.->|contains| BEH_P1_R_4
COMP_2_1[Pipeline Coordination] -.->|traces-to| BEH_P1
COMP_2_1[Pipeline Coordination] -.->|traces-to| BEH_P1_R
COMP_2_2[Observation Stages] -.->|traces-to| BEH_P1_1
COMP_2_2[Observation Stages] -.->|traces-to| BEH_P1_2
COMP_2_3[Allocation & Relation Stages] -.->|traces-to| BEH_P1_3
COMP_2_3[Allocation & Relation Stages] -.->|traces-to| BEH_P1_4
COMP_2_4[Specification & Contract Stages] -.->|traces-to| BEH_P1_5
COMP_2_4[Specification & Contract Stages] -.->|traces-to| BEH_P1_6
COMP_2_4[Specification & Contract Stages] -.->|traces-to| BEH_P1_7
COMP_2_5[Synthesis & Emit Stages] -.->|traces-to| BEH_P1_8
COMP_2_5[Synthesis & Emit Stages] -.->|traces-to| BEH_P1_9
COMP_2_5[Synthesis & Emit Stages] -.->|traces-to| BEH_P1_10
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_19 cls_beh
class BEH_20 cls_beh
class BEH_21 cls_beh
class BEH_22 cls_beh
class BEH_23 cls_beh
class BEH_24 cls_beh
class BEH_25 cls_beh
class BEH_P1 cls_beh
class BEH_P1_1 cls_beh
class BEH_P1_2 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_5 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_7 cls_beh
class BEH_P1_8 cls_beh
class BEH_P1_9 cls_beh
class BEH_P1_10 cls_beh
class BEH_P1_R cls_beh
class BEH_P1_1_1 cls_beh
class BEH_P1_1_2 cls_beh
class BEH_P1_1_3 cls_beh
class BEH_P1_1_4 cls_beh
class BEH_P1_1_5 cls_beh
class BEH_P1_1_6 cls_beh
class BEH_P1_1_7 cls_beh
class BEH_P1_1_8 cls_beh
class BEH_P1_1_9 cls_beh
class BEH_P1_1_10 cls_beh
class BEH_P1_1_11 cls_beh
class BEH_P1_2_1 cls_beh
class BEH_P1_2_2 cls_beh
class BEH_P1_2_3 cls_beh
class BEH_P1_2_4 cls_beh
class BEH_P1_2_5 cls_beh
class BEH_P1_2_6 cls_beh
class BEH_P1_2_7 cls_beh
class BEH_P1_2_8 cls_beh
class BEH_P1_2_9 cls_beh
class BEH_P1_2_10 cls_beh
class BEH_P1_3_1 cls_beh
class BEH_P1_3_2 cls_beh
class BEH_P1_3_3 cls_beh
class BEH_P1_3_4 cls_beh
class BEH_P1_3_5 cls_beh
class BEH_P1_3_6 cls_beh
class BEH_P1_3_7 cls_beh
class BEH_P1_3_8 cls_beh
class BEH_P1_3_9 cls_beh
class BEH_P1_4_1 cls_beh
class BEH_P1_4_2 cls_beh
class BEH_P1_4_3 cls_beh
class BEH_P1_4_4 cls_beh
class BEH_P1_4_5 cls_beh
class BEH_P1_4_6 cls_beh
class BEH_P1_5_1 cls_beh
class BEH_P1_5_2 cls_beh
class BEH_P1_5_3 cls_beh
class BEH_P1_5_4 cls_beh
class BEH_P1_5_5 cls_beh
class BEH_P1_6_1 cls_beh
class BEH_P1_6_2 cls_beh
class BEH_P1_7_1 cls_beh
class BEH_P1_7_2 cls_beh
class BEH_P1_7_3 cls_beh
class BEH_P1_7_4 cls_beh
class BEH_P1_7_5 cls_beh
class BEH_P1_8_1 cls_beh
class BEH_P1_8_2 cls_beh
class BEH_P1_8_3 cls_beh
class BEH_P1_8_4 cls_beh
class BEH_P1_9_1 cls_beh
class BEH_P1_9_2 cls_beh
class BEH_P1_9_3 cls_beh
class BEH_P1_9_4 cls_beh
class BEH_P1_9_5 cls_beh
class BEH_P1_9_6 cls_beh
class BEH_P1_10_1 cls_beh
class BEH_P1_10_2 cls_beh
class BEH_P1_10_3 cls_beh
class BEH_P1_10_4 cls_beh
class BEH_P1_10_5 cls_beh
class BEH_P1_10_6 cls_beh
class BEH_P1_10_7 cls_beh
class BEH_P1_R_1 cls_beh
class BEH_P1_R_2 cls_beh
class BEH_P1_R_3 cls_beh
class BEH_P1_R_4 cls_beh
class COMP_2_1 cls_comp
class COMP_2_1 cls_comp
class COMP_2_2 cls_comp
class COMP_2_2 cls_comp
class COMP_2_3 cls_comp
class COMP_2_3 cls_comp
class COMP_2_4 cls_comp
class COMP_2_4 cls_comp
class COMP_2_4 cls_comp
class COMP_2_5 cls_comp
class COMP_2_5 cls_comp
class COMP_2_5 cls_comp
Dependencies Diagram
flowchart LR
subgraph ungrouped[ungrouped]
COMP_1[Core]
COMP_1_1[Type System]
COMP_1_2[Validation]
COMP_1_3[Parser & Persistence]
COMP_1_4[Model Operations]
COMP_1_5[Quality Metrics]
COMP_2[Pipeline]
COMP_2_1[Pipeline Coordination]
COMP_2_2[Observation Stages]
COMP_2_3[Allocation & Relation Stages]
COMP_2_4[Specification & Contract Stages]
COMP_2_5[Synthesis & Emit Stages]
COMP_3[Manifest]
COMP_3_1[Scanners]
COMP_3_2[Graph & Analysis]
COMP_3_3[Grouping & Generation]
COMP_4[Documentation]
COMP_4_1[Core Doc Generators]
COMP_4_2[SE Document Suite]
COMP_5[Orchestration]
COMP_5_1[Enrichment]
COMP_5_2[Decomposition]
COMP_6[Extract]
COMP_7[Authoring]
COMP_8[CLI]
COMP_9[Configuration]
COMP_10[Export]
COMP_11[Pipeline Learning]
COMP_12[Utilities]
end
COMP_2_1 -->|depends-on| COMP_1_1
COMP_2_2 -->|depends-on| COMP_3_1
COMP_2_3 -->|depends-on| COMP_1_1
COMP_2_4 -->|depends-on| COMP_1_2
COMP_2_5 -->|depends-on| COMP_1_3
COMP_3_1 -->|depends-on| COMP_9
COMP_3_2 -->|depends-on| COMP_3_1
COMP_3_3 -->|depends-on| COMP_3_2
COMP_4_1 -->|depends-on| COMP_1_1
COMP_4_2 -->|depends-on| COMP_4_1
COMP_5_1 -->|depends-on| COMP_3
COMP_5_1 -->|depends-on| COMP_1_1
COMP_5_2 -->|depends-on| COMP_1_5
COMP_6 -->|depends-on| COMP_3_1
COMP_6 -->|depends-on| COMP_9
COMP_7 -->|depends-on| COMP_1_1
COMP_7 -->|depends-on| COMP_3
COMP_8 -->|depends-on| COMP_1
COMP_8 -->|depends-on| COMP_2
COMP_8 -->|depends-on| COMP_3
COMP_8 -->|depends-on| COMP_4
COMP_8 -->|depends-on| COMP_5
COMP_8 -->|depends-on| COMP_7
COMP_10 -->|depends-on| COMP_1_3
COMP_11 -->|depends-on| COMP_9
COMP_12 -->|depends-on| COMP_9
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1 cls_comp
class COMP_1_1 cls_comp
class COMP_1_2 cls_comp
class COMP_1_3 cls_comp
class COMP_1_4 cls_comp
class COMP_1_5 cls_comp
class COMP_2 cls_comp
class COMP_2_1 cls_comp
class COMP_2_2 cls_comp
class COMP_2_3 cls_comp
class COMP_2_4 cls_comp
class COMP_2_5 cls_comp
class COMP_3 cls_comp
class COMP_3_1 cls_comp
class COMP_3_2 cls_comp
class COMP_3_3 cls_comp
class COMP_4 cls_comp
class COMP_4_1 cls_comp
class COMP_4_2 cls_comp
class COMP_5 cls_comp
class COMP_5_1 cls_comp
class COMP_5_2 cls_comp
class COMP_6 cls_comp
class COMP_7 cls_comp
class COMP_8 cls_comp
class COMP_9 cls_comp
class COMP_10 cls_comp
class COMP_11 cls_comp
class COMP_12 cls_comp
Data Flow Diagram
flowchart LR
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
Constraint Map
flowchart LR
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
Traceability Diagram
flowchart TD
subgraph caps[Capabilities]
CAP_1(Validate Architecture Models)
CAP_10(Enrich Models with Code Intelligence)
CAP_11(Assess Regen Readiness)
CAP_12(Check Development Gate)
CAP_13(Detect and Fix Model Drift)
CAP_14(Manage Global Learnings)
CAP_15(Export for AI Consumption)
CAP_2(Extract Architecture from Code)
CAP_3(Run Modular Extraction Pipeline)
CAP_4(Generate Reality Manifest)
CAP_5(Generate SE Documentation)
CAP_6(Author Model from Requirements)
CAP_7(Slice and Query Models)
CAP_8(Diff Model Versions)
CAP_9(Decompose Models Hierarchically)
end
subgraph comps[Components]
COMP_1[Core]
COMP_1_1[Type System]
COMP_1_2[Validation]
COMP_1_3[Parser & Persistence]
COMP_1_4[Model Operations]
COMP_1_5[Quality Metrics]
COMP_10[Export]
COMP_11[Pipeline Learning]
COMP_2[Pipeline]
COMP_2_1[Pipeline Coordination]
COMP_2_2[Observation Stages]
COMP_2_3[Allocation & Relation Stages]
COMP_2_4[Specification & Contract Stages]
COMP_2_5[Synthesis & Emit Stages]
COMP_3[Manifest]
COMP_3_1[Scanners]
COMP_3_2[Graph & Analysis]
COMP_3_3[Grouping & Generation]
COMP_4[Documentation]
COMP_4_1[Core Doc Generators]
COMP_4_2[SE Document Suite]
COMP_5_1[Enrichment]
COMP_5_2[Decomposition]
COMP_6[Extract]
COMP_7[Authoring]
COMP_8[CLI]
end
subgraph behs[Behaviors]
BEH_P1{{Run Extraction Pipeline}}
BEH_P1_1{{Run Observe Stage}}
BEH_P1_10{{Run Emit Stage}}
BEH_P1_2{{Run Infer Stage}}
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_4{{Run Relate Stage}}
BEH_P1_5{{Run Specify Stage}}
BEH_P1_6{{Run Contract Stage}}
BEH_P1_7{{Run Validate Stage}}
BEH_P1_8{{Run Decompose Stage}}
BEH_P1_9{{Run Synthesize Stage}}
BEH_P1_R{{LLM Refinement}}
end
COMP_1_2 ==>|realizes| CAP_1
COMP_6 ==>|realizes| CAP_2
COMP_2 ==>|realizes| CAP_3
COMP_3 ==>|realizes| CAP_4
COMP_4_2 ==>|realizes| CAP_5
COMP_7 ==>|realizes| CAP_6
COMP_1_4 ==>|realizes| CAP_7
COMP_1_4 ==>|realizes| CAP_8
COMP_5_2 ==>|realizes| CAP_9
COMP_5_1 ==>|realizes| CAP_10
COMP_1_5 ==>|realizes| CAP_11
COMP_7 ==>|realizes| CAP_12
COMP_1_4 ==>|realizes| CAP_13
COMP_11 ==>|realizes| CAP_14
COMP_10 ==>|realizes| CAP_15
COMP_1_2 -.->|satisfies| REQ_1
COMP_1_2 -.->|satisfies| REQ_2
COMP_1_2 -.->|satisfies| REQ_3
COMP_2_2 -.->|satisfies| REQ_4
COMP_2_3 -.->|satisfies| REQ_5
COMP_2_1 -.->|satisfies| REQ_6
COMP_2_1 -.->|satisfies| REQ_7
COMP_3_1 -.->|satisfies| REQ_8
COMP_3_2 -.->|satisfies| REQ_9
COMP_3_1 -.->|satisfies| REQ_10
COMP_4_1 -.->|satisfies| REQ_11
COMP_4_2 -.->|satisfies| REQ_12
COMP_4_2 -.->|satisfies| REQ_13
COMP_7 -.->|satisfies| REQ_14
COMP_1_5 -.->|satisfies| REQ_15
COMP_1_5 -.->|satisfies| REQ_16
COMP_2_4 -.->|satisfies| REQ_17
COMP_5_1 -.->|satisfies| REQ_18
COMP_3_3 -.->|satisfies| REQ_19
COMP_1_4 -.->|satisfies| REQ_20
COMP_4 -.->|satisfies| REQ_21
COMP_1_1 -.->|satisfies| REQ_22
COMP_2_1 -.->|satisfies| REQ_23
COMP_2_2 -.->|satisfies| REQ_24
COMP_2 -.->|satisfies| REQ_25
COMP_8 -.->|satisfies| REQ_26
COMP_1_3 -.->|satisfies| REQ_27
COMP_1_3 -.->|satisfies| REQ_28
COMP_10 -.->|satisfies| REQ_29
COMP_10 -.->|satisfies| REQ_30
COMP_4 -.->|satisfies| REQ_O1
COMP_4 -.->|satisfies| REQ_Q1
COMP_4 -.->|satisfies| REQ_O10
COMP_4 -.->|satisfies| REQ_O11
COMP_4 -.->|satisfies| REQ_O12
COMP_4 -.->|satisfies| REQ_O13
COMP_4 -.->|satisfies| REQ_O14
COMP_4 -.->|satisfies| REQ_O15
COMP_4 -.->|satisfies| REQ_O16
COMP_4 -.->|satisfies| REQ_O17
COMP_4 -.->|satisfies| REQ_O18
COMP_4 -.->|satisfies| REQ_O19
COMP_4 -.->|satisfies| REQ_O2
COMP_1 -.->|satisfies| REQ_O14
COMP_1 -.->|satisfies| REQ_O15
COMP_1 -.->|satisfies| REQ_O16
COMP_1 -.->|satisfies| REQ_O17
COMP_6 -.->|satisfies| REQ_O18
COMP_6 -.->|satisfies| REQ_O19
COMP_2_1 -.->|traces-to| BEH_P1
COMP_2_1 -.->|traces-to| BEH_P1_R
COMP_2_2 -.->|traces-to| BEH_P1_1
COMP_2_2 -.->|traces-to| BEH_P1_2
COMP_2_3 -.->|traces-to| BEH_P1_3
COMP_2_3 -.->|traces-to| BEH_P1_4
COMP_2_4 -.->|traces-to| BEH_P1_5
COMP_2_4 -.->|traces-to| BEH_P1_6
COMP_2_4 -.->|traces-to| BEH_P1_7
COMP_2_5 -.->|traces-to| BEH_P1_8
COMP_2_5 -.->|traces-to| BEH_P1_9
COMP_2_5 -.->|traces-to| BEH_P1_10
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class CAP_1 cls_cap
class CAP_10 cls_cap
class CAP_11 cls_cap
class CAP_12 cls_cap
class CAP_13 cls_cap
class CAP_14 cls_cap
class CAP_15 cls_cap
class CAP_2 cls_cap
class CAP_3 cls_cap
class CAP_4 cls_cap
class CAP_5 cls_cap
class CAP_6 cls_cap
class CAP_7 cls_cap
class CAP_8 cls_cap
class CAP_9 cls_cap
class COMP_1 cls_comp
class COMP_1_1 cls_comp
class COMP_1_2 cls_comp
class COMP_1_3 cls_comp
class COMP_1_4 cls_comp
class COMP_1_5 cls_comp
class COMP_10 cls_comp
class COMP_11 cls_comp
class COMP_2 cls_comp
class COMP_2_1 cls_comp
class COMP_2_2 cls_comp
class COMP_2_3 cls_comp
class COMP_2_4 cls_comp
class COMP_2_5 cls_comp
class COMP_3 cls_comp
class COMP_3_1 cls_comp
class COMP_3_2 cls_comp
class COMP_3_3 cls_comp
class COMP_4 cls_comp
class COMP_4_1 cls_comp
class COMP_4_2 cls_comp
class COMP_5_1 cls_comp
class COMP_5_2 cls_comp
class COMP_6 cls_comp
class COMP_7 cls_comp
class COMP_8 cls_comp
class BEH_P1 cls_beh
class BEH_P1_1 cls_beh
class BEH_P1_10 cls_beh
class BEH_P1_2 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_5 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_7 cls_beh
class BEH_P1_8 cls_beh
class BEH_P1_9 cls_beh
class BEH_P1_R cls_beh
Decomposition Diagram
flowchart TD
ROOT[["architecture-model-standard"]]
COMP_1[Core]
ROOT -.->|contains| COMP_1
COMP_1_1[Type System]
ROOT -.->|contains| COMP_1_1
COMP_1_2[Validation]
ROOT -.->|contains| COMP_1_2
COMP_1_3[Parser & Persistence]
ROOT -.->|contains| COMP_1_3
COMP_1_4[Model Operations]
ROOT -.->|contains| COMP_1_4
COMP_1_5[Quality Metrics]
ROOT -.->|contains| COMP_1_5
COMP_2[Pipeline]
ROOT -.->|contains| COMP_2
COMP_2_1[Pipeline Coordination]
ROOT -.->|contains| COMP_2_1
COMP_2_2[Observation Stages]
ROOT -.->|contains| COMP_2_2
COMP_2_3[Allocation & Relation Stages]
ROOT -.->|contains| COMP_2_3
COMP_2_4[Specification & Contract Stages]
ROOT -.->|contains| COMP_2_4
COMP_2_5[Synthesis & Emit Stages]
ROOT -.->|contains| COMP_2_5
COMP_3[Manifest]
ROOT -.->|contains| COMP_3
COMP_3_1[Scanners]
ROOT -.->|contains| COMP_3_1
COMP_3_2[Graph & Analysis]
ROOT -.->|contains| COMP_3_2
COMP_3_3[Grouping & Generation]
ROOT -.->|contains| COMP_3_3
COMP_4[Documentation]
ROOT -.->|contains| COMP_4
COMP_4_1[Core Doc Generators]
ROOT -.->|contains| COMP_4_1
COMP_4_2[SE Document Suite]
ROOT -.->|contains| COMP_4_2
COMP_5[Orchestration]
ROOT -.->|contains| COMP_5
COMP_5_1[Enrichment]
ROOT -.->|contains| COMP_5_1
COMP_5_2[Decomposition]
ROOT -.->|contains| COMP_5_2
COMP_6[Extract]
ROOT -.->|contains| COMP_6
COMP_7[Authoring]
ROOT -.->|contains| COMP_7
COMP_8[CLI]
ROOT -.->|contains| COMP_8
COMP_9[Configuration]
ROOT -.->|contains| COMP_9
COMP_10[Export]
ROOT -.->|contains| COMP_10
COMP_11[Pipeline Learning]
ROOT -.->|contains| COMP_11
COMP_12[Utilities]
ROOT -.->|contains| COMP_12
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class ROOT cls_stage
class COMP_1 cls_comp
class COMP_1_1 cls_comp
class COMP_1_2 cls_comp
class COMP_1_3 cls_comp
class COMP_1_4 cls_comp
class COMP_1_5 cls_comp
class COMP_2 cls_comp
class COMP_2_1 cls_comp
class COMP_2_2 cls_comp
class COMP_2_3 cls_comp
class COMP_2_4 cls_comp
class COMP_2_5 cls_comp
class COMP_3 cls_comp
class COMP_3_1 cls_comp
class COMP_3_2 cls_comp
class COMP_3_3 cls_comp
class COMP_4 cls_comp
class COMP_4_1 cls_comp
class COMP_4_2 cls_comp
class COMP_5 cls_comp
class COMP_5_1 cls_comp
class COMP_5_2 cls_comp
class COMP_6 cls_comp
class COMP_7 cls_comp
class COMP_8 cls_comp
class COMP_9 cls_comp
class COMP_10 cls_comp
class COMP_11 cls_comp
class COMP_12 cls_comp
Pipeline Flow
flowchart LR
S1[[Observe]]
S2[[Infer]]
S3[[Allocate]]
S4[[Relate]]
S5[[Specify]]
S6[[Contract]]
S7[[Validate]]
S8[[Decompose]]
S9[[Synthesize]]
S10[[Emit]]
S1 -->|Inventory| S2
S2 -->|Capabilities| S3
S3 -->|Components| S4
S4 -->|Relationships| S5
S5 -->|Interfaces| S6
S6 -->|Test Contracts| S7
S7 -->|Score| S8
S8 -->|Systems| S9
S9 -->|Sub-models| S10
subgraph llm_loop[LLM Refinement Loop]
LLM_reinfer["LLM Re-inference"]
LLM_norm[Normalize]
LLM_apply[Apply]
LLM_reinfer --> LLM_norm --> LLM_apply
end
S2 -.-> LLM_reinfer
S3 -.-> LLM_reinfer
S4 -.-> LLM_reinfer
S5 -.-> LLM_reinfer
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class S1 cls_stage
class S2 cls_stage
class S3 cls_stage
class S4 cls_stage
class S5 cls_stage
class S6 cls_stage
class S7 cls_stage
class S8 cls_stage
class S9 cls_stage
class S10 cls_stage
class LLM_reinfer cls_comp
class LLM_norm cls_comp
class LLM_apply cls_comp
Entity Lifecycle
flowchart LR
subgraph s1[Observe]
mod1[/parser.py/]
mod2[/validator.py/]
end
subgraph s2[Infer]
cap1(Parsing)
end
subgraph s3[Allocate]
comp1[Parser Component]
end
subgraph s4[Relate]
beh1{{Parse Flow}}
end
subgraph s5[Specify]
if1((Parse API))
end
subgraph s6[Contract]
con1{Test Contract}
end
mod1 --> cap1 --> comp1 --> beh1 --> if1 --> con1
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class mod1 cls_mod
class mod2 cls_mod
class cap1 cls_cap
class comp1 cls_comp
class beh1 cls_beh
class if1 cls_iface
class con1 cls_con
COMP-1: Core
flowchart TB
COMP_1[Core]
subgraph ifaces[Interfaces]
IF_auto_COMP_1((Core API))
end
COMP_1 -.->|exposes| IF_auto_COMP_1
subgraph files[Source Files]
file_src/architecture_model/core/__init___py[/src/architecture_model/core/__init__.py/]
end
COMP_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1 cls_comp
class IF_auto_COMP_1 cls_iface
class file_src/architecture_model/core/__init___py cls_mod
COMP-1.1: Type System
flowchart TB
COMP_1_1[Type System]
subgraph ifaces[Interfaces]
IF_auto_COMP_1_1((Type System API))
end
COMP_1_1 -.->|exposes| IF_auto_COMP_1_1
subgraph files[Source Files]
file_src/architecture_model/core/types_py[/src/architecture_model/core/types.py/]
end
COMP_1_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1_1 cls_comp
class IF_auto_COMP_1_1 cls_iface
class file_src/architecture_model/core/types_py cls_mod
COMP-1.2: Validation
flowchart TB
COMP_1_2[Validation]
subgraph caps[Capabilities]
CAP_1(Validate Architecture Models)
end
COMP_1_2 ==>|realizes| CAP_1
subgraph ifaces[Interfaces]
IF_auto_COMP_1_2((Validation API))
end
COMP_1_2 -.->|exposes| IF_auto_COMP_1_2
subgraph files[Source Files]
file_src/architecture_model/core/validator_py[/src/architecture_model/core/validator.py/]
file_src/architecture_model/spec/__init___py[/src/architecture_model/spec/__init__.py/]
end
COMP_1_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1_2 cls_comp
class CAP_1 cls_cap
class IF_auto_COMP_1_2 cls_iface
class file_src/architecture_model/core/validator_py cls_mod
class file_src/architecture_model/spec/__init___py cls_mod
COMP-1.3: Parser & Persistence
flowchart TB
COMP_1_3[Parser & Persistence]
subgraph ifaces[Interfaces]
IF_auto_COMP_1_3((Parser & Persistence API))
end
COMP_1_3 -.->|exposes| IF_auto_COMP_1_3
subgraph files[Source Files]
file_src/architecture_model/core/parser_py[/src/architecture_model/core/parser.py/]
file_src/architecture_model/core/compression_py[/src/architecture_model/core/compression.py/]
file_src/architecture_model/core/merger_py[/src/architecture_model/core/merger.py/]
file_src/architecture_model/persistence/__init___py[/src/architecture_model/persistence/__init__.py/]
file_src/architecture_model/persistence/store_py[/src/architecture_model/persistence/store.py/]
end
COMP_1_3 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1_3 cls_comp
class IF_auto_COMP_1_3 cls_iface
class file_src/architecture_model/core/parser_py cls_mod
class file_src/architecture_model/core/compression_py cls_mod
class file_src/architecture_model/core/merger_py cls_mod
class file_src/architecture_model/persistence/__init___py cls_mod
class file_src/architecture_model/persistence/store_py cls_mod
COMP-1.4: Model Operations
flowchart TB
COMP_1_4[Model Operations]
subgraph caps[Capabilities]
CAP_7(Slice and Query Models)
CAP_8(Diff Model Versions)
CAP_13(Detect and Fix Model Drift)
end
COMP_1_4 ==>|realizes| CAP_7
COMP_1_4 ==>|realizes| CAP_8
COMP_1_4 ==>|realizes| CAP_13
subgraph ifaces[Interfaces]
IF_auto_COMP_1_4((Model Operations API))
end
COMP_1_4 -.->|exposes| IF_auto_COMP_1_4
subgraph files[Source Files]
file_src/architecture_model/core/slicer_py[/src/architecture_model/core/slicer.py/]
file_src/architecture_model/core/differ_py[/src/architecture_model/core/differ.py/]
file_src/architecture_model/core/coverage_py[/src/architecture_model/core/coverage.py/]
file_src/architecture_model/core/cluster_py[/src/architecture_model/core/cluster.py/]
file_src/architecture_model/core/source_block_assign_py[/src/architecture_model/core/source_block_assign.py/]
file_src/architecture_model/core/source_block_quality_py[/src/architecture_model/core/source_block_quality.py/]
file_src/architecture_model/core/representativeness_py[/src/architecture_model/core/representativeness.py/]
file_src/architecture_model/core/test_affinity_py[/src/architecture_model/core/test_affinity.py/]
end
COMP_1_4 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1_4 cls_comp
class CAP_7 cls_cap
class CAP_8 cls_cap
class CAP_13 cls_cap
class IF_auto_COMP_1_4 cls_iface
class file_src/architecture_model/core/slicer_py cls_mod
class file_src/architecture_model/core/differ_py cls_mod
class file_src/architecture_model/core/coverage_py cls_mod
class file_src/architecture_model/core/cluster_py cls_mod
class file_src/architecture_model/core/source_block_assign_py cls_mod
class file_src/architecture_model/core/source_block_quality_py cls_mod
class file_src/architecture_model/core/representativeness_py cls_mod
class file_src/architecture_model/core/test_affinity_py cls_mod
COMP-1.5: Quality Metrics
flowchart TB
COMP_1_5[Quality Metrics]
subgraph caps[Capabilities]
CAP_11(Assess Regen Readiness)
end
COMP_1_5 ==>|realizes| CAP_11
subgraph ifaces[Interfaces]
IF_auto_COMP_1_5((Quality Metrics API))
end
COMP_1_5 -.->|exposes| IF_auto_COMP_1_5
subgraph files[Source Files]
file_src/architecture_model/core/confidence_py[/src/architecture_model/core/confidence.py/]
file_src/architecture_model/core/regen_readiness_py[/src/architecture_model/core/regen_readiness.py/]
file_src/architecture_model/core/corrections_py[/src/architecture_model/core/corrections.py/]
file_src/architecture_model/core/decomposer_py[/src/architecture_model/core/decomposer.py/]
file_src/architecture_model/core/visualize_py[/src/architecture_model/core/visualize.py/]
end
COMP_1_5 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_1_5 cls_comp
class CAP_11 cls_cap
class IF_auto_COMP_1_5 cls_iface
class file_src/architecture_model/core/confidence_py cls_mod
class file_src/architecture_model/core/regen_readiness_py cls_mod
class file_src/architecture_model/core/corrections_py cls_mod
class file_src/architecture_model/core/decomposer_py cls_mod
class file_src/architecture_model/core/visualize_py cls_mod
COMP-2: Pipeline
flowchart TB
COMP_2[Pipeline]
subgraph caps[Capabilities]
CAP_3(Run Modular Extraction Pipeline)
end
COMP_2 ==>|realizes| CAP_3
subgraph ifaces[Interfaces]
IF_auto_COMP_2((Pipeline API))
end
COMP_2 -.->|exposes| IF_auto_COMP_2
subgraph files[Source Files]
file_src/architecture_model/pipeline/__init___py[/src/architecture_model/pipeline/__init__.py/]
end
COMP_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2 cls_comp
class CAP_3 cls_cap
class IF_auto_COMP_2 cls_iface
class file_src/architecture_model/pipeline/__init___py cls_mod
COMP-2.1: Pipeline Coordination
flowchart TB
COMP_2_1[Pipeline Coordination]
subgraph ifaces[Interfaces]
IF_auto_COMP_2_1((Pipeline Coordination API))
end
COMP_2_1 -.->|exposes| IF_auto_COMP_2_1
subgraph behs[Behaviors]
BEH_P1{{Run Extraction Pipeline}}
BEH_P1_R{{LLM Refinement}}
end
COMP_2_1 -.->|traces-to| BEH_P1
click BEH_P1 href "#diagram-use-case-BEH-P1"
COMP_2_1 -.->|traces-to| BEH_P1_R
click BEH_P1_R href "#diagram-use-case-BEH-P1.R"
COMP_1_1[Type System]
COMP_2_1 -->|depends-on| COMP_1_1
click COMP_1_1 href "#diagram-component-COMP-1.1"
subgraph files[Source Files]
file_src/architecture_model/pipeline/coordinator_py[/src/architecture_model/pipeline/coordinator.py/]
file_src/architecture_model/pipeline/protocol_py[/src/architecture_model/pipeline/protocol.py/]
file_src/architecture_model/pipeline/cache_py[/src/architecture_model/pipeline/cache.py/]
file_src/architecture_model/pipeline/context_gen_py[/src/architecture_model/pipeline/context_gen.py/]
file_src/architecture_model/pipeline/report_py[/src/architecture_model/pipeline/report.py/]
file_src/architecture_model/pipeline/artifacts_py[/src/architecture_model/pipeline/artifacts.py/]
file_src/architecture_model/pipeline/corrections_py[/src/architecture_model/pipeline/corrections.py/]
end
COMP_2_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2_1 cls_comp
class IF_auto_COMP_2_1 cls_iface
class BEH_P1 cls_beh
class BEH_P1_R cls_beh
class COMP_1_1 cls_comp
class file_src/architecture_model/pipeline/coordinator_py cls_mod
class file_src/architecture_model/pipeline/protocol_py cls_mod
class file_src/architecture_model/pipeline/cache_py cls_mod
class file_src/architecture_model/pipeline/context_gen_py cls_mod
class file_src/architecture_model/pipeline/report_py cls_mod
class file_src/architecture_model/pipeline/artifacts_py cls_mod
class file_src/architecture_model/pipeline/corrections_py cls_mod
COMP-2.2: Observation Stages
flowchart TB
COMP_2_2[Observation Stages]
subgraph ifaces[Interfaces]
IF_auto_COMP_2_2((Observation Stages API))
end
COMP_2_2 -.->|exposes| IF_auto_COMP_2_2
subgraph behs[Behaviors]
BEH_P1_1{{Run Observe Stage}}
BEH_P1_2{{Run Infer Stage}}
end
COMP_2_2 -.->|traces-to| BEH_P1_1
click BEH_P1_1 href "#diagram-use-case-BEH-P1.1"
COMP_2_2 -.->|traces-to| BEH_P1_2
click BEH_P1_2 href "#diagram-use-case-BEH-P1.2"
COMP_3_1[Scanners]
COMP_2_2 -->|depends-on| COMP_3_1
click COMP_3_1 href "#diagram-component-COMP-3.1"
subgraph files[Source Files]
file_src/architecture_model/pipeline/observe_py[/src/architecture_model/pipeline/observe.py/]
file_src/architecture_model/pipeline/observe_types_py[/src/architecture_model/pipeline/observe_types.py/]
file_src/architecture_model/pipeline/infer_py[/src/architecture_model/pipeline/infer.py/]
file_src/architecture_model/pipeline/infer_types_py[/src/architecture_model/pipeline/infer_types.py/]
end
COMP_2_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2_2 cls_comp
class IF_auto_COMP_2_2 cls_iface
class BEH_P1_1 cls_beh
class BEH_P1_2 cls_beh
class COMP_3_1 cls_comp
class file_src/architecture_model/pipeline/observe_py cls_mod
class file_src/architecture_model/pipeline/observe_types_py cls_mod
class file_src/architecture_model/pipeline/infer_py cls_mod
class file_src/architecture_model/pipeline/infer_types_py cls_mod
COMP-2.3: Allocation & Relation Stages
flowchart TB
COMP_2_3[Allocation & Relation Stages]
subgraph ifaces[Interfaces]
IF_auto_COMP_2_3((Allocation & Relation Stages API))
end
COMP_2_3 -.->|exposes| IF_auto_COMP_2_3
subgraph behs[Behaviors]
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_4{{Run Relate Stage}}
end
COMP_2_3 -.->|traces-to| BEH_P1_3
click BEH_P1_3 href "#diagram-use-case-BEH-P1.3"
COMP_2_3 -.->|traces-to| BEH_P1_4
click BEH_P1_4 href "#diagram-use-case-BEH-P1.4"
COMP_1_1[Type System]
COMP_2_3 -->|depends-on| COMP_1_1
click COMP_1_1 href "#diagram-component-COMP-1.1"
subgraph files[Source Files]
file_src/architecture_model/pipeline/allocate_py[/src/architecture_model/pipeline/allocate.py/]
file_src/architecture_model/pipeline/allocate_types_py[/src/architecture_model/pipeline/allocate_types.py/]
file_src/architecture_model/pipeline/relate_py[/src/architecture_model/pipeline/relate.py/]
file_src/architecture_model/pipeline/relate_types_py[/src/architecture_model/pipeline/relate_types.py/]
end
COMP_2_3 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2_3 cls_comp
class IF_auto_COMP_2_3 cls_iface
class BEH_P1_3 cls_beh
class BEH_P1_4 cls_beh
class COMP_1_1 cls_comp
class file_src/architecture_model/pipeline/allocate_py cls_mod
class file_src/architecture_model/pipeline/allocate_types_py cls_mod
class file_src/architecture_model/pipeline/relate_py cls_mod
class file_src/architecture_model/pipeline/relate_types_py cls_mod
COMP-2.4: Specification & Contract Stages
flowchart TB
COMP_2_4[Specification & Contract Stages]
subgraph ifaces[Interfaces]
IF_auto_COMP_2_4((Specification & Contract Stages API))
end
COMP_2_4 -.->|exposes| IF_auto_COMP_2_4
subgraph behs[Behaviors]
BEH_P1_5{{Run Specify Stage}}
BEH_P1_6{{Run Contract Stage}}
BEH_P1_7{{Run Validate Stage}}
end
COMP_2_4 -.->|traces-to| BEH_P1_5
click BEH_P1_5 href "#diagram-use-case-BEH-P1.5"
COMP_2_4 -.->|traces-to| BEH_P1_6
click BEH_P1_6 href "#diagram-use-case-BEH-P1.6"
COMP_2_4 -.->|traces-to| BEH_P1_7
click BEH_P1_7 href "#diagram-use-case-BEH-P1.7"
COMP_1_2[Validation]
COMP_2_4 -->|depends-on| COMP_1_2
click COMP_1_2 href "#diagram-component-COMP-1.2"
subgraph files[Source Files]
file_src/architecture_model/pipeline/specify_py[/src/architecture_model/pipeline/specify.py/]
file_src/architecture_model/pipeline/specify_types_py[/src/architecture_model/pipeline/specify_types.py/]
file_src/architecture_model/pipeline/contract_py[/src/architecture_model/pipeline/contract.py/]
file_src/architecture_model/pipeline/contract_types_py[/src/architecture_model/pipeline/contract_types.py/]
file_src/architecture_model/pipeline/validate_py[/src/architecture_model/pipeline/validate.py/]
file_src/architecture_model/pipeline/validate_types_py[/src/architecture_model/pipeline/validate_types.py/]
end
COMP_2_4 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2_4 cls_comp
class IF_auto_COMP_2_4 cls_iface
class BEH_P1_5 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_7 cls_beh
class COMP_1_2 cls_comp
class file_src/architecture_model/pipeline/specify_py cls_mod
class file_src/architecture_model/pipeline/specify_types_py cls_mod
class file_src/architecture_model/pipeline/contract_py cls_mod
class file_src/architecture_model/pipeline/contract_types_py cls_mod
class file_src/architecture_model/pipeline/validate_py cls_mod
class file_src/architecture_model/pipeline/validate_types_py cls_mod
COMP-2.5: Synthesis & Emit Stages
flowchart TB
COMP_2_5[Synthesis & Emit Stages]
subgraph ifaces[Interfaces]
IF_auto_COMP_2_5((Synthesis & Emit Stages API))
end
COMP_2_5 -.->|exposes| IF_auto_COMP_2_5
subgraph behs[Behaviors]
BEH_P1_8{{Run Decompose Stage}}
BEH_P1_9{{Run Synthesize Stage}}
BEH_P1_10{{Run Emit Stage}}
end
COMP_2_5 -.->|traces-to| BEH_P1_8
click BEH_P1_8 href "#diagram-use-case-BEH-P1.8"
COMP_2_5 -.->|traces-to| BEH_P1_9
click BEH_P1_9 href "#diagram-use-case-BEH-P1.9"
COMP_2_5 -.->|traces-to| BEH_P1_10
click BEH_P1_10 href "#diagram-use-case-BEH-P1.10"
COMP_1_3[Parser & Persistence]
COMP_2_5 -->|depends-on| COMP_1_3
click COMP_1_3 href "#diagram-component-COMP-1.3"
subgraph files[Source Files]
file_src/architecture_model/pipeline/decompose_py[/src/architecture_model/pipeline/decompose.py/]
file_src/architecture_model/pipeline/decompose_types_py[/src/architecture_model/pipeline/decompose_types.py/]
file_src/architecture_model/pipeline/synthesize_py[/src/architecture_model/pipeline/synthesize.py/]
file_src/architecture_model/pipeline/synthesize_types_py[/src/architecture_model/pipeline/synthesize_types.py/]
file_src/architecture_model/pipeline/emit_py[/src/architecture_model/pipeline/emit.py/]
file_src/architecture_model/pipeline/emit_types_py[/src/architecture_model/pipeline/emit_types.py/]
file_src/architecture_model/pipeline/regen_score_py[/src/architecture_model/pipeline/regen_score.py/]
end
COMP_2_5 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_2_5 cls_comp
class IF_auto_COMP_2_5 cls_iface
class BEH_P1_8 cls_beh
class BEH_P1_9 cls_beh
class BEH_P1_10 cls_beh
class COMP_1_3 cls_comp
class file_src/architecture_model/pipeline/decompose_py cls_mod
class file_src/architecture_model/pipeline/decompose_types_py cls_mod
class file_src/architecture_model/pipeline/synthesize_py cls_mod
class file_src/architecture_model/pipeline/synthesize_types_py cls_mod
class file_src/architecture_model/pipeline/emit_py cls_mod
class file_src/architecture_model/pipeline/emit_types_py cls_mod
class file_src/architecture_model/pipeline/regen_score_py cls_mod
COMP-3: Manifest
flowchart TB
COMP_3[Manifest]
subgraph caps[Capabilities]
CAP_4(Generate Reality Manifest)
end
COMP_3 ==>|realizes| CAP_4
subgraph ifaces[Interfaces]
IF_2((runner CLI))
IF_4(("COMP-3-1 Library API"))
end
COMP_3 -.->|exposes| IF_2
COMP_3 -.->|exposes| IF_4
subgraph files[Source Files]
file_src/architecture_model/manifest/__init___py[/src/architecture_model/manifest/__init__.py/]
file_src/architecture_model/manifest/types_py[/src/architecture_model/manifest/types.py/]
end
COMP_3 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_3 cls_comp
class CAP_4 cls_cap
class IF_2 cls_iface
class IF_4 cls_iface
class file_src/architecture_model/manifest/__init___py cls_mod
class file_src/architecture_model/manifest/types_py cls_mod
COMP-3.1: Scanners
flowchart TB
COMP_3_1[Scanners]
subgraph ifaces[Interfaces]
IF_auto_COMP_3_1((Scanners API))
end
COMP_3_1 -.->|exposes| IF_auto_COMP_3_1
COMP_9[Configuration]
COMP_3_1 -->|depends-on| COMP_9
click COMP_9 href "#diagram-component-COMP-9"
subgraph files[Source Files]
file_src/architecture_model/manifest/scanner_py[/src/architecture_model/manifest/scanner.py/]
file_src/architecture_model/manifest/multi_scanner_py[/src/architecture_model/manifest/multi_scanner.py/]
file_src/architecture_model/manifest/ts_scanner_py[/src/architecture_model/manifest/ts_scanner.py/]
file_src/architecture_model/manifest/kt_scanner_py[/src/architecture_model/manifest/kt_scanner.py/]
file_src/architecture_model/manifest/body_hints_py[/src/architecture_model/manifest/body_hints.py/]
file_src/architecture_model/manifest/metrics_py[/src/architecture_model/manifest/metrics.py/]
file_src/architecture_model/manifest/scan_cache_py[/src/architecture_model/manifest/scan_cache.py/]
file_src/architecture_model/manifest/protocol_py[/src/architecture_model/manifest/protocol.py/]
end
COMP_3_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_3_1 cls_comp
class IF_auto_COMP_3_1 cls_iface
class COMP_9 cls_comp
class file_src/architecture_model/manifest/scanner_py cls_mod
class file_src/architecture_model/manifest/multi_scanner_py cls_mod
class file_src/architecture_model/manifest/ts_scanner_py cls_mod
class file_src/architecture_model/manifest/kt_scanner_py cls_mod
class file_src/architecture_model/manifest/body_hints_py cls_mod
class file_src/architecture_model/manifest/metrics_py cls_mod
class file_src/architecture_model/manifest/scan_cache_py cls_mod
class file_src/architecture_model/manifest/protocol_py cls_mod
COMP-3.2: Graph & Analysis
flowchart TB
COMP_3_2[Graph & Analysis]
subgraph ifaces[Interfaces]
IF_auto_COMP_3_2((Graph & Analysis API))
end
COMP_3_2 -.->|exposes| IF_auto_COMP_3_2
COMP_3_1[Scanners]
COMP_3_2 -->|depends-on| COMP_3_1
click COMP_3_1 href "#diagram-component-COMP-3.1"
subgraph files[Source Files]
file_src/architecture_model/manifest/call_graph_py[/src/architecture_model/manifest/call_graph.py/]
file_src/architecture_model/manifest/interfaces_py[/src/architecture_model/manifest/interfaces.py/]
file_src/architecture_model/manifest/behavior_py[/src/architecture_model/manifest/behavior.py/]
file_src/architecture_model/manifest/chains_py[/src/architecture_model/manifest/chains.py/]
file_src/architecture_model/manifest/test_analyzer_py[/src/architecture_model/manifest/test_analyzer.py/]
end
COMP_3_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_3_2 cls_comp
class IF_auto_COMP_3_2 cls_iface
class COMP_3_1 cls_comp
class file_src/architecture_model/manifest/call_graph_py cls_mod
class file_src/architecture_model/manifest/interfaces_py cls_mod
class file_src/architecture_model/manifest/behavior_py cls_mod
class file_src/architecture_model/manifest/chains_py cls_mod
class file_src/architecture_model/manifest/test_analyzer_py cls_mod
COMP-3.3: Grouping & Generation
flowchart TB
COMP_3_3[Grouping & Generation]
subgraph ifaces[Interfaces]
IF_auto_COMP_3_3((Grouping & Generation API))
end
COMP_3_3 -.->|exposes| IF_auto_COMP_3_3
COMP_3_2[Graph & Analysis]
COMP_3_3 -->|depends-on| COMP_3_2
click COMP_3_2 href "#diagram-component-COMP-3.2"
subgraph files[Source Files]
file_src/architecture_model/manifest/grouping_py[/src/architecture_model/manifest/grouping.py/]
file_src/architecture_model/manifest/generator_py[/src/architecture_model/manifest/generator.py/]
file_src/architecture_model/manifest/recursive_py[/src/architecture_model/manifest/recursive.py/]
file_src/architecture_model/manifest/blocks_py[/src/architecture_model/manifest/blocks.py/]
file_src/architecture_model/manifest/slicers_py[/src/architecture_model/manifest/slicers.py/]
file_src/architecture_model/manifest/display_py[/src/architecture_model/manifest/display.py/]
end
COMP_3_3 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_3_3 cls_comp
class IF_auto_COMP_3_3 cls_iface
class COMP_3_2 cls_comp
class file_src/architecture_model/manifest/grouping_py cls_mod
class file_src/architecture_model/manifest/generator_py cls_mod
class file_src/architecture_model/manifest/recursive_py cls_mod
class file_src/architecture_model/manifest/blocks_py cls_mod
class file_src/architecture_model/manifest/slicers_py cls_mod
class file_src/architecture_model/manifest/display_py cls_mod
COMP-4: Documentation
flowchart TB
COMP_4[Documentation]
subgraph ifaces[Interfaces]
IF_1((main CLI))
IF_3(("COMP-4-7 Library API"))
IF_5(("COMP-4-1 Library API"))
IF_6(("COMP-4-2 Library API"))
IF_7(("COMP-4-3 Library API"))
IF_8(("COMP-4-4 Library API"))
IF_9(("COMP-4-5 Library API"))
IF_10(("COMP-4-6 Library API"))
IF_11(("COMP-4-8 Library API"))
IF_12(("COMP-4-9 Library API"))
IF_13(("COMP-4-10 Library API"))
IF_14(("COMP-4-11 Library API"))
IF_15(("COMP-4-12 Library API"))
IF_16(("COMP-4-13 Library API"))
end
COMP_4 -.->|exposes| IF_1
COMP_4 -.->|exposes| IF_3
COMP_4 -.->|exposes| IF_5
COMP_4 -.->|exposes| IF_6
COMP_4 -.->|exposes| IF_7
COMP_4 -.->|exposes| IF_8
COMP_4 -.->|exposes| IF_9
COMP_4 -.->|exposes| IF_10
COMP_4 -.->|exposes| IF_11
COMP_4 -.->|exposes| IF_12
COMP_4 -.->|exposes| IF_13
COMP_4 -.->|exposes| IF_14
COMP_4 -.->|exposes| IF_15
COMP_4 -.->|exposes| IF_16
subgraph files[Source Files]
file_src/architecture_model/docs/__init___py[/src/architecture_model/docs/__init__.py/]
end
COMP_4 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_4 cls_comp
class IF_1 cls_iface
class IF_3 cls_iface
class IF_5 cls_iface
class IF_6 cls_iface
class IF_7 cls_iface
class IF_8 cls_iface
class IF_9 cls_iface
class IF_10 cls_iface
class IF_11 cls_iface
class IF_12 cls_iface
class IF_13 cls_iface
class IF_14 cls_iface
class IF_15 cls_iface
class IF_16 cls_iface
class file_src/architecture_model/docs/__init___py cls_mod
COMP-4.1: Core Doc Generators
flowchart TB
COMP_4_1[Core Doc Generators]
subgraph ifaces[Interfaces]
IF_auto_COMP_4_1((Core Doc Generators API))
end
COMP_4_1 -.->|exposes| IF_auto_COMP_4_1
COMP_1_1[Type System]
COMP_4_1 -->|depends-on| COMP_1_1
click COMP_1_1 href "#diagram-component-COMP-1.1"
subgraph files[Source Files]
file_src/architecture_model/docs/generator_py[/src/architecture_model/docs/generator.py/]
file_src/architecture_model/docs/component_spec_py[/src/architecture_model/docs/component_spec.py/]
file_src/architecture_model/docs/icd_py[/src/architecture_model/docs/icd.py/]
file_src/architecture_model/docs/dependency_matrix_py[/src/architecture_model/docs/dependency_matrix.py/]
file_src/architecture_model/docs/health_py[/src/architecture_model/docs/health.py/]
file_src/architecture_model/docs/drift_py[/src/architecture_model/docs/drift.py/]
file_src/architecture_model/docs/diagrams_py[/src/architecture_model/docs/diagrams.py/]
file_src/architecture_model/docs/index_py[/src/architecture_model/docs/index.py/]
file_src/architecture_model/docs/behavior_spec_py[/src/architecture_model/docs/behavior_spec.py/]
file_src/architecture_model/docs/integration_flows_py[/src/architecture_model/docs/integration_flows.py/]
file_src/architecture_model/docs/system_design_py[/src/architecture_model/docs/system_design.py/]
end
COMP_4_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_4_1 cls_comp
class IF_auto_COMP_4_1 cls_iface
class COMP_1_1 cls_comp
class file_src/architecture_model/docs/generator_py cls_mod
class file_src/architecture_model/docs/component_spec_py cls_mod
class file_src/architecture_model/docs/icd_py cls_mod
class file_src/architecture_model/docs/dependency_matrix_py cls_mod
class file_src/architecture_model/docs/health_py cls_mod
class file_src/architecture_model/docs/drift_py cls_mod
class file_src/architecture_model/docs/diagrams_py cls_mod
class file_src/architecture_model/docs/index_py cls_mod
class file_src/architecture_model/docs/behavior_spec_py cls_mod
class file_src/architecture_model/docs/integration_flows_py cls_mod
class file_src/architecture_model/docs/system_design_py cls_mod
COMP-4.2: SE Document Suite
flowchart TB
COMP_4_2[SE Document Suite]
subgraph caps[Capabilities]
CAP_5(Generate SE Documentation)
end
COMP_4_2 ==>|realizes| CAP_5
subgraph ifaces[Interfaces]
IF_auto_COMP_4_2((SE Document Suite API))
end
COMP_4_2 -.->|exposes| IF_auto_COMP_4_2
COMP_4_1[Core Doc Generators]
COMP_4_2 -->|depends-on| COMP_4_1
click COMP_4_1 href "#diagram-component-COMP-4.1"
subgraph files[Source Files]
file_src/architecture_model/docs/se/__init___py[/src/architecture_model/docs/se/__init__.py/]
file_src/architecture_model/docs/se/generator_py[/src/architecture_model/docs/se/generator.py/]
file_src/architecture_model/docs/se/frontmatter_py[/src/architecture_model/docs/se/frontmatter.py/]
file_src/architecture_model/docs/se/detect_py[/src/architecture_model/docs/se/detect.py/]
file_src/architecture_model/docs/se/conops_py[/src/architecture_model/docs/se/conops.py/]
file_src/architecture_model/docs/se/functional_analysis_py[/src/architecture_model/docs/se/functional_analysis.py/]
file_src/architecture_model/docs/se/logical_architecture_py[/src/architecture_model/docs/se/logical_architecture.py/]
file_src/architecture_model/docs/se/requirements_analysis_py[/src/architecture_model/docs/se/requirements_analysis.py/]
file_src/architecture_model/docs/se/use_cases_py[/src/architecture_model/docs/se/use_cases.py/]
file_src/architecture_model/docs/se/verification_validation_py[/src/architecture_model/docs/se/verification_validation.py/]
file_src/architecture_model/docs/se/interface_spec_py[/src/architecture_model/docs/se/interface_spec.py/]
file_src/architecture_model/docs/se/operations_manual_py[/src/architecture_model/docs/se/operations_manual.py/]
file_src/architecture_model/docs/se/maintenance_manual_py[/src/architecture_model/docs/se/maintenance_manual.py/]
file_src/architecture_model/docs/se/risk_assessment_py[/src/architecture_model/docs/se/risk_assessment.py/]
file_src/architecture_model/docs/se/security_analysis_py[/src/architecture_model/docs/se/security_analysis.py/]
file_src/architecture_model/docs/se/data_model_py[/src/architecture_model/docs/se/data_model.py/]
file_src/architecture_model/docs/se/deployment_guide_py[/src/architecture_model/docs/se/deployment_guide.py/]
file_src/architecture_model/docs/se/api_reference_py[/src/architecture_model/docs/se/api_reference.py/]
file_src/architecture_model/docs/se/cli_reference_py[/src/architecture_model/docs/se/cli_reference.py/]
file_src/architecture_model/docs/se/changelog_py[/src/architecture_model/docs/se/changelog.py/]
file_src/architecture_model/docs/se/plugin_guide_py[/src/architecture_model/docs/se/plugin_guide.py/]
end
COMP_4_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_4_2 cls_comp
class CAP_5 cls_cap
class IF_auto_COMP_4_2 cls_iface
class COMP_4_1 cls_comp
class file_src/architecture_model/docs/se/__init___py cls_mod
class file_src/architecture_model/docs/se/generator_py cls_mod
class file_src/architecture_model/docs/se/frontmatter_py cls_mod
class file_src/architecture_model/docs/se/detect_py cls_mod
class file_src/architecture_model/docs/se/conops_py cls_mod
class file_src/architecture_model/docs/se/functional_analysis_py cls_mod
class file_src/architecture_model/docs/se/logical_architecture_py cls_mod
class file_src/architecture_model/docs/se/requirements_analysis_py cls_mod
class file_src/architecture_model/docs/se/use_cases_py cls_mod
class file_src/architecture_model/docs/se/verification_validation_py cls_mod
class file_src/architecture_model/docs/se/interface_spec_py cls_mod
class file_src/architecture_model/docs/se/operations_manual_py cls_mod
class file_src/architecture_model/docs/se/maintenance_manual_py cls_mod
class file_src/architecture_model/docs/se/risk_assessment_py cls_mod
class file_src/architecture_model/docs/se/security_analysis_py cls_mod
class file_src/architecture_model/docs/se/data_model_py cls_mod
class file_src/architecture_model/docs/se/deployment_guide_py cls_mod
class file_src/architecture_model/docs/se/api_reference_py cls_mod
class file_src/architecture_model/docs/se/cli_reference_py cls_mod
class file_src/architecture_model/docs/se/changelog_py cls_mod
class file_src/architecture_model/docs/se/plugin_guide_py cls_mod
COMP-5: Orchestration
flowchart TB
COMP_5[Orchestration]
subgraph ifaces[Interfaces]
IF_auto_COMP_5((Orchestration API))
end
COMP_5 -.->|exposes| IF_auto_COMP_5
subgraph files[Source Files]
file_src/architecture_model/orchestration/__init___py[/src/architecture_model/orchestration/__init__.py/]
end
COMP_5 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_5 cls_comp
class IF_auto_COMP_5 cls_iface
class file_src/architecture_model/orchestration/__init___py cls_mod
COMP-5.1: Enrichment
flowchart TB
COMP_5_1[Enrichment]
subgraph caps[Capabilities]
CAP_10(Enrich Models with Code Intelligence)
end
COMP_5_1 ==>|realizes| CAP_10
subgraph ifaces[Interfaces]
IF_auto_COMP_5_1((Enrichment API))
end
COMP_5_1 -.->|exposes| IF_auto_COMP_5_1
COMP_3[Manifest]
COMP_5_1 -->|depends-on| COMP_3
click COMP_3 href "#diagram-component-COMP-3"
COMP_1_1[Type System]
COMP_5_1 -->|depends-on| COMP_1_1
click COMP_1_1 href "#diagram-component-COMP-1.1"
subgraph files[Source Files]
file_src/architecture_model/orchestration/enrich_py[/src/architecture_model/orchestration/enrich.py/]
file_src/architecture_model/orchestration/auto_enrich_py[/src/architecture_model/orchestration/auto_enrich.py/]
file_src/architecture_model/orchestration/enrichment_context_py[/src/architecture_model/orchestration/enrichment_context.py/]
file_src/architecture_model/orchestration/capability_inference_py[/src/architecture_model/orchestration/capability_inference.py/]
file_src/architecture_model/orchestration/trigger_detection_py[/src/architecture_model/orchestration/trigger_detection.py/]
file_src/architecture_model/orchestration/use_case_inference_py[/src/architecture_model/orchestration/use_case_inference.py/]
file_src/architecture_model/orchestration/naming_context_py[/src/architecture_model/orchestration/naming_context.py/]
end
COMP_5_1 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_5_1 cls_comp
class CAP_10 cls_cap
class IF_auto_COMP_5_1 cls_iface
class COMP_3 cls_comp
class COMP_1_1 cls_comp
class file_src/architecture_model/orchestration/enrich_py cls_mod
class file_src/architecture_model/orchestration/auto_enrich_py cls_mod
class file_src/architecture_model/orchestration/enrichment_context_py cls_mod
class file_src/architecture_model/orchestration/capability_inference_py cls_mod
class file_src/architecture_model/orchestration/trigger_detection_py cls_mod
class file_src/architecture_model/orchestration/use_case_inference_py cls_mod
class file_src/architecture_model/orchestration/naming_context_py cls_mod
COMP-5.2: Decomposition
flowchart TB
COMP_5_2[Decomposition]
subgraph caps[Capabilities]
CAP_9(Decompose Models Hierarchically)
end
COMP_5_2 ==>|realizes| CAP_9
subgraph ifaces[Interfaces]
IF_auto_COMP_5_2((Decomposition API))
end
COMP_5_2 -.->|exposes| IF_auto_COMP_5_2
COMP_1_5[Quality Metrics]
COMP_5_2 -->|depends-on| COMP_1_5
click COMP_1_5 href "#diagram-component-COMP-1.5"
subgraph files[Source Files]
file_src/architecture_model/orchestration/decompose_py[/src/architecture_model/orchestration/decompose.py/]
file_src/architecture_model/orchestration/deep_decompose_py[/src/architecture_model/orchestration/deep_decompose.py/]
file_src/architecture_model/orchestration/behavior_decompose_py[/src/architecture_model/orchestration/behavior_decompose.py/]
file_src/architecture_model/orchestration/behavior_flows_py[/src/architecture_model/orchestration/behavior_flows.py/]
file_src/architecture_model/orchestration/compaction_py[/src/architecture_model/orchestration/compaction.py/]
file_src/architecture_model/orchestration/pipeline_py[/src/architecture_model/orchestration/pipeline.py/]
end
COMP_5_2 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_5_2 cls_comp
class CAP_9 cls_cap
class IF_auto_COMP_5_2 cls_iface
class COMP_1_5 cls_comp
class file_src/architecture_model/orchestration/decompose_py cls_mod
class file_src/architecture_model/orchestration/deep_decompose_py cls_mod
class file_src/architecture_model/orchestration/behavior_decompose_py cls_mod
class file_src/architecture_model/orchestration/behavior_flows_py cls_mod
class file_src/architecture_model/orchestration/compaction_py cls_mod
class file_src/architecture_model/orchestration/pipeline_py cls_mod
COMP-6: Extract
flowchart TB
COMP_6[Extract]
subgraph caps[Capabilities]
CAP_2(Extract Architecture from Code)
end
COMP_6 ==>|realizes| CAP_2
subgraph ifaces[Interfaces]
IF_auto_COMP_6((Extract API))
end
COMP_6 -.->|exposes| IF_auto_COMP_6
COMP_3_1[Scanners]
COMP_6 -->|depends-on| COMP_3_1
click COMP_3_1 href "#diagram-component-COMP-3.1"
COMP_9[Configuration]
COMP_6 -->|depends-on| COMP_9
click COMP_9 href "#diagram-component-COMP-9"
subgraph files[Source Files]
file_src/architecture_model/extract/from_code_py[/src/architecture_model/extract/from_code.py/]
file_src/architecture_model/extract/from_artifacts_py[/src/architecture_model/extract/from_artifacts.py/]
file_src/architecture_model/extract/route_detector_py[/src/architecture_model/extract/route_detector.py/]
file_src/architecture_model/extract/constraint_detector_py[/src/architecture_model/extract/constraint_detector.py/]
file_src/architecture_model/extract/table_parser_py[/src/architecture_model/extract/table_parser.py/]
end
COMP_6 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_6 cls_comp
class CAP_2 cls_cap
class IF_auto_COMP_6 cls_iface
class COMP_3_1 cls_comp
class COMP_9 cls_comp
class file_src/architecture_model/extract/from_code_py cls_mod
class file_src/architecture_model/extract/from_artifacts_py cls_mod
class file_src/architecture_model/extract/route_detector_py cls_mod
class file_src/architecture_model/extract/constraint_detector_py cls_mod
class file_src/architecture_model/extract/table_parser_py cls_mod
COMP-7: Authoring
flowchart TB
COMP_7[Authoring]
subgraph caps[Capabilities]
CAP_6(Author Model from Requirements)
CAP_12(Check Development Gate)
end
COMP_7 ==>|realizes| CAP_6
COMP_7 ==>|realizes| CAP_12
subgraph ifaces[Interfaces]
IF_auto_COMP_7((Authoring API))
end
COMP_7 -.->|exposes| IF_auto_COMP_7
COMP_1_1[Type System]
COMP_7 -->|depends-on| COMP_1_1
click COMP_1_1 href "#diagram-component-COMP-1.1"
COMP_3[Manifest]
COMP_7 -->|depends-on| COMP_3
click COMP_3 href "#diagram-component-COMP-3"
subgraph files[Source Files]
file_src/architecture_model/authoring/__init___py[/src/architecture_model/authoring/__init__.py/]
file_src/architecture_model/authoring/parser_py[/src/architecture_model/authoring/parser.py/]
file_src/architecture_model/authoring/gate_py[/src/architecture_model/authoring/gate.py/]
end
COMP_7 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_7 cls_comp
class CAP_6 cls_cap
class CAP_12 cls_cap
class IF_auto_COMP_7 cls_iface
class COMP_1_1 cls_comp
class COMP_3 cls_comp
class file_src/architecture_model/authoring/__init___py cls_mod
class file_src/architecture_model/authoring/parser_py cls_mod
class file_src/architecture_model/authoring/gate_py cls_mod
COMP-8: CLI
flowchart TB
COMP_8[CLI]
subgraph ifaces[Interfaces]
IF_auto_COMP_8((CLI API))
end
COMP_8 -.->|exposes| IF_auto_COMP_8
COMP_1[Core]
COMP_8 -->|depends-on| COMP_1
click COMP_1 href "#diagram-component-COMP-1"
COMP_2[Pipeline]
COMP_8 -->|depends-on| COMP_2
click COMP_2 href "#diagram-component-COMP-2"
COMP_3[Manifest]
COMP_8 -->|depends-on| COMP_3
click COMP_3 href "#diagram-component-COMP-3"
COMP_4[Documentation]
COMP_8 -->|depends-on| COMP_4
click COMP_4 href "#diagram-component-COMP-4"
COMP_5[Orchestration]
COMP_8 -->|depends-on| COMP_5
click COMP_5 href "#diagram-component-COMP-5"
COMP_7[Authoring]
COMP_8 -->|depends-on| COMP_7
click COMP_7 href "#diagram-component-COMP-7"
subgraph files[Source Files]
file_src/architecture_model/__init___py[/src/architecture_model/__init__.py/]
file_src/architecture_model/__main___py[/src/architecture_model/__main__.py/]
file_src/architecture_model/cli/__init___py[/src/architecture_model/cli/__init__.py/]
file_src/architecture_model/cli/main_py[/src/architecture_model/cli/main.py/]
file_src/architecture_model/cli/visualize_py[/src/architecture_model/cli/visualize.py/]
end
COMP_8 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_8 cls_comp
class IF_auto_COMP_8 cls_iface
class COMP_1 cls_comp
class COMP_2 cls_comp
class COMP_3 cls_comp
class COMP_4 cls_comp
class COMP_5 cls_comp
class COMP_7 cls_comp
class file_src/architecture_model/__init___py cls_mod
class file_src/architecture_model/__main___py cls_mod
class file_src/architecture_model/cli/__init___py cls_mod
class file_src/architecture_model/cli/main_py cls_mod
class file_src/architecture_model/cli/visualize_py cls_mod
COMP-9: Configuration
flowchart TB
COMP_9[Configuration]
subgraph ifaces[Interfaces]
IF_auto_COMP_9((Configuration API))
end
COMP_9 -.->|exposes| IF_auto_COMP_9
subgraph files[Source Files]
file_src/architecture_model/config/__init___py[/src/architecture_model/config/__init__.py/]
file_src/architecture_model/config/loader_py[/src/architecture_model/config/loader.py/]
file_src/architecture_model/config/schema_py[/src/architecture_model/config/schema.py/]
file_src/architecture_model/profiles/__init___py[/src/architecture_model/profiles/__init__.py/]
file_src/architecture_model/profiles/builtins/__init___py[/src/architecture_model/profiles/builtins/__init__.py/]
file_src/architecture_model/profiles/schema_py[/src/architecture_model/profiles/schema.py/]
end
COMP_9 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_9 cls_comp
class IF_auto_COMP_9 cls_iface
class file_src/architecture_model/config/__init___py cls_mod
class file_src/architecture_model/config/loader_py cls_mod
class file_src/architecture_model/config/schema_py cls_mod
class file_src/architecture_model/profiles/__init___py cls_mod
class file_src/architecture_model/profiles/builtins/__init___py cls_mod
class file_src/architecture_model/profiles/schema_py cls_mod
COMP-10: Export
flowchart TB
COMP_10[Export]
subgraph caps[Capabilities]
CAP_15(Export for AI Consumption)
end
COMP_10 ==>|realizes| CAP_15
subgraph ifaces[Interfaces]
IF_auto_COMP_10((Export API))
end
COMP_10 -.->|exposes| IF_auto_COMP_10
COMP_1_3[Parser & Persistence]
COMP_10 -->|depends-on| COMP_1_3
click COMP_1_3 href "#diagram-component-COMP-1.3"
subgraph files[Source Files]
file_src/architecture_model/export/__init___py[/src/architecture_model/export/__init__.py/]
file_src/architecture_model/export/flatfiles_py[/src/architecture_model/export/flatfiles.py/]
file_src/architecture_model/export/reference_py[/src/architecture_model/export/reference.py/]
end
COMP_10 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_10 cls_comp
class CAP_15 cls_cap
class IF_auto_COMP_10 cls_iface
class COMP_1_3 cls_comp
class file_src/architecture_model/export/__init___py cls_mod
class file_src/architecture_model/export/flatfiles_py cls_mod
class file_src/architecture_model/export/reference_py cls_mod
COMP-11: Pipeline Learning
flowchart TB
COMP_11[Pipeline Learning]
subgraph caps[Capabilities]
CAP_14(Manage Global Learnings)
end
COMP_11 ==>|realizes| CAP_14
subgraph ifaces[Interfaces]
IF_auto_COMP_11((Pipeline Learning API))
end
COMP_11 -.->|exposes| IF_auto_COMP_11
COMP_9[Configuration]
COMP_11 -->|depends-on| COMP_9
click COMP_9 href "#diagram-component-COMP-9"
subgraph files[Source Files]
file_src/architecture_model/pipeline/global_learning_py[/src/architecture_model/pipeline/global_learning.py/]
file_src/architecture_model/pipeline/learning_py[/src/architecture_model/pipeline/learning.py/]
file_src/architecture_model/pipeline/lessons_py[/src/architecture_model/pipeline/lessons.py/]
end
COMP_11 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_11 cls_comp
class CAP_14 cls_cap
class IF_auto_COMP_11 cls_iface
class COMP_9 cls_comp
class file_src/architecture_model/pipeline/global_learning_py cls_mod
class file_src/architecture_model/pipeline/learning_py cls_mod
class file_src/architecture_model/pipeline/lessons_py cls_mod
COMP-12: Utilities
flowchart TB
COMP_12[Utilities]
subgraph ifaces[Interfaces]
IF_auto_COMP_12((Utilities API))
end
COMP_12 -.->|exposes| IF_auto_COMP_12
COMP_9[Configuration]
COMP_12 -->|depends-on| COMP_9
click COMP_9 href "#diagram-component-COMP-9"
subgraph files[Source Files]
file_src/architecture_model/utils/__init___py[/src/architecture_model/utils/__init__.py/]
file_src/architecture_model/utils/discovery_py[/src/architecture_model/utils/discovery.py/]
file_src/architecture_model/monitoring_py[/src/architecture_model/monitoring.py/]
file_src/architecture_model/monitoring_checks_py[/src/architecture_model/monitoring_checks.py/]
file_src/architecture_model/patterns_py[/src/architecture_model/patterns.py/]
file_src/architecture_model/data/__init___py[/src/architecture_model/data/__init__.py/]
end
COMP_12 -.-> files
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class COMP_12 cls_comp
class IF_auto_COMP_12 cls_iface
class COMP_9 cls_comp
class file_src/architecture_model/utils/__init___py cls_mod
class file_src/architecture_model/utils/discovery_py cls_mod
class file_src/architecture_model/monitoring_py cls_mod
class file_src/architecture_model/monitoring_checks_py cls_mod
class file_src/architecture_model/patterns_py cls_mod
class file_src/architecture_model/data/__init___py cls_mod
BEH-19: CLI: Test Guided Round Trip
flowchart TB
BEH_19{{CLI: Test Guided Round Trip}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_19 cls_beh
BEH-20: CLI: Test Enriched Round Trip
flowchart TB
BEH_20{{CLI: Test Enriched Round Trip}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_20 cls_beh
BEH-21: CLI: Test Multi Repo
flowchart TB
BEH_21{{CLI: Test Multi Repo}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_21 cls_beh
BEH-22: CLI: Test Round Trip
flowchart TB
BEH_22{{CLI: Test Round Trip}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_22 cls_beh
BEH-23: CLI: Test Decomposed Round Trip
flowchart TB
BEH_23{{CLI: Test Decomposed Round Trip}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_23 cls_beh
BEH-24: CLI: Main
flowchart TB
BEH_24{{CLI: Main}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_24 cls_beh
BEH-25: CLI: Runner
flowchart TB
BEH_25{{CLI: Runner}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_25 cls_beh
BEH-P1: Run Extraction Pipeline
flowchart TB
BEH_P1{{Run Extraction Pipeline}}
COMP_2_1[Pipeline Coordination]
COMP_2_1 -.->|traces-to| BEH_P1
click COMP_2_1 href "#diagram-component-COMP-2.1"
subgraph sub[Sub-behaviors]
BEH_P1_1{{Run Observe Stage}}
BEH_P1_2{{Run Infer Stage}}
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_4{{Run Relate Stage}}
BEH_P1_5{{Run Specify Stage}}
BEH_P1_6{{Run Contract Stage}}
BEH_P1_7{{Run Validate Stage}}
BEH_P1_8{{Run Decompose Stage}}
BEH_P1_9{{Run Synthesize Stage}}
BEH_P1_10{{Run Emit Stage}}
BEH_P1_R{{LLM Refinement}}
end
BEH_P1 -.->|contains| BEH_P1_1
click BEH_P1_1 href "#diagram-use-case-BEH-P1.1"
BEH_P1 -.->|contains| BEH_P1_2
click BEH_P1_2 href "#diagram-use-case-BEH-P1.2"
BEH_P1 -.->|contains| BEH_P1_3
click BEH_P1_3 href "#diagram-use-case-BEH-P1.3"
BEH_P1 -.->|contains| BEH_P1_4
click BEH_P1_4 href "#diagram-use-case-BEH-P1.4"
BEH_P1 -.->|contains| BEH_P1_5
click BEH_P1_5 href "#diagram-use-case-BEH-P1.5"
BEH_P1 -.->|contains| BEH_P1_6
click BEH_P1_6 href "#diagram-use-case-BEH-P1.6"
BEH_P1 -.->|contains| BEH_P1_7
click BEH_P1_7 href "#diagram-use-case-BEH-P1.7"
BEH_P1 -.->|contains| BEH_P1_8
click BEH_P1_8 href "#diagram-use-case-BEH-P1.8"
BEH_P1 -.->|contains| BEH_P1_9
click BEH_P1_9 href "#diagram-use-case-BEH-P1.9"
BEH_P1 -.->|contains| BEH_P1_10
click BEH_P1_10 href "#diagram-use-case-BEH-P1.10"
BEH_P1 -.->|contains| BEH_P1_R
click BEH_P1_R href "#diagram-use-case-BEH-P1.R"
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1 cls_beh
class COMP_2_1 cls_comp
class BEH_P1_1 cls_beh
class BEH_P1_2 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_5 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_7 cls_beh
class BEH_P1_8 cls_beh
class BEH_P1_9 cls_beh
class BEH_P1_10 cls_beh
class BEH_P1_R cls_beh
BEH-P1.1: Run Observe Stage
flowchart TB
BEH_P1_1{{Run Observe Stage}}
COMP_2_2[Observation Stages]
COMP_2_2 -.->|traces-to| BEH_P1_1
click COMP_2_2 href "#diagram-component-COMP-2.2"
subgraph sub[Sub-behaviors]
BEH_P1_1_1{{Filter Files}}
BEH_P1_1_2{{Scan Module}}
BEH_P1_1_3{{Extract Functions}}
BEH_P1_1_4{{Extract Classes}}
BEH_P1_1_5{{Extract Constants}}
BEH_P1_1_6{{Extract Imports}}
BEH_P1_1_7{{Resolve Import Edges}}
BEH_P1_1_8{{Detect Routes}}
BEH_P1_1_9{{Detect Constraints}}
BEH_P1_1_10{{Find Tests}}
BEH_P1_1_11{{Find Docs}}
end
BEH_P1_1 -.->|contains| BEH_P1_1_1
click BEH_P1_1_1 href "#diagram-use-case-BEH-P1.1.1"
BEH_P1_1 -.->|contains| BEH_P1_1_2
click BEH_P1_1_2 href "#diagram-use-case-BEH-P1.1.2"
BEH_P1_1 -.->|contains| BEH_P1_1_3
click BEH_P1_1_3 href "#diagram-use-case-BEH-P1.1.3"
BEH_P1_1 -.->|contains| BEH_P1_1_4
click BEH_P1_1_4 href "#diagram-use-case-BEH-P1.1.4"
BEH_P1_1 -.->|contains| BEH_P1_1_5
click BEH_P1_1_5 href "#diagram-use-case-BEH-P1.1.5"
BEH_P1_1 -.->|contains| BEH_P1_1_6
click BEH_P1_1_6 href "#diagram-use-case-BEH-P1.1.6"
BEH_P1_1 -.->|contains| BEH_P1_1_7
click BEH_P1_1_7 href "#diagram-use-case-BEH-P1.1.7"
BEH_P1_1 -.->|contains| BEH_P1_1_8
click BEH_P1_1_8 href "#diagram-use-case-BEH-P1.1.8"
BEH_P1_1 -.->|contains| BEH_P1_1_9
click BEH_P1_1_9 href "#diagram-use-case-BEH-P1.1.9"
BEH_P1_1 -.->|contains| BEH_P1_1_10
click BEH_P1_1_10 href "#diagram-use-case-BEH-P1.1.10"
BEH_P1_1 -.->|contains| BEH_P1_1_11
click BEH_P1_1_11 href "#diagram-use-case-BEH-P1.1.11"
BEH_P1_2{{Run Infer Stage}}
BEH_P1_1 -->|triggers| BEH_P1_2
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1 cls_beh
class COMP_2_2 cls_comp
class BEH_P1_1_1 cls_beh
class BEH_P1_1_2 cls_beh
class BEH_P1_1_3 cls_beh
class BEH_P1_1_4 cls_beh
class BEH_P1_1_5 cls_beh
class BEH_P1_1_6 cls_beh
class BEH_P1_1_7 cls_beh
class BEH_P1_1_8 cls_beh
class BEH_P1_1_9 cls_beh
class BEH_P1_1_10 cls_beh
class BEH_P1_1_11 cls_beh
class BEH_P1_2 cls_beh
BEH-P1.2: Run Infer Stage
flowchart TB
BEH_P1_2{{Run Infer Stage}}
COMP_2_2[Observation Stages]
COMP_2_2 -.->|traces-to| BEH_P1_2
click COMP_2_2 href "#diagram-component-COMP-2.2"
subgraph sub[Sub-behaviors]
BEH_P1_2_1{{Infer from Routes}}
BEH_P1_2_2{{Infer from Triggers}}
BEH_P1_2_3{{Infer Domain Modules}}
BEH_P1_2_4{{Infer CLI}}
BEH_P1_2_5{{Infer Infrastructure}}
BEH_P1_2_6{{Infer Package Grouping}}
BEH_P1_2_7{{Infer Default Actors}}
BEH_P1_2_8{{Infer Behaviors}}
BEH_P1_2_9{{Infer Library Behaviors}}
BEH_P1_2_10{{Infer Fallback}}
end
BEH_P1_2 -.->|contains| BEH_P1_2_1
click BEH_P1_2_1 href "#diagram-use-case-BEH-P1.2.1"
BEH_P1_2 -.->|contains| BEH_P1_2_2
click BEH_P1_2_2 href "#diagram-use-case-BEH-P1.2.2"
BEH_P1_2 -.->|contains| BEH_P1_2_3
click BEH_P1_2_3 href "#diagram-use-case-BEH-P1.2.3"
BEH_P1_2 -.->|contains| BEH_P1_2_4
click BEH_P1_2_4 href "#diagram-use-case-BEH-P1.2.4"
BEH_P1_2 -.->|contains| BEH_P1_2_5
click BEH_P1_2_5 href "#diagram-use-case-BEH-P1.2.5"
BEH_P1_2 -.->|contains| BEH_P1_2_6
click BEH_P1_2_6 href "#diagram-use-case-BEH-P1.2.6"
BEH_P1_2 -.->|contains| BEH_P1_2_7
click BEH_P1_2_7 href "#diagram-use-case-BEH-P1.2.7"
BEH_P1_2 -.->|contains| BEH_P1_2_8
click BEH_P1_2_8 href "#diagram-use-case-BEH-P1.2.8"
BEH_P1_2 -.->|contains| BEH_P1_2_9
click BEH_P1_2_9 href "#diagram-use-case-BEH-P1.2.9"
BEH_P1_2 -.->|contains| BEH_P1_2_10
click BEH_P1_2_10 href "#diagram-use-case-BEH-P1.2.10"
BEH_P1_1{{Run Observe Stage}}
BEH_P1_1 -->|triggers| BEH_P1_2
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_2 -->|triggers| BEH_P1_3
BEH_P1_R{{LLM Refinement}}
BEH_P1_2 -->|triggers| BEH_P1_R
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2 cls_beh
class COMP_2_2 cls_comp
class BEH_P1_2_1 cls_beh
class BEH_P1_2_2 cls_beh
class BEH_P1_2_3 cls_beh
class BEH_P1_2_4 cls_beh
class BEH_P1_2_5 cls_beh
class BEH_P1_2_6 cls_beh
class BEH_P1_2_7 cls_beh
class BEH_P1_2_8 cls_beh
class BEH_P1_2_9 cls_beh
class BEH_P1_2_10 cls_beh
class BEH_P1_1 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_R cls_beh
BEH-P1.3: Run Allocate Stage
flowchart TB
BEH_P1_3{{Run Allocate Stage}}
COMP_2_3[Allocation & Relation Stages]
COMP_2_3 -.->|traces-to| BEH_P1_3
click COMP_2_3 href "#diagram-component-COMP-2.3"
subgraph sub[Sub-behaviors]
BEH_P1_3_1{{Detect Project Type}}
BEH_P1_3_2{{Seed from Capabilities}}
BEH_P1_3_3{{Import Affinity}}
BEH_P1_3_4{{"Per-File Allocation"}}
BEH_P1_3_5{{Split Oversized}}
BEH_P1_3_6{{Merge Undersized}}
BEH_P1_3_7{{Infer Layer}}
BEH_P1_3_8{{Boundary Coherence}}
BEH_P1_3_9{{Package Grouping}}
end
BEH_P1_3 -.->|contains| BEH_P1_3_1
click BEH_P1_3_1 href "#diagram-use-case-BEH-P1.3.1"
BEH_P1_3 -.->|contains| BEH_P1_3_2
click BEH_P1_3_2 href "#diagram-use-case-BEH-P1.3.2"
BEH_P1_3 -.->|contains| BEH_P1_3_3
click BEH_P1_3_3 href "#diagram-use-case-BEH-P1.3.3"
BEH_P1_3 -.->|contains| BEH_P1_3_4
click BEH_P1_3_4 href "#diagram-use-case-BEH-P1.3.4"
BEH_P1_3 -.->|contains| BEH_P1_3_5
click BEH_P1_3_5 href "#diagram-use-case-BEH-P1.3.5"
BEH_P1_3 -.->|contains| BEH_P1_3_6
click BEH_P1_3_6 href "#diagram-use-case-BEH-P1.3.6"
BEH_P1_3 -.->|contains| BEH_P1_3_7
click BEH_P1_3_7 href "#diagram-use-case-BEH-P1.3.7"
BEH_P1_3 -.->|contains| BEH_P1_3_8
click BEH_P1_3_8 href "#diagram-use-case-BEH-P1.3.8"
BEH_P1_3 -.->|contains| BEH_P1_3_9
click BEH_P1_3_9 href "#diagram-use-case-BEH-P1.3.9"
BEH_P1_2{{Run Infer Stage}}
BEH_P1_2 -->|triggers| BEH_P1_3
BEH_P1_4{{Run Relate Stage}}
BEH_P1_3 -->|triggers| BEH_P1_4
BEH_P1_R{{LLM Refinement}}
BEH_P1_3 -->|triggers| BEH_P1_R
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3 cls_beh
class COMP_2_3 cls_comp
class BEH_P1_3_1 cls_beh
class BEH_P1_3_2 cls_beh
class BEH_P1_3_3 cls_beh
class BEH_P1_3_4 cls_beh
class BEH_P1_3_5 cls_beh
class BEH_P1_3_6 cls_beh
class BEH_P1_3_7 cls_beh
class BEH_P1_3_8 cls_beh
class BEH_P1_3_9 cls_beh
class BEH_P1_2 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_R cls_beh
BEH-P1.4: Run Relate Stage
flowchart TB
BEH_P1_4{{Run Relate Stage}}
COMP_2_3[Allocation & Relation Stages]
COMP_2_3 -.->|traces-to| BEH_P1_4
click COMP_2_3 href "#diagram-component-COMP-2.3"
subgraph sub[Sub-behaviors]
BEH_P1_4_1{{Derive Realizes}}
BEH_P1_4_2{{"Derive Depends-On"}}
BEH_P1_4_3{{Derive Contains}}
BEH_P1_4_4{{Derive Exposes}}
BEH_P1_4_5{{"Derive Constrained-By"}}
BEH_P1_4_6{{Build File Map}}
end
BEH_P1_4 -.->|contains| BEH_P1_4_1
click BEH_P1_4_1 href "#diagram-use-case-BEH-P1.4.1"
BEH_P1_4 -.->|contains| BEH_P1_4_2
click BEH_P1_4_2 href "#diagram-use-case-BEH-P1.4.2"
BEH_P1_4 -.->|contains| BEH_P1_4_3
click BEH_P1_4_3 href "#diagram-use-case-BEH-P1.4.3"
BEH_P1_4 -.->|contains| BEH_P1_4_4
click BEH_P1_4_4 href "#diagram-use-case-BEH-P1.4.4"
BEH_P1_4 -.->|contains| BEH_P1_4_5
click BEH_P1_4_5 href "#diagram-use-case-BEH-P1.4.5"
BEH_P1_4 -.->|contains| BEH_P1_4_6
click BEH_P1_4_6 href "#diagram-use-case-BEH-P1.4.6"
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_3 -->|triggers| BEH_P1_4
BEH_P1_5{{Run Specify Stage}}
BEH_P1_4 -->|triggers| BEH_P1_5
BEH_P1_R{{LLM Refinement}}
BEH_P1_4 -->|triggers| BEH_P1_R
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4 cls_beh
class COMP_2_3 cls_comp
class BEH_P1_4_1 cls_beh
class BEH_P1_4_2 cls_beh
class BEH_P1_4_3 cls_beh
class BEH_P1_4_4 cls_beh
class BEH_P1_4_5 cls_beh
class BEH_P1_4_6 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_5 cls_beh
class BEH_P1_R cls_beh
BEH-P1.5: Run Specify Stage
flowchart TB
BEH_P1_5{{Run Specify Stage}}
COMP_2_4[Specification & Contract Stages]
COMP_2_4 -.->|traces-to| BEH_P1_5
click COMP_2_4 href "#diagram-component-COMP-2.4"
subgraph sub[Sub-behaviors]
BEH_P1_5_1{{Specify REST Interfaces}}
BEH_P1_5_2{{Specify CLI Interfaces}}
BEH_P1_5_3{{Specify Library API}}
BEH_P1_5_4{{Name Library Interface}}
BEH_P1_5_5{{Specify Fallback}}
end
BEH_P1_5 -.->|contains| BEH_P1_5_1
click BEH_P1_5_1 href "#diagram-use-case-BEH-P1.5.1"
BEH_P1_5 -.->|contains| BEH_P1_5_2
click BEH_P1_5_2 href "#diagram-use-case-BEH-P1.5.2"
BEH_P1_5 -.->|contains| BEH_P1_5_3
click BEH_P1_5_3 href "#diagram-use-case-BEH-P1.5.3"
BEH_P1_5 -.->|contains| BEH_P1_5_4
click BEH_P1_5_4 href "#diagram-use-case-BEH-P1.5.4"
BEH_P1_5 -.->|contains| BEH_P1_5_5
click BEH_P1_5_5 href "#diagram-use-case-BEH-P1.5.5"
BEH_P1_4{{Run Relate Stage}}
BEH_P1_4 -->|triggers| BEH_P1_5
BEH_P1_6{{Run Contract Stage}}
BEH_P1_5 -->|triggers| BEH_P1_6
BEH_P1_R{{LLM Refinement}}
BEH_P1_5 -->|triggers| BEH_P1_R
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5 cls_beh
class COMP_2_4 cls_comp
class BEH_P1_5_1 cls_beh
class BEH_P1_5_2 cls_beh
class BEH_P1_5_3 cls_beh
class BEH_P1_5_4 cls_beh
class BEH_P1_5_5 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_R cls_beh
BEH-P1.6: Run Contract Stage
flowchart TB
BEH_P1_6{{Run Contract Stage}}
COMP_2_4[Specification & Contract Stages]
COMP_2_4 -.->|traces-to| BEH_P1_6
click COMP_2_4 href "#diagram-component-COMP-2.4"
subgraph sub[Sub-behaviors]
BEH_P1_6_1{{Match by Target}}
BEH_P1_6_2{{Match by Directory}}
end
BEH_P1_6 -.->|contains| BEH_P1_6_1
click BEH_P1_6_1 href "#diagram-use-case-BEH-P1.6.1"
BEH_P1_6 -.->|contains| BEH_P1_6_2
click BEH_P1_6_2 href "#diagram-use-case-BEH-P1.6.2"
BEH_P1_5{{Run Specify Stage}}
BEH_P1_5 -->|triggers| BEH_P1_6
BEH_P1_7{{Run Validate Stage}}
BEH_P1_6 -->|triggers| BEH_P1_7
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_6 cls_beh
class COMP_2_4 cls_comp
class BEH_P1_6_1 cls_beh
class BEH_P1_6_2 cls_beh
class BEH_P1_5 cls_beh
class BEH_P1_7 cls_beh
BEH-P1.7: Run Validate Stage
flowchart TB
BEH_P1_7{{Run Validate Stage}}
COMP_2_4[Specification & Contract Stages]
COMP_2_4 -.->|traces-to| BEH_P1_7
click COMP_2_4 href "#diagram-component-COMP-2.4"
subgraph sub[Sub-behaviors]
BEH_P1_7_1{{Check Capability Realization}}
BEH_P1_7_2{{Detect Orphans}}
BEH_P1_7_3{{Check File Coverage}}
BEH_P1_7_4{{Check Boundary Coherence}}
BEH_P1_7_5{{Compute Confidence}}
end
BEH_P1_7 -.->|contains| BEH_P1_7_1
click BEH_P1_7_1 href "#diagram-use-case-BEH-P1.7.1"
BEH_P1_7 -.->|contains| BEH_P1_7_2
click BEH_P1_7_2 href "#diagram-use-case-BEH-P1.7.2"
BEH_P1_7 -.->|contains| BEH_P1_7_3
click BEH_P1_7_3 href "#diagram-use-case-BEH-P1.7.3"
BEH_P1_7 -.->|contains| BEH_P1_7_4
click BEH_P1_7_4 href "#diagram-use-case-BEH-P1.7.4"
BEH_P1_7 -.->|contains| BEH_P1_7_5
click BEH_P1_7_5 href "#diagram-use-case-BEH-P1.7.5"
BEH_P1_6{{Run Contract Stage}}
BEH_P1_6 -->|triggers| BEH_P1_7
BEH_P1_8{{Run Decompose Stage}}
BEH_P1_7 -->|triggers| BEH_P1_8
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7 cls_beh
class COMP_2_4 cls_comp
class BEH_P1_7_1 cls_beh
class BEH_P1_7_2 cls_beh
class BEH_P1_7_3 cls_beh
class BEH_P1_7_4 cls_beh
class BEH_P1_7_5 cls_beh
class BEH_P1_6 cls_beh
class BEH_P1_8 cls_beh
BEH-P1.8: Run Decompose Stage
flowchart TB
BEH_P1_8{{Run Decompose Stage}}
COMP_2_5[Synthesis & Emit Stages]
COMP_2_5 -.->|traces-to| BEH_P1_8
click COMP_2_5 href "#diagram-component-COMP-2.5"
subgraph sub[Sub-behaviors]
BEH_P1_8_1{{Identify Autonomous Systems}}
BEH_P1_8_2{{Decompose Large Components}}
BEH_P1_8_3{{Cluster by Directory}}
BEH_P1_8_4{{Merge Coupled Components}}
end
BEH_P1_8 -.->|contains| BEH_P1_8_1
click BEH_P1_8_1 href "#diagram-use-case-BEH-P1.8.1"
BEH_P1_8 -.->|contains| BEH_P1_8_2
click BEH_P1_8_2 href "#diagram-use-case-BEH-P1.8.2"
BEH_P1_8 -.->|contains| BEH_P1_8_3
click BEH_P1_8_3 href "#diagram-use-case-BEH-P1.8.3"
BEH_P1_8 -.->|contains| BEH_P1_8_4
click BEH_P1_8_4 href "#diagram-use-case-BEH-P1.8.4"
BEH_P1_7{{Run Validate Stage}}
BEH_P1_7 -->|triggers| BEH_P1_8
BEH_P1_9{{Run Synthesize Stage}}
BEH_P1_8 -->|triggers| BEH_P1_9
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_8 cls_beh
class COMP_2_5 cls_comp
class BEH_P1_8_1 cls_beh
class BEH_P1_8_2 cls_beh
class BEH_P1_8_3 cls_beh
class BEH_P1_8_4 cls_beh
class BEH_P1_7 cls_beh
class BEH_P1_9 cls_beh
BEH-P1.9: Run Synthesize Stage
flowchart TB
BEH_P1_9{{Run Synthesize Stage}}
COMP_2_5[Synthesis & Emit Stages]
COMP_2_5 -.->|traces-to| BEH_P1_9
click COMP_2_5 href "#diagram-component-COMP-2.5"
subgraph sub[Sub-behaviors]
BEH_P1_9_1{{Decide Stages}}
BEH_P1_9_2{{"Run Scoped Sub-Pipeline"}}
BEH_P1_9_3{{Build Model YAML}}
BEH_P1_9_4{{Build Manifest}}
BEH_P1_9_5{{"Build System-of-Systems"}}
BEH_P1_9_6{{Collect Lessons}}
end
BEH_P1_9 -.->|contains| BEH_P1_9_1
click BEH_P1_9_1 href "#diagram-use-case-BEH-P1.9.1"
BEH_P1_9 -.->|contains| BEH_P1_9_2
click BEH_P1_9_2 href "#diagram-use-case-BEH-P1.9.2"
BEH_P1_9 -.->|contains| BEH_P1_9_3
click BEH_P1_9_3 href "#diagram-use-case-BEH-P1.9.3"
BEH_P1_9 -.->|contains| BEH_P1_9_4
click BEH_P1_9_4 href "#diagram-use-case-BEH-P1.9.4"
BEH_P1_9 -.->|contains| BEH_P1_9_5
click BEH_P1_9_5 href "#diagram-use-case-BEH-P1.9.5"
BEH_P1_9 -.->|contains| BEH_P1_9_6
click BEH_P1_9_6 href "#diagram-use-case-BEH-P1.9.6"
BEH_P1_8{{Run Decompose Stage}}
BEH_P1_8 -->|triggers| BEH_P1_9
BEH_P1_10{{Run Emit Stage}}
BEH_P1_9 -->|triggers| BEH_P1_10
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9 cls_beh
class COMP_2_5 cls_comp
class BEH_P1_9_1 cls_beh
class BEH_P1_9_2 cls_beh
class BEH_P1_9_3 cls_beh
class BEH_P1_9_4 cls_beh
class BEH_P1_9_5 cls_beh
class BEH_P1_9_6 cls_beh
class BEH_P1_8 cls_beh
class BEH_P1_10 cls_beh
BEH-P1.10: Run Emit Stage
flowchart TB
BEH_P1_10{{Run Emit Stage}}
COMP_2_5[Synthesis & Emit Stages]
COMP_2_5 -.->|traces-to| BEH_P1_10
click COMP_2_5 href "#diagram-component-COMP-2.5"
subgraph sub[Sub-behaviors]
BEH_P1_10_1{{Write Files}}
BEH_P1_10_2{{Build Test Map}}
BEH_P1_10_3{{Generate SE Docs}}
BEH_P1_10_4{{Enrich Model}}
BEH_P1_10_5{{System Interactions}}
BEH_P1_10_6{{LLM Reviews}}
BEH_P1_10_7{{Inline Reviews}}
end
BEH_P1_10 -.->|contains| BEH_P1_10_1
click BEH_P1_10_1 href "#diagram-use-case-BEH-P1.10.1"
BEH_P1_10 -.->|contains| BEH_P1_10_2
click BEH_P1_10_2 href "#diagram-use-case-BEH-P1.10.2"
BEH_P1_10 -.->|contains| BEH_P1_10_3
click BEH_P1_10_3 href "#diagram-use-case-BEH-P1.10.3"
BEH_P1_10 -.->|contains| BEH_P1_10_4
click BEH_P1_10_4 href "#diagram-use-case-BEH-P1.10.4"
BEH_P1_10 -.->|contains| BEH_P1_10_5
click BEH_P1_10_5 href "#diagram-use-case-BEH-P1.10.5"
BEH_P1_10 -.->|contains| BEH_P1_10_6
click BEH_P1_10_6 href "#diagram-use-case-BEH-P1.10.6"
BEH_P1_10 -.->|contains| BEH_P1_10_7
click BEH_P1_10_7 href "#diagram-use-case-BEH-P1.10.7"
BEH_P1_9{{Run Synthesize Stage}}
BEH_P1_9 -->|triggers| BEH_P1_10
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10 cls_beh
class COMP_2_5 cls_comp
class BEH_P1_10_1 cls_beh
class BEH_P1_10_2 cls_beh
class BEH_P1_10_3 cls_beh
class BEH_P1_10_4 cls_beh
class BEH_P1_10_5 cls_beh
class BEH_P1_10_6 cls_beh
class BEH_P1_10_7 cls_beh
class BEH_P1_9 cls_beh
BEH-P1.R: LLM Refinement
flowchart TB
BEH_P1_R{{LLM Refinement}}
COMP_2_1[Pipeline Coordination]
COMP_2_1 -.->|traces-to| BEH_P1_R
click COMP_2_1 href "#diagram-component-COMP-2.1"
subgraph sub[Sub-behaviors]
BEH_P1_R_1{{Build Refinement Prompt}}
BEH_P1_R_2{{Normalize LLM Output}}
BEH_P1_R_3{{Diff Stage Outputs}}
BEH_P1_R_4{{Apply Corrections}}
end
BEH_P1_R -.->|contains| BEH_P1_R_1
click BEH_P1_R_1 href "#diagram-use-case-BEH-P1.R.1"
BEH_P1_R -.->|contains| BEH_P1_R_2
click BEH_P1_R_2 href "#diagram-use-case-BEH-P1.R.2"
BEH_P1_R -.->|contains| BEH_P1_R_3
click BEH_P1_R_3 href "#diagram-use-case-BEH-P1.R.3"
BEH_P1_R -.->|contains| BEH_P1_R_4
click BEH_P1_R_4 href "#diagram-use-case-BEH-P1.R.4"
BEH_P1_2{{Run Infer Stage}}
BEH_P1_2 -->|triggers| BEH_P1_R
BEH_P1_3{{Run Allocate Stage}}
BEH_P1_3 -->|triggers| BEH_P1_R
BEH_P1_4{{Run Relate Stage}}
BEH_P1_4 -->|triggers| BEH_P1_R
BEH_P1_5{{Run Specify Stage}}
BEH_P1_5 -->|triggers| BEH_P1_R
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_R cls_beh
class COMP_2_1 cls_comp
class BEH_P1_R_1 cls_beh
class BEH_P1_R_2 cls_beh
class BEH_P1_R_3 cls_beh
class BEH_P1_R_4 cls_beh
class BEH_P1_2 cls_beh
class BEH_P1_3 cls_beh
class BEH_P1_4 cls_beh
class BEH_P1_5 cls_beh
BEH-P1.1.1: Filter Files
flowchart TB
BEH_P1_1_1{{Filter Files}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_1 cls_beh
BEH-P1.1.2: Scan Module
flowchart TB
BEH_P1_1_2{{Scan Module}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_2 cls_beh
BEH-P1.1.3: Extract Functions
flowchart TB
BEH_P1_1_3{{Extract Functions}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_3 cls_beh
BEH-P1.1.4: Extract Classes
flowchart TB
BEH_P1_1_4{{Extract Classes}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_4 cls_beh
BEH-P1.1.5: Extract Constants
flowchart TB
BEH_P1_1_5{{Extract Constants}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_5 cls_beh
BEH-P1.1.6: Extract Imports
flowchart TB
BEH_P1_1_6{{Extract Imports}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_6 cls_beh
BEH-P1.1.7: Resolve Import Edges
flowchart TB
BEH_P1_1_7{{Resolve Import Edges}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_7 cls_beh
BEH-P1.1.8: Detect Routes
flowchart TB
BEH_P1_1_8{{Detect Routes}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_8 cls_beh
BEH-P1.1.9: Detect Constraints
flowchart TB
BEH_P1_1_9{{Detect Constraints}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_9 cls_beh
BEH-P1.1.10: Find Tests
flowchart TB
BEH_P1_1_10{{Find Tests}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_10 cls_beh
BEH-P1.1.11: Find Docs
flowchart TB
BEH_P1_1_11{{Find Docs}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_1_11 cls_beh
BEH-P1.2.1: Infer from Routes
flowchart TB
BEH_P1_2_1{{Infer from Routes}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_1 cls_beh
BEH-P1.2.2: Infer from Triggers
flowchart TB
BEH_P1_2_2{{Infer from Triggers}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_2 cls_beh
BEH-P1.2.3: Infer Domain Modules
flowchart TB
BEH_P1_2_3{{Infer Domain Modules}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_3 cls_beh
BEH-P1.2.4: Infer CLI
flowchart TB
BEH_P1_2_4{{Infer CLI}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_4 cls_beh
BEH-P1.2.5: Infer Infrastructure
flowchart TB
BEH_P1_2_5{{Infer Infrastructure}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_5 cls_beh
BEH-P1.2.6: Infer Package Grouping
flowchart TB
BEH_P1_2_6{{Infer Package Grouping}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_6 cls_beh
BEH-P1.2.7: Infer Default Actors
flowchart TB
BEH_P1_2_7{{Infer Default Actors}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_7 cls_beh
BEH-P1.2.8: Infer Behaviors
flowchart TB
BEH_P1_2_8{{Infer Behaviors}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_8 cls_beh
BEH-P1.2.9: Infer Library Behaviors
flowchart TB
BEH_P1_2_9{{Infer Library Behaviors}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_9 cls_beh
BEH-P1.2.10: Infer Fallback
flowchart TB
BEH_P1_2_10{{Infer Fallback}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_2_10 cls_beh
BEH-P1.3.1: Detect Project Type
flowchart TB
BEH_P1_3_1{{Detect Project Type}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_1 cls_beh
BEH-P1.3.2: Seed from Capabilities
flowchart TB
BEH_P1_3_2{{Seed from Capabilities}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_2 cls_beh
BEH-P1.3.3: Import Affinity
flowchart TB
BEH_P1_3_3{{Import Affinity}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_3 cls_beh
BEH-P1.3.4: Per-File Allocation
flowchart TB
BEH_P1_3_4{{"Per-File Allocation"}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_4 cls_beh
BEH-P1.3.5: Split Oversized
flowchart TB
BEH_P1_3_5{{Split Oversized}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_5 cls_beh
BEH-P1.3.6: Merge Undersized
flowchart TB
BEH_P1_3_6{{Merge Undersized}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_6 cls_beh
BEH-P1.3.7: Infer Layer
flowchart TB
BEH_P1_3_7{{Infer Layer}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_7 cls_beh
BEH-P1.3.8: Boundary Coherence
flowchart TB
BEH_P1_3_8{{Boundary Coherence}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_8 cls_beh
BEH-P1.3.9: Package Grouping
flowchart TB
BEH_P1_3_9{{Package Grouping}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_3_9 cls_beh
BEH-P1.4.1: Derive Realizes
flowchart TB
BEH_P1_4_1{{Derive Realizes}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_1 cls_beh
BEH-P1.4.2: Derive Depends-On
flowchart TB
BEH_P1_4_2{{"Derive Depends-On"}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_2 cls_beh
BEH-P1.4.3: Derive Contains
flowchart TB
BEH_P1_4_3{{Derive Contains}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_3 cls_beh
BEH-P1.4.4: Derive Exposes
flowchart TB
BEH_P1_4_4{{Derive Exposes}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_4 cls_beh
BEH-P1.4.5: Derive Constrained-By
flowchart TB
BEH_P1_4_5{{"Derive Constrained-By"}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_5 cls_beh
BEH-P1.4.6: Build File Map
flowchart TB
BEH_P1_4_6{{Build File Map}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_4_6 cls_beh
BEH-P1.5.1: Specify REST Interfaces
flowchart TB
BEH_P1_5_1{{Specify REST Interfaces}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5_1 cls_beh
BEH-P1.5.2: Specify CLI Interfaces
flowchart TB
BEH_P1_5_2{{Specify CLI Interfaces}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5_2 cls_beh
BEH-P1.5.3: Specify Library API
flowchart TB
BEH_P1_5_3{{Specify Library API}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5_3 cls_beh
BEH-P1.5.4: Name Library Interface
flowchart TB
BEH_P1_5_4{{Name Library Interface}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5_4 cls_beh
BEH-P1.5.5: Specify Fallback
flowchart TB
BEH_P1_5_5{{Specify Fallback}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_5_5 cls_beh
BEH-P1.6.1: Match by Target
flowchart TB
BEH_P1_6_1{{Match by Target}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_6_1 cls_beh
BEH-P1.6.2: Match by Directory
flowchart TB
BEH_P1_6_2{{Match by Directory}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_6_2 cls_beh
BEH-P1.7.1: Check Capability Realization
flowchart TB
BEH_P1_7_1{{Check Capability Realization}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7_1 cls_beh
BEH-P1.7.2: Detect Orphans
flowchart TB
BEH_P1_7_2{{Detect Orphans}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7_2 cls_beh
BEH-P1.7.3: Check File Coverage
flowchart TB
BEH_P1_7_3{{Check File Coverage}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7_3 cls_beh
BEH-P1.7.4: Check Boundary Coherence
flowchart TB
BEH_P1_7_4{{Check Boundary Coherence}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7_4 cls_beh
BEH-P1.7.5: Compute Confidence
flowchart TB
BEH_P1_7_5{{Compute Confidence}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_7_5 cls_beh
BEH-P1.8.1: Identify Autonomous Systems
flowchart TB
BEH_P1_8_1{{Identify Autonomous Systems}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_8_1 cls_beh
BEH-P1.8.2: Decompose Large Components
flowchart TB
BEH_P1_8_2{{Decompose Large Components}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_8_2 cls_beh
BEH-P1.8.3: Cluster by Directory
flowchart TB
BEH_P1_8_3{{Cluster by Directory}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_8_3 cls_beh
BEH-P1.8.4: Merge Coupled Components
flowchart TB
BEH_P1_8_4{{Merge Coupled Components}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_8_4 cls_beh
BEH-P1.9.1: Decide Stages
flowchart TB
BEH_P1_9_1{{Decide Stages}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_1 cls_beh
BEH-P1.9.2: Run Scoped Sub-Pipeline
flowchart TB
BEH_P1_9_2{{"Run Scoped Sub-Pipeline"}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_2 cls_beh
BEH-P1.9.3: Build Model YAML
flowchart TB
BEH_P1_9_3{{Build Model YAML}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_3 cls_beh
BEH-P1.9.4: Build Manifest
flowchart TB
BEH_P1_9_4{{Build Manifest}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_4 cls_beh
BEH-P1.9.5: Build System-of-Systems
flowchart TB
BEH_P1_9_5{{"Build System-of-Systems"}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_5 cls_beh
BEH-P1.9.6: Collect Lessons
flowchart TB
BEH_P1_9_6{{Collect Lessons}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_9_6 cls_beh
BEH-P1.10.1: Write Files
flowchart TB
BEH_P1_10_1{{Write Files}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_1 cls_beh
BEH-P1.10.2: Build Test Map
flowchart TB
BEH_P1_10_2{{Build Test Map}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_2 cls_beh
BEH-P1.10.3: Generate SE Docs
flowchart TB
BEH_P1_10_3{{Generate SE Docs}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_3 cls_beh
BEH-P1.10.4: Enrich Model
flowchart TB
BEH_P1_10_4{{Enrich Model}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_4 cls_beh
BEH-P1.10.5: System Interactions
flowchart TB
BEH_P1_10_5{{System Interactions}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_5 cls_beh
BEH-P1.10.6: LLM Reviews
flowchart TB
BEH_P1_10_6{{LLM Reviews}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_6 cls_beh
BEH-P1.10.7: Inline Reviews
flowchart TB
BEH_P1_10_7{{Inline Reviews}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_10_7 cls_beh
BEH-P1.R.1: Build Refinement Prompt
flowchart TB
BEH_P1_R_1{{Build Refinement Prompt}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_R_1 cls_beh
BEH-P1.R.2: Normalize LLM Output
flowchart TB
BEH_P1_R_2{{Normalize LLM Output}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_R_2 cls_beh
BEH-P1.R.3: Diff Stage Outputs
flowchart TB
BEH_P1_R_3{{Diff Stage Outputs}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_R_3 cls_beh
BEH-P1.R.4: Apply Corrections
flowchart TB
BEH_P1_R_4{{Apply Corrections}}
classDef cls_stage fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef cls_comp fill:#27AE60,stroke:#1E8449,color:#fff
classDef cls_cap fill:#F39C12,stroke:#D68910,color:#fff
classDef cls_beh fill:#8E44AD,stroke:#6C3483,color:#fff
classDef cls_iface fill:#1ABC9C,stroke:#148F77,color:#fff
classDef cls_mod fill:#95A5A6,stroke:#717D7E,color:#fff
classDef cls_actor fill:#E74C8B,stroke:#C2185B,color:#fff
classDef cls_con fill:#E74C3C,stroke:#C0392B,color:#fff
classDef cls_layer fill:#16A085,stroke:#0E6655,color:#fff
class BEH_P1_R_4 cls_beh