feat(shared-memory): Extend mempalace coordination with 6 missing features (issue #382)#398
Closed
quangdang46 wants to merge 1 commit into
Closed
feat(shared-memory): Extend mempalace coordination with 6 missing features (issue #382)#398quangdang46 wants to merge 1 commit into
quangdang46 wants to merge 1 commit into
Conversation
…382) Extend mempalace_rust coordination module with 6 missing features: 1. Live delivery — inject messages into idle agent sessions at turn boundaries 2. Event sourcing — append-only log for deterministic replay and crash recovery 3. File reservations — exclusive/shared file-level locks for workspace coordination 4. Saturation signals — detect duplicate work, stale threads, repeated blockers 5. Artifact handoff — large payload separation with retention levels 6. Two-phase claim — claim → re-check → write to prevent race conditions Wire into jcode via jcode-mempalace-adapter with 8 new tools. Research: oh-my-claudecode, oh-my-openagent, oh-my-codex, pi-agent-rust, mempalace_rust Supersedes PR #396 (was creating separate crate, now extends mempalace) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Owner
Author
|
Closed — wrong approach. The 6 features should be implemented in mempalace_rust first, then jcode adapter updated. Creating issues in mempalace_rust repo instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extend mempalace_rust's existing coordination/ module with 6 missing features for cross-agent shared memory, then wire into jcode via jcode-mempalace-adapter.
Closes #382
Supersedes #396 (was creating separate crate, now extends mempalace)
Why This Approach?
mempalace_rust already has a coordination module with SignalStore, LeaseStore, Team, Mesh, ActionStore, CheckpointStore, RoutineStore, Frontier, and 20+ MCP tools. No need to build a separate crate. Just add the 6 missing features.
6 Features to Add to mempalace
jcode Integration
Estimate
~2,126 lines total (1,586 in mempalace + 540 in jcode)
Full Plan
docs/mempalace-shared-memory-master-plan.md (704 lines)