Wiring the factory into mecha
Three things had to be true before an agent on this machine could publish anything to the public surface.
The tool surface
factory-publish mcp speaks seven tools over stdio. Three of them change what
the world can see, and those are the ones the outbox stages.
The working directory
An unconfined MCP server used to inherit mecha's own working directory, so a relative path from the model resolved against wherever mecha was launched. Confined servers never had the problem, because the workspace is their only writable mount.
The confinement decision
Running the publisher unconfined is a trade, not an oversight: the boundary that holds is the server proving every model-supplied path inside its own root.