Repository navigation
deploy: ship the visual essay to GitHub Pages (base path, workflow, MIT license) - #3
Merged
Merged
Conversation
…zer/ Phase 1 of docs/VISION-LEGACY-PLAN.md (PR #2). - vite.config.ts: base "/ghost-visualizer/". Built JS and CSS bytes are unchanged (index-DXagehBe.js, index-B0goTY0_.css); only index.html URLs move. - .github/workflows/deploy.yml: tests, copy lint, typecheck and build on every pull request; the build also asserts the Pages base path and that the receipt file in dist/ is byte-identical to public/evidence/. Deploy runs only on push to main. Actions are pinned by commit SHA. - LICENSE: MIT, same text as cc-framework, year 2026. README.md is deliberately untouched: the site's GV-001 fails its registry run if README.md on the default branch differs from bf8d87b (plan section 6.1). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 25, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Phase 1 of the plan in #2: ship the existing visual essay to GitHub Pages. Nothing else changes.
base: "/ghost-visualizer/"vite.config.tsmain; actions pinned by SHA.github/workflows/deploy.ymlLICENSERepository settings handled outside the diff: Pages enabled with
build_type=workflow, homepage set to the live URL, eight topics.Not in this PR, on purpose: no math, scene, copy, or README change. The site's claim GV-001 fails its registry run if
README.mdon this repo's default branch differs frombf8d87b, so a README live-demo link ships paired with the site's re-review (plan §6.1).Evidence
Live URL: https://cubits11.github.io/ghost-visualizer/
Merged as
2ce5a96(squash) on 2026-10-25 03:00 UTC. Deploy run: 40156629247, both jobssuccess. The PR's own CI run (40155832269) passed with the deploy job skipped.Live verification log (2026-10-25, after deploy)
Acceptance tests P1-1 to P1-8 from
docs/VISION-LEGACY-PLAN.md§5 (#2)./ghost-visualizer/assets/…mainsuccessGET /200text/html;index-DXagehBe.js200application/javascript(304,146 B);index-B0goTY0_.css200text/css(38,863 B)./ghost-visualizerwithout slash: 301/?mode=evidence: H1 "Evidence Mode", H2 "Two-Guardrail OR Composition Evidence Receipt". The Receipt JSON link (download="sample-receipt.json", adata:URL) decodes to bytes that, plus one newline, equal the served file. SHA-256 of the decoded body without the newline:8f6a5f9e2a96fffa3042408fa2ff33ca062a9fab5e319ea9cc12dd9785802b9d. Parsedharmful.n= 100; bounded claim "[90%, 100%] … pass-through risk … [0%, 10%]"GET /evidence/sample-receipt.json200application/json; SHA-2566b56c1e9bf541e83439d8047fbf853307c0f4c8fed8c6b4c2e69f424d680c83a, equal to the committed file/?overlap=0, scene 3: slideraria-valuenow0, "composed risk 0% / composed safety 100%"./?overlap=10: 10, "composed risk 10% / composed safety 90%"cubits11.github.ioreturned 200 on all four pages. The one third-party request,fonts.googleapis.com, appears in resource timing with status 0 (cross-origin, opaque); I did not confirm it loaded. Recorded for Phase 2 in #2homepage= the live URL; licence MIT (RESTspdx_id: MIT; GraphQLlicenseInfolagged about a minute behind); 8 topics:ai-assurance,ai-safety,data-visualization,guardrails,llm-evaluation,react,remotion,viteMethod: HTTP status, content type, and SHA-256 from
curlandshasum; the three deep links loaded in the built-in browser; scene 3 reached with the right-arrow key twice.Not verified: behaviour in browsers other than the one used; any other query parameter; mobile layout beyond what the narrow viewport showed.
?recording=truewas not exercised.Local verification before merge
Local verification at the Pages base path (
npm run preview, built from this branch):npm test: 6 passed.npm run lint:vis001-copy: passed over 30 files.npm run build: passed.main(index-DXagehBe.js,index-B0goTY0_.css); only the two URLs indist/index.htmlmove./ghost-visualizer/: 200; JS and CSS 200; H1 "What AI Guardrail Scores Cannot Tell You"./ghost-visualizer/?mode=evidence: H1 "Evidence Mode"; the Receipt JSON link's decoded bytes plus a newline equalevidence/sample-receipt.json, SHA-2566b56c1e9bf541e83439d8047fbf853307c0f4c8fed8c6b4c2e69f424d680c83a./ghost-visualizer/?overlap=0and?overlap=10, scene 3: slideraria-valuenow0 and 10; "composed risk 0% / composed safety 100%" and "10% / 90%".npm run generate:evidencewith the new base: receipt unchanged,git statusclean.One observation, not changed here:
src/styles/tokens.css:1imports fonts fromfonts.googleapis.com, so a visitor's browser contacts Google when the page loads. Recorded for Phase 2 in #2.🤖 Generated with Claude Code