Skip to content

Emit build provenance in v2 compatibility metadata (bundle 4.16.0)#31

Merged
MaxGhenis merged 1 commit into
mainfrom
populace-bundle-build-id
Jun 11, 2026
Merged

Emit build provenance in v2 compatibility metadata (bundle 4.16.0)#31
MaxGhenis merged 1 commit into
mainfrom
populace-bundle-build-id

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The v2 generation path never emitted build provenance into compatibility metadata — data_build_id, built_with_model_version, built_with_model_git_sha, and data_build_fingerprint only existed in the legacy certification model. policyengine.py's bundle importer reads exactly those keys to populate certified_data_artifact.build_id and the certification block, so v2-generated bundles imported with null build provenance.

This carries the release manifest's build block into the metadata (here data_build_id=populace-us-2024-5da5a95-20260611, built_with_model_version=1.723.0; git sha and fingerprint emitted when present) and regenerates bundle 4.16.0. UK is unchanged (its release manifest predates the build block).

Validation: scripts/validate_bundle.py bundles/4.16.0 exit 0; 88 unit tests pass.

🤖 Generated with Claude Code

The v2 generation path dropped the build provenance that the legacy
certification model carried, leaving importers without it. Carry the
release manifest's build_id, built-with model version, git sha, and
data build fingerprint into the compatibility assertion metadata and
regenerate bundle 4.16.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Emit data_build_id in v2 compatibility metadata (bundle 4.16.0) Emit build provenance in v2 compatibility metadata (bundle 4.16.0) Jun 11, 2026
@MaxGhenis MaxGhenis force-pushed the populace-bundle-build-id branch from fbee4c9 to c49461e Compare June 11, 2026 17:28
@MaxGhenis MaxGhenis merged commit 636193c into main Jun 11, 2026
1 check passed
@MaxGhenis MaxGhenis deleted the populace-bundle-build-id branch June 11, 2026 17:29
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