Status: Implementation IMPLEMENTED. Code: cmd/allternit-api/src/computer_access.rs, checked inside assess() in computer_safety.rs. Contract: the access block of contracts/computer-toolset/allternit-computer-v2.json.

Overview

On this device and on paired computers, an agent starts with read-only access to every app. To do more it asks for a tier on a named app, and the person approves. The grant lasts one session. Sandbox and cloud computers need no grant and always run at full. Two members of the computer toolset handle this. They run inside allternit-api, not in the driver. Call resolve_access first, then request_access for the lowest tier that does the job.

Tiers

Category ceilings

Each app has a category. The category sets the highest tier it can be granted. A request_access above the ceiling fails with tier_exceeded. Browsers stay at read on purpose: use the browser toolset for web pages. Terminals and IDEs stay at click so an agent can’t type commands into them through the screen. Use the shell tool, which has its own rules.

How a call is checked

assess() checks every call against the app that is actually in front, not the app the model named.
  • A call above that app’s granted tier fails with access_required. The model is told to call resolve_access, then request_access.
  • An app with no grant is read only.
  • An app that can’t be identified fails closed: it counts as unknown, ceiling read.
  • On Linux the frontmost app comes from xdotool. On Windows it comes from the driver or PowerShell. When the platform can’t name the app at all, the tier check is skipped and the step is written to the audit log as such. The deny lists, the irreversible-action rules and the rest of computer-use safety still apply.
  • Deny lists win over grants. An app on a computer’s deny list can’t be unlocked by request_access.
  • Existing allow_apps entries in the computer’s safety settings count as standing grants, capped at the category ceiling.

Grants

  • A grant lasts for one session and at most 12 hours.
  • Grants are held in memory only. Nothing is stored, so restarting allternit-api clears them and there is no migration.
  • The person sees each ask as a card in the app with the apps, the tier and the reason. Allternit Desktop, ai.allternit.com (including the phone layout), m.allternit.com, iOS and Gizzi Code all show it.
  • Settings, Computers, Safety lists the current grants with a Revoke button.

Routes

GET lists the live grants for the computer (app, bundle id, tier, expiry). DELETE revokes them. Both need the same access to the computer as the other computer routes.

Error codes