Skip to content

compiler: check authored Build entries before following the Product - #8579

Draft
zcanann wants to merge 2 commits into
mainfrom
work/compiler-selfhost-build-entries
Draft

zcanann wants to merge 2 commits into
mainfrom
work/compiler-selfhost-build-entries

Conversation

@zcanann

@zcanann zcanann commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

An authored Build could declare two free build machines, or require an extra argument the invoker cannot supply, and still pass --check when its Product was valid. Project loading now reads the Build file's declarations before following its Product selections. It distinguishes an absent initial Build, which selects the default Product, from an absent interpreted successor, which fails.

Claim 18edf400dd22a5200000000018e38b36. This is an increment toward checking the nine required_output_path negatives. Checking the bodies of Build machines and executing the resulting checked plan still need implementation.

Gate: RC-BUILD-AND-PACKAGES | An ambiguous or incorrectly parameterized Build cannot select a Product.
Spec: wiki/spec/build/command_line.md#build-first-entry-selection, wiki/spec/build/declarations.md#project-role
Proof: The public regression passes on Rust and fails on the existing Omega-written CLI at the duplicate Build case, which exits 0. | Candidate verification is running.

Agent: Codex | Model: unavailable | Effort: unavailable | Tokens: unavailable in (unavailable cached), unavailable out | Steps: unavailable | Time: unavailable | Steers: unavailable

Zachary Canann added 2 commits December 4, 2026 05:10
An authored Build could declare two free `build` machines, or require an extra argument the invoker cannot supply, and still pass `--check` when its Product was valid. Project loading now reads the Build file's declarations before following its Product selections. It distinguishes an absent initial Build, which selects the default Product, from an absent interpreted successor, which fails.

Claim 18edf400dd22a5200000000018e38b36. This is an increment toward checking the nine `required_output_path` negatives. Checking the bodies of Build machines and executing the resulting checked plan still need implementation.

Gate: RC-BUILD-AND-PACKAGES | An ambiguous or incorrectly parameterized Build cannot select a Product.
Spec: wiki/spec/build/command_line.md#build-first-entry-selection, wiki/spec/build/declarations.md#project-role
Proof: The public regression passes on Rust and fails on the existing Omega-written CLI at the duplicate Build case, which exits 0. | Candidate verification is running.

Agent: Codex | Model: unavailable | Effort: unavailable | Tokens: unavailable in (unavailable cached), unavailable out | Steps: unavailable | Time: unavailable | Steers: unavailable
The valid and invalid Builds select an identical Product. Checking the selected Product alone lets an immutable path enter a helper requiring mutable access. Keep the authored Build scope, nine expected refusals and valid output sealing together in the existing parity task.

Agent: Codex | Model: unavailable | Effort: unavailable | Tokens: unavailable in (unavailable cached), unavailable out | Steps: unavailable | Time: unavailable | Steers: unavailable

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant