Canonical: https://getacc.dev/guides/troubleshoot-acc/
Author: [Mykola Maksymenko](https://getacc.dev/about/mykola-maksymenko/)
Reviewed: 2026-11-01 · ACC 0.14.0

# Troubleshoot ACC: Missing Peers, Queued Messages, and Permissions

When two coding sessions stop exchanging answers, first locate the boundary that failed. A missing peer, a queued message, and a blocked command need different fixes.

ACC gives you a local roster, diagnostics, and delivery receipts so you can investigate without carrying the whole conversation between windows. A working connection still leaves each model responsible for interpreting and answering the request.

## Start with two observations

Run these from the project directory while both clients are open:

~~~bash
acc status --json
acc doctor --json
~~~

Status shows the workspace and participants. Doctor reports detected clients, versions, installed integration files, delivery policy, reachability, and suggested actions. Installed files alone do not prove that a running client loaded or trusted its hooks.

| What you observe | Check next |
|---|---|
| The other session is absent | Compare workspace identity and integration activation. |
| The message is queued | Check the recipient's delivery mode and inbox. |
| `transport_permission_denied` | Check the sender's local transport permissions. |
| `cannot write ACC's state` or `state_access_denied` | Check the sandbox around the command. |
| `caller_identity_unresolved` | Recover the current session's own owner context. |
| A message arrived but no useful reply followed | Ask for a bounded answer or blocker. |

Use the [installation guide](/docs/install/) for setup and [compatibility table](/compatibility/) for client-specific capabilities.

## When the second session does not appear

Compare `workspaceId` from status in both windows. ACC connects sessions under the same operating-system user on the same machine. Matching project names on different machines do not create a connection.

A repository and its Git worktrees share a workspace. Separate repositories or unrelated plain directories do not automatically share one. Native sessions retain their launch workspace when the agent later changes directory. Moving the shell is therefore different from opening a new session elsewhere.

Check these items in order:

1. Confirm both sessions launched in the intended project or its worktrees.
2. Follow doctor's integration action for the missing client.
3. Start a new client session after installation, because hooks load at startup.
4. Complete the client's hook or plugin trust review, then compare status again.

If you moved a client's configuration with `CLAUDE_CONFIG_DIR`, `GEMINI_CLI_HOME` or `KIMI_CODE_HOME`, run `acc install` again with that variable set. Doctor names an integration that lies outside the directory the client now reads.

For Codex, inspect `/plugins` and `/hooks`: an installed plugin can be disabled, and changed hooks can require trust review. For generic MCP, check the user-owned server launch configuration and its selected workspace. A server launched without `ACC_MCP_WORKSPACE` may join its launch directory instead.

An explicit workspace configuration can connect separate local roots when that is intentional. Check the [configuration reference](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/CONFIGURATION.md) before changing identity while sessions are attached. It does not move messages between participants.

## When a message stays queued

Queued establishes that ACC stored the message and its receipt. It does not establish that the receiving model saw the body.

Next-turn delivery waits for a normal client turn. Generic MCP participants check their inbox explicitly. Experimental live delivery also needs a recipient policy that allows it (`actionable`, on by default since ACC 0.15.0), a supported client and platform, and a current session binding. A policy alone cannot create a working transport.

Give the receiving session one diagnostic prompt:

> Check your ACC inbox for the pending question. Reply with the answer, or identify what prevents you from answering.

The agent should use its installed ACC skill or session-bound MCP tools. If it can retrieve and answer, you have verified the inbox path. You have not yet verified automatic delivery.

Inspect the specific message's receipts: `offered` records transport acceptance, `retrieved` records body retrieval, and `acknowledged` records acknowledgement or reply. None proves completed work. See [message delivery](/guides/message-delivery/) for idle, busy, and unavailable receivers.

## When client permissions block the exchange

`transport_permission_denied` means the sender could not use the local transport. A recorded message remains queued. If execution was refused before ACC ran, that attempt recorded nothing.

For Codex, have the agent use the exact installed ACC wrapper as a separate command through the client's approved execution path. When doctor names a missing ACC rule or permission profile, repair the integration:

~~~bash
acc install --adapter codex
~~~

Start a new Codex session afterward. Custom policies and active overrides need separate inspection. A configured socket allowlist does not prove that the current sandbox can reach the socket.

A command that prints `cannot write ACC's state` ran where ACC's data home is not writable. Doctor reports `state_access_denied`. In Codex, run the ACC wrapper first and alone, with default permissions. If access is denied, use approved escalation that names the local operation and destination. Some desktop hosts allow no escalation. ChatGPT Work Mode was observed as one: in ChatGPT.app 26.1027.51404, with the approval mode "Approve for me", it refused the write and rejected the request to run outside the sandbox. Run ACC from a session that can write its data home, such as Codex or Claude Code in a terminal.

Claude Code can hold a wake for approval or refuse it through its own inbound settings. Antigravity can receive a wake but stop before its first ACC command. Read doctor's named client setting and follow the corresponding [troubleshooting section](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/TROUBLESHOOTING.md). Review the [message security guide](/guides/agent-message-security/) before changing grants.

If delivery was attempted, retry with the original arguments and `--client-message-id`. Reusing that key retries the recorded request instead of creating another logical message.

## When ownership or the answer is missing

For `caller_identity_unresolved`, use this session's own hook header or its session-bound MCP tools. Never borrow another session's credentials from the roster. A new participant cannot inherit an existing participant's inbox. If ownership is unavailable, report that limitation and continue the user's work.

If retrieval works but the model does not answer, make the request concrete: name the revision, question, expected output, and scope. Ask for a result or blocker after a bounded wait. ACC provides awareness and transport. It cannot make a model consider a peer relevant or finish a review.

Once one substantive reply works, continue with the [first connection workflow](/guides/connect-ai-coding-sessions/).

## Sources

This guide reviews ACC 0.14.0 repository behavior. It is not a new native-client test.

- [ACC troubleshooting](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/TROUBLESHOOTING.md)
- [ACC configuration and client permissions](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/CONFIGURATION.md)
- [ACC CLI reference](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/CLI.md)
- [ACC security model](https://github.com/automatis-tools/agents-can-communicate/blob/v0.14.0/docs/SECURITY_MODEL.md)
