@fleetless/contracts 9.0.0 → 9.2.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/artifacts/openapi.json +281 -20
  3. package/artifacts/routes.json +65 -4
  4. package/artifacts/schema/action-config.schema.json +2 -2
  5. package/artifacts/schema/bridge-state.schema.json +14 -0
  6. package/artifacts/schema/client-robot-list-item.schema.json +14 -0
  7. package/artifacts/schema/client-robot-list-response.schema.json +14 -0
  8. package/artifacts/schema/cloud-config.schema.json +8 -8
  9. package/artifacts/schema/config-draft-response.schema.json +8 -8
  10. package/artifacts/schema/config-version-response.schema.json +8 -8
  11. package/artifacts/schema/datapoint-config.schema.json +3 -3
  12. package/artifacts/schema/parameter-spec.schema.json +1 -1
  13. package/artifacts/schema/publisher-config.schema.json +1 -1
  14. package/artifacts/schema/recover-held-job-request.schema.json +29 -0
  15. package/artifacts/schema/recover-held-job-response.schema.json +125 -0
  16. package/artifacts/schema/robot-config-doc.schema.json +8 -8
  17. package/artifacts/schema/robot-detail-response.schema.json +14 -0
  18. package/artifacts/schema/robot-list-item.schema.json +14 -0
  19. package/artifacts/schema/robot-list-response.schema.json +14 -0
  20. package/artifacts/schema/service-config.schema.json +1 -1
  21. package/artifacts/schema/support-renew-fail-refusal.schema.json +141 -0
  22. package/artifacts/schema/support-renew-fail-request.schema.json +28 -0
  23. package/dist/client-robots.d.ts +7 -1
  24. package/dist/client-robots.js +1 -1
  25. package/dist/config.d.ts +1 -1
  26. package/dist/config.js +7 -7
  27. package/dist/errors.d.ts +1 -1
  28. package/dist/errors.js +31 -15
  29. package/dist/index.d.ts +4 -4
  30. package/dist/index.js +2 -2
  31. package/dist/mcp.d.ts +13 -10
  32. package/dist/mcp.js +13 -10
  33. package/dist/protocol.d.ts +3 -0
  34. package/dist/protocol.js +1 -0
  35. package/dist/rest.d.ts +52 -0
  36. package/dist/rest.js +15 -0
  37. package/dist/routes.js +45 -7
  38. package/dist/support.d.ts +42 -0
  39. package/dist/support.js +15 -0
  40. package/package.json +1 -1
@@ -891,7 +891,7 @@
891
891
  "not_found"
892
892
  ],
893
893
  "transport": "http",
894
- "notes": "Built by the same builder the MCP server's own `robot_describe` uses, so the two cannot drift. It answers what the role *would* be offered and consults nothing about any user's actual MCP entitlement. A robot the role grants nothing on still appears, with an empty `exposures` — dropping it would read as \"not attached\", which is a different fact."
894
+ "notes": "Built by the same builder the MCP server's own `robots.describe` uses, so the two cannot drift. It answers what the role *would* be offered and consults nothing about any user's actual MCP entitlement. A robot the role grants nothing on still appears, with an empty `exposures` — dropping it would read as \"not attached\", which is a different fact."
895
895
  },
896
896
  {
897
897
  "method": "PATCH",
@@ -3441,6 +3441,29 @@
3441
3441
  "transport": "http",
3442
3442
  "notes": "Called by the console's own server, never by a browser — server to server only, exactly like `/console/oauth/token` beside it, but rate-limited where that one is not: the grant this exchanges is short-lived and worth guessing at, which a replay of the code exchange is not. `rate_limited` is the one code in this reference it can still answer, from the limiter itself, before the route's own dialect applies. Every other refusal uses the same RFC 6749 §5.2 flat `oauthError` shape, so this emits no other code in this reference: `invalid_grant` for a grant that is unknown, already used or expired, or for a verifier that does not match. Proof of possession is checked before the replay check, and the single-use consume is atomic, so exactly one caller ever mints from a given grant. The minted access token carries `kind: 'support'` and `aud: 'console'`, lives at most sixty minutes with no extension, and carries **no refresh token**: a support session that outlives its ceiling is a new grant and a new exchange, not a renewal. The session starts in `read` mode; switching one to `edit` is the operator side's `support_session_edit` command, not anything this route does."
3443
3443
  },
