Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,23 @@ state.restore_saved()
ObjectStateRegistry.unregister(state)
```

Headless compilation can resolve a submitted saved declaration without creating
or registering an editing state:

```python
resolved_step, provenance = ObjectState.resolve_saved_object(
submitted_step,
scope_id="pipeline::step_0",
ancestor_objects_with_scopes=(("pipeline", saved_pipeline_config),),
)
```

This uses the saved global context and the same scoped inheritance and nominal
construction as editing states. The caller supplies saved ancestors in order
from least to most specific. Provenance describes the same saved values; mutable
results are detached together while callable identities and shared aliases stay
intact. The existing live editor and saved-baseline APIs retain their lifecycle.

## Undo/Redo and Time Travel

Git-like DAG history with branching timelines:
Expand Down
2 changes: 1 addition & 1 deletion src/objectstate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
'ObjectStateEditSession',
]

__version__ = "1.1.9"
__version__ = "1.2.0"
__author__ = 'OpenHCS Team'
__description__ = 'Generic configuration framework for lazy dataclass resolution'

Expand Down
Loading
Loading