Skip to content

docs: migrate compressionKIT to Astro and retire Zensical - #69

Merged
apage224 merged 5 commits into
mainfrom
issue-68-astro-migration
Oct 3, 2026
Merged

apage224 merged 5 commits into
mainfrom
issue-68-astro-migration

Conversation

@apage224

@apage224 apage224 commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Migrate compressionKIT documentation to Astro/Starlight with section-scoped navigation, reviewed public guides, generated Python API reference and three notebook guides. Registry facts and scorecard tables render independently of authored prose.

Replace the Pages build with validated Astro output. Remove the Zensical configuration, duplicate documentation tree, obsolete experiment-page generator and Python docs dependencies. Preserve three planning/research notes outside the public site. Retain the scorecard helpers used by Astro, with standalone reports written under results/reports, and direct plot generation to Astro assets.

Closes #68.

Validation:

  • Clean install, Astro types and production build passed before cleanup; post-cleanup types/build also pass.
  • Twelve content tests, 1,558 local links, 115 migration entries and 168 legacy anchor dispositions pass.
  • 99 routes at two widths in both themes: 396 rendered checks pass, including resource loading.
  • Three default notebooks execute in a local Linux ARM64 CPU container: 22 code cells, no errors. CLI help and the exact quickstart snippet pass.
  • Container lint/format checks and five retained fidelity-helper tests pass after cleanup.
  • Independent content and delivery reviews completed; findings resolved.

Deployment: PR workflows validate without deploying. After merge, the Pages workflow validates and deploys astro-site/dist at /compressionkit/. The published site has not changed yet. Rollback instructions are in astro-site/README.md.

Limitations: three PhysioNet URLs remain DNS-unverified. No GPU, training, hardware, population-scale evaluation or all-model-tier validation. Measurement tables remain preserved snapshots.

@apage224 apage224 added the documentation Docs, README, model zoo label Oct 2, 2026
@apage224
apage224 requested a balanced review from Copilot October 2, 2026 23:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The quickstart currently fails, notebook figures lack meaningful alternative text, and version-only changes bypass preview CI.

Review effort: Balanced
Findings: 3 Medium severity

Open (3)
What changed in this PR

Adds a preview-only Astro/Starlight documentation site while retaining the existing Zensical deployment.

Changes:

  • Adds sectioned navigation, migrated guides, API reference generation, notebook rendering, and evidence tables.
  • Adds migration, link, layout, content, and notebook validation tooling.
  • Adds a non-deploying GitHub Actions preview workflow.