3444
+ {
3445
+ "method": "POST",
3446
+ "path": "/console/support/renew/fail",
3447
+ "section": "developer-auth",
3448
+ "summary": "Ends a current-generation support session after Console proves renewal authority failed.",
3449
+ "audience": "internal",
3450
+ "auth": "in_handler",
3451
+ "rateLimited": false,
3452
+ "ownerTier": false,
3453
+ "status": 204,
3454
+ "params": [],
3455
+ "query": null,
3456
+ "request": "support-renew-fail-request",
3457
+ "response": null,
3458
+ "errors": [
3459
+ "validation_error",
3460
+ "unauthorized",
3461
+ "not_found",
3462
+ "target_state_conflict"
3463
+ ],
3464
+ "transport": "http",
3465
+ "notes": "Internal Console-to-Cloud POST only, no CORS. Console must first verify and consume signed Operator failure evidence bound to its original browser flow, or let Cloud timeout/sweep close an uncompleted flow; browser flow_id or error alone must never trigger this call. The evidence stays at Console: this strict Cloud request has no Operator or browser field. Authorization: Bearer <original fl_support>; a valid old bearer must reach the transaction even after another flow wins its generation, so a current-generation pre-handler must not intercept it. Cloud checks signature, audience, original expiry, exact stored bearer hash, S256 verifier, and bound session, org, mode and immutable creator subject. Lock session and flow in redemption order. After proof and before mutation, compare the saved credential generation: stale_generation takes precedence and cannot touch the winner. Only a live, pending, unauthorised current-generation flow before min(flow_created_at + 120 seconds, old credential expiry) atomically records failedAt, endedAt and audit/event. Success is 204 with no body. Missing callback closes an unauthorised expired flow at the next session check or sweep under the same generation fence. No failure extends a lease or compensates a committed redemption. Every refusal is Cache-Control: no-store with supportRenewFailRefusal body: 400 validation_error/invalid_flow for malformed JSON; 401 unauthorized/invalid_authority for missing or invalid bearer or proof; 404 not_found/invalid_flow for unknown or foreign flow, or /identity_mismatch for bound identity mismatch; 409 target_state_conflict/expired, /replayed, /session_inactive or /stale_generation. No failure response sets or clears fl_support. Network ambiguity is never a 204 and does not trigger an unconditional support_session.end."
3466
+ },
3444
3467
  {
3445
3468
  "method": "GET",
3446
3469
  "path": "/app/:appIdentifier/logo",
@@ -3971,7 +3994,7 @@
3971
3994
  "forbidden"
3972
3995
  ],
3973
3996
  "transport": "http",
3974
- "notes": "JSON-RPC over MCP's Streamable HTTP, so neither the request nor the response is a shape contracts describes; the tool arguments and results are the schemas in each tool definition. **Fleetless users only** — an app's users reach their own app endpoint instead. **The bearer is verified inside the handler**, not by a route guard: the identity comes from the token and the path names none, and the refusal has to carry a `WWW-Authenticate` challenge that a guard shared with the REST surface does not send. `Origin` is checked against the cloud's own, and a foreign one is the `403 forbidden` above. **Both catalogs, unconditionally**: every caller admitted here is a Fleetless user, so the tool list has nothing left to vary with and the admin-ness check on `tools/call` is gone — a console tool that is still narrower than the catalog refuses for itself (`console_robot_delete` answers `tier_required` to a non-Owner). `403 forbidden` is also what an `mcp_session` token whose subject is an **app user** gets: this endpoint serves the team only, and such a token belongs to its own app's endpoint. The code is `forbidden` rather than `mcp_disabled` because nothing is switched off — the caller is at the wrong server — and per-app sign-in mints exactly such tokens, so the two states must not share a word. `mcp_access_denied` is gone with the per-user override and the group flag it read: every Fleetless user has MCP access here. Stateless: a fresh transport per request, no session id, nothing survives the call."
3997
+ "notes": "JSON-RPC over MCP's Streamable HTTP, so neither the request nor the response is a shape contracts describes; the tool arguments and results are the schemas in each tool definition. **Fleetless users only** — an app's users reach their own app endpoint instead. **The bearer is verified inside the handler**, not by a route guard: the identity comes from the token and the path names none, and the refusal has to carry a `WWW-Authenticate` challenge that a guard shared with the REST surface does not send. `Origin` is checked against the cloud's own, and a foreign one is the `403 forbidden` above. **Both catalogs, unconditionally**: every caller admitted here is a Fleetless user, so the tool list has nothing left to vary with and the admin-ness check on `tools/call` is gone — a console tool that is still narrower than the catalog refuses for itself (`console_robots_write.delete` answers `tier_required` to a non-Owner). `403 forbidden` is also what an `mcp_session` token whose subject is an **app user** gets: this endpoint serves the team only, and such a token belongs to its own app's endpoint. The code is `forbidden` rather than `mcp_disabled` because nothing is switched off — the caller is at the wrong server — and per-app sign-in mints exactly such tokens, so the two states must not share a word. `mcp_access_denied` is gone with the per-user override and the group flag it read: every Fleetless user has MCP access here. Stateless: a fresh transport per request, no session id, nothing survives the call."
3975
3998
  },
