A static Astro site that presents the operator run path
for the Hypothium zero-day revenue launch (PLAN-727): the ten steps, stop
conditions, status meanings, the founder-day schedule, and the recovery matrix
for one solo operator.
The site is documentation only. It does not run the plan, grant approvals, or change any Kanban, Git, or vendor state. The plan and its JSON contracts remain authoritative; where they disagree with this site, follow the stricter rule.
- Node.js
>= 22.12.0(seepackage.json→engines). - npm (ships with Node). A committed
package-lock.jsonpins every dependency. - mise is optional locally but is how CI runs the checks.
npm ci # reproducible install from package-lock.json
npm run dev # dev server at http://localhost:4321/hypothium-zero-day-guide/Each check is a single command and is also wired into mise run ci.
| Check | Command | What it proves |
|---|---|---|
| Unit / content / a11y tests | npm test |
Content contract and component accessibility. |
| Type & content diagnostics | npm run check |
astro check under TypeScript strict mode, zero errors. |
| Production build | npm run build |
Static output into dist/. |
| Links & expected content | npm run verify:dist |
No broken internal link; required copy present; only hypothium named. |
| Source & Markdown limits | npm run verify:limits |
Source files ≤ 200 lines; Markdown < 200 lines and < 20,000 chars. |
| Secret-pattern scan | npm run verify:secrets |
No secret shapes in tracked source. |
| Action pin check | node scripts/check-action-pins.mjs |
Workflow and README action versions match the required pins. |
| Voice check | node scripts/voice-check.mjs |
No em or en dashes and no blocked words or phrases in source. |
Run the whole sequence exactly as CI does:
mise run cimise run ci runs, in order: an engine check, the action pin check, the voice
check, vitest run, astro check, astro build, then the verify-dist,
verify-limits, and scan-secrets scripts.
npm run build writes a self-contained static site to dist/:
- One directory-style page each for
/,/prerequisites/,/run/,/schedule/,/status/,/troubleshooting/, and/acceptance/. 404.html,favicon.svg,robots.txt, andsitemap-index.xml.- No remote fonts, analytics, ad, cookie, tracking, or hosted script. Every style and the small progress script are bundled locally.
Preview the built output with npm run preview.
This project is configured for a manual GitHub Pages deployment. A live URL is claimed only after the workflow and live parity checks pass.
- Canonical URLs assume a project site at
https://fantasymetals.github.io/hypothium-zero-day-guide/. The sitebaseis/hypothium-zero-day-guide. - To target a different location, set
PAGES_SITEandPAGES_BASEat build time, e.g.PAGES_BASE=/ PAGES_SITE=https://example.com npm run buildfor a root domain. .github/workflows/ci.ymlrunsmise run cion push and pull request usingactions/checkout@v7,actions/setup-node@v7, andjdx/mise-action@v4..github/workflows/deploy-pages.ymlrunsmise run ci, then builds and publishes withactions/checkout@v7,actions/setup-node@v7,jdx/mise-action@v4,withastro/action@v6, andactions/deploy-pages@v5. It is manual (workflow_dispatchonly) so publication stays a separately approved action. Enable Pages under Settings → Pages → Source: GitHub Actions before the first approved run.
- Persistent left-rail navigation on desktop; a drawer with a sticky bar on mobile.
- Every step shows its start state, next action, expected result, and stop condition without any JavaScript-only interaction.
- Command copy buttons and locally-saved step progress are progressive enhancements; with JavaScript off, all instructions remain fully visible.
- Accessible tables, status badges with text labels, keyboard focus rings, a print stylesheet, and reduced-motion support are built in.
src/
data/ Typed content from the canonical guides and plan
components/ Nav, StepCard, DataTable, StatusBadge, CommandBlock, Favicon
layouts/ Base.astro: the page shell, head metadata, nav
pages/ One .astro per route, plus 404.astro
styles/ tokens / base / components / shell CSS
scripts/ progress.ts (copy + local progress)
scripts/ Node verification scripts used by CI
tests/ vitest content-contract and accessibility tests
Internal operator documentation for the hypothium profile. Not for
redistribution.