Server command: ["node", "apps/server/src/bin.ts", "--port", "17631", "--host", "127.0.0.1", "--base-dir", "/tmp/17310-home", "--no-browser"] cwd= /tmp/17310-baseline Captured server PID: 673765 {"stage":"before","fixture":"old5","transport":"HTTP","path":"/api/auth/session","status":200,"authenticated":true,"permissions":["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"],"scopes":["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"]} {"stage":"before","fixture":"old5","transport":"HTTP","path":"/api/auth/websocket-ticket","status":200,"issued":true} {"stage":"before","fixture":"old5","transport":"WS","method":"filesystem.browse","result":"denied","error":{"_tag":"Failure","cause":[{"_tag":"Fail","error":{"_tag":"EnvironmentAuthorizationError","message":"The authenticated token is missing required scope: filesystem:read.","requiredScope":"orchestration:read","requiredPermission":"filesystem:read"}}]}} {"stage":"before","fixture":"paired5","transport":"HTTP","path":"/api/auth/session","status":200,"authenticated":true,"permissions":["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"],"scopes":["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"]} {"stage":"before","fixture":"paired5","transport":"HTTP","path":"/api/auth/websocket-ticket","status":200,"issued":true} {"stage":"before","fixture":"paired5","transport":"WS","method":"filesystem.browse","result":"denied","error":{"_tag":"Failure","cause":[{"_tag":"Fail","error":{"_tag":"EnvironmentAuthorizationError","message":"The authenticated token is missing required scope: filesystem:read.","requiredScope":"orchestration:read","requiredPermission":"filesystem:read"}}]}} {"stage":"before","fixture":"narrow2","transport":"HTTP","path":"/api/auth/session","status":200,"authenticated":true,"permissions":["orchestration:read","relay:read"],"scopes":["orchestration:read","relay:read"]} {"stage":"before","fixture":"narrow2","transport":"HTTP","path":"/api/auth/websocket-ticket","status":200,"issued":true} {"stage":"before","fixture":"narrow2","transport":"WS","method":"filesystem.browse","result":"denied","error":{"_tag":"Failure","cause":[{"_tag":"Fail","error":{"_tag":"EnvironmentAuthorizationError","message":"The authenticated token is missing required scope: filesystem:read.","requiredScope":"orchestration:read","requiredPermission":"filesystem:read"}}]}} {"stage":"before","fixture":"pre4","transport":"HTTP","path":"/api/auth/session","status":200,"authenticated":true,"permissions":["orchestration:read","orchestration:operate","terminal:operate","relay:read"],"scopes":["orchestration:read","orchestration:operate","terminal:operate","relay:read"]} {"stage":"before","fixture":"pre4","transport":"HTTP","path":"/api/auth/websocket-ticket","status":200,"issued":true} {"stage":"before","fixture":"pre4","transport":"WS","method":"filesystem.browse","result":"denied","error":{"_tag":"Failure","cause":[{"_tag":"Fail","error":{"_tag":"EnvironmentAuthorizationError","message":"The authenticated token is missing required scope: filesystem:read.","requiredScope":"orchestration:read","requiredPermission":"filesystem:read"}}]}} PASS before assertions Stopped captured PID: 673765 exit: 130 Migration state: [(68, '2026-10-24 02:32:12', 'ShellStopRequestIndex'), (67, '2026-10-24 02:32:12', 'WebhookDedupe')] Persisted fixture rows: [('cloud-connect', 'dpop-access-token', '["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"]', 0), ('one-time-token', 'dpop-access-token', '["orchestration:read","orchestration:operate","terminal:operate","review:write","relay:read"]', 0), ('cloud-connect', 'dpop-access-token', '["orchestration:read","relay:read"]', 0), ('cloud-connect', 'dpop-access-token', '["orchestration:read","orchestration:operate","terminal:operate","relay:read"]', 0)] DB SHA256: 46701455b6f426038c6e85dea258d37b8d62c41259705f49ce0282c7c6ea8823