Documentation

Documentation

Guides for adopting Revly into your development workflow, including AI-assisted coding.

AI & Vibe Coding

The AI Agent Gateway & Permission Scopes

What read_only, modify, checkpoint, and release actually unlock - and what stays off-limits no matter what.

Every request an AI tool makes to Revly goes through the AI Agent Gateway - a local-only HTTP API bound to 127.0.0.1, authenticated per-token, permission-checked per-request, and logged to an audit trail you can review in AI Sessions. There are exactly four grantable scopes:

ScopeUnlocks
read_onlyProject status, changed files, snapshots, and checkpoints - no writes at all.
modifyCreate a snapshot (commit the current working tree).
checkpointTurn a snapshot into a reviewable checkpoint.
releaseTurn an already human-resolved checkpoint into a draft release.

Notice what's missing: there is no deploy scope. It doesn't exist anywhere in Revly's permission model. Production deployment is never available through the gateway or any API, full stop - it always requires a human driving the desktop app directly.

AI Request e.g. revly_create_checkpoint AI Agent Gateway valid token? matches this project? has the scope? Allowed request proceeds Denied 403 + the reason why Every request - allowed or denied - is logged to this project's audit trail

Guarantees that hold no matter what's granted

  • A token's scopes are fixed at creation. There is no "edit permissions" - only revoke and reconnect with a new set checked.
  • A token only works for the one project it was created for.
  • Every request, granted or denied, is written to that project's audit trail.
  • An unresolved checkpoint can never become a release via the API, regardless of scope.

Two optional project-level safety settings

Independent of what an individual agent is granted, each project has two toggles in AI Sessions:

  • Human Review Required for AI Changes - requires a real description before an AI agent can create checkpoints or releases via the API.
  • Enforce Strict Sandboxing - requires an agent to declare which files it expects to touch before snapshotting, and rejects the snapshot outright if reality doesn't match.

Connecting to a branch dashboard

An AI tool can now be connected either to a project's root, or to one of its branch dashboards (see Branches) - sandboxed to just that branch's own working copy. Root-project connections are completely unaffected by this; a project can have an agent connected at its root, at a branch dashboard, at both, or neither, all independently. Whichever one it's connected to, the same rule holds: Deployment Center, Backups, Database, and full contribution management (everything except pushing a branch) stay off-limits to any agent, root or branch, no matter what scope it holds.

Tasks (the work tracker)

Two permissions cover a project's work items. Tasks lets the agent list and read the items assigned to the Revly user it is connected to, add new ones (assigned to that user) and set an item to to do, in progress or done with a short note, set its priority (low, normal, medium or high) and link it to one of the project's checkpoints. Delete tasks is separate, off by default, and only moves an item to the Trash. The agent never sees anyone else's items, a trashed item or an item from another project - each of those is simply "not found" - and it cannot assign, reschedule, change release links, restore items, sync with the team or read customer feedback. Connect from a branch dashboard and the first three work there too; deleting does not.

Product news by email

Occasional news and updates. We email you to confirm first, and every email has an unsubscribe link.