Skip to content

Reconcile historical snapshots with current schemas - #7

Merged
trissim merged 2 commits into
mainfrom
fix/reconcile-history-schema-20260921
Sep 22, 2026
Merged

trissim merged 2 commits into
mainfrom
fix/reconcile-history-schema-20260921

Conversation

@trissim

@trissim trissim commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • project imported historical snapshot values onto the current construction-owned field schema
  • preserve current defaults for newly declared fields
  • discard historical fields that are no longer declared
  • cover parameters, saved baselines, resolved values, and provenance with a schema-evolution regression

Validation

  • ../../.venv/bin/python -m pytest -n auto -q: 205 passed
  • isolated uv run pytest currently cannot import the source-only python_introspect dependency; the integrated OpenHCS environment supplies the declared source dependency graph

This fixes restored OpenHCS configuration histories silently replacing a newer declaration schema with an older snapshot surface.

@trissim
trissim merged commit 2e2eb89 into main Sep 22, 2026
11 checks passed
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