fix(graph): make edge upserts explicit and observable - #2326
Conversation
|
Reviewed against head The gate does what it claimsI enumerated the write paths rather than taking the description's list, and the refusal is enforced at The read-then-write window is closed too: The coordinator route silently coerces malformed arguments — and it is not only
|
The red
|
# Conflicts: # docs/adr/ADR-009-backend-architecture.md
ohdearquant
left a comment
There was a problem hiding this comment.
Automated review. Posted by this repository's automated pull-request review pipeline; this is not a human read and does not gate the merge by itself.
Verdict on head 70a6a93: REQUEST-CHANGES, 2 blocking findings. Finding details are delivered to the review's recipients rather than posted here. Do not merge this head while blocking findings are outstanding; a pipeline comment on a newer head supersedes this one.
Summary
created,updated, orresurrectedmutation dispositionresurrect=true, consistently across singleton, bulk, atomic, and coordinator-routed linksLinkCreated/EdgeUpdatedlifecycle events with edge referent observations and replacement preimages, and document the wire/storage/ADR contractTest plan
cargo fmt --all -- --check(incrates/)cargo clippy -p khive-storage -p khive-db -p khive-runtime -p khive-pack-kg -p khive-mcp -p kkernel --all-targets -- -D warningscargo test -p khive-db stores::graph::tests --no-fail-fastcargo test -p khive-db stores::event::tests --no-fail-fastcargo test -p khive-pack-kg handlers::tests -- --nocapturekhive-runtimecargo test -p khive-mcp coordinator::tests --no-fail-fastcargo test -p kkernel coordinator::tests --no-fail-fastcargo test --workspace(not run; affected suites and strict affected-crate clippy were used proportionally)deno fmt --check docs/(denois not installed in the local environment)ADR
Updates ADR-004, ADR-009, ADR-014, and ADR-168 to record edge referent observations, explicit resurrection, mutation disposition, and production lifecycle emitters.
AI-assisted contribution checklist
cargo testoutput included for behavior-changing codeOut of scope
Edgeinto a fourth substrateCloses #2087