Skip to content

How an agent's call is checked

IDE AI harness is our term for an IDE that offers its own operations to AI agents as typed tools: refactorings, the debugger, database sessions, version control, run configurations, the window itself. Ferris IDEA ships no agent and no model. It supplies the tools, the checks and their limits, and the window in which you watch and verify.

  1. The agent calls a toolAny MCP client with the model you chose, over standard input and output, or over HTTP on 127.0.0.1.
  2. Ferris IDEA checks the callIs the right this tool needs granted for this workspace? For a database, is the permission of that connection granted? Is the project trusted?If not: The call is refused, and the answer names the missing right and the entry to add. Over HTTP with the window open, it asks you first: Deny, Allow Once, or Always for This Workspace.
  3. The IDE service runs itCode insight, refactoring, debugger, databases, Git, run configurations, terminal. A tool with a dry run previews first unless the call says otherwise.
  4. You see it in the windowEditors and tool windows show what changed; you watch, edit and verify.
  5. The call is loggedEvery call of a tool that changes something leaves a line in .ferris-idea/agent-log.jsonl, refused calls and dry runs included, and so does every call that uses a database connection.The line names the tool, what it changes, the rights checked and the result; never file contents, statements, commands or values.
You grant the rights and trust the projects; a project file never grants an agent anything.
  • Rights per workspace. Reading the workspace’s files and previews need no right. Every tool that changes something checks a right you grant, such as write, run or vcs-write; each tool’s page in the MCP tools names it.
  • A project file never grants an agent anything. Rights and database permissions live in agent-permissions.toml in your settings folder. A file of the project can take away from an agent, never give, and no MCP tool writes the grant file.
  • Database permissions per connection. Each connection has four: read-schema, read-data, modify-data and modify-schema. Nothing is granted by default, reading included, and a statement that can change data or schema runs only with apply: true.
  • Project trust. In an untrusted project Ferris IDEA is built to run none of the project’s code, whatever the rights, and serves the tools in safe mode.
  • Previews on a part of the tools. Tools with a dry run act only when the call turns the preview off; the tool list shows which tools have one.
  • Language servers, and the project’s own formatter and linter, start under project trust alone, without a right.
  • The rule that every change checks a right is held by tests that read the tools’ source: they prove a check is written, not that every path reaches it.
  • The log is a plain local file, a record rather than evidence.
  • Secrets are recognized by file name only; marking results as untrusted does not stop prompt injection.
  • No external security review has been done.

The README section What the Model Does Not Cover has every limit with its reason, and SECURITY.md says how to report a problem privately.