Pass 16: Forge fixes pending with the active Forge owner¶
At 2026-11-13 07:00 UTC, git worktree list --porcelain maps
wt/WT-dc65/forge-studio to
C:\Users\fives\source\repos\fhir-pipeline-demo-wt-WT-dc65-forge
(HEAD 323b9b3aa345d13cda3d29a2c6f6a62debf7b1e0). A running codex.exe
process (PID 55352) names that worktree with -C. Its tree also contains
in-progress edits to forge-studio/scripts/Refresh-Story.ps1.
Task 16 expressly forbids editing Forge files while that worker is active.
Consequently this branch does not claim the Forge defects below are fixed.
The actual registered worktree differs from the suggested
forge-studio-wt-WT-dc65 path; do not create a competing worktree or edit the
demo branch's stale Forge copy to bypass ownership.
Private pinned links (defect 2)¶
Current relevant paths:
forge-studio/src/pages/Story.vue:Pinned originalusessource.url,Local text copyopens rawsource.local, and expanded copies use<pre>.forge-studio/scripts/Refresh-Story.ps1: produces GitHub blob links and normalized UTF-8 text copies. It currently replaces public names and joins source lines; those normalized copies are not byte-identical Git blobs.forge-studio/public/story-sources/manifest.json: eleven available pinned documents plus a stale missing migration entry in the demo snapshot.forge-studio/src/pages/Architecture.vueandLineage.vue: additional private-repository URLs.forge-studio/src/pages/Floorplan.vue: public GitHub attribution link also needs attention because the requested default test forbids all renderedgithub.comanchors, not only private repository anchors.
Required implementation:
- Export exact pinned Git blob bytes to static assets. Preserve the original
bytes for the
Pinned originaldownload; if normalized display copies are retained, label them separately. Generate a SHA-256 for the exact emitted bytes and store it in each manifest entry. Never label the digest of normalized text as the digest of the original Git blob. - Make every
Pinned originalanchor open an in-app document route keyed by the manifest ID. Show title, commit, original path, and SHA-256 there, and offer the exact raw file download. Restrict lookups to manifest IDs rather than fetching arbitrary URLs from query parameters. - Read optional source-browser URLs from the single
VITE_SOURCE_BROWSER_BASEsetting, empty by default. Hide the secondarySource on GitFrontanchor when empty. Use the same setting for Lineage and Architecture source links. Keep attribution as plain text or a non-GitHub project-homepage link when the setting is empty. - Check links inside rendered Markdown too: do not reintroduce GitHub anchors through captured prose. Show their text without a link when the source-browser setting is empty, or map supported repository links through the configured source browser. Reject unsafe URL schemes.
Required red/green Playwright regression: traverse every Story chapter and
every available source at 390x844; every pinned destination must be local,
load successfully, display its SHA-256, and return raw bytes whose SHA-256
matches the manifest. Assert no rendered anchor has hostname github.com
when the setting is empty. Cover a configured GitFront base separately.
Responsive Markdown (Forge portion of defect 5)¶
Use a real Markdown parser with raw HTML disabled, followed by sanitization.
Render all eleven captured text documents in the in-app route and use the
same renderer for Story's expanded source details. Treat .dsl source as
escaped code, not HTML. The raw-download action can remain separate.
The document container needs max-width:100%, min-width:0, and
overflow-wrap:anywhere; pre and code blocks must wrap. Put each table in
its own max-width:100%; overflow-x:auto wrapper. Do not hide page overflow
to make the test pass. Preserve safe headings, lists, code, and tables.
Required red/green Playwright regression: follow each rendered Pinned
original and Local text copy link with a 390x844 viewport and assert
document.documentElement.scrollWidth <= 390. Include malicious HTML and
javascript: Markdown links, and verify no script/handler executes. Update
the independent smoke suite's document traversal to exercise the in-app
links rather than hard-coding raw text assets.
Remove the stale migration absence label¶
Status update during pass 16: the active Forge owner has now completed this
part in its committed work. At 83cf07c, the manifest marks migration as
available, pins docs/MIGRATION.md at 37aea0b, and links the captured
/story-sources/migration.txt. The old absence label is gone. This was
verified read-only; the older 323b9b3 smoke archive remains unchanged for
reproducibility. The local Markdown viewer and private-link fixes above
still remain pending in the newer Forge source.
docs/MIGRATION.md exists at demo commit
37aea0b63c370f23259e35cac1959c9c65b238b4 (the starting point of pass 16).
Refresh the Story manifest against a commit containing that guide, copy its
actual pinned bytes, set its status to available, and link its rendered
document route. Remove NOT DONE: docs/MIGRATION.md is absent only after
that capture succeeds. Updating an old commit's note without updating its
pin would misstate provenance.
Required check: the migration chapter offers the guide, the rendered guide is nonempty and responsive, its hash matches, and the absence label is gone.
Verification boundary¶
The demo search rg -l 'Pinned original|github.com/andrewjonesdev' web/src
returned no files before pass-16 edits. The same search in Forge found the
paths above. This handoff is documentation only; Forge red/green checks,
build, commit, and push remain with its active owner. The final integrated
smoke run must identify both served commit SHAs and report any remaining
Forge failures without classifying deterministic link/layout defects as
host-contention timeouts.