Skip to content

Template & Library — bounded contexts

Generated from the architecture model

This page is rendered from model/**/*.yaml by tools/docs_model during mkdocs build. Edit the YAML, not this page; hand-written design lives on the linked service, platform and plane pages.

flowchart LR
    subgraph template_library["Template & Library"]
        BC_02["BC-02<br/>Blueprint"]
        BC_14["BC-14<br/>Template Catalog"]
        BC_15["BC-15<br/>Generation Recipe"]
    end
Hold "Alt" / "Option" to enable pan & zoom
Context Authoritative state Services Status
BC-02 Blueprint Blueprint versions, context maps, domain models, validation reports 5 target
BC-14 Template Catalog Template/schema versions, capabilities, compatibility matrix 12 target
BC-15 Generation Recipe Recipe, module plan, generated-output provenance; SaaS descriptors enter through the blueprint import (ADR-0025) 4 target

BC-02 Blueprint

Authoritative state: Blueprint versions, context maps, domain models, validation reports | Service | Granularity | Host | Status | |---|---|---|---| | BlueprintParserService | module of host | TemplateCatalogHost | unmodelled | | BlueprintService | module of host | TemplateCatalogHost | target | | BlueprintValidatorService | module of host | TemplateCatalogHost | unmodelled | | ContextMapService | module of host | TemplateCatalogHost | unmodelled | | DomainModelService | module of host | TemplateCatalogHost | unmodelled |

Events produced: BlueprintValidated, BlueprintSubmitted, BlueprintPublished, ContextMapDerived, DomainModelDerived

BC-14 Template Catalog

Authoritative state: Template/schema versions, capabilities, compatibility matrix | Service | Granularity | Host | Status | |---|---|---|---| | ApiClientCatalogService | module of host | TemplateCatalogHost | unmodelled | | CompatibilityMatrixService | module of host | TemplateCatalogHost | unmodelled | | DependencyAnalyzerService | module of host | TemplateCatalogHost | unmodelled | | LibraryRegistryService | module of host | TemplateCatalogHost | unmodelled | | LibraryVersionService | module of host | TemplateCatalogHost | unmodelled | | PackageUpgradeAdvisorService | later stage | — | unmodelled | | TemplateCatalogHost | standalone host | — | target | | TemplateCompatibilityService | module of host | TemplateCatalogHost | unmodelled | | TemplateParameterService | module of host | TemplateCatalogHost | unmodelled | | TemplateRegistryService | module of host | TemplateCatalogHost | target | | TemplateUpgradeService | later stage | — | unmodelled | | TemplateVersionService | module of host | TemplateCatalogHost | unmodelled |

Events produced: TemplateVersionDiscovered, TemplateVersionPublished, LibraryVersionDiscovered, CompatibilityChecked

BC-15 Generation Recipe

Authoritative state: Recipe, module plan, generated-output provenance; SaaS descriptors enter through the blueprint import (ADR-0025) | Service | Granularity | Host | Status | |---|---|---|---| | PipelineGeneratorService | module of host | TemplateCatalogHost | unmodelled | | ScaffoldEngineService | later stage | — | unmodelled | | GenerationRecipeService | module of host | TemplateCatalogHost | target | | TemplateValidationService | module of host | TemplateCatalogHost | unmodelled |

Events produced: RecipeValidated, RecipeApproved, GenerationCompleted, GeneratedOutputRecorded