mirror of
https://github.com/morluto/rea.git
synced 2026-10-12 02:19:24 +00:00
fix(javascript): allow cancellation during semantic graph commitment (#1218)
Move whole-graph commitment and batched integrity checks into owned domain steps while retaining eager input capture, canonical IDs, full validation and completion-only immutable proofs. Verified complete real Notion identity parity and actual stdio MCP cancellation, Evidence retention and connection reuse. Refs #1065.
This commit is contained in:
@@ -46,6 +46,15 @@ claim, even if a directory name calls it acceptance.
|
||||
Emit a verifier's final success report only after awaited cleanup. Observe final
|
||||
process lineage after closing its owned resources.
|
||||
|
||||
Owned JavaScript semantic graphs capture and schema-parse caller input before
|
||||
returning an iterator. Whole-graph hashing, batched integrity checks and sealing
|
||||
run through the application cancellation driver; only full completion grants
|
||||
the private immutable-graph proof. Regression coverage checks canonical IDs,
|
||||
validation diagnostics, nested caller mutations across yields, cancellation
|
||||
before result validation and subsequent SDK requests. Single-file parsing,
|
||||
schema cloning and canonical sorting remain synchronous phases; measure them
|
||||
separately when assessing cancellation latency on real applications.
|
||||
|
||||
The Vitest runner releases cached native process inspectors during awaited
|
||||
worker teardown. Fork termination does not run Node's normal exit hooks; a
|
||||
per-file teardown would instead retire shared inspectors before later files
|
||||
|
||||
Reference in New Issue
Block a user