Skip to content

Publish bounded incremental semantic deltas - #564

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/semantic-deltas-547
Sep 19, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/semantic-deltas-547

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Closes #547. Advances #262 and enables SceneTech/AppScene#30/#185.

WebScene now exposes a bounded request/take/release semantic-delta lease keyed by base/new snapshot plus document/layout generations. It retains only latest plus immediate predecessor, admits one request/result, emits deterministic relationship-remove, reverse-remove, insert, reparent/update, relationship-add and focus operations, copies complete node projections, respects nested generation identities, and fails closed to a concurrently published full snapshot on overflow, truncation or top-document replacement. Navigation, hidden/explicit low memory and teardown retire queued/completed state; taken leases outlive the engine.

Bounds: 8,192 operations and 2 MiB copied UTF-8, atop existing full-snapshot limits.

Validation intentionally deferred: git diff --check passed; full op mix, stale admission, terminal/editor/panel churn, nested replacement, overflow recovery, 2,048-node/100-cycle/memory/p95, C ABI/browser/export regressions were authored but not executed. AppScene UI-thread peer application, base/new validation, full recovery and packaged AT acceptance remain open.

@wieslawsoltes
wieslawsoltes merged commit 7fa7dac into main Sep 19, 2026
2 of 7 checks passed
@wieslawsoltes
wieslawsoltes deleted the feature/semantic-deltas-547 branch September 19, 2026 03:14
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.

Add measured incremental semantic deltas with full-snapshot recovery

1 participant