Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d1c34f4
promote driver to owned; remove candidate_only from typed-IR
Sep 10, 2026
44f52fd
add driver-owned pipeline B4 verification gate
Sep 10, 2026
f6195b3
docs: update changelogs and current status for driver ownership promo…
Sep 10, 2026
ba5520a
docs: correct ownership matrix entrypoints for rebuild gates
Sep 10, 2026
c624289
fix: update B4 driver scripts to owned semantics
Sep 10, 2026
12888c2
feat: add B4 seed preflight validator and wire into make test
Sep 10, 2026
f1b0414
fix: correct seed preflight trap and remove unsupported -c flag
Sep 10, 2026
d00c8f3
docs: correct B4 certification evidence document
Sep 10, 2026
5251987
feat: add driver-owned source-to-VM B4 gate; update acceptance manife…
Sep 10, 2026
d6e49d2
feat: add zap driver check/build/run/test CLI delegation infrastructure
Sep 10, 2026
e01fa21
docs: update TODO.md with CLI delegation progress
Sep 10, 2026
e97f6b9
docs: add B4 seed production requirements
Sep 10, 2026
9b5e51a
feat: verify seed-dependent B4 gates pass with current native binary
Sep 10, 2026
ae29079
fix: make B4 evidence script git command resilient
Sep 10, 2026
cfa3515
docs: update B4 evidence document to reflect all 20 gates passing
Sep 10, 2026
3913725
docs: mark all P3 B4 self-hosting items as completed with Windows see…
Sep 10, 2026
599f5d5
feat: add driver malformed safety gate, preflight check, and migratio…
Sep 10, 2026
1ca43ba
docs: sync TODO and B4 contract with current owned state
Sep 10, 2026
596538f
refactor: remove candidate_ prefixes from B4 status strings across se…
Sep 10, 2026
e948c11
migrate medium B4 scripts to driver-owned pipeline where equivalent e…
Sep 10, 2026
a29c9f1
migrate verify_b4_source_to_vm_control_flow_8.sh to driver-owned pipe…
Sep 10, 2026
37336bd
docs: update CURRENT_STATUS_EN.md to B4 candidate evidence passing
Sep 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

## [Unreleased]

### P2 compiler ownership
- Promoted `bootstrap/b4/compiler_driver.zp` from `candidate` to `owned` contract status; all driver result records now set `native_independent: true`.
- Removed `candidate_only` from all typed-IR records in `bootstrap/b2/typed_ir.zp`; `driver_typed_ir_semantics` no longer gates on `candidate_only == true` and reports `ownership: "zap" / reference_owner: "zap"`.
- Updated `scripts/bootstrap/verify_compiler_driver_contract.sh` and `bootstrap/contracts/COMPILER_DRIVER_CONTRACT.toml` to assert `owned` status.
- Updated `native/src/bootstrap.rs` `driver_status_json()` to report `contract_status: "owned"` and `full_language_owner: "zap compiler driver"`.
- Added `scripts/bootstrap/verify_b4_driver_owned_pipeline.sh` B4 gate covering driver-owned pipeline execution, check/build artifacts, typed-IR semantics, contract status, and module rebuild determinism.
- Wired `verify_b4_driver_owned_pipeline.sh` into `make test` as `bootstrap-driver-owned-pipeline-test`.
- Updated `docs/CURRENT_STATUS_EN.md`, `docs/CURRENT_STATUS_MM.md`, `docs/B4_RUST_FREE_FULL_LANGUAGE_CONTRACT_EN.md`, and `docs/B4_RUST_FREE_FULL_LANGUAGE_CONTRACT_MM.md` to reflect the ownership promotion.

### P0 release hygiene
- Added `scripts/bootstrap/assert_clean_repo_root.sh` CI assertion that runs a representative subset of bootstrap verifiers (success path and forced-failure path) and fails nonzero if any `$ROOT_DIR` scratch artifact remains after EXIT. This closes the TODO.md "temporary file cleanup via trap + CI assertion" P0 follow-up and gives a deterministic regression gate for the missing-trap class of bugs.
- Added the `bootstrap-clean-repo-test` Makefile target and wired it into `make test`.
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG_MM.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

## [Unreleased]