3976
3999
  {
3977
4000
  "method": "POST",
@@ -5185,7 +5208,7 @@
5185
5208
  "forbidden"
5186
5209
  ],
5187
5210
  "transport": "http",
5188
- "notes": "**The REST twin of the MCP tool `robots_list`**, and the one robot question no robot-scoped route can answer: which robots may I name at all. An app user sees the robots their app attaches on which their role grants at least one slug or capability; a server key sees every robot its app attaches; a developer bearer sees the organisation's robots. Name order, id as the tiebreak. A robot on which the role grants nothing is absent rather than listed empty — the same answer `robots_list` gives, for the same reason: reach is a grant, not an attachment. Under `/api/client/` because it names no robot; every robot-scoped read stays under `/api/robots/:id/…`."
5211
+ "notes": "**The REST twin of the MCP action `robots.list`**, and the one robot question no robot-scoped route can answer: which robots may I name at all. An app user sees the robots their app attaches on which their role grants at least one slug or capability; a server key sees every robot its app attaches; a developer bearer sees the organisation's robots. Name order, id as the tiebreak. A robot on which the role grants nothing is absent rather than listed empty — the same answer `robots.list` gives, for the same reason: reach is a grant, not an attachment. Under `/api/client/` because it names no robot; every robot-scoped read stays under `/api/robots/:id/…`."
5189
5212
  },
5190
5213
  {
5191
5214
  "method": "GET",
@@ -5215,7 +5238,7 @@
5215
5238
  "not_found"
5216
5239
  ],
5217
5240
  "transport": "http",
5218
- "notes": "**The REST twin of the MCP tool `robot_describe`**: one answer per robot — every datapoint, action, service, publisher and camera the role grants, each with its `input_schema` where it takes parameters, plus the two capabilities that gate whole features, `action_history` and `assets`. A robot with nothing published answers an empty `exposures` list, never a refusal. A robot the caller does not reach — not attached to their app, or attached with a role that grants nothing on it — answers `404` exactly as one that does not exist. The app-user datapoint and camera listings under this prefix stay; this is the one read that also names actions, services, publishers and capabilities, which is what an app needs before it can draw a screen."
5241
+ "notes": "**The REST twin of the MCP action `robots.describe`**: one answer per robot — every datapoint, action, service, publisher and camera the role grants, each with its `input_schema` where it takes parameters, plus the two capabilities that gate whole features, `action_history` and `assets`. A robot with nothing published answers an empty `exposures` list, never a refusal. A robot the caller does not reach — not attached to their app, or attached with a role that grants nothing on it — answers `404` exactly as one that does not exist. The app-user datapoint and camera listings under this prefix stay; this is the one read that also names actions, services, publishers and capabilities, which is what an app needs before it can draw a screen."
5219
5242
  },
