Skip to content

Pass 2 architecture steering receipt

architecture/workspace.dsl now includes API and Vue component views, a Way 1/Way 2 container view, and a migration deployment view. architecture/model.c4 carries equivalent interactive projections:

Address Rendered LikeC4 view Meaning
/architecture?view=components components Controller, model and view responsibilities within both the API and the Vue application
/architecture?view=parity parity Way 1 .NET and Way 2 TypeScript/Oystehr feeding the fixture comparison
/architecture?view=migration migration PLANNED owned store → Oystehr → in-house EMR environments

The C4 page offers a view selector and embeds the selected real LikeC4 view at /architecture-view/#/view/<view-id>/. It also retains context, operational/lakehouse and Azure proposal views. Story chapters can select these with their query-string links.

The component model names current source responsibilities: FhirDemo.Api/ClinicalEndpoints.cs / DemoApplication.cs, ClinicalMapping, AppDbContext, RiskEngine, web/src/models/clinical.ts, web/src/services/, web/src/api.ts, and the script/template sections of web/src/App.vue. MVC is a teaching decomposition here: the API uses minimal request handlers, not MVC controller classes; its view role is JSON/card representations, not Razor pages. The Vue roles are contained in real files, not invented classes.

The newer demo VERIFY receipt at 1a21de5 reports Parity PASS: 12 patients, 56 flags identical after mapper fixes. This is an attributed captured-fixture result, not a new parity execution by this worker. The older Ottehr-track receipt at a2e5bf9faf3a3857c83b0b2e5971e8a0932a2870 describes a blocked run and predicted differences; it is retained as historical evidence and is stale relative to the newer demo receipt. No Oystehr cloud execution is asserted. The migration runner, destination contracts, load/read-back, checkpoint and reconciliation are explicitly PLANNED while pass 9 evidence is absent. Azure remains NOT DEPLOYED.

Verification

Actual command from the repository root:

npm exec --prefix forge-studio likec4 -- validate architecture
02:29:16.553 INF likec4·lang workspace: found 1 source files
02:29:16.658 INF likec4·c4:validate ✓ Valid (1 files)
02:29:16.658 INF likec4·c4:validate validate 258ms

Exit code 0. The first validation exposed reserved identifier view; the internal component identifiers were renamed to presentation, then validation passed. Full Studio build and browser receipts belong to docs/forge-studio.md.

NOT DONE: independent Structurizr executable/parser validation. No java or structurizr executable is available on this PC. The source follows the official Structurizr DSL reference; this is distinct from the executable LikeC4 validation above. LikeC4 view behavior follows its view documentation.