Bootstrap Migration Checklist (toward 100% Vitte)
HTML reading page generated from the source Markdown document.
Reading mode
This page is the static HTML reader for bootstrap_migration_checklist.md. Internal Markdown links are rewritten to HTML when a matching reading page exists.
Bootstrap Migration Checklist (toward 100% Vitte)
Goal: remove temporary host-language audit exceptions once stage1/stage2 are fully Vitte.
Phase 0 — Baseline (current)
- Checked:
make seed-gateis stable ondriver/ir/frontend/backends+ valid tests. - Checked:
make bootstrap-allruns end-to-end locally. - Checked:
make bootstrap-verifyvalidates versions + smoke + AST/IR checks. - Checked:
vitte-source-auditruns with no host-language source exceptions.
Exit criteria:
- All baseline commands pass on local and CI runs.
Phase 1 — Stage1 becomes Vitte-native
- Checked: Replace
toolchain/stage1host stub implementation with Vitte sources only. - Checked: Ensure
stage1.shrebuildsbin/vittec1fromtoolchain/stage1/src/main.vitusingvittec0. - Checked: Add/extend smoke tests for stage1 output consistency.
- Checked: Keep stage0 as a checked seed artifact, not as repo-hosted C source.
Exit criteria:
stage1.shsucceeds without any host-language source undertoolchain/stage1.bin/vittec1 --versionreports stage1-native identity.
Phase 2 — Stage2 becomes Vitte-native
- Checked: Replace
toolchain/stage2host stub implementation with Vitte sources only. - Checked: Ensure
stage2.shproducesbin/vittecfrom stage1 compiler output. - Checked: Validate stage2 self-check path (
VITTE_SELF_CHECK=1) with deterministic behavior. - Checked: Install stage2 as
bin/vitteand pass fullmake build.
Exit criteria:
stage2.shsucceeds without any host-language source undertoolchain/stage2.bin/vitte --versionreports stage2-native identity.
Phase 3 — Tighten audit exceptions
- Checked: Remove the legacy stage0 source exception from
vitte-source-audit. - Checked: Keep CI green (
seed-gate,bootstrap-all,build) after removing exceptions. - Checked: Remove dead host-only scripts no longer needed by stage1/stage2.
Exit criteria:
make buildpasses with no host-language source exceptions.
Phase 4 — Remove stage0 C exception (final)
- Checked: Introduce a trusted prebuilt bootstrap seed path.
- Checked: Retire the legacy stage0 source tree from mandatory flow.
- Checked: Remove remaining host-language exception from
vitte-source-audit. - Checked: Ensure CI passes with zero repo-hosted host-language sources required.
Exit criteria:
vitte-source-auditpasses with no host-language exceptions.- Bootstrap flow is fully Vitte-native and reproducible.
Operational guardrails during migration
- Keep
seed-compat-reporttracked in CI artifacts. - Keep
docs/bootstrap_native_ir.mdaligned with everybuild-nativesubset extension. - Treat any new host-language file outside approved exception scope as a hard failure.
- Prefer adding targeted regression tests before broad refactors.
- Update
README.mdwhenever a phase exit criterion is completed.