5220
5243
  {
5221
5244
  "method": "GET",
@@ -5825,6 +5848,44 @@
5825
5848
  "transport": "http",
5826
5849
  "notes": "The body is optional: a bodyless `POST` was every caller's shape before `job_id` existed, and absent or `job_id: null` both mean \"cancel whatever is running\". A named `job_id` that is **not** what is running cancels nothing and answers `404` — the caller named an id and thereby ruled the other one out. An `external` job is cancelled the same way, through its goal id. Cancelling an `unknown` job also cancels every external goal on its action, since one of them may be that job. A service is `422 not_cancellable`: a service call has no goal to cancel. Nothing running is a `200` with `job: null`. The answer waits for the bridge's `cancel_result`: a `200` means the action server accepted the cancel request, not that the goal has ended — the job's end arrives as its own update. Any goal answered `ERROR_REJECTED` makes it `409 cancel_rejected`, with every goal and its `return_code` in `details.goals`; no answer within `JOB_HEARTBEAT_TIMEOUT_MS` is `504 bridge_timeout`; a cancel the bridge could not send at all is `502` carrying the bridge's own code (`unknown_slug`, `action_server_lost`, `internal_error`)."
5827
5850
  },
5851
+ {
5852
+ "method": "POST",
5853
+ "path": "/api/robots/:id/jobs/:slug/recover",
5854
+ "section": "commands",
5855
+ "summary": "Releases one held job after an Owner verifies the robot is stopped.",
5856
+ "audience": "developer",
5857
+ "auth": "developer",
5858
+ "rateLimited": false,
5859
+ "ownerTier": true,
5860
+ "status": 200,
5861
+ "params": [
5862
+ {
5863
+ "name": "id",
5864
+ "description": "The robot uuid in the authenticated Owner's organization."
5865
+ },
5866
+ {
5867
+ "name": "slug",
5868
+ "description": "The action slug holding the exact job named in the body."
5869
+ }
5870
+ ],
5871
+ "query": null,
5872
+ "request": "recover-held-job-request",
5873
+ "response": "recover-held-job-response",
5874
+ "errors": [
5875
+ "unauthorized",
5876
+ "token_expired",
5877
+ "token_revoked",
5878
+ "tier_required",
5879
+ "support_forbidden",
5880
+ "invalid_uuid",
5881
+ "not_found",
5882
+ "validation_error",
5883
+ "job_state_conflict",
5884
+ "internal_error"
5885
+ ],
5886
+ "transport": "http",
5887
+ "notes": "Use only after physically stopping or isolating the robot and checking that it cannot move. Read the held job id, then submit that exact id with a reason and `verified_stopped: true`. The assertion is a human safety check, not a sensor reading. The cloud records the Owner and reason in the audit trail and returns the job settled to `lost`. App users, server keys, other developers and support sessions cannot use this route. A connected bridge or a changed job returns `409 job_state_conflict`; a normal cancel is not recovery and never releases an uncertain job."
5888
+ },
5828
5889
  {
5829
5890
  "method": "POST",
5830
5891
  "path": "/api/robots/:id/publishers/:slug",
@@ -127,7 +127,7 @@
127
127
  ]
128
128
  },
129
129
  "description": {
130
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
130
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
131
131
  "examples": [
132
132
  "What a caller is choosing when they set this."
133
133
  ],
@@ -170,7 +170,7 @@
170
170
  ]
171
171
  },
172
172
  "description": {
173
- "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robot_describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
173
+ "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robots.describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
174
174
  "examples": [
175
175
  "Drives to a target pose on the map."
176
176
  ],
@@ -19,6 +19,20 @@
19
19
  "low_bandwidth": {
20
20
  "type": "boolean",
21
21
  "description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
22
+ },
23
+ "health_reason": {
24
+ "description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
25
+ "anyOf": [
26
+ {
27
+ "type": "string",
28
+ "enum": [
29
+ "job_query_unanswered"
30
+ ]
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ]
22
36
  }
23
37
  },
24
38
  "required": [
@@ -40,6 +40,20 @@
40
40
  "low_bandwidth": {
41
41
  "type": "boolean",
42
42
  "description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
43
+ },
44
+ "health_reason": {
45
+ "description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
46
+ "anyOf": [
47
+ {
48
+ "type": "string",
49
+ "enum": [
50
+ "job_query_unanswered"
51
+ ]
52
+ },
53
+ {
54
+ "type": "null"
55
+ }
56
+ ]
43
57
  }
44
58
  },
45
59
  "required": [
@@ -45,6 +45,20 @@
45
45
  "low_bandwidth": {
46
46
  "type": "boolean",
47
47
  "description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
48
+ },
49
+ "health_reason": {
50
+ "description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
51
+ "anyOf": [
52
+ {
53
+ "type": "string",
54
+ "enum": [
55
+ "job_query_unanswered"
56
+ ]
57
+ },
58
+ {
59
+ "type": "null"
60
+ }
61
+ ]
48
62
  }
49
63
  },
50
64
  "required": [
@@ -123,7 +123,7 @@
123
123
  "const": "keep"
124
124
  },
125
125
  "description": {
126
- "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robot_describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
126
+ "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robots.describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
127
127
  "examples": [
128
128
  "What this value is, for whoever meets it in the console."
129
129
  ],
@@ -151,7 +151,7 @@
151
151
  "unit": {
152
152
  "type": "string",
153
153
  "maxLength": 32,
154
- "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robot_describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
154
+ "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robots.describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
155
155
  "examples": [
156
156
  "%"
157
157
  ]
@@ -160,7 +160,7 @@
160
160
  "type": "integer",
161
161
  "minimum": 0,
162
162
  "maximum": 6,
163
- "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robot_describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
163
+ "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robots.describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
164
164
  "examples": [
165
165
  1
166
166
  ]
@@ -621,7 +621,7 @@
621
621
  ]
622
622
  },
623
623
  "description": {
624
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
624
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
625
625
  "examples": [
626
626
  "What a caller is choosing when they set this."
627
627
  ],
@@ -664,7 +664,7 @@
664
664
  ]
665
665
  },
