Skip to content

fix(lcm): harden Hermes compaction replay bridge - #36

Merged
ScriptedAlchemy merged 6 commits into
masterfrom
chore/post-rebrand-followups
Jun 15, 2026
Merged

fix(lcm): harden Hermes compaction replay bridge#36
ScriptedAlchemy merged 6 commits into
masterfrom
chore/post-rebrand-followups

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • Preserve Hermes compaction replay behavior for threshold-triggered compaction and bounded MCP payloads.
  • Add diagnostics, preflight, and retrieve hardening for Hermes context-engine integration.
  • Cover replay and MCP response-handle contracts in tests and docs.

Test plan

  • Not run in this pass; recommended: cargo fmt --check and cargo test --workspace --features test-transport.

ScriptedAlchemy added 4 commits June 14, 2026 00:29
Ensure threshold-triggered compaction can summarize short oversized contexts and keep oversized LCM compress responses machine-readable for the Hermes bridge.
Add Hermes optional hook shims, richer generated-plugin diagnostics, and contract-safe LCM preflight/retrieve handling so context-engine integration is easier to verify and diagnose.
Preserve project-scoped response handle retrieval and keep compact LCM replay payloads bounded for structured content.
Use map_or_else when serializing structured replay content for bounded MCP responses.
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 33a7091

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 59e6e46e82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/mcp/tools/handlers/session.rs Outdated
ScriptedAlchemy added 2 commits June 15, 2026 21:01
Preserve exact Hermes LCM summary source contracts by routing oversized needs-summary payloads through the retrievable truncation path.
@ScriptedAlchemy
ScriptedAlchemy merged commit 0566a8d into master Jun 15, 2026
7 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/post-rebrand-followups branch July 4, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant