Skip to content

fix(mcp-servers): cover Monomem 1.6 tool names - #7952

Draft
calasdan-sketch wants to merge 2 commits into
hashgraph-online:mainfrom
calasdan-sketch:monomem-1.6-tool-names
Draft

calasdan-sketch wants to merge 2 commits into
hashgraph-online:mainfrom
calasdan-sketch:monomem-1.6-tool-names

Conversation

@calasdan-sketch

Copy link
Copy Markdown
Contributor

MCP server contribution update: Monomem 1.6 tool names

What changed

One file: contributions/mcp-servers/mcp.monomem.json (entry version 1.0.0 to 1.1.0). The trust binding is unchanged (external, opt-in). No generated projections are committed.

Monomem 1.6.0 (released 2026-11-17) renamed its 37 tools to 16 memory_* tools, and several of them now take an action argument. This entry listed only the 1.5 names, so with 1.6 every tool fell to the other row and was put on review, reads and ordinary saves included.

Upstream source and version

Tool defaults

Guard decides per tool name, so a tool with several actions gets the default of its strictest action.

  • inherit (read-only): memory_search, memory_read, memory_list, memory_catch_up, memory_usage
  • inherit (ordinary, reversible writes): memory_save, memory_sessions
  • review: memory_archive, memory_replace, memory_review, memory_history, memory_rollback, memory_tidy, memory_held, memory_trust, memory_tasks
  • other: review, as before.

Two points a reviewer may want to check:

  • memory_history moves from inherit to review. In 1.5 it only listed versions; in 1.6 the same name also restores and purges them. This tightens the default for 1.5 users too.
  • memory_replace, memory_tidy, memory_review and memory_tasks are on review even for their read-only actions (preview, candidates, list, get), because the entry cannot tell actions apart.

The 1.5 names stay in the list with the defaults they had. Monomem 1.6 still answers to them for one release, and MONOMEM_TOOLS=legacy-1.5 shows the 1.5 list.

Notes for users (saferAlternatives)

Rewritten for 1.6: the seven default tools, the stdio:<app> writer name (a name from the config file, not proof), which operator tools are not offered over stdio, what archiving leaves behind, and that the standalone download's launcher does not match this entry.

Checks

  • The file parses, tool names are unique, and the lengths are inside the schema limits (description 441 of 512, each note at most 252 of 256, 8 notes, 50 tools).
  • Not run locally: tests/test_guard_mcp_server_contribution.py and the trust checks. I am relying on CI for these.

Opened as a draft so the tool states can be reviewed first.

Monomem 1.6.0 renamed its 37 tools to 16 memory_* tools, several with an
action argument. The entry listed only the 1.5 names, so every 1.6 tool
fell to the other row (review), reads and ordinary saves included.

Adds the 16 new names with the same split as before and keeps the 1.5
names, which 1.6 still answers to for one release. A tool with actions
takes the default of its strictest action. memory_history moves from
inherit to review because in 1.6 it also restores and purges versions.
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copy link
Copy Markdown
Collaborator

Thanks for updating the Monomem 1.6 tools. CI is green, but the note about legacy defaults needs one correction: memory_history now defaults to review, not inherit.

Our maintainer integration gets a GitHub 403 when checking permissions on calasdan-sketch/hol-guard. If you'd like us to make that small documentation fix and rerun CI, could you enable Allow edits from maintainers for this PR and, if needed, give the existing GitHub App Contents: write access to this fork only? Please don't enable any setting that grants access to secrets. If that's the only option, you can update the note on your branch instead. We'll leave the draft status to you.

…lt changed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PMXxeM96T5T3X72TEvCmaT
@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
CI failed: All five unique failure templates were classified as unrelated to this PR (related_to_pr=no), so none are attributed to the Monomem 1.6 tool-name change. The causes are unconfirmed: a macOS gate test timeout, macOS and native-workspace job failures with no underlying error in the logs, a runtime test failure with no assertion output, and a missing CI artifact.

Overview

All five unique failure templates were classified as unrelated to this PR (related_to_pr=no), so none are attributed to the Monomem 1.6 tool-name change. The causes are unconfirmed: a macOS gate test timeout, macOS and native-workspace job failures with no underlying error in the logs, a runtime test failure with no assertion output, and a missing CI artifact.

Failures

macOS gate test timed out in native command-extension evaluation (git-stash-list-status-show-from-nonrepo-parent@omp)

  • Type: test
  • Affected jobs: 134965924167
  • Related to change: no
  • Confidence: medium
  • Root cause: In tests/test_guard_benign_false_positive_gate.py:480, the git-stash-list-status-show-from-nonrepo-parent@omp case was denied after native command-extension evaluation timed out. The log also shows repeated native-unavailable retry warnings across other gate cases, suggesting the evaluator was hitting its short time budget, though the precise cause—such as transient runtime load or a slow evaluation path—is not established. The PR changes only the Monomem MCP contribution metadata and tool policies; no supplied evidence connects those changes to Git command evaluation, so this failure is unrelated to the PR.
  • Suggested fix: Investigate why native command-extension evaluation exceeds the hook budget on this macOS shard, especially for the Git read in the failing case. Re-run the shard to check whether the timeout recurs; if it does, optimize the evaluation path or adjust the timeout/test setup based on measured runtime.

