README: lead with in-process execution as the architectural differentiator #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-13T14:20:08Z - https://github.com/coilysiren/cli-mcp/issues/36
The README today lists in-process execution as one bullet under "Projection": "invokes
root.Run(ctx, argv)in-process, captures stdout / stderr viacmd.Writer."That bullet is the whole point. The closest prior art (njayp/ophis) spawns the CLI as a subprocess. That single choice is why:
DefaultEnvPATH-capture hack. Tools run in the calling process's environment.errorreturn is the truth.This is not reproducible by adding features to ophis. It's an architectural inversion, and it's the reason cli-mcp exists as a separate project rather than a urfave port of ophis.
Proposal: rewrite the lede of the README to put this front and center. Bullet list of "what one process buys you," explicit comparison to subprocess-based bridges (no need to name names if that feels rude, but the contrast is the marketing).
Pair with a section in
docs/FEATURES.mdthat makes the same point at the design-doc level.