SynthDCB / data /valid /Phone /task_1baf6469 /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
23.8 kB
{
"trajectory_id": "task_1baf6469_reference",
"world_id": "task_1baf6469",
"task_id": "task_1baf6469",
"source": "ground_truth",
"records": [
{
"kind": "tool_exchange",
"call": {
"call_id": "call_1",
"turn_id": "turn_1",
"command": {
"target": "memory",
"function": "read",
"parameters": {}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"records": [
{
"memory_id": "memory_e369f0ebde2a4e78",
"content": "The saved preference for Setting Privacy 1's permission_requests is null."
}
]
},
"mutation_committed": false,
"audit_sequence": 1
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_2",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "privacy_1"
}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_1",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "privacy_1",
"tools": [
{
"function": "get_authorization",
"description": "Return the stored authorization record for an existing application and one supported permission type. This reports authorization only; it does not imply that the resource and master-switch conditions currently allow effective access.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "An existing stable application ID.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"camera_app",
"maps"
]
},
"permission": {
"type": "string",
"description": "The permission type to query.",
"enum": [
"camera",
"microphone",
"location",
"notifications"
],
"examples": [
"camera",
"location"
]
}
},
"required": [
"app_id",
"permission"
],
"additionalProperties": false
},
"reads": [
"app_permissions"
],
"writes": [],
"semantics": {
"kind": "custom",
"reason": "The authorization record is nested first by application ID and then by permission type, which cannot be selected by the collection_read vocabulary.",
"preconditions": {
"app_permissions": {
"contains_key": {
"parameter": "app_id"
}
}
}
}
},
{
"function": "get_effective_access",
"description": "Return whether an existing application currently has effective access to the selected permission. Access is effective only when stored authorization is granted, the corresponding system resource is available, and the relevant master switch is enabled. The response also includes the stored location scope and accuracy when location is selected. This query changes no state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "An existing stable application ID.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"camera_app",
"maps"
]
},
"permission": {
"type": "string",
"description": "The permission type whose effective access is queried.",
"enum": [
"camera",
"microphone",
"location",
"notifications"
],
"examples": [
"microphone",
"notifications"
]
}
},
"required": [
"app_id",
"permission"
],
"additionalProperties": false
},
"reads": [
"app_permissions",
"platform_conditions"
],
"writes": [],
"semantics": {
"kind": "custom",
"reason": "Effective access must select a nested authorization record and combine it with the resource and master-switch conditions for the requested permission.",
"preconditions": {
"app_permissions": {
"contains_key": {
"parameter": "app_id"
}
}
}
}
},
{
"function": "get_permission_requests",
"description": "Return all permission-request records keyed by request ID. Pending, granted, and denied records remain distinct, and reading them changes no authorization.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"permission_requests"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "permission_requests",
"response_key": "permission_requests",
"preconditions": {}
}
},
{
"function": "get_permission_request",
"description": "Return one existing permission-request record by stable request ID without changing its status or any authorization.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "An existing permission-request ID.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128
}
},
"required": [
"request_id"
],
"additionalProperties": false
},
"reads": [
"permission_requests"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "permission_requests",
"id_parameter": "request_id",
"response_key": "permission_request",
"preconditions": {
"permission_requests": {
"contains_key": {
"parameter": "request_id"
}
}
}
}
},
{
"function": "get_platform_config",
"description": "Return the fixed platform permission configuration, including supported permission types and valid location scope and accuracy combinations.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"platform_config"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "platform_config",
"response_key": "platform_config",
"preconditions": {}
}
},
{
"function": "get_platform_conditions",
"description": "Return current resource-availability and master-switch feedback for camera, microphone, location, and notifications without changing authorization or feedback.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"platform_conditions"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "platform_conditions",
"response_key": "platform_conditions",
"preconditions": {}
}
},
{
"function": "get_camera_in_use",
"description": "Return current system privacy feedback indicating whether the camera is in use.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"camera_in_use"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "camera_in_use",
"response_key": "camera_in_use",
"preconditions": {}
}
},
{
"function": "get_microphone_in_use",
"description": "Return current system privacy feedback indicating whether the microphone is in use.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"microphone_in_use"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "microphone_in_use",
"response_key": "microphone_in_use",
"preconditions": {}
}
},
{
"function": "request_permission",
"description": "Create a new pending permission request for an existing application and return its generated request ID. For location, requested_scope must be while_in_use or background and requested_accuracy must be approximate or precise, and the pair must appear in the fixed valid-location combinations. For camera, microphone, or notifications, both values must be not_applicable. Invalid combinations leave all requests and authorizations unchanged. Creating a request does not grant authorization.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "An existing stable application ID requesting permission.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"camera_app",
"maps"
]
},
"permission": {
"type": "string",
"description": "The requested permission type.",
"enum": [
"camera",
"microphone",
"location",
"notifications"
]
},
"requested_scope": {
"type": "string",
"description": "Requested location scope, or not_applicable for a non-location permission.",
"enum": [
"not_applicable",
"while_in_use",
"background"
]
},
"requested_accuracy": {
"type": "string",
"description": "Requested location accuracy, or not_applicable for a non-location permission.",
"enum": [
"not_applicable",
"approximate",
"precise"
]
}
},
"required": [
"app_id",
"permission",
"requested_scope",
"requested_accuracy"
],
"additionalProperties": false
},
"reads": [
"app_permissions",
"permission_requests",
"platform_config"
],
"writes": [
"permission_requests"
],
"semantics": {
"kind": "collection_add",
"property": "permission_requests",
"response_key": "request_id",
"fields": {
"app_id": {
"parameter": "app_id"
},
"permission": {
"parameter": "permission"
},
"requested_scope": {
"parameter": "requested_scope"
},
"requested_accuracy": {
"parameter": "requested_accuracy"
},
"status": {
"value": "pending"
}
},
"preconditions": {
"app_permissions": {
"contains_key": {
"parameter": "app_id"
}
}
}
}
},
{
"function": "resolve_permission_request",
"description": "Resolve one pending permission request as granted or denied. Granting updates only the corresponding application permission, using the request's validated location scope and accuracy for location. Denying stores denied authorization with not_applicable scope and accuracy. The request record is retained with its final status, and all unrelated applications, permissions, and requests are preserved. A missing or already resolved request leaves state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"description": "The ID of an existing pending permission request.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128
},
"decision": {
"type": "string",
"description": "The simulated user decision for the pending request.",
"enum": [
"granted",
"denied"
]
}
},
"required": [
"request_id",
"decision"
],
"additionalProperties": false
},
"reads": [
"app_permissions",
"permission_requests",
"platform_config"
],
"writes": [
"app_permissions",
"permission_requests"
],
"semantics": {
"kind": "custom",
"reason": "Resolving a request atomically updates one request record and its corresponding nested application-permission record, which spans two collections and cannot be expressed by one collection semantic.",
"preconditions": {
"permission_requests": {
"contains_key": {
"parameter": "request_id"
}
}
}
}
},
{
"function": "set_authorization",
"description": "Set one modifiable application permission through the simulated authorized system-settings interface. For granted location authorization, scope must be while_in_use or background and accuracy must be approximate or precise, with the pair present in the fixed valid-location combinations. For denied location authorization and for every non-location permission, scope and accuracy must both be not_applicable. Invalid values, unknown applications, and non-modifiable records leave all state unchanged. This operation does not create or resolve a permission request and preserves every unrelated record.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"app_id": {
"type": "string",
"description": "An existing stable application ID.",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 128,
"examples": [
"camera_app",
"maps"
]
},
"permission": {
"type": "string",
"description": "The permission type to change.",
"enum": [
"camera",
"microphone",
"location",
"notifications"
]
},
"authorization": {
"type": "string",
"description": "The desired stored authorization.",
"enum": [
"granted",
"denied"
]
},
"scope": {
"type": "string",
"description": "Location scope for granted location access, otherwise not_applicable.",
"enum": [
"not_applicable",
"while_in_use",
"background"
]
},
"accuracy": {
"type": "string",
"description": "Location accuracy for granted location access, otherwise not_applicable.",
"enum": [
"not_applicable",
"approximate",
"precise"
]
}
},
"required": [
"app_id",
"permission",
"authorization",
"scope",
"accuracy"
],
"additionalProperties": false
},
"reads": [
"app_permissions",
"platform_config"
],
"writes": [
"app_permissions"
],
"semantics": {
"kind": "custom",
"reason": "The operation must atomically validate conditional location combinations and modify one permission nested within an application record while preserving all sibling records.",
"preconditions": {
"app_permissions": {
"contains_key": {
"parameter": "app_id"
}
}
}
}
}
]
},
"mutation_committed": false,
"audit_sequence": 2
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_1",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_3",
"turn_id": "turn_2",
"command": {
"target": "privacy_1",
"function": "get_permission_requests",
"parameters": {}
}
},
"result": {
"call_id": "call_3",
"turn_id": "turn_2",
"sequence": 3,
"status": "success",
"code": "[PASS]",
"data": {
"permission_requests": {}
},
"mutation_committed": false,
"audit_sequence": 4
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_4",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": {}
}
}
},
"result": {
"call_id": "call_4",
"turn_id": "turn_2",
"sequence": 4,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 0
},
"mutation_committed": false,
"audit_sequence": 5
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_2",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_5",
"turn_id": "turn_3",
"command": {
"target": "memory",
"function": "update",
"parameters": {
"memory_id": "memory_e369f0ebde2a4e78",
"content": "The saved preference for Setting Privacy 1's permission_requests is {}."
}
}
},
"result": {
"call_id": "call_5",
"turn_id": "turn_3",
"sequence": 5,
"status": "success",
"code": "[PASS]",
"data": {
"record": {
"memory_id": "memory_e369f0ebde2a4e78",
"content": "The saved preference for Setting Privacy 1's permission_requests is {}."
}
},
"mutation_committed": true,
"audit_sequence": 7
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_6",
"turn_id": "turn_3",
"command": {
"target": "session",
"function": "finish",
"parameters": {}
}
},
"result": {
"call_id": "call_6",
"turn_id": "turn_3",
"sequence": 6,
"status": "success",
"code": "[PASS]",
"data": {
"finished": true
},
"mutation_committed": false,
"audit_sequence": 8
}
},
{
"kind": "termination",
"termination": {
"reason": "session_finish",
"turn_id": "turn_3",
"turn_index": 3,
"elapsed_minutes": 0,
"limits": {
"max_turns": 3,
"max_elapsed_minutes": null
}
}
}
]
}