Isolate generated artifacts

This commit is contained in:
tmk241
2026-09-02 01:01:08 +02:00
parent 3146de7794
commit 1dc9734f16
6 changed files with 1492 additions and 1452 deletions
+4 -10
View File
@@ -20,17 +20,11 @@ Blocked by: none
## HMX-M03 — Isolate artifact emission and diagnostics
Outcome: generated Rust, metadata, lowering tables, and contract diagnostics are emitted through one private boundary behind the public builder.
Outcome: generated artifacts and contract diagnostics are privately owned without byte, ordering, fingerprint, or diagnostic drift.
Delta: architecture/003 assurance/001
Path: validated template and Rust facts -> stable IDs/metadata -> generated files -> downstream compilation diagnostics.
Build: move artifact assembly and diagnostic formatting as one responsibility; keep public entry points and no-op write behavior in place.
Risk: byte, ordering, fingerprint, or diagnostic drift breaks downstream builds despite compiling locally.
Checks: `cargo test -p hemx-build`; exact generated API/diagnostic/fingerprint fixtures; no-op rewrite check; package archive checks; `redgate check`.
Non-goals: a new IR, new serialization, public API changes, or formatting-only rewrites.
Residual risk: this is the broadest movement slice and requires fresh-context review after integrated proof.
State: Draft
Blocked by: HMX-M02
Checks: exact generated API/diagnostic/fingerprint/no-op fixtures; package checks; Redgate; diff check; fresh review.
State: Done
Blocked by: none
## HMX-M04 — Localize Axum interaction forms