| 1 | { |
| 2 | "path": "/api/runner/v2/coordinator/claim", |
| 3 | "request": { |
| 4 | "capabilities": [ |
| 5 | "coordinator.v1" |
| 6 | ], |
| 7 | "revision": 1, |
| 8 | "turn_id": "fixture-admission-key", |
| 9 | "version": 2 |
| 10 | }, |
| 11 | "response": { |
| 12 | "result": { |
| 13 | "admission": { |
| 14 | "dispatch": { |
| 15 | "action": 1, |
| 16 | "hash": "de251da296706d0ba43bf6197ca86e669c8b91525ee14f17f7dd9fe55726b726", |
| 17 | "key": "fixture-admission-key", |
| 18 | "operation": "provider.call", |
| 19 | "payload": "eyJCaW5kaW5nSUQiOiJBWlpXSVFVN0JDRDM0N1ZGMkZRVFNLNjdPWiIsIkNvbnRleHRIYXNoIjoiMDFmOGJhNGVmMDM4ODhlNTI5MDU3MGJiOGUyYWVjZmJmMmZlM2VkYTUzZWI5MDkyNzEyNzVlNDllYWU4OThjYyIsIkdlbmVyYXRpb24iOjEsIk1lc3NhZ2VJRCI6IkxEQ0tFV1NCTDZPUUVKSkJRVk1LT1I0WUtTIiwiVHVybklEIjoiVk9RUUFETVBRUERNUFJTSUE0U1VRSUUzUUkifQ==" |
| 20 | }, |
| 21 | "expires_at": "2026-11-06T14:47:57.625208278Z", |
| 22 | "handle": { |
| 23 | "attempt": 1, |
| 24 | "fence": 1, |
| 25 | "revision": 2, |
| 26 | "runner": "PH7VDUINM6WWERJKF5TFXMH527" |
| 27 | }, |
| 28 | "incarnation": 2, |
| 29 | "scope": { |
| 30 | "account": "HSCPNNCT5L2STZQFKTQISL7L6M", |
| 31 | "job": 1 |
| 32 | } |
| 33 | }, |
| 34 | "attempt_deadline": "2026-11-06T15:07:52.620394945Z", |
| 35 | "binding": { |
| 36 | "connection_id": "F5NZDYKGJFVKXU7BT46NYHPUFU", |
| 37 | "generation": 1, |
| 38 | "id": "AZZWIQU7BCD347VF2FQTSK67OZ", |
| 39 | "person": "owner@example.test", |
| 40 | "revision": 1, |
| 41 | "runner_id": "PH7VDUINM6WWERJKF5TFXMH527" |
| 42 | }, |
| 43 | "brief": { |
| 44 | "artifact_hashes": null, |
| 45 | "attempt_deadline": "2026-11-06T15:07:52.620394945Z", |
| 46 | "budget_revision": 0, |
| 47 | "check_definition": null, |
| 48 | "confirmed_preferences": null, |
| 49 | "instructions": "", |
| 50 | "policy": { |
| 51 | "account": { |
| 52 | "calls": 6, |
| 53 | "cost_micros": 0, |
| 54 | "input_tokens": 192000, |
| 55 | "output_tokens": 24000, |
| 56 | "seconds": 7200 |
| 57 | }, |
| 58 | "admission_seconds": 5, |
| 59 | "attempt_seconds": 1200, |
| 60 | "job": { |
| 61 | "calls": 6, |
| 62 | "cost_micros": 0, |
| 63 | "input_tokens": 192000, |
| 64 | "output_tokens": 24000, |
| 65 | "seconds": 7200 |
| 66 | }, |
| 67 | "job_seconds": 1200, |
| 68 | "lease_seconds": 60, |
| 69 | "max_attempts_per_step": 1, |
| 70 | "max_concurrent_attempts": 2, |
| 71 | "max_depth": 0, |
| 72 | "per_call": { |
| 73 | "calls": 1, |
| 74 | "cost_micros": 0, |
| 75 | "input_tokens": 32000, |
| 76 | "output_tokens": 4000 |
| 77 | }, |
| 78 | "rates": { |
| 79 | "call_micros": 0, |
| 80 | "forge_call_micros": 0, |
| 81 | "input_micros_per_token": 0, |
| 82 | "output_micros_per_token": 0, |
| 83 | "tracker_call_micros": 0, |
| 84 | "version": 0 |
| 85 | }, |
| 86 | "require_distinct_review_family": true, |
| 87 | "require_distinct_review_provider": true, |
| 88 | "usage_mode": "subscription", |
| 89 | "version": 2 |
| 90 | }, |
| 91 | "project_revision": 0, |
| 92 | "selection": { |
| 93 | "account_id": "owner@example.test", |
| 94 | "account_label": "claude-a", |
| 95 | "allowance_known": false, |
| 96 | "allowance_remaining": 0, |
| 97 | "choice_revision": 0, |
| 98 | "connection_id": "F5NZDYKGJFVKXU7BT46NYHPUFU", |
| 99 | "family": "claude", |
| 100 | "isolation": { |
| 101 | "acknowledgement_ids": null, |
| 102 | "observed_tuples": [ |
| 103 | { |
| 104 | "bwrap_version": "0.11.0", |
| 105 | "isolation_config_hash": "1cdc42ee82f63b57a06bd57162f95f87fd0eca70aade6fdbb678ddbca05a6592", |
| 106 | "launcher_version": "direct-v3", |
| 107 | "policy_version": "direct-v1", |
| 108 | "provider": "claude", |
| 109 | "provider_version": "2.1.312" |
| 110 | } |
| 111 | ], |
| 112 | "runner_tainted": false, |
| 113 | "status": "confined" |
| 114 | }, |
| 115 | "max_concurrent": 0, |
| 116 | "model": "claude-opus-5-5", |
| 117 | "person": "owner@example.test", |
| 118 | "provider": "claude", |
| 119 | "reason": "", |
| 120 | "revision": 1, |
| 121 | "runner_id": "PH7VDUINM6WWERJKF5TFXMH527", |
| 122 | "specialist_revision": 0 |
| 123 | }, |
| 124 | "standing_instructions": "", |
| 125 | "step": { |
| 126 | "action": "coordinate", |
| 127 | "artifact_hashes": null, |
| 128 | "plan_revision": 0, |
| 129 | "specialist_icon": "", |
| 130 | "specialist_key": "coordinator", |
| 131 | "specialist_name": "", |
| 132 | "specialist_revision": 0, |
| 133 | "step_key": "coordinate" |
| 134 | }, |
| 135 | "target": { |
| 136 | "kind": "conversation", |
| 137 | "subject": "owner@example.test" |
| 138 | } |
| 139 | }, |
| 140 | "context": { |
| 141 | "confirmed_preferences": null, |
| 142 | "conversation_id": "JV6EBC4DI2AO4OPHDXMMFFQMJL", |
| 143 | "hash": "01f8ba4ef03888e5290570bb8e2aecfbf2fe3eda53eb909271275e49eae898cc", |
| 144 | "messages": null, |
| 145 | "projects": null, |
| 146 | "recent": [ |
| 147 | { |
| 148 | "author_kind": "person", |
| 149 | "body": "Reply using post_message with exactly: e2e coordinator ready. Do not use any other tool.", |
| 150 | "id": "LDCKEWSBL6OQEJJBQVMKOR4YKS", |
| 151 | "revision": 1, |
| 152 | "sequence": 1 |
| 153 | } |
| 154 | ], |
| 155 | "retrieved": [ |
| 156 | { |
| 157 | "source": { |
| 158 | "hash": "0db740b7994b77b41e581204d618918d7eeed89e666f2677fc7a905eb972cf41", |
| 159 | "id": "owner@example.test", |
| 160 | "kind": "project_setup", |
| 161 | "revision": 1 |
| 162 | }, |
| 163 | "text": "{\"ReportedRepositories\":[\"amadan.net/oficina/e2e-unknown-repo\"],\"ExistingProjects\":[],\"HasProjects\":false}" |
| 164 | } |
| 165 | ], |
| 166 | "revision": 3, |
| 167 | "sources": null |
| 168 | }, |
| 169 | "handle": { |
| 170 | "attempt": 1, |
| 171 | "fence": 1, |
| 172 | "revision": 2, |
| 173 | "runner": "PH7VDUINM6WWERJKF5TFXMH527" |
| 174 | }, |
| 175 | "lease_deadline": "2026-11-06T14:48:52.621259617Z", |
| 176 | "scope": { |
| 177 | "account": "HSCPNNCT5L2STZQFKTQISL7L6M", |
| 178 | "job": 1 |
| 179 | }, |
| 180 | "tool_copy": { |
| 181 | "accepted": "Saved for validation.", |
| 182 | "descriptions": { |
| 183 | "ask_person": "Ask your person a question for a later turn.", |
| 184 | "post_message": "Post a message with references to its sources.", |
| 185 | "propose_plan": "Propose a plan for the current message. Ask which project if it is unclear.", |
| 186 | "propose_project": "Suggest a project from this person’s reported repositories. Explain why. The person must tap Set up before it is created.", |
| 187 | "read_project": "Read the project material this connection may use.", |
| 188 | "read_task": "Read a task in an allowed project.", |
| 189 | "route_to_task": "Link the current message to a task requested by your person.", |
| 190 | "suggest_playbook": "Suggest a playbook for your person to review.", |
| 191 | "suggest_preference": "Suggest a preference for your person to review.", |
| 192 | "suggest_specialist": "Suggest a specialist for your person to review." |
| 193 | }, |
| 194 | "rejected": "This tool request could not be accepted." |
| 195 | }, |
| 196 | "turn": { |
| 197 | "context_hash": "01f8ba4ef03888e5290570bb8e2aecfbf2fe3eda53eb909271275e49eae898cc", |
| 198 | "generation": 1, |
| 199 | "id": "fixture-admission-key", |
| 200 | "message_id": "LDCKEWSBL6OQEJJBQVMKOR4YKS", |
| 201 | "provider_session_id": "", |
| 202 | "request_id": "message:LDCKEWSBL6OQEJJBQVMKOR4YKS", |
| 203 | "revision": 1, |
| 204 | "state": "running" |
| 205 | } |
| 206 | }, |
| 207 | "version": 2 |
| 208 | } |
| 209 | } |
| 210 | |