File Description
compressionkit/​runtime/​codec.py Corrects dependency documentation.
compressionkit/​runtime/​__init__.py Clarifies runtime import dependencies.
astro-site/​tsconfig.json Enables strict Astro TypeScript configuration.
astro-site/​src/​styles/​site.css Adds site, responsive, and notebook styling.
astro-site/​src/​section-matcher.ts Implements section-scoped route matching.
astro-site/​src/​redirects.json Defines authored redirects.
astro-site/​src/​navigation.mjs Defines site navigation and sidebars.
astro-site/​src/​content/​docs/​validation-scorecard.md Documents validation metrics.
astro-site/​src/​content/​docs/​use-cases.mdx Adds use cases and payload examples.
astro-site/​src/​content/​docs/​signals/​ppg.md Documents PPG support.
astro-site/​src/​content/​docs/​signals/​ppg-workflow.md Describes the PPG workflow.
astro-site/​src/​content/​docs/​signals/​index.md Adds signal overview.
astro-site/​src/​content/​docs/​signals/​ecg.md Documents ECG support.
astro-site/​src/​content/​docs/​models/​index.md Adds the model catalog.
astro-site/​src/​content/​docs/​methods/​spiht.md Documents SPIHT.
astro-site/​src/​content/​docs/​methods/​rvq.md Documents RVQ.
astro-site/​src/​content/​docs/​methods/​index.md Compares codec methods.
astro-site/​src/​content/​docs/​methods/​hybrid.md Documents hybrid compression.
astro-site/​src/​content/​docs/​methods/​cr_vs_fidelity_ppg.mdx Renders PPG fidelity tables.
astro-site/​src/​content/​docs/​methods/​cr_vs_fidelity_ecg.mdx Renders ECG fidelity tables.
astro-site/​src/​content/​docs/​index.mdx Adds the Astro homepage.
astro-site/​src/​content/​docs/​huggingface.md Documents bundle loading.
astro-site/​src/​content/​docs/​getting-started.md Adds the codec quickstart.
astro-site/​src/​content/​docs/​experiments/​ppg-spiht-8x.mdx Adds PPG SPIHT 8× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-spiht-4x.mdx Adds PPG SPIHT 4× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-spiht-32x.mdx Adds PPG SPIHT 32× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-spiht-2x.mdx Adds PPG SPIHT 2× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-spiht-16x.mdx Adds PPG SPIHT 16× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-8x.mdx Adds PPG RVQ 8× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-8x-prior.mdx Adds PPG RVQ 8× prior facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-4x.mdx Adds PPG RVQ 4× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-4x-prior.mdx Adds PPG RVQ 4× prior facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-32x.mdx Adds PPG RVQ 32× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-2x.mdx Adds PPG RVQ 2× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-rvq-16x.mdx Adds PPG RVQ 16× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-hybrid-8x.mdx Adds PPG hybrid 8× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-hybrid-4x.mdx Adds PPG hybrid 4× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-hybrid-32x.mdx Adds PPG hybrid 32× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-hybrid-2x.mdx Adds PPG hybrid 2× facts.
astro-site/​src/​content/​docs/​experiments/​ppg-hybrid-16x.mdx Adds PPG hybrid 16× facts.
astro-site/​src/​content/​docs/​experiments/​index.md Adds the experiment catalog.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-8x.mdx Adds ECG SPIHT 8× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-64x.mdx Adds ECG SPIHT 64× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-4x.mdx Adds ECG SPIHT 4× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-32x.mdx Adds ECG SPIHT 32× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-2x.mdx Adds ECG SPIHT 2× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-spiht-16x.mdx Adds ECG SPIHT 16× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-8x.mdx Adds ECG RVQ 8× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-8x-prior.mdx Adds ECG RVQ 8× prior facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-64x.mdx Adds ECG RVQ 64× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-4x.mdx Adds ECG RVQ 4× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-4x-prior.mdx Adds ECG RVQ 4× prior facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-32x.mdx Adds ECG RVQ 32× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-2x.mdx Adds ECG RVQ 2× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-rvq-16x.mdx Adds ECG RVQ 16× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-8x.mdx Adds ECG hybrid 8× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-64x.mdx Adds ECG hybrid 64× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-4x.mdx Adds ECG hybrid 4× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-32x.mdx Adds ECG hybrid 32× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-2x.mdx Adds ECG hybrid 2× facts.
astro-site/​src/​content/​docs/​experiments/​ecg-hybrid-16x.mdx Adds ECG hybrid 16× facts.
astro-site/​src/​content/​docs/​experiment-architecture.md Documents experiment architecture.
astro-site/​src/​content/​docs/​examples.md Catalogs notebook examples.
astro-site/​src/​content/​docs/​demo/​ppg-codec.md Links the maintained browser demo.
astro-site/​src/​content/​docs/​customer-evidence.mdx Renders recorded evidence.
astro-site/​src/​content/​docs/​api/​preprocessing.md Adds preprocessing API links.
astro-site/​src/​content/​docs/​api/​models.md Adds model API links.
astro-site/​src/​content/​docs/​api/​export.md Adds export API links.
astro-site/​src/​content/​docs/​api/​evaluation.md Adds evaluation API links.
astro-site/​src/​content/​docs/​api/​datasets.md Adds dataset API links.
astro-site/​src/​content/​docs/​api/​configs.md Adds configuration API links.
astro-site/​src/​content/​docs/​adding-a-codec-family.md Documents codec-family extension.
astro-site/​src/​content.config.ts Configures the documentation collection.
astro-site/​src/​components/​HomeHero.astro Implements the custom homepage hero.
astro-site/​src/​components/​FidelityTable.astro Renders fidelity snapshots.
astro-site/​src/​components/​ExperimentFacts.astro Renders registry-derived facts.
astro-site/​src/​components/​EvidenceTable.astro Renders evidence snapshots.
astro-site/​scripts/​refresh-fidelity.py Refreshes fidelity data.
astro-site/​scripts/​refresh-evidence.py Refreshes evidence data.
astro-site/​scripts/​publish-reference.mjs Publishes API Markdown and redirects.
astro-site/​scripts/​public-api.json Allow-lists public API modules.
astro-site/​scripts/​link-audit.test.mjs Tests local link auditing.
astro-site/​scripts/​fidelity-data.test.mjs Tests fidelity validation and refresh.
astro-site/​scripts/​fidelity-data.mjs Validates fidelity snapshots.
astro-site/​scripts/​export-experiments.py Exports experiment registry facts.
astro-site/​scripts/​evidence-data.test.mjs Tests evidence validation and refresh.
astro-site/​scripts/​evidence-data.mjs Validates evidence snapshots.
astro-site/​scripts/​docstring-markdown.test.mjs Tests docstring conversion.
astro-site/​scripts/​docstring-markdown.mjs Converts literal blocks for MDX.
astro-site/​scripts/​check-migration.mjs Audits migration coverage and anchors.
astro-site/​scripts/​check-links.mjs Audits local links and assets.
astro-site/​scripts/​check-external-links.mjs Audits external URLs.
astro-site/​scripts/​build-notebooks.py Generates notebook guide pages.
astro-site/​scripts/​audit-layout.mjs Browser-checks rendered routes.
astro-site/​README.md Documents site development and validation.
astro-site/​public/​assets/​compressionkit-icon.svg Adds the product icon.
astro-site/​package.json Defines site dependencies and commands.
astro-site/​notebook-execution-audit.json Records notebook execution results.
astro-site/​CONTENT-OWNERSHIP.md Defines content ownership and refresh rules.
astro-site/​AUDIT.md Records migration validation.
astro-site/​astro.config.mjs Configures Astro, Starlight, and Helia UI.
astro-site/​.nvmrc Selects Node 24.
.gitignore Ignores generated Astro outputs.
.github/​workflows/​docs-preview.yml Adds preview validation CI.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/docs-preview.yml
Comment thread astro-site/scripts/build-notebooks.py Outdated
Comment thread astro-site/src/content/docs/getting-started.md Outdated
@apage224 apage224 changed the title docs: add compressionKIT Astro migration preview docs: migrate compressionKIT to Astro and retire Zensical Oct 2, 2026
@apage224
apage224 requested a balanced review from Copilot October 2, 2026 23:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Standalone reports contain broken relative links, and the generated API omits the documented ECG configuration schema.

Review effort: Balanced
Findings: 2 Medium severity · 2 Low severity

Open (4)
Resolved since last review (3)

Comment thread scripts/build_cr_vs_fidelity.py
Comment thread scripts/build_customer_evidence_summary.py
Comment thread astro-site/scripts/public-api.json
Comment thread astro-site/src/content/docs/huggingface.md
@apage224
apage224 marked this pull request as ready for review October 3, 2026 00:17
Copilot AI balanced review requested due to automatic review settings October 3, 2026 00:17
@apage224
apage224 merged commit 27ca10a into main Oct 3, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The site-wide platform migration and production deployment cutover warrant final human verification despite the extensive automated validation.

Review effort: Balanced
Findings: None

Resolved since last review (4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs, README, model zoo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: migrate compressionKIT to Astro and shared helia-ui

2 participants