Repository navigation
impl(042): increment 8, spec 034 bundles and signing - #441
Conversation
Carry the profile, variant and base profiles in plan bundles, record the leaf ProfileId, apply deny_unsigned_for_profiles to the resolved chain, and instantiate registrations with exactly the bundle's inputs (3.3.8).
AI review (no-findings)Reviewing the diff against governance context and looking for bugs, security issues, and inconsistencies.
No concrete defects found. {"head": "42f5fb8484ffad2fb8926df4ed29b940ef0ca1c7", "verdict": "no-findings", "findings": []}Subject: cf797a0...42f5fb8, diff digest 7f52d4c02e7293b908c215aa31aef74e5efe318f29b52e5b2fef17c88c966eca, 1 call(s). An AI comment is not an approval. |
Spec 042, increment 8: spec 034 bundles and signing (3.3.1, 3.3.3, 3.3.6, 3.3.8 as ratified in A-71).
rustev-contract:rustev.plan-bundle/1gainsprofile,variant({"named": ...}) andprofile_bases(1 to 64, only with a profile), each omitted when unused; the bundle's definition may be a spec 034 template;rustev.plan-registration/1gainsprofile_id(leafProfileId, omitted for none);SigningMode::DenyUnsignedForProfiles(1 to 1024 ids); the compile refusal document admits the instantiation refusal and the profiled compile refusalrustev-surfacerenders. Schemas and TypeScript declarations regenerated.rustev-serve: registration instantiates with exactly the bundle's inputs (compile_profiled_with, no version pin);deny_unsigned_for_profilesrefuses an unsigned bundle whose leaf or any profile of its resolved chain is listed; the record carries the leaf'sProfileId."profile": "none"isinvalid_document), so a bundle and registration without one keep their bytes andRegistrationId.crates/rustev-contract/tests/042_serve_documents.rsbundles_carry_profiles_variants_and_bases_and_omit_them_when_unused;integrations/rustev-serve/tests/profiles.rs(section 5 rows:variant-required,profile-missing, bases without a profile,"variant": "none"/ emptyprofile_bases, a listed base, unreached-baseregistration_conflict; leafProfileId; listed leaf).Stacked on increment 7 part 3.