Add validation and execution for external fixture bundles - #47
Merged
Merged
Conversation
Miko997
marked this pull request as ready for review
August 11, 2026 18:32
Add the SciCrunch RRID badge, registry link, and canonical research-resource identifier to the README. No package, release, code, or frozen citation-artifact changes.
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.
What changed
metriplane external validate <fixture>andmetriplane external run <fixture> --out <run>for installed-package use.run_atlas(), and verifies generated evidence and regression artifacts.Durable provenance
External runs write
external_source_provenance.jsonwith schemametriplane.external_source_provenance.v1. Atlas hashes and references it fromatlas_manifest.json, renders a concise report section, and includes the same record in every incident evidence bundle underprovenance/.The durable evaluation command now records canonical
<fixture>and<output>placeholders while preserving the command, flags, run ID, and overwrite state. Machine-local fixture and output paths remain available only in the immediate CLI/run summary.The evaluation identity now optionally records:
actual_metriplane_git_commitactual_metriplane_git_dirtyactual_metriplane_git_describeThese values come from the existing
get_git_info()implementation and its environment overrides.repo_rootis never serialized, and unavailable Git metadata remains null rather than being fabricated.The Atlas hook is optional. Ordinary Atlas manifests, reports, and evidence bundles omit every external-only artifact and field.
Availability
The user guide states that these commands are newer than published Metriplane v0.3.0. PyPI and conda-forge v0.3.0 do not contain them; until a later release includes the functionality, the documented development wheel is built from immutable implementation commit
a901ea8d3be62355997c08e3030512e4129ee03c.This PR does not bump the package version or create a release.
Compatibility
Existing
atlas validate-pack,atlas run, demo, FrameStateModel 1.0, domain-pack, bundle verification, and regression paths remain unchanged. No source-format runtime dependency or source-specific condition was added. External Source Contract v1 is unchanged.Verification
Final PR head:
419c2412832f8c37156a6cb45b0c6e35ebd776ac.mkdocs build --strict: passed.twine check --strict: passed; package version remains0.3.0.METRIPLANE_GIT_COMMIT=419c2412832f8c37156a6cb45b0c6e35ebd776ac: passed. The run recorded that exact SHA, produced 4 frames, 5 events, 1 deviation, and 1 incident; evidence verification and generated regression passed; run and bundled provenance were byte-identical, path-free, andrepo_root-free; the fixture fingerprint was unchanged.schemas/metriplane.external_source_contract.v1.schema.jsonremains byte-identical, SHA-256b5544012d7d98f1fdc8aed56192c33ac16f4acebd6694778ad682743482722c4.Limits
A passing run establishes contract compliance, local byte integrity/agreement, and reproducible Atlas evaluation of the supplied normalized state and process rules. It does not authenticate a publisher, prove upstream conversion correctness, physical ground truth, realism, sensor accuracy, safety, production suitability, endorsement, or independent adoption. Referenced remote sources are never downloaded, and adapter declarations are never executed.