EngineeringJune 15, 20264 min read

Permissions should be part of the coding surface

Agent permissions work best when they are visible in the coding workflow itself, not hidden behind a modal that appears after the risky part already happened.

Permissions should be part of the coding surface

Permission prompts are easy to design badly. Too many prompts and the user clicks through on instinct. Too few and the agent quietly crosses a line the developer did not mean to move. The right answer is not more fear. It is better placement.

MendCode treats permissions as part of the coding surface. The user should understand what the agent is trying to do, why it matters, and what kind of blast radius the action has before approving it.

Risk is contextual

Reading a file is not the same as editing a file. Editing generated output is not the same as touching deployment config. Running tests is not the same as running an unknown shell script. A useful permission system needs to understand those differences without turning every action into theater.

Smart permissions are about preserving flow while still making risky edges visible. The agent should be fast where the action is safe and explicit where the action can surprise you.

Review is a product feature

The best AI coding workflows do not ask the developer to trust the agent blindly. They make review cheaper: clearer diffs, cleaner handoffs, visible commands, scoped approvals, and enough context to know whether the output matches the request.

That is the security posture MendCode aims for: not panic, not vibes, just sharp boundaries in the place where the work happens.