666
666
  "description": {
667
- "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robot_describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
667
+ "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robots.describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
668
668
  "examples": [
669
669
  "Drives to a target pose on the map."
670
670
  ],
@@ -842,7 +842,7 @@
842
842
  ]
843
843
  },
844
844
  "description": {
845
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
845
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
846
846
  "examples": [
847
847
  "What a caller is choosing when they set this."
848
848
  ],
@@ -1063,7 +1063,7 @@
1063
1063
  ]
1064
1064
  },
1065
1065
  "description": {
1066
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1066
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1067
1067
  "examples": [
1068
1068
  "What a caller is choosing when they set this."
1069
1069
  ],
@@ -1566,7 +1566,7 @@
1566
1566
  ]
1567
1567
  },
1568
1568
  "description": {
1569
- "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera_snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1569
+ "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera.snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1570
1570
  "examples": [
1571
1571
  "Forward-facing camera on the mast."
1572
1572
  ],
@@ -116,7 +116,7 @@
116
116
  "const": "keep"
117
117
  },
118
118
  "description": {
119
- "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robot_describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
119
+ "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robots.describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
120
120
  "examples": [
121
121
  "What this value is, for whoever meets it in the console."
122
122
  ],
@@ -144,7 +144,7 @@
144
144
  "unit": {
145
145
  "type": "string",
146
146
  "maxLength": 32,
147
- "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robot_describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
147
+ "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robots.describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
148
148
  "examples": [
149
149
  "%"
150
150
  ]
@@ -153,7 +153,7 @@
153
153
  "type": "integer",
154
154
  "minimum": 0,
155
155
  "maximum": 6,
156
- "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robot_describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
156
+ "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robots.describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
157
157
  "examples": [
158
158
  1
159
159
  ]
@@ -614,7 +614,7 @@
614
614
  ]
615
615
  },
616
616
  "description": {
617
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
617
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
618
618
  "examples": [
619
619
  "What a caller is choosing when they set this."
620
620
  ],
@@ -657,7 +657,7 @@
657
657
  ]
658
658
  },
659
659
  "description": {
660
- "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robot_describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
660
+ "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robots.describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
661
661
  "examples": [
662
662
  "Drives to a target pose on the map."
663
663
  ],
@@ -835,7 +835,7 @@
835
835
  ]
836
836
  },
837
837
  "description": {
838
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
838
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
839
839
  "examples": [
840
840
  "What a caller is choosing when they set this."
841
841
  ],
@@ -1056,7 +1056,7 @@
1056
1056
  ]
1057
1057
  },
1058
1058
  "description": {
1059
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1059
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1060
1060
  "examples": [
1061
1061
  "What a caller is choosing when they set this."
1062
1062
  ],
@@ -1559,7 +1559,7 @@
1559
1559
  ]
1560
1560
  },
