Repository navigation
fix: refuse writing client configs from a disk image and show missing agent programs - #22
Merged
Merged
Conversation
…om a disk image An agent entry that names a formMCP program which is no longer on disk now reads as missing instead of connected: the card says Not found with the path, agents status reports missing with the path in program, and Connect writes the running copy in its place. On macOS, a program under /Volumes is checked with statfs (libc, macOS only). A quarantined volume, or a read-only one with a Mac file system, is treated as a disk image and connecting an agent is refused with a note to install the app first; an external drive is accepted. The host_files tests now write a stand-in program inside each scratch home instead of a path that does not exist.
The disk image refusal applies to connecting only. The window's Disconnect and agents remove now ask for the launcher with on false, because taking an entry out writes no program path.
…the not-found note when it goes The stand-in reported /x/formmcp, which the new missing-program check rightly reads as gone. It now reports a file inside the test's own folder, is connected with no note, and after that file is removed shows missing with a note naming it.
nodemode-ai
added a commit
that referenced
this pull request
Nov 30, 2026
main gained pull request #22 after this branch was cut (a gone agent program reads as not found, no agent is connected from a disk image), and three files conflicted. In each, both sides had added lines at the same place. Both additions are kept, and nothing else differs from what git merged by itself. - core/src/lib.rs: both module lines, `pub mod mounts;` then `pub mod notices;`, in the file's alphabetical order. - core/HASHOUT_LOG.md, frontend/HASHOUT_LOG.md: both Unreleased sections, this branch's notices section first, then main's. main also made libc a direct dependency of formmcp-core on macOS. libc was already reachable from the app in Cargo.lock, so THIRD-PARTY-NOTICES.txt needs no new section and is unchanged. Run on the merged tree, on Linux: python3 -I setup/notices.py --check (covers everything that ships); cargo check and cargo test --locked -p formmcp-core -p formmcp-cli (75 passed, 0 failed); cargo check --locked -p formmcp; the scripts job's shell syntax, Python compile, family check and em dash and emoji scan; in frontend npm ci, npm audit, typecheck and build. Not run: any macOS or Windows build, and the app's window.
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
missinginagents status, with the path in a newprogramfield); Connect repairs them.Tests
How to ship