Skip to content

feat(labs): materialize causal intents when ready#231

Merged
developer-1px merged 1 commit into
mainfrom
feat/causal-ready-materialization
Jul 12, 2026
Merged

feat(labs): materialize causal intents when ready#231
developer-1px merged 1 commit into
mainfrom
feat/causal-ready-materialization

Conversation

@developer-1px

Copy link
Copy Markdown
Owner

Summary

  • compose the causal inbox with the existing positional and stable-id rebase labs
  • add a closed authored-intent union while preserving direct envelope behavior and result shapes
  • materialize only after dependencies are ready, then advance causal state after one successful document commit
  • retain structured policy failures, selection diagnostics, and defensive authored-payload deduplication
  • teach the lab evaluator exact private-lab dependencies, changed-scope closure, cycle rejection, and dependency-level verification

Boundary

This is not a CRDT, OT, transport, or convergence protocol. Positional replay still requires an authored base and ordered gap-free concurrent batches; when the causal DAG cannot prove that relationship, planner conflicts and final guards prevent unsafe overwrite but may conservatively block a valid edit.

Verification

  • causal inbox package: typecheck, 34 tests, build, runtime import
  • all 41 extension labs: dependency-level typecheck, test, build, runtime import
  • core: typecheck, 457 tests passing with 4 skipped, build, package smoke
  • all official extensions: check, typecheck, test, build
  • standard conformance and generated docs evaluation

@developer-1px developer-1px merged commit 8a33f1d into main Jul 12, 2026
3 checks passed
@developer-1px developer-1px deleted the feat/causal-ready-materialization branch July 12, 2026 11: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.

1 participant