1561
1561
  "description": {
1562
- "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera_snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1562
+ "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera.snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1563
1563
  "examples": [
1564
1564
  "Forward-facing camera on the mast."
1565
1565
  ],
@@ -124,7 +124,7 @@
124
124
  "const": "keep"
125
125
  },
126
126
  "description": {
127
- "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robot_describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
127
+ "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robots.describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
128
128
  "examples": [
129
129
  "What this value is, for whoever meets it in the console."
130
130
  ],
@@ -152,7 +152,7 @@
152
152
  "unit": {
153
153
  "type": "string",
154
154
  "maxLength": 32,
155
- "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robot_describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
155
+ "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robots.describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
156
156
  "examples": [
157
157
  "%"
158
158
  ]
@@ -161,7 +161,7 @@
161
161
  "type": "integer",
162
162
  "minimum": 0,
163
163
  "maximum": 6,
164
- "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robot_describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
164
+ "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robots.describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
165
165
  "examples": [
166
166
  1
167
167
  ]
@@ -622,7 +622,7 @@
622
622
  ]
623
623
  },
624
624
  "description": {
625
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
625
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
626
626
  "examples": [
627
627
  "What a caller is choosing when they set this."
628
628
  ],
@@ -665,7 +665,7 @@
665
665
  ]
666
666
  },
667
667
  "description": {
668
- "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robot_describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
668
+ "description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robots.describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
669
669
  "examples": [
670
670
  "Drives to a target pose on the map."
671
671
  ],
@@ -843,7 +843,7 @@
843
843
  ]
844
844
  },
845
845
  "description": {
846
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
846
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
847
847
  "examples": [
848
848
  "What a caller is choosing when they set this."
849
849
  ],
@@ -1064,7 +1064,7 @@
1064
1064
  ]
1065
1065
  },
1066
1066
  "description": {
1067
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1067
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
1068
1068
  "examples": [
1069
1069
  "What a caller is choosing when they set this."
1070
1070
  ],
@@ -1567,7 +1567,7 @@
1567
1567
  ]
1568
1568
  },
1569
1569
  "description": {
1570
- "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera_snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1570
+ "description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera.snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
1571
1571
  "examples": [
1572
1572
  "Forward-facing camera on the mast."
1573
1573
  ],
@@ -50,7 +50,7 @@
50
50
  "const": "keep"
51
51
  },
52
52
  "description": {
53
- "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robot_describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
53
+ "description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robots.describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
54
54
  "examples": [
55
55
  "What this value is, for whoever meets it in the console."
56
56
  ],
@@ -78,7 +78,7 @@
78
78
  "unit": {
79
79
  "type": "string",
80
80
  "maxLength": 32,
81
- "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robot_describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
81
+ "description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robots.describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
82
82
  "examples": [
83
83
  "%"
84
84
  ]
@@ -87,7 +87,7 @@
87
87
  "type": "integer",
88
88
  "minimum": 0,
89
89
  "maximum": 6,
90
- "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robot_describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
90
+ "description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robots.describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
91
91
  "examples": [
92
92
  1
93
93
  ]
@@ -92,7 +92,7 @@
92
92
  ]
93
93
  },
94
94
  "description": {
95
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
95
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
96
96
  "examples": [
97
97
  "What a caller is choosing when they set this."
98
98
  ],
@@ -127,7 +127,7 @@
127
127
  ]
128
128
  },
129
129
  "description": {
130
- "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robot_describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
130
+ "description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
131
131
  "examples": [
132
132
  "What a caller is choosing when they set this."
133
133
  ],
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "job_id": {
6
+ "type": "string",
7
+ "format": "uuid",
8
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
9
+ "description": "The exact held job id read from the robot job state; another job must never be released by a stale request."
10
+ },
11
+ "verified_stopped": {
12
+ "type": "boolean",
13
+ "const": true,
14
+ "description": "The Owner confirms a physical stop and safety check; this is not a cloud sensor reading."
15
+ },
16
+ "reason": {
17
+ "type": "string",
18
+ "minLength": 10,
19
+ "maxLength": 500,
20
+ "description": "The Owner's reason and safety-check record, 10–500 characters after trimming; retained in the audit trail."
21
+ }
22
+ },
23
+ "required": [
24
+ "job_id",
25
+ "verified_stopped",
26
+ "reason"
27
+ ],
28
+ "additionalProperties": false
29
+ }