Aggregate CI check failed due to native-workspace and macos-gates job failures

  • Type: other
  • Affected jobs: 134972764965
  • Related to change: no
  • Confidence: high
  • Root cause: The log shows native-workspace: failure among always-on jobs and macos-gates: failure among required jobs; the aggregate gate then exited with code 1. It does not include either job’s underlying error, so their specific causes cannot be determined. The PR changes Monomem MCP contribution metadata and tool policies in contributions/mcp-servers/mcp.monomem.json; no supplied evidence connects those changes to the native workspace or macOS gate failures.
  • Suggested fix: Inspect the detailed logs for native-workspace and macos-gates and address each reported failure. Rerun either job only if its logs indicate a transient issue.

Required-job aggregate failed due to macos-gates failure

  • Type: other
  • Affected jobs: 135184127235
  • Related to change: no
  • Confidence: high
  • Root cause: The aggregate check reports macos-gates: failure and exits with code 1. The underlying error from macos-gates is not included, so its specific cause cannot be determined. The PR changes only Monomem MCP contribution metadata and tool policies in contributions/mcp-servers/mcp.monomem.json; no evidence connects that change to the macOS gates job.
  • Suggested fix: Inspect the macos-gates job logs for the underlying failure and fix or rerun that job as appropriate. The aggregate failure should clear once macos-gates succeeds.

hol-guard-runtime test wrong_host_or_process_is_rejected_before_handshake failed

  • Type: test
  • Affected jobs: 134954552182
  • Related to change: no
  • Confidence: high
  • Root cause: The log identifies a failure in the test that checks rejection of an incorrect host or process before handshake, but the test’s assertion output is not included, so the specific cause cannot be determined from this excerpt. The PR changes Monomem MCP tool names and review states in contributions/mcp-servers/mcp.monomem.json; no supplied evidence connects that configuration change to the Codex host-read test.
  • Suggested fix: Inspect the complete test output for the failed assertion and reproduce the test, for example with cargo nextest run --manifest-path rust/Cargo.toml -p hol-guard-runtime wrong_host_or_process_is_rejected_before_handshake. Fix the host/process validation or update the test only if the intended behavior has changed.

macOS job failed: pytest-native-command-projections artifact not found

  • Type: infrastructure
  • Affected jobs: 137326431129
  • Related to change: no
  • Confidence: high
  • Root cause: The failure occurs during artifact download: GitHub Actions reports that artifact pytest-native-command-projections is missing for run 44347712361. This points to an upstream artifact upload, naming, or run-association issue; the log does not identify why the artifact is absent. The PR changes Monomem tool definitions in contributions/mcp-servers/mcp.monomem.json, which is unrelated to this CI artifact, so the supplied evidence does not connect the failure to the PR.
  • Suggested fix: Check that the job producing pytest-native-command-projections completed and uploaded it under that exact name to the same workflow run. Correct the upload/download name or run association if needed, then rerun the dependent job.

Summary

  • Change-related failures: 0
  • Infrastructure/flaky failures: 1
  • Recommended action: Investigate why native command-extension evaluation exceeds the hook budget on this macOS shard, especially for the Git read in the failing case. Re-run the shard to check whether the timeout recurs; if it does, optimize the evaluation path or adjust the timeout/test setup based on measured runtime.
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findings

Mapping Monomem 1.6 tools changes review handling; routine saves may proceed under Guard defaults, limited to this opt-in server.

Updates the Monomem MCP server entry from 1.5 to 1.6 tool names, reclassifying the memory_* tools so read-only and ordinary writes inherit while destructive operations go to review. The earlier finding that the 1.5 defaults claim conflicted with memory_history changing behavior has been resolved, and no open issues remain.

✅ 1 closed
✅ Quality: User note says 1.5 names keep their defaults, but memory_history changed

📄 contributions/mcp-servers/mcp.monomem.json:88 📄 contributions/mcp-servers/mcp.monomem.json:53
The note on line 88 tells users that the 1.5 names "still answer for one release and keep their defaults here". But this PR moves the 1.5 name memory_history from inherit to review on line 53, which the PR description says on purpose. Someone using 1.5 who reads this note would not expect memory_history list calls to start needing review. Changing the note to name memory_history as the exception keeps it accurate, and the line stays within the 256-character limit.

Verification

Rules 2 not applicable

Functional validation Not enabled

Set up

For more verification details, comment gitar display:verbose.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@calasdan-sketch

calasdan-sketch commented Nov 18, 2026 via email

Copy link
Copy Markdown
Contributor Author

This branch has not been deployed

No deployments
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.

2 participants