Manifest schema ownership: provides=, --strict, profile passthrough, platforms validation#110
Merged
Merged
Conversation
…idation Implements .agents/docs/2026-06-04-manifest-schema-ownership.md D2-D5: - [runtime] provides = [...] (TOML + xpkg Lua): strong provider claim; provider mapping now prefers provides-declarers over weak capabilities-listing packages (back-compat retained). - --strict on build: schema warnings become errors. - features strict check: a requested feature (incl. backend= sugar) must exist in the target's [features] table when one is declared. - [profile.<name>] passthrough: cflags/cxxflags/ldflags (fixed keys, open values). - [package] platforms validated against the mcpp-owned vocabulary.
…6-68 The fresh-build.ninja fast path skipped prepare_build, silently ignoring resolution-affecting flags (a plain build followed by build --features X no-op'd). Bail out like --target/--static already did. Built-in dist profile no longer enables lto (several packaged gcc payloads lack the LTO plugin; remains an explicit [profile.*] knob). Adds e2e: 66 runtime provides (strong-vs-weak provider + override), 67 features/backend=/platforms strict gate, 68 profile knobs + passthrough.
05-mcpp-toml.md: new sections 2.8 [features], 2.9 [profile.<name>] (incl. passthrough), 2.10 [runtime] (provides/provider override/capability naming), 2.11 [package] platforms; dep-spec features/backend= sugar in 2.5; appendix A 'schema ownership' (closed grammar / open vocabulary) as the admission rule for future fields. Examples mirror the verified e2e 66-68. 03-toolchains: abi capability enforcement; 00-getting-started: gui template + why/doctor.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements
.agents/docs/2026-06-04-manifest-schema-ownership.md(closed grammar / open vocabulary):[runtime.<cap>] provider=override still wins.backend=sugar, unknown platform).distno longer enables lto (several packaged gcc payloads lack the LTO plugin).--profile/--features/--strict/-p— now bypasses like--target/--static.All verified locally (new e2e + 02/04 regression incl. fast-path).