### P2 compiler ownership
- `bootstrap/b4/compiler_driver.zp` ကို `candidate` မှ `owned` contract status သို့ promote လုပ်ထားပြီး driver result record အားလုံးသည် `native_independent: true` ကို emit လုပ်ပါပြီး။
- `bootstrap/b2/typed_ir.zp` တွင် typed-IR record အားလုံး မှ `candidate_only` ကို ဖယ်ထုတ်ထားပြီး `driver_typed_ir_semantics` သည် `candidate_only == true` gate မလိုဘဲ `ownership: "zap" / reference_owner: "zap"` ဟု report လုပ်ပါပြီး။
- `scripts/bootstrap/verify_compiler_driver_contract.sh` နှင့် `bootstrap/contracts/COMPILER_DRIVER_CONTRACT.toml` တို့ကို `owned` status ကို assert လုပ်ရန် update လုပ်ထားပြီး။
- `native/src/bootstrap.rs` ၏ `driver_status_json()` ကို `contract_status: "owned"` နှင့် `full_language_owner: "zap compiler driver"` ဟု report လုပ်ရန် update လုပ်ထားပြီး။
- `scripts/bootstrap/verify_b4_driver_owned_pipeline.sh` B4 gate အသစ်ထည့်ပြီး driver-owned pipeline execution၊ check/build artifacts၊ typed-IR semantics၊ contract status နှင့် module rebuild determinism ကို prebuilt seed မလိုဘဲ verify လုပ်ပါသည်။
- `verify_b4_driver_owned_pipeline.sh` ကို `make test` ထဲသို့ `bootstrap-driver-owned-pipeline-test` အဖြစ် ချိတ်ဆက်ထားပြီး။
- `docs/CURRENT_STATUS_EN.md`၊ `docs/CURRENT_STATUS_MM.md`၊ `docs/B4_RUST_FREE_FULL_LANGUAGE_CONTRACT_EN.md` နှင့် `docs/B4_RUST_FREE_FULL_LANGUAGE_CONTRACT_MM.md` တို့ကို ownership promotion ကို ပြန်လည်အမှန်ခြစ် ဆက်လ Kampf လုပ်ထားပြီး။

### P0 release hygiene
- `scripts/bootstrap/assert_clean_repo_root.sh` CI assertion အသစ်ထည့်ပြီး bootstrap verifier အစုအလေးတစ်ခုကို success path နှင့် forced-failure path နှစ်မျိုးလုံးဖြင့် run ပြီး EXIT ပြီနောက် `$ROOT_DIR` scratch artifact ကျန်ရှိနေပါက nonzero ဖြင့် fail လုပ်သည်။ ၎င်းသည် TODO.md ၏ "temporary file cleanup via trap + CI assertion" P0 follow-up ကို ပိတ်ပြီး missing-trap bug class အတွက် deterministic regression gate တစ်ခု ပေးသည်။
- `bootstrap-clean-repo-test` Makefile target အသစ်ထည့်ပြီး `make test` ထဲသို့ ချိတ်ဆက်ထားသည်။
Expand Down
16 changes: 14 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: native native-run native-test host-test legacy-test bootstrap-b1-arbitrary-test bootstrap-non-rust-test bootstrap-driver-contract-test bootstrap-driver-module-test bootstrap-backend-ownership-test bootstrap-byte-determinism-test bootstrap-second-stage-test bootstrap-clean-env-test bootstrap-self-rebuild-test test package clean
.PHONY: native native-run native-test host-test legacy-test bootstrap-b1-arbitrary-test bootstrap-non-rust-test bootstrap-driver-contract-test bootstrap-driver-module-test bootstrap-driver-owned-pipeline-test bootstrap-driver-source-to-vm-test bootstrap-driver-malformed-safety-test bootstrap-seed-preflight-test bootstrap-backend-ownership-test bootstrap-byte-determinism-test bootstrap-second-stage-test bootstrap-clean-env-test bootstrap-self-rebuild-test test package clean

native:
cargo build --release --locked --manifest-path native/Cargo.toml
Expand Down Expand Up @@ -49,6 +49,18 @@ bootstrap-driver-contract-test:
bootstrap-driver-module-test:
bash scripts/bootstrap/verify_b4_driver_module_resolution_errors.sh

bootstrap-driver-owned-pipeline-test:
bash scripts/bootstrap/verify_b4_driver_owned_pipeline.sh

bootstrap-driver-source-to-vm-test:
bash scripts/bootstrap/verify_b4_driver_source_to_vm.sh

bootstrap-driver-malformed-safety-test:
bash scripts/bootstrap/verify_b4_driver_malformed_safety.sh

bootstrap-seed-preflight-test:
bash scripts/bootstrap/verify_b4_seed_preflight.sh

bootstrap-backend-ownership-test:
bash scripts/bootstrap/verify_full_language_backend_ownership.sh

Expand All @@ -66,7 +78,7 @@ bootstrap-self-rebuild-test: bootstrap-byte-determinism-test bootstrap-second-st
legacy-test:
cd legacy && python3 -m unittest -v test_zap.py

test: legacy-test native-test host-test bootstrap-test bootstrap-b1-test bootstrap-b1-arbitrary-test bootstrap-b3-test bootstrap-vm-test bootstrap-clean-repo-test bootstrap-refactor-smoke-test bootstrap-non-rust-test bootstrap-driver-contract-test bootstrap-driver-module-test bootstrap-backend-ownership-test bootstrap-self-rebuild-test
test: legacy-test native-test host-test bootstrap-test bootstrap-b1-test bootstrap-b1-arbitrary-test bootstrap-b3-test bootstrap-vm-test bootstrap-clean-repo-test bootstrap-refactor-smoke-test bootstrap-non-rust-test bootstrap-driver-contract-test bootstrap-driver-module-test bootstrap-driver-owned-pipeline-test bootstrap-driver-source-to-vm-test bootstrap-driver-malformed-safety-test bootstrap-seed-preflight-test bootstrap-backend-ownership-test bootstrap-self-rebuild-test

package: native
./package_release.sh x86_64-unknown-linux-gnu
Expand Down
Loading
Loading