Forge Studio pass 2: guided story¶
The new story consists of eight addressable chapters. Each has a Plain / Middle / Complex explanation, a clickable chapter list, previous/next navigation, live tool content, a tool badge, a zoom button, and commit-pinned source receipts. Explanation depth is remembered for each chapter during the page session. Public team names use Jones.
| Route | Live tools |
|---|---|
/story/problem |
Structurizr DSL / LikeC4 architecture |
/story/data |
GrapesJS data-model sketch, typed Puck components, Rete.js risk lineage |
/story/models |
Component architecture, Roslyn-to-Rete.js Blueprint |
/story/predictions |
Blockly risk proposals, Rete.js risk lineage |
/story/parity |
Way 1 / Way 2 architecture |
/story/tracks |
Analytical and operational architecture |
/story/migration |
Rete.js migration pipeline, migration architecture, GrapesJS and Puck migration screens, Blockly migration proposals |
/story/built |
Agent Rail timeline, sandboxed Floorplan map |
Only the selected chapter's selected tool is mounted. Tool iframes load lazily and use the app's embed=1 layout, so they do not recursively display the story shell. Puck uses its separate React entry. Floorplan's own inner iframe retains its sandbox. The local application embeds are trusted same-origin pages; they need their normal module loading.
The application remains Vue/TypeScript because these are existing browser components and the requested tool APIs. This is the reason for the C#-first exception. No production application source is changed by the story.
Source snapshots¶
forge-studio/scripts/Refresh-Story.ps1 reads immutable Git commits with git show; it never edits the source branches. It captures the full three-level fleet account and all three demo levels, along with the requirements, two-track comparison, Way 2 receipts, and any available pass 8/9 artifacts. Public text is normalized to Jones names. Missing inputs remain manifest entries with status: missing, an exact source path, and the pinned commit.
pwsh -NoProfile -File forge-studio/scripts/Refresh-Story.ps1 -Fetch
cd forge-studio
npm run build
Without -Fetch, regeneration uses the already-fetched remote-tracking refs. A failed fetch or missing branch stops regeneration. Component DSL discovery first checks architecture/components.dsl, then the owner-published docs/architecture/components.dsl; the manifest keeps the actual path and documents the fallback. Migration discovery reads top-level docs/*migration*.md case-insensitively, falling back to a missing docs/MIGRATION.md entry until the owning pass publishes a guide. A newly published document is evidence of a document, not evidence that its proposed migration ran.
Initial observed script output (exit 0):
AVAILABLE docs/REQUIREMENTS-TRACE.md @ 6a04eb2b64ce
AVAILABLE docs/FLEET-FORGE-3LEVEL.md @ 6a04eb2b64ce
AVAILABLE docs/levels/plain.md @ 51057283c84a
AVAILABLE docs/levels/middle.md @ 51057283c84a
AVAILABLE docs/levels/complex.md @ 51057283c84a
MISSING docs/DATA-PROFILE.md @ 51057283c84a
MISSING docs/DATA-MODEL.md @ 51057283c84a
MISSING architecture/components.dsl @ 51057283c84a
AVAILABLE docs/ottehr-track.md @ a2e5bf9faf3a
AVAILABLE docs/SSM-vs-INNOVARE.md @ 51057283c84a
MISSING docs/MIGRATION.md @ 51057283c84a
The complete SHAs and original URLs are recorded in forge-studio/public/story-sources/manifest.json. The browser can read every captured document in a text-only expandable panel or open the complete local text. Rendering does not execute Markdown or HTML from the source.
Evidence limits¶
- NOT DONE at the initial snapshot: pass 8 data profile/model/components and pass 9 migration guide. The corresponding chapters visibly show placeholders and the regenerate command. The architectural explanations are identified as explanations/proposals, not execution receipts.
- The initially captured Way 2 documentation at
a2e5bf9faf3areports three predicted ASCVD differences and a .NET parity runtime failure:An Application Control policy has blocked this file. (0x800711C7). A later main-demo receipt now establishes the reported local fixture result; the final refreshed evidence is distinguished below. - The fleet account includes results from other repositories. The story explicitly keeps those results separate from this demo.
npx vue-tsc --noEmitduring concurrent implementation returned onlysrc/main.ts(14,47): error TS2307: Cannot find module './pages/Lineage.vue' or its corresponding type declarations.The story files produced no diagnostics. This is an interim integration receipt, not the final build result. Final build/browser receipts belong in the mainforge-studio.mdPass 2 section.
Refreshed pass 8 evidence¶
The subsequent refresh exited 0 against main 0a8d5aae715e, main-demo 1a21de5f7e62, and Ottehr a2e5bf9faf3a. DATA-PROFILE.md and DATA-MODEL.md are now captured and presented as available. The profile identifies 93 fixture files, ten clinical Patient records and two Ottehr Patient records in separate populations. It counts original records, including repeated versions, and does not impute missing data. The model guide explicitly says this profile explains the existing schema; it did not cause a migration.
The source manifest now also captures main-demo docs/VERIFY.md. Its pass 7 section reports Parity PASS: 12 patients, 56 flags identical (flag, indicator, score, cited FHIR ids, as-of). The story attributes this to the later fixed comparison and keeps the older Ottehr baseline's blocked result visible. No harness execution or live Oystehr deployment is claimed by this story pass.
The component DSL is present at the alternate owner-published path docs/architecture/components.dsl. A final refresh now captures that file at 1a21de5f7e62, with the actual path in the manifest and a documented fallback from the requested architecture/components.dsl. Only the pass 9 migration guide remains missing. Forge's independently authored component views remain separate explanatory views; they are not represented as a direct rendering of the copied pass 8 DSL.
forge-studio/verify-story.mjs exercises all eight chapters at 390px and 1280px, explanation depth, live tool contents, previous/next navigation, source copies and secondary tool tabs. It writes the requested docs/screenshots/forge-story-*.png artifacts when actually run. node --check forge-studio/verify-story.mjs passed; see the main pass receipt for browser results.