Skip to content

Template & Library — workers, grains and sagas

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.

Workers

Worker Service Trigger Output events Retry Idempotency key Concurrency
Validator BlueprintService event ArtifactService.ArtifactValidated BlueprintValidated, ContextMapDerived, DomainModelDerived fixed ×3 blueprintId + version + documentHash 4 by ProjectId
PlanProposer GenerationRecipeService event BlueprintService.ContextMapDerived — fixed ×2 blueprintId + blueprintVersion 2 by ProjectId
RecipeValidator GenerationRecipeService manual on ValidateRecipe RecipeValidated fixed ×2 recipeId + version + hash 4 by ProjectId
Discoverer TemplateRegistryService schedule 0 */6 * * * TemplateVersionDiscovered, LibraryVersionDiscovered fixed ×2 repository + commit 4 by Repository
CompatibilityComputer TemplateRegistryService event TemplateRegistryService.TemplateVersionDiscovered CompatibilityChecked fixed ×2 cell + evidence 4 by SubjectId
  • Validator (BlueprintService): Runs schema validation and the kind's rule set, derives the context map and domain model for service and module kinds, and writes the report as an artifact.
  • PlanProposer (GenerationRecipeService): Proposes a module plan from the context map and domain model (one microservice per context, a gateway, a shell and MFEs per UI blueprint, libraries per shared kernel) using Published template versions and the structured profile for naming.
  • RecipeValidator (GenerationRecipeService): Validates module entries against manifests and switches and every pinned library against the matrix with evidence.
  • Discoverer (TemplateRegistryService): Reads .template.config, project files, switches, pipelines and docs from every template repository (through connectors) and package versions from the feeds; pins manifests by hash.
  • CompatibilityComputer (TemplateRegistryService): Computes matrix cells from manifests, package references, build evidence and conformance runs; marks cells Unknown where evidence is missing.

Grains (actors)

None modelled

No grains are modelled for this item yet.

Sagas

None modelled

No sagas are modelled for this item yet.