Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server — ACP Registry provider lifecycle on Linux
Steps to reproduce
On a Linux T3 server with systemd user scopes available, use Devin from the ACP Registry. Start with no existing Devin daemon in the test environment. Start two concurrent Devin delegated tasks, A first and then B. Let A finish while B is still working, so T3 releases A's provider session.
The underlying teardown was also reproduced with real Devin CLI processes and systemd, independently of T3:
- With an isolated Devin data directory and no running daemon, start two
devin acpclients in separatesystemd-run --user --scopeunits, A first. Initialize both clients and create a separate ACP session in each. - Start a prompt in B that runs a foreground command blocked on a local HTTP response. Wait for the HTTP request to arrive, proving B is still working.
- Send
session/closefor A, terminate A's launcher, and stop only A's systemd scope. Then release the HTTP response.
Expected behavior
Releasing A should not interrupt work in B.
Actual behavior
Devin starts a shared daemon inside A's scope. B's ACP process is in its own scope but relays to that daemon. When A's scope stops, the shared daemon stops and B's pending session/prompt returns stopReason: "cancelled", without a cancellation request to B.
This is distinct from closing or exiting an ACP client. In separate control runs, session/close alone, closing A's stdin, and SIGTERM to A's launcher alone each left B running. Repeating the whole-scope teardown with --process-model in-process in both clients produced no shared daemon, and B completed with end_turn and returned the HTTP response marker.
T3's common ACP runtime registers whole-scope cleanup. The Devin registry manifest launches with only acp, so it does not opt out of daemon mode.
Impact
Major degradation or frequent failure — one delegated task finishing can interrupt work in another.
Version or commit
Devin CLI 3000.13.4; T3 cleanup source checked at 0c676d95b1eb60525ca3e36e085d06a1302bf0df. The controlled reproduction exercised the CLI and real systemd scope teardown, not an end-to-end run of that T3 commit.
Environment
Linux x86_64 (EndeavourOS), systemd 262.2, ACP Registry agent devin.
Logs or stack traces
Sanitized extract from the controlled runs:
default: A launcher and shared daemon in scope A; B launcher in scope B
18:21:05.880 A session/close succeeded; stop requested for scope A
18:21:05.895 B session/prompt -> stopReason=cancelled
in-process: A and B in separate scopes; no daemon
18:21:23.497 A session/close succeeded; stop requested for scope A
18:21:24.228 B session/prompt -> stopReason=end_turn; response marker returned
Workaround
Launching Devin ACP in-process prevented the failure in the controlled test. Could the T3 registry-based Devin launch preserve session isolation without requiring users to replace their executable, change global Devin settings, or switch away from the registry? No T3 patch was tested.
Related Devin CLI report: CognitionAI/devin-cli#68
Activity