Summary
Add two pure-local Core methods on BaseCore (src/node/core.rs) that wrap the lookup-table primitives for message handling: a link-decision method wrapping try_link (backs GetLinkOp and BuddyOp-match handling) and a relink-decision method wrapping try_relink (backs CheckNeighborOp handling). Network-agnostic, mirroring search_by_id. See docs/protocol/concurrent-insert.md, Section 9 (Core surface) and Section 4.3 (the wrapped primitives' outcome types).
Files
src/node/core.rs — two new Core trait methods on BaseCore.
src/node/core_test.rs — pure-local unit tests (no mock network).
Acceptance Criteria
Depends on
Dependency graph (unblocked first):
EPIC #81 -- local search & join protocol
#67 [DONE] search_by_id #71 [OPEN] search_by_mem_vec (independent)
#74 [OPEN] search_by_id timeout fix #76 [OPEN] delete/leave
Concurrent join + repair (Algorithm 2 + Algorithm 8; supersedes closed #66, #77):
L0 (no deps): #84 #85 #93 #86 #87
L1: #94 <-- YOU ARE HERE #88 #89
L2: #90 #91 #95 #96
L3: #92
L4 (acceptance gate): #97
Summary
Add two pure-local
Coremethods onBaseCore(src/node/core.rs) that wrap the lookup-table primitives for message handling: a link-decision method wrappingtry_link(backsGetLinkOpandBuddyOp-match handling) and a relink-decision method wrappingtry_relink(backsCheckNeighborOphandling). Network-agnostic, mirroringsearch_by_id. Seedocs/protocol/concurrent-insert.md, Section 9 (Core surface) and Section 4.3 (the wrapped primitives' outcome types).Files
src/node/core.rs— two newCoretrait methods onBaseCore.src/node/core_test.rs— pure-local unit tests (no mock network).Acceptance Criteria
LinkOutcometry_linkwould produce for the given(level, direction, candidate).RelinkOutcometry_relinkwould produce for the given(level, direction, claimant).try_link/try_relinkremain the only place a table entry is written.Depends on