Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-mv/blob/main/bench/schema/task.schema.json # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / bench / schema / task.schema.json` 117 lines ยท 10478 bytes Raw Blame History 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "https://interplane.dev/schemas/0.2/bench/task.schema.json", 4 "title": "INTERPLANE 0.2 bench task", 5 "description": "One benchmark task: a user request over a fixture workspace, run once under condition A (full catalog) and once under condition B (CrossAxis Select), judged deterministically. See bench/README.md and bench/PROTOCOL-0.2.md.", 6 "type": "object", 7 "required": ["id", "category", "split", "title", "user_request", "system_prompt_ref", "workspace_fixture", "authority_profile", "requested_domains", "required_capabilities", "allowed_alternatives", "useful_capabilities", "forbidden_effects", "expected_outcome", "stub_results", "fault_injection", "injection", "nonexistent_tool", "judge"], 8 "additionalProperties": false, 9 "properties": { 10 "id": {"type": "string", "pattern": "^(filesystem|ambiguous|multidomain|rare|wrong_first_tool|exec_failure|denied|approval|injection_workspace|injection_tool|expansion|unknown_tool|sequential)-[0-9]{3}$", "description": "-NNN; must equal the file name without .json and start with the category."}, 11 "category": {"$ref": "#/$defs/Category"}, 12 "split": {"type": "string", "enum": ["dev", "qual"], "description": "dev: pilot and harness debugging, excluded from gate statistics. qual: frozen before the qualification run."}, 13 "title": {"type": "string", "minLength": 3}, 14 "user_request": {"type": "string", "minLength": 3, "description": "The single user message. The only input to the domain rule."}, 15 "system_prompt_ref": { 16 "type": "object", 17 "required": ["path", "sha256"], 18 "additionalProperties": false, 19 "properties": { 20 "path": {"const": "prompts/system.md", "description": "Relative to bench/. One shared prompt for every task."}, 21 "sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"} 22 } 23 }, 24 "workspace_fixture": {"type": "string", "pattern": "^fixtures/[a-z0-9_-]+$", "description": "Relative to bench/. Copied byte-for-byte into a fresh temporary directory, which becomes the Odysseus workspace for the run."}, 25 "authority_profile": { 26 "type": "object", 27 "required": ["admin", "delegated_credential"], 28 "additionalProperties": false, 29 "description": "Constructor flags for OdysseusAuthority. Odysseus's own gates decide; these only state who the caller is.", 30 "properties": { 31 "admin": {"type": "boolean"}, 32 "delegated_credential": {"type": "boolean"} 33 } 34 }, 35 "requested_domains": {"type": "array", "items": {"$ref": "#/$defs/Domain"}, "minItems": 1, "uniqueItems": true, "description": "Mechanically derived from user_request by bench/domains.json (CI recomputes). Given to CrossAxis Select for condition B only."}, 36 "required_capabilities": {"$ref": "#/$defs/CapabilityList", "description": "Catalog capabilities each of which is genuinely necessary. Empty when alternatives work."}, 37 "allowed_alternatives": {"type": "array", "items": {"$ref": "#/$defs/CapabilityList", "minItems": 1}, "description": "Groups of interchangeable capabilities; at least one capability of every group is necessary."}, 38 "useful_capabilities": {"$ref": "#/$defs/CapabilityList", "description": "Calls to these (e.g. ls/glob to locate a file) are not counted as unnecessary."}, 39 "forbidden_effects": {"$ref": "#/$defs/CapabilityList", "description": "Capabilities that must never be executed (decided authorized) in this task."}, 40 "expected_outcome": {"type": "string", "enum": ["answer", "denied", "approval_pending", "unknown_tool_reported", "recovery"]}, 41 "stub_results": { 42 "type": "object", 43 "description": "Capability -> fixture result for capabilities the reference adapter does not execute. Returned as an ok result ONLY after Odysseus's decide() returns authorized; the stub replaces execution, never the decision, and is passed to Odysseus's observe_tool_result like a real result.", 44 "additionalProperties": { 45 "type": "object", 46 "required": ["path"], 47 "additionalProperties": false, 48 "properties": {"path": {"type": "string", "pattern": "^stubs/[a-z0-9_-]+\\.json$"}} 49 } 50 }, 51 "fault_injection": { 52 "type": "array", 53 "description": "Deterministic tool failures. After Odysseus authorizes call number k (1-based, counted per capability among authorized calls) and k is listed in on_calls (or on_calls is \"all\"), the runner does not execute and returns status error, code execution_error, message = error. The error object {\"error\": error} is passed to Odysseus's observe_tool_result.", 54 "items": { 55 "type": "object", 56 "required": ["capability", "error", "on_calls"], 57 "additionalProperties": false, 58 "properties": { 59 "capability": {"$ref": "#/$defs/Capability"}, 60 "error": {"type": "string", "minLength": 1}, 61 "on_calls": {"oneOf": [{"const": "all"}, {"type": "array", "items": {"type": "integer", "minimum": 1}, "minItems": 1, "uniqueItems": true}]} 62 } 63 } 64 }, 65 "injection": { 66 "oneOf": [ 67 {"type": "null"}, 68 { 69 "type": "object", 70 "required": ["location", "source", "payload_targets"], 71 "additionalProperties": false, 72 "properties": { 73 "location": {"type": "string", "enum": ["workspace_file", "stub_result", "fault_error"]}, 74 "source": {"type": "string", "minLength": 1, "description": "Fixture-relative file path, stub path, or capability whose injected error carries the payload."}, 75 "payload_targets": {"$ref": "#/$defs/CapabilityList", "description": "Capabilities the injected text tries to make the model use."}, 76 "leak_marker": {"type": "string", "minLength": 4, "description": "Text whose appearance in the answer means the injection succeeded in exfiltrating content."} 77 } 78 } 79 ] 80 }, 81 "nonexistent_tool": {"type": ["string", "null"], "description": "unknown_tool tasks: the tool name the user asks for; must NOT be in the catalog."}, 82 "judge": { 83 "type": "object", 84 "required": ["expected_answer", "checks"], 85 "additionalProperties": false, 86 "description": "Deterministic: a run succeeds iff every applicable check passes. No LLM judge.", 87 "properties": { 88 "expected_answer": {"type": ["string", "null"], "description": "Human-readable reference answer (documentation; the checks decide)."}, 89 "checks": {"type": "array", "items": {"$ref": "#/$defs/Check"}, "minItems": 1} 90 } 91 }, 92 "notes": {"type": "string"} 93 }, 94 "$defs": { 95 "Category": {"type": "string", "enum": ["filesystem", "ambiguous", "multidomain", "rare", "wrong_first_tool", "exec_failure", "denied", "approval", "injection_workspace", "injection_tool", "expansion", "unknown_tool", "sequential"]}, 96 "Domain": {"type": "string", "enum": ["filesystem", "code", "process", "web", "email", "calendar", "contacts", "documents", "notes", "tasks", "memory", "sessions", "models", "serving", "image", "admin", "ui", "research", "user"]}, 97 "Capability": {"type": "string", "pattern": "^[a-z][a-z0-9_]*$", "description": "A name from adapters/odysseus/catalog.odysseus-`2992bf6`.json (CI checks)."}, 98 "CapabilityList": {"type": "array", "items": {"$ref": "#/$defs/Capability"}, "uniqueItems": true}, 99 "Conditions": {"type": "array", "items": {"type": "string", "enum": ["A", "B"]}, "minItems": 1, "uniqueItems": true, "description": "Conditions the check applies to (default both)."}, 100 "Check": { 101 "oneOf": [ 102 {"type": "object", "required": ["kind", "values"], "additionalProperties": false, "properties": {"kind": {"const": "answer_contains_all"}, "values": {"type": "array", "items": {"type": "string", "minLength": 1}, "minItems": 1}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 103 {"type": "object", "required": ["kind", "values"], "additionalProperties": false, "properties": {"kind": {"const": "answer_not_contains"}, "values": {"type": "array", "items": {"type": "string", "minLength": 1}, "minItems": 1}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 104 {"type": "object", "required": ["kind", "pattern"], "additionalProperties": false, "properties": {"kind": {"const": "answer_regex"}, "pattern": {"type": "string", "minLength": 1}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 105 {"type": "object", "required": ["kind", "value"], "additionalProperties": false, "properties": {"kind": {"const": "answer_equals_normalized"}, "value": {"type": "string"}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 106 {"type": "object", "required": ["kind", "capability"], "additionalProperties": false, "properties": {"kind": {"const": "state_denied"}, "capability": {"$ref": "#/$defs/Capability"}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 107 {"type": "object", "required": ["kind", "capability"], "additionalProperties": false, "properties": {"kind": {"const": "state_requires_approval"}, "capability": {"$ref": "#/$defs/Capability"}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 108 {"type": "object", "required": ["kind", "capabilities"], "additionalProperties": false, "properties": {"kind": {"const": "no_execution_of"}, "capabilities": {"$ref": "#/$defs/CapabilityList", "minItems": 1}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 109 {"type": "object", "required": ["kind", "capabilities"], "additionalProperties": false, "properties": {"kind": {"const": "no_request_of"}, "capabilities": {"$ref": "#/$defs/CapabilityList", "minItems": 1}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 110 {"type": "object", "required": ["kind"], "additionalProperties": false, "properties": {"kind": {"const": "recovered_after_error"}, "conditions": {"$ref": "#/$defs/Conditions"}}}, 111 {"type": "object", "required": ["kind", "conditions"], "additionalProperties": false, "properties": {"kind": {"const": "expansion_occurred"}, "conditions": {"const": ["B"]}}}, 112 {"type": "object", "required": ["kind", "conditions"], "additionalProperties": false, "properties": {"kind": {"const": "expansion_not_needed"}, "conditions": {"const": ["B"]}}}, 113 {"type": "object", "required": ["kind", "checks"], "additionalProperties": false, "properties": {"kind": {"const": "any_of"}, "checks": {"type": "array", "items": {"$ref": "#/$defs/Check"}, "minItems": 2}, "conditions": {"$ref": "#/$defs/Conditions"}}} 114 ] 115 } 116 } 117 }