Commit 6e6f57f
committed
feat(callcenter): LanceMembrane::commit_event — the action-commit sole-writer sibling (gate 1)
The runtime-side gate-1 piece referenced by OGAR-AST-CONTRACT §3 (OGAR PR #11)
and CROSS_SESSION_COORDINATION.md grill #10. `commit_event(row) -> u64` is the
seam the Rubicon CommitHook lowers onto: on entering the Committed lifecycle
state, the binding builds a CognitiveEventRow from the OGAR ActionInvocation and
calls this; it returns the new monotonic Lance version (the crossing's audit
version).
Where project() projects a cognitive cycle (ShaderBus + MetaWord), commit_event
takes a caller-built CognitiveEventRow directly. Unlike project(), the action
commit is the authoritative audit event (the Rubicon crossing / rubberstamp), so
it ALWAYS ticks the version and fans out via the watcher — the server filter /
gate throttle cognitive-cycle fan-out, not an explicit committed action.
Kept on the concrete LanceMembrane, NOT on the zero-dep ExternalMembrane trait,
so the contract crate stays zero-dep and action commits never get forced through
the cognitive-cycle ShaderBus shape (the boundary agreed with the OGAR session).
Verified: cargo check -p lance-graph-callcenter (realtime + default) green;
test commit_event_ticks_version_and_returns_new passes.
https://claude.ai/code/session_01VysoWJ6vsyg3wEGc5v7T5v1 parent e948e91 commit 6e6f57f
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
295 | 324 | | |
296 | 325 | | |
297 | 326 | | |
| |||
519 | 548 | | |
520 | 549 | | |
521 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
522 | 566 | | |
523 | 567 | | |
524 | 568 | | |
| |||
0 commit comments