Skip to content

fix: resolve remaining #445, #448 gaps + persistent MCP client#462

Merged
tcconnally merged 1 commit into
mainfrom
fix/all-open-issues-jun25
Jun 26, 2026
Merged

fix: resolve remaining #445, #448 gaps + persistent MCP client#462
tcconnally merged 1 commit into
mainfrom
fix/all-open-issues-jun25

Conversation

@tcconnally

Copy link
Copy Markdown
Collaborator

Closes #445, #446, #447, #448, #449, #451.

#445: Hidden writes in read paths

#448: Satellite connector subprocess per query

  • Replaced curl health probe with in-process urllib
  • Implemented _PersistentMCPClient — a lightweight persistent MCP stdio client that memory_mesh and memtrace now reuse instead of spawning a fresh subprocess + handshake per query
  • Binary path caching was already done in prior commits

Verified

  • python3 scripts/build.py — clean
  • python3 scripts/build.py --check — in sync
  • python3 -m pytest tests/ -x -q — 1073 passed, 25 skipped, 0 failures

Issues #446, #447, #449 were already fully addressed in commits on main prior to this branch. This branch closes the three remaining sub-items to complete the full set.

- #445: Stop _load_tasks from persisting normalized frontmatter on
  the read path (atomic write+fcntl+fsync was a hidden write on
  every @agora render/list)

- #448: Replace curl health probe with urllib in memory_mesh;
  implement persistent MCP stdio client (_PersistentMCPClient)
  reused across satellite connectors (memory_mesh, memtrace) so
  they don't spawn a fresh subprocess+handshake per query

- All prior #445-#449 perf fixes were already committed to main;
  this closes the three remaining sub-items

- Build artifact regenerated: 1073 tests pass, 0 failures
@tcconnally tcconnally merged commit 590c43d into main Jun 26, 2026
5 checks passed
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.

perf: render/recall paths perform hidden writes, locks, and fsyncs

1 participant