impersonal agent

Impersonal Agent / PR verification

Use the CLI and MCP with coding agents

An agent asks for verification; a trusted external host decides whether it may finish.

Install the reviewed package

The ia command ships with the agentone Python package. Use your operator’s reviewed build; no public package publication is claimed here. Run ia --help for the installed contract. In the configured preview, a workspace owner opens Changes, then Verification records and tools, and selects the repository under Agent access. Configure IA_API_URL, IA_TENANT_ID and IA_TOKEN_FILE using the one-hour owner-issued capability. Keep the mode 0600 credential file outside the agent-editable checkout; never substitute an owner OIDC token or a provider credential.

ia verify --repo org/repo --pr 3 --head YOUR_EXACT_HEAD_SHA
ia verify --repo org/repo --pr 3 --head YOUR_EXACT_HEAD_SHA --json
ia completion-check --record-id RETURNED_ID --repo org/repo   --head YOUR_EXACT_HEAD_SHA --checkout /workspace/repo --json

Understand command outcomes

Human-readable output is the default; --json selects machine output. Exit 0 means the requested operation succeeded; offline intent validation still explicitly says verified:false. For verification/completion, inspect the authoritative record and currentness. Nonpassing verdicts, stale or unknown evidence, transport/auth failures and pending work never authorize completion. For verification/completion: 0 is satisfied and current; 1 is violated; 2 is unknown, stale or changed; 3 is an operation/auth/transport error; 4 is pending. All nonzero codes decline completion.

Connect MCP

{
  "mcpServers": {
    "impersonal-agent": {
      "command": "/trusted/venv/bin/ia",
      "args": ["mcp"],
      "env": {
        "IA_API_URL": "https://YOUR_WORKSPACE_ORIGIN",
        "IA_TENANT_ID": "YOUR_WORKSPACE_ID",
        "IA_TOKEN_FILE": "/private/path/agent-token"
      }
    }
  }
}

The server exposes ia_verify and ia_intent. It does not expose owner approval, reporter enrollment or billing. Capability expiry and repository deselection still apply.

Enforce completion outside the agent

The trusted orchestrator installs the supplied completion supervisor outside the checkout, pins the expected head and invokes it for each completion request. Prompt instructions alone cannot enforce a stop. The host must prevent later checkout changes and perform a fresh check at the acceptance boundary.

python /trusted/guard.py --record-id RETURNED_ID --repo org/repo   --head YOUR_EXACT_HEAD_SHA --checkout /workspace/repo   -- your-completion-request-command

The wrapper runs the child command first. After it exits successfully, only a clean supported checkout and current passing record allow the wrapper to accept completion and exit successfully. This does not preauthorize or prevent the child command’s actions. Unsupported source transformations, changed head, missing evidence or unavailable fresh readback fail closed. The check observes a moment in time; it cannot freeze GitHub or the local filesystem.

Run the isolated reporter safely

The supervisor needs Docker access to its private snapshot directory. On macOS, place its TMPDIR in a private Docker-shared directory. This does not pass TMPDIR or secrets to the child: the container receives only the explicitly permitted environment, read-only source and suite, no network and no host-execution fallback. The synthetic Docker qualification does not admit receipts for real PRs.