Skip to content

fix: keep read-only MCP tools responsive#131

Open
ScriptedAlchemy wants to merge 4 commits into
split/self-improving-04-dashboard-uifrom
split/self-improving-05-docs
Open

fix: keep read-only MCP tools responsive#131
ScriptedAlchemy wants to merge 4 commits into
split/self-improving-04-dashboard-uifrom
split/self-improving-05-docs

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Jun 25, 2026

Copy link
Copy Markdown
Owner

This PR stacks on #130. Review commit/diff against split/self-improving-04-dashboard-ui.

Summary

  • Document self-improving loop contracts and dashboard integration notes.
  • Update dashboard and dashboard-port handoff docs.
  • Refresh README, CONTRIBUTING, Cursor plugin, Kiro integration, and dashboard API audit notes.
  • Prevent read-only MCP tools from blocking behind lazy project-wide sync walks, so diagnostics/search stay responsive on very large indexes such as projects indexed with node_modules.

Root cause

Read-only MCP calls could create/open a project server and trigger a startup or pre-dispatch staleness sync. On huge indexes this meant simple calls like tracedecay_storage_status or tracedecay_search could spend minutes walking the filesystem and holding the sync lock before returning any result.

Verification

  • cargo test --lib read_only_tools_skip_lazy_sync_before_dispatch
  • cargo test --test mcp_handler_test wait_for_startup_catch_up_waits_for_transcript_ingest_flag
  • cargo test --test multi_mcp_coordination_test
  • git diff --check

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d9e7dd1

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: 8c65eaeebd

ℹ️ 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 docs/SELF-IMPROVING-LOOPS-CONTRACTS.md Outdated
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-04-dashboard-ui branch from 5217b6e to bcf5738 Compare June 25, 2026 10:48
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch from 8c65eae to 5af922f Compare June 25, 2026 10:48
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-04-dashboard-ui branch from bcf5738 to 9f65011 Compare June 25, 2026 11:00
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch from 5af922f to 1c30d1f Compare June 25, 2026 11:00
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-04-dashboard-ui branch from 9f65011 to 9ad434e Compare June 25, 2026 11:22
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch 3 times, most recently from 8f67de4 to 43fe723 Compare June 25, 2026 19:03
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-04-dashboard-ui branch from a18f595 to 5032fe1 Compare June 26, 2026 06:46
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch from 43fe723 to 07fbdd4 Compare June 26, 2026 06:46
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-04-dashboard-ui branch from 5032fe1 to 7eb7678 Compare June 26, 2026 07:09
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch from 07fbdd4 to a400b84 Compare June 26, 2026 07:09
@ScriptedAlchemy ScriptedAlchemy force-pushed the split/self-improving-05-docs branch from 00aba68 to d9e7dd1 Compare June 26, 2026 07:28
@ScriptedAlchemy ScriptedAlchemy changed the title docs: document self-improving automation loops fix: keep read-only MCP tools responsive Jun 26, 2026
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