Files
whetstone_DSL/tools/mcp/whetstone_tool_schemas.json

3657 lines
74 KiB
JSON

{
"whetstone_get_ast": {
"properties": {
"compact": {
"description": "Compact mode: flat list with minimal fields (default false)",
"type": "boolean"
}
},
"type": "object"
},
"whetstone_mutate": {
"properties": {
"node": {
"description": "Node to insert (for insertNode)",
"type": "object"
},
"nodeId": {
"description": "Target node ID (for setProperty, updateNode, deleteNode)",
"type": "string"
},
"parentId": {
"description": "Parent node ID (for insertNode)",
"type": "string"
},
"property": {
"description": "Property name (for setProperty)",
"type": "string"
},
"role": {
"description": "Child role (for insertNode)",
"type": "string"
},
"type": {
"description": "Mutation type",
"enum": [
"setProperty",
"updateNode",
"deleteNode",
"insertNode"
],
"type": "string"
},
"value": {
"description": "New value (for setProperty)",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"whetstone_batch_mutate": {
"properties": {
"mutations": {
"description": "Array of mutation objects",
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"mutations"
],
"type": "object"
},
"whetstone_get_scope": {
"properties": {
"nodeId": {
"description": "Node ID to query scope from",
"type": "string"
}
},
"required": [
"nodeId"
],
"type": "object"
},
"whetstone_get_call_hierarchy": {
"properties": {
"functionId": {
"description": "Function node ID",
"type": "string"
}
},
"required": [
"functionId"
],
"type": "object"
},
"whetstone_get_ast_subtree": {
"properties": {
"nodeId": {
"description": "Root node ID for the subtree",
"type": "string"
}
},
"required": [
"nodeId"
],
"type": "object"
},
"whetstone_get_ast_diff": {
"properties": {
"sinceVersion": {
"description": "Version number to diff against (from previous response)",
"type": "integer"
}
},
"required": [
"sinceVersion"
],
"type": "object"
},
"whetstone_suggest_annotations": {
"properties": {
"col": {
"description": "Column number (0-based, alternative to nodeId)",
"type": "integer"
},
"line": {
"description": "Line number (0-based, alternative to nodeId)",
"type": "integer"
},
"nodeId": {
"description": "Node ID to suggest annotations for",
"type": "string"
}
},
"type": "object"
},
"whetstone_apply_annotation": {
"properties": {
"annotationType": {
"description": "e.g., ReclaimAnnotation, OwnerAnnotation",
"type": "string"
},
"confidence": {
"description": "Confidence score 0-1",
"type": "number"
},
"nodeId": {
"description": "Target node ID",
"type": "string"
},
"reason": {
"description": "Why this annotation",
"type": "string"
},
"strategy": {
"description": "e.g., Tracing, Single, RAII",
"type": "string"
}
},
"required": [
"nodeId",
"annotationType",
"strategy"
],
"type": "object"
},
"whetstone_generate_code": {
"properties": {
"preferImports": {
"description": "Prefer imported library symbols (default true)",
"type": "boolean"
},
"spec": {
"description": "Natural language description of code to generate",
"type": "string"
}
},
"required": [
"spec"
],
"type": "object"
},
"whetstone_run_pipeline": {
"properties": {
"source": {
"description": "Source code to process",
"type": "string"
},
"sourceLanguage": {
"description": "Source language (python, cpp, rust, go, java, javascript, typescript, elisp)",
"type": "string"
},
"targetLanguage": {
"description": "Target language for code generation",
"type": "string"
}
},
"required": [
"source",
"sourceLanguage",
"targetLanguage"
],
"type": "object"
},
"whetstone_project_language": {
"properties": {
"targetLanguage": {
"description": "Target language to project to",
"type": "string"
}
},
"required": [
"targetLanguage"
],
"type": "object"
},
"whetstone_file_read": {
"properties": {
"endLine": {
"description": "End line (1-based, optional)",
"type": "integer"
},
"path": {
"description": "File path (relative to workspace)",
"type": "string"
},
"startLine": {
"description": "Start line (1-based, optional)",
"type": "integer"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_file_write": {
"properties": {
"content": {
"description": "Content to write",
"type": "string"
},
"path": {
"description": "File path (relative to workspace)",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
},
"whetstone_file_create": {
"properties": {
"language": {
"description": "Language (python, cpp, rust, go, java, javascript, typescript)",
"type": "string"
},
"path": {
"description": "File path (relative to workspace)",
"type": "string"
},
"template": {
"description": "Template name (module, empty) or empty for blank file",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_file_diff": {
"properties": {
"path": {
"description": "File path (optional, defaults to active buffer)",
"type": "string"
}
},
"type": "object"
},
"whetstone_workspace_list": {
"properties": {
"glob": {
"description": "Glob pattern (default: *). E.g. *.py, *.cpp",
"type": "string"
}
},
"type": "object"
},
"whetstone_get_diagnostics": {
"properties": {
"severity": {
"description": "Maximum severity level to include",
"enum": [
"error",
"warning",
"info",
"hint"
],
"type": "string"
},
"source": {
"description": "Filter by diagnostic source",
"enum": [
"parser",
"annotation",
"strategy"
],
"type": "string"
}
},
"type": "object"
},
"whetstone_get_diagnostics_delta": {
"properties": {
"sinceVersion": {
"description": "Version number from a previous diagnostics response",
"type": "integer"
}
},
"required": [
"sinceVersion"
],
"type": "object"
},
"whetstone_get_quick_fixes": {
"properties": {
"nodeId": {
"description": "Node ID to get fixes for (omit for all fixes)",
"type": "string"
}
},
"type": "object"
},
"whetstone_apply_quick_fix": {
"properties": {
"diagCode": {
"description": "Diagnostic error code (e.g. E0200)",
"type": "string"
},
"nodeId": {
"description": "Target node ID",
"type": "string"
}
},
"required": [
"diagCode",
"nodeId"
],
"type": "object"
},
"whetstone_get_project_diagnostics": {
"properties": {
"fileGlob": {
"description": "File pattern filter (e.g. *.py, utils.py)",
"type": "string"
},
"severity": {
"description": "Maximum severity level to include",
"enum": [
"error",
"warning",
"info",
"hint"
],
"type": "string"
}
},
"type": "object"
},
"whetstone_batch_query": {
"properties": {
"queries": {
"items": {
"properties": {
"method": {
"type": "string"
},
"params": {
"type": "object"
}
},
"required": [
"method"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"queries"
],
"type": "object"
},
"whetstone_open_file": {
"properties": {
"content": {
"description": "File content (optional, reads from disk if omitted)",
"type": "string"
},
"language": {
"description": "Language (optional, auto-detected from extension)",
"type": "string"
},
"path": {
"description": "File path (relative to workspace or absolute)",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_close_file": {
"properties": {
"path": {
"description": "Path of the buffer to close",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_list_buffers": {
"properties": {},
"type": "object"
},
"whetstone_set_active_buffer": {
"properties": {
"path": {
"description": "Path of the buffer to activate",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_index_workspace": {
"properties": {
"root": {
"description": "Workspace root (optional, uses --workspace default)",
"type": "string"
}
},
"type": "object"
},
"whetstone_search_project": {
"properties": {
"name": {
"description": "Symbol name to search for",
"type": "string"
},
"nodeId": {
"description": "Node ID to resolve name from (alternative to name)",
"type": "string"
}
},
"type": "object"
},
"whetstone_rename_symbol": {
"properties": {
"newName": {
"description": "New symbol name",
"type": "string"
},
"oldName": {
"description": "Current symbol name",
"type": "string"
},
"preview": {
"description": "Preview changes without applying (default false)",
"type": "boolean"
}
},
"required": [
"oldName",
"newName"
],
"type": "object"
},
"whetstone_save_buffer": {
"properties": {
"path": {
"description": "Buffer path to save (optional, defaults to active)",
"type": "string"
}
},
"type": "object"
},
"whetstone_save_all_buffers": {
"properties": {},
"type": "object"
},
"whetstone_undo": {
"properties": {},
"type": "object"
},
"whetstone_redo": {
"properties": {},
"type": "object"
},
"whetstone_save_annotated_ast": {
"properties": {
"path": {
"description": "Buffer path to save annotations for",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_load_annotated_ast": {
"properties": {
"path": {
"description": "Buffer path to load annotations for",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"whetstone_list_annotated_files": {
"properties": {},
"type": "object"
},
"whetstone_save_semantic_hash_table": {
"properties": {
"path": {
"description": "Buffer path to save semantic hash table for",
"type": "string"
}
},
"type": "object"
},
"whetstone_get_semantic_hash_table": {
"properties": {
"path": {
"description": "Buffer path to read semantic hash table for",
"type": "string"
},
"refresh": {
"description": "Recompute hash table from AST before read",
"type": "boolean"
}
},
"type": "object"
},
"whetstone_list_semantic_hash_tables": {
"properties": {},
"type": "object"
},
"whetstone_set_semantic_hash_lock": {
"properties": {
"locked": {
"description": "true=locked, false=unlocked",
"type": "boolean"
},
"nodeId": {
"description": "AST node ID",
"type": "string"
},
"reason": {
"description": "Optional lock rationale",
"type": "string"
}
},
"required": [
"nodeId",
"locked"
],
"type": "object"
},
"whetstone_get_semantic_hash_lock": {
"properties": {
"nodeId": {
"description": "AST node ID",
"type": "string"
}
},
"required": [
"nodeId"
],
"type": "object"
},
"whetstone_set_semantic_annotation": {
"properties": {
"fields": {
"description": "Annotation-specific fields",
"type": "object"
},
"nodeId": {
"description": "Target node ID",
"type": "string"
},
"type": {
"description": "Annotation type",
"enum": [
"intent",
"complexity",
"risk",
"contract",
"tags"
],
"type": "string"
}
},
"required": [
"nodeId",
"type",
"fields"
],
"type": "object"
},
"whetstone_get_semantic_annotations": {
"properties": {
"nodeId": {
"description": "Node ID (optional, omit for all annotated nodes)",
"type": "string"
}
},
"type": "object"
},
"whetstone_remove_semantic_annotation": {
"properties": {
"nodeId": {
"description": "Target node ID",
"type": "string"
},
"type": {
"description": "Annotation type to remove",
"enum": [
"intent",
"complexity",
"risk",
"contract",
"tags"
],
"type": "string"
}
},
"required": [
"nodeId",
"type"
],
"type": "object"
},
"whetstone_get_unannotated_nodes": {
"properties": {
"type": {
"description": "Filter: nodes missing this annotation type (optional)",
"enum": [
"intent",
"complexity",
"risk",
"contract",
"tags"
],
"type": "string"
}
},
"type": "object"
},
"whetstone_set_environment": {
"properties": {
"capabilities": {
"description": "Available capabilities (io.fs, io.net, threads, etc.)",
"items": {
"type": "string"
},
"type": "array"
},
"constraints": {
"description": "Environment constraints (no_jit, no_threads, etc.)",
"items": {
"type": "string"
},
"type": "array"
},
"envId": {
"description": "Environment identifier (e.g. posix_process, browser, jvm)",
"type": "string"
},
"exceptions": {
"description": "Exception handling model",
"enum": [
"unwind",
"checked",
"typed",
"untyped"
],
"type": "string"
},
"ffi": {
"description": "Foreign function interface style",
"enum": [
"c_abi",
"dynamic_linking",
"none"
],
"type": "string"
},
"memory": {
"description": "Memory management model",
"enum": [
"manual",
"raii",
"refcount",
"tracing_gc",
"region"
],
"type": "string"
},
"scheduler": {
"description": "Scheduling model",
"enum": [
"event_loop",
"threads",
"fibers",
"coroutines",
"single_thread"
],
"type": "string"
}
},
"required": [
"envId"
],
"type": "object"
},
"whetstone_get_environment": {
"properties": {},
"type": "object"
},
"whetstone_validate_environment": {
"properties": {},
"type": "object"
},
"whetstone_get_lowering_hints": {
"properties": {
"nodeId": {
"description": "Node ID (optional, defaults to module root)",
"type": "string"
}
},
"type": "object"
},
"whetstone_export_training_data": {
"properties": {
"format": {
"description": "Export format: 'huggingface' or 'pairs' (default: 'huggingface')",
"type": "string"
},
"languages": {
"description": "Languages to include (default: all available)",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"whetstone_generate_examples": {
"properties": {
"language": {
"description": "Programming language (python, cpp, rust, etc.)",
"type": "string"
},
"source": {
"description": "Source code to annotate",
"type": "string"
}
},
"required": [
"source",
"language"
],
"type": "object"
},
"whetstone_create_skeleton": {
"properties": {
"language": {
"description": "Target language (python, cpp, rust, etc.)",
"type": "string"
},
"name": {
"description": "Module name",
"type": "string"
}
},
"required": [
"name",
"language"
],
"type": "object"
},
"whetstone_add_skeleton_node": {
"properties": {
"automatability": {
"description": "What kind of worker should handle this",
"enum": [
"deterministic",
"template",
"slm",
"llm",
"human"
],
"type": "string"
},
"blockedBy": {
"description": "Task names this depends on",
"items": {
"type": "string"
},
"type": "array"
},
"contextWidth": {
"description": "How much context needed",
"enum": [
"local",
"file",
"project",
"cross-project"
],
"type": "string"
},
"methods": {
"description": "Method names (for classes)",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Function or class name",
"type": "string"
},
"nodeType": {
"description": "Type of skeleton node",
"enum": [
"function",
"class"
],
"type": "string"
},
"parameters": {
"description": "Parameter names (for functions)",
"items": {
"type": "string"
},
"type": "array"
},
"priority": {
"description": "Task priority",
"enum": [
"critical",
"high",
"medium",
"low"
],
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"whetstone_get_project_model": {
"properties": {},
"type": "object"
},
"whetstone_infer_annotations": {
"properties": {},
"type": "object"
},
"whetstone_create_workflow": {
"properties": {
"projectName": {
"description": "Name for the workflow project",
"type": "string"
}
},
"required": [
"projectName"
],
"type": "object"
},
"whetstone_get_workflow_state": {
"properties": {},
"type": "object"
},
"whetstone_get_ready_tasks": {
"properties": {},
"type": "object"
},
"whetstone_get_work_item": {
"properties": {
"itemId": {
"description": "Work item ID",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_assign_task": {
"properties": {
"assignee": {
"description": "Worker identifier",
"type": "string"
},
"itemId": {
"description": "Work item ID to assign",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_complete_task": {
"properties": {
"itemId": {
"description": "Work item ID to complete",
"type": "string"
},
"result": {
"properties": {
"confidence": {
"description": "Confidence score 0.0-1.0",
"type": "number"
},
"generatedCode": {
"description": "Generated code output",
"type": "string"
},
"reasoning": {
"description": "Explanation of decisions",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_reject_task": {
"properties": {
"itemId": {
"description": "Work item ID to reject",
"type": "string"
},
"reason": {
"description": "Rejection reason/feedback",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_save_workflow": {
"properties": {},
"type": "object"
},
"whetstone_route_task": {
"properties": {
"itemId": {
"description": "Work item ID to route",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_route_all_ready": {
"properties": {},
"type": "object"
},
"whetstone_execute_task": {
"properties": {
"itemId": {
"description": "Work item ID to execute",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_get_routing_explanation": {
"properties": {
"itemId": {
"description": "Work item ID to explain",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_orchestrate_step": {
"properties": {},
"type": "object"
},
"whetstone_orchestrate_advance": {
"properties": {},
"type": "object"
},
"whetstone_orchestrate_run_deterministic": {
"properties": {},
"type": "object"
},
"whetstone_get_blockers": {
"properties": {},
"type": "object"
},
"whetstone_get_progress": {
"properties": {},
"type": "object"
},
"whetstone_submit_result": {
"properties": {
"itemId": {
"description": "Workflow item ID receiving external output",
"type": "string"
},
"result": {
"properties": {
"astJson": {
"type": "object"
},
"confidence": {
"type": "number"
},
"diagnostics": {
"items": {
"type": "object"
},
"type": "array"
},
"generatedCode": {
"type": "string"
},
"reasoning": {
"type": "string"
},
"tokensBudget": {
"type": "integer"
},
"tokensGenerated": {
"type": "integer"
}
},
"type": "object"
}
},
"required": [
"itemId",
"result"
],
"type": "object"
},
"whetstone_get_event_stream": {
"properties": {
"sinceVersion": {
"description": "Return events with version > sinceVersion",
"type": "integer"
}
},
"type": "object"
},
"whetstone_get_recent_events": {
"properties": {
"count": {
"description": "How many most-recent events to return (default 20)",
"type": "integer"
}
},
"type": "object"
},
"whetstone_get_review_queue": {
"properties": {},
"type": "object"
},
"whetstone_get_review_context": {
"properties": {
"itemId": {
"description": "Review item ID",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_approve_item": {
"properties": {
"feedback": {
"description": "Optional reviewer note",
"type": "string"
},
"itemId": {
"description": "Review item ID",
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"whetstone_reject_item": {
"properties": {
"feedback": {
"description": "Required rejection feedback",
"type": "string"
},
"itemId": {
"description": "Review item ID",
"type": "string"
}
},
"required": [
"itemId",
"feedback"
],
"type": "object"
},
"whetstone_set_review_policy": {
"properties": {
"policy": {
"properties": {
"autoApproveRules": {
"items": {
"type": "object"
},
"type": "array"
},
"defaultAction": {
"enum": [
"require-review",
"auto-approve"
],
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"whetstone_get_review_policy": {
"properties": {},
"type": "object"
},
"whetstone_architect_intake": {
"properties": {
"markdown": {
"description": "Markdown specification text.",
"type": "string"
}
},
"required": [
"markdown"
],
"type": "object"
},
"whetstone_generate_taskitems": {
"properties": {
"conflicts": {
"description": "Optional requirement conflicts from whetstone_architect_intake.",
"type": "array"
},
"normalizedRequirements": {
"description": "Normalized requirements from whetstone_architect_intake.",
"type": "array"
}
},
"required": [
"normalizedRequirements"
],
"type": "object"
},
"whetstone_queue_ready": {
"properties": {
"normalizedRequirements": {
"description": "Normalized requirements (needed for acceptance-coverage binding).",
"type": "array"
},
"tasks": {
"description": "Annotated taskitems from whetstone_generate_taskitems.",
"type": "array"
}
},
"required": [
"tasks"
],
"type": "object"
},
"whetstone_set_workspace": {
"properties": {
"language": {
"description": "Default language for new operations.",
"type": "string"
},
"workspace": {
"description": "Workspace root path.",
"type": "string"
}
},
"required": [
"workspace",
"language"
],
"type": "object"
},
"whetstone_schema_to_cpp": {
"properties": {
"header_name": {
"description": "Output header filename, e.g. 'EnergyContext.h'.",
"type": "string"
},
"schema": {
"description": "JSON Schema with 'title' and 'properties'.",
"type": "object"
},
"target_name": {
"description": "CMake INTERFACE target name, e.g. 'energy_context_types'.",
"type": "string"
}
},
"required": [
"schema",
"header_name",
"target_name"
],
"type": "object"
},
"whetstone_generate_dispatch_table": {
"properties": {
"entries": {
"description": "Array of job dispatch entries.",
"items": {
"properties": {
"executor": {
"description": "C++ callable expression, e.g. 'handleCudaTask'",
"type": "string"
},
"job_type": {
"type": "string"
},
"payload_type": {
"type": "string"
},
"required_caps": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"job_type",
"executor"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"entries"
],
"type": "object"
},
"whetstone_generate_project": {
"properties": {
"dependencies": {
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "Short project description.",
"type": "string"
},
"name": {
"description": "Project name.",
"type": "string"
}
},
"required": [
"name",
"description"
],
"type": "object"
},
"whetstone_generate_inference_job": {
"properties": {
"bounty": {
"type": "string"
},
"entropy_score": {
"type": "integer"
},
"files": {
"items": {
"type": "string"
},
"type": "array"
},
"goal": {
"type": "string"
}
},
"required": [
"goal",
"entropy_score",
"files"
],
"type": "object"
},
"whetstone_assemble_context": {
"properties": {
"files": {
"description": "List of slice requests.",
"items": {
"properties": {
"head_lines": {
"description": "Head fallback line count (default 40).",
"type": "integer"
},
"line_hint": {
"description": "Line number hint (optional).",
"type": "integer"
},
"path": {
"description": "File path relative to workspace.",
"type": "string"
},
"symbol": {
"description": "Symbol name to extract (optional).",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"type": "array"
},
"max_tokens": {
"description": "Token budget (default 8000).",
"type": "integer"
}
},
"required": [
"files"
],
"type": "object"
},
"whetstone_validate_taskitem": {
"properties": {
"taskitems": {
"description": "One or more taskitems to validate.",
"items": {
"properties": {
"confidence": {
"type": "integer"
},
"dependency_task_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"prerequisite_ops": {
"items": {
"type": "string"
},
"type": "array"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"task_id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"task_id"
],
"type": "object"
},
"type": "array"
},
"workspace": {
"description": "Workspace root path for file resolution.",
"type": "string"
}
},
"required": [
"taskitems"
],
"type": "object"
},
"whetstone_start_recording": {
"properties": {
"session_id": {
"description": "Unique session identifier.",
"type": "string"
},
"task_description": {
"description": "Task being executed in this session.",
"type": "string"
}
},
"required": [
"session_id",
"task_description"
],
"type": "object"
},
"whetstone_get_metrics": {
"properties": {
"baseline": {
"description": "Optional baseline SessionRecord JSON.",
"type": "object"
},
"baseline_quality": {
"description": "Baseline quality rating if baseline is provided.",
"type": "integer"
},
"quality_rating": {
"description": "Quality rating (0-100) for this session.",
"type": "integer"
},
"session_id": {
"type": "string"
}
},
"required": [
"session_id"
],
"type": "object"
},
"whetstone_get_language_matrix": {
"properties": {
"language": {
"description": "Optional single-language filter.",
"type": "string"
},
"strict": {
"description": "Validate required capability fields strictly.",
"type": "boolean"
}
},
"type": "object"
},
"whetstone_get_porting_contract": {
"properties": {
"overrides": {
"type": "object"
},
"sourceLanguage": {
"type": "string"
},
"targetLanguage": {
"type": "string"
}
},
"required": [
"sourceLanguage",
"targetLanguage"
],
"type": "object"
},
"whetstone_analyze_rust_semantics": {
"properties": {
"source": {
"description": "Rust source code to analyze.",
"type": "string"
},
"strict": {
"description": "Fail closed on unsupported macro boundaries.",
"type": "boolean"
}
},
"required": [
"source"
],
"type": "object"
},
"whetstone_generate_cpp_from_ir": {
"properties": {
"ir": {
"description": "SemanticCoreIR packet.",
"type": "object"
},
"profile": {
"description": "safe-first|perf-first|interop-first",
"type": "string"
},
"projectName": {
"type": "string"
}
},
"required": [
"ir"
],
"type": "object"
},
"whetstone_verify_executable_equivalence": {
"properties": {
"fuzz_seeds": {
"type": "array"
},
"property_trials": {
"type": "integer"
},
"vectors": {
"type": "array"
}
},
"required": [
"vectors"
],
"type": "object"
},
"whetstone_run_porting_gates": {
"properties": {
"benchmarks": {
"type": "array"
},
"dependencies": {
"type": "array"
},
"sanitizer": {
"type": "object"
},
"security_findings": {
"type": "array"
},
"thresholds": {
"type": "object"
},
"waivers": {
"type": "object"
}
},
"type": "object"
},
"whetstone_transpile_systems_family": {
"properties": {
"profile": {
"type": "string"
},
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"target_language": {
"type": "string"
}
},
"required": [
"source_language",
"target_language",
"source"
],
"type": "object"
},
"whetstone_transpile_dynamic_family": {
"properties": {
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"strictness": {
"type": "string"
}
},
"required": [
"source_language",
"source"
],
"type": "object"
},
"whetstone_transpile_managed_family": {
"properties": {
"profile": {
"type": "string"
},
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"target_language": {
"type": "string"
}
},
"required": [
"source_language",
"target_language",
"source"
],
"type": "object"
},
"whetstone_transpile_ast_native_family": {
"properties": {
"profile": {
"type": "string"
},
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"target_language": {
"type": "string"
}
},
"required": [
"source_language",
"target_language",
"source"
],
"type": "object"
},
"whetstone_transpile_logic_actor_family": {
"properties": {
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"target_language": {
"type": "string"
}
},
"required": [
"source_language",
"target_language",
"source"
],
"type": "object"
},
"whetstone_transpile_query_family": {
"properties": {
"profile": {
"type": "string"
},
"query": {
"type": "string"
},
"source_dialect": {
"type": "string"
},
"target_dialect": {
"type": "string"
}
},
"required": [
"source_dialect",
"target_dialect",
"query"
],
"type": "object"
},
"whetstone_transpile_low_level_family": {
"properties": {
"source": {
"type": "string"
},
"source_language": {
"type": "string"
},
"target_language": {
"type": "string"
}
},
"required": [
"source_language",
"source",
"target_language"
],
"type": "object"
},
"whetstone_ingest_legacy_to_ir": {
"properties": {
"api": {
"type": "string"
},
"files": [
[
"type",
"array",
"items",
[
"type",
"string"
]
]
],
"source": {
"type": "string"
}
},
"required": [
"source"
],
"type": "object"
},
"whetstone_capture_failure_packet": {
"properties": {
"command": {
"type": "string"
},
"cwd": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"command"
],
"type": "object"
},
"whetstone_debug_until_green": {
"properties": {
"apply_patches": {
"type": "boolean"
},
"command": {
"type": "string"
},
"context_budget": {
"type": "string"
},
"max_iterations": {
"type": "integer"
}
},
"required": [
"command"
],
"type": "object"
},
"whetstone_cluster_failures": {
"properties": {
"packets": {
"type": "array"
}
},
"required": [
"packets"
],
"type": "object"
},
"whetstone_assemble_fix_context": {
"properties": {
"mode": {
"type": "string"
},
"slices": {
"type": "array"
}
},
"required": [
"slices"
],
"type": "object"
},
"whetstone_propose_patch_for_failure": {
"properties": {
"cluster": {
"type": "object"
},
"context": {
"type": "object"
},
"test_target": {
"type": "string"
}
},
"required": [
"cluster",
"context"
],
"type": "object"
},
"whetstone_save_repro_packet": {
"properties": {
"packet": {
"type": "object"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"packet"
],
"type": "object"
},
"whetstone_replay_repro_packet": {
"properties": {
"current_packet": {
"type": "object"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"current_packet"
],
"type": "object"
},
"whetstone_regression_guard": {
"properties": {
"failing_target": {
"type": "string"
},
"step_id": {
"type": "integer"
},
"touched_files": {
"type": "array"
}
},
"required": [
"step_id"
],
"type": "object"
},
"whetstone_export_repro_jsonl": {
"properties": {
"packets": {
"type": "array"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"packets"
],
"type": "object"
},
"whetstone_get_debug_metrics": {
"properties": {
"accepted_patches": {
"type": "integer"
},
"duration_ms": {
"type": "integer"
},
"iterations": {
"type": "integer"
},
"proposed_patches": {
"type": "integer"
},
"regressions": {
"type": "integer"
},
"root_cause_count": {
"type": "integer"
},
"session_id": {
"type": "string"
},
"symptom_count": {
"type": "integer"
},
"token_cost": {
"type": "integer"
},
"total_runs": {
"type": "integer"
}
},
"required": [
"session_id"
],
"type": "object"
},
"whetstone_get_slm_debug_readiness": {
"properties": {
"metrics": {
"type": "object"
}
},
"required": [
"metrics"
],
"type": "object"
},
"whetstone_validate_patch_proposal": {
"properties": {
"allowed_files": {
"type": "array"
},
"proposal": {
"type": "object"
}
},
"required": [
"proposal",
"allowed_files"
],
"type": "object"
},
"whetstone_dry_run_patch": {
"properties": {
"diff": {
"type": "string"
}
},
"required": [
"diff"
],
"type": "object"
},
"whetstone_apply_patch_packet": {
"properties": {
"diff": {
"type": "string"
},
"proposal_id": {
"type": "string"
}
},
"required": [
"proposal_id",
"diff"
],
"type": "object"
},
"whetstone_rollback_last_patch": {
"properties": {
"ledger_path": {
"type": "string"
}
},
"type": "object"
},
"whetstone_run_bisect_debug": {
"properties": {
"proposal_ids": {
"type": "array"
}
},
"required": [
"proposal_ids"
],
"type": "object"
},
"whetstone_start_debug_campaign": {
"properties": {
"apply_patches": {
"type": "boolean"
},
"budget_mode": {
"type": "string"
},
"max_iterations_per_target": {
"type": "integer"
},
"name": {
"type": "string"
},
"targets": {
"type": "array"
}
},
"required": [
"name",
"targets"
],
"type": "object"
},
"whetstone_step_debug_campaign": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_get_debug_campaign_status": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_stop_debug_campaign": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_save_campaign_checkpoint": {
"properties": {
"campaign_id": {
"type": "string"
},
"notes": {
"type": "string"
},
"sequence": {
"type": "integer"
}
},
"required": [
"campaign_id",
"sequence"
],
"type": "object"
},
"whetstone_list_campaign_checkpoints": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_resume_debug_campaign": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_export_debug_campaign_bundle": {
"properties": {
"campaign_id": {
"type": "string"
}
},
"required": [
"campaign_id"
],
"type": "object"
},
"whetstone_generate_debug_hints": {
"properties": {
"context": {
"type": "array"
},
"failure_class": {
"type": "string"
}
},
"required": [
"failure_class"
],
"type": "object"
},
"whetstone_score_failure_triage": {
"properties": {
"blast_radius": {
"type": "integer"
},
"failure_class": {
"type": "string"
},
"reproducibility": {
"type": "integer"
},
"severity": {
"type": "integer"
}
},
"required": [
"failure_class"
],
"type": "object"
},
"whetstone_reduce_repro_command": {
"properties": {
"command": {
"type": "string"
},
"removable_flags": {
"type": "array"
}
},
"required": [
"command"
],
"type": "object"
},
"whetstone_label_patch_risk": {
"properties": {
"adds_unsafe_pattern": {
"type": "boolean"
},
"core_path_touched": {
"type": "boolean"
},
"files_touched": {
"type": "integer"
},
"line_changes": {
"type": "integer"
}
},
"type": "object"
},
"whetstone_get_debug_recipe": {
"properties": {
"failure_class": {
"type": "string"
}
},
"required": [
"failure_class"
],
"type": "object"
},
"whetstone_validate_debug_action": {
"properties": {
"action": {
"type": "string"
},
"bypasses_tests": {
"type": "boolean"
},
"changes_many_files": {
"type": "boolean"
},
"touches_forbidden_path": {
"type": "boolean"
}
},
"required": [
"action"
],
"type": "object"
},
"whetstone_record_debug_trace": {
"properties": {
"action": {
"type": "string"
},
"index": {
"type": "integer"
},
"status": {
"type": "string"
},
"trace_id": {
"type": "string"
}
},
"required": [
"trace_id",
"index",
"action",
"status"
],
"type": "object"
},
"whetstone_get_debug_trace": {
"properties": {
"trace_id": {
"type": "string"
}
},
"required": [
"trace_id"
],
"type": "object"
},
"whetstone_get_debug_constraints": {
"properties": {
"mode": {
"type": "string"
}
},
"type": "object"
},
"whetstone_estimate_debug_budget": {
"properties": {
"complexity": {
"type": "integer"
},
"failing_targets": {
"type": "integer"
},
"profile": {
"type": "string"
}
},
"type": "object"
},
"whetstone_get_recovery_advice": {
"properties": {
"stop_reason": {
"type": "string"
}
},
"required": [
"stop_reason"
],
"type": "object"
},
"whetstone_classify_debug_stop_reason": {
"properties": {
"budget_exceeded": {
"type": "boolean"
},
"patch_rejected": {
"type": "boolean"
},
"policy_violation": {
"type": "boolean"
},
"tests_failing": {
"type": "boolean"
}
},
"type": "object"
},
"whetstone_get_debug_checklist": {
"properties": {
"failure_class": {
"type": "string"
},
"session_id": {
"type": "string"
}
},
"type": "object"
},
"whetstone_mark_debug_checklist_item": {
"properties": {
"done": {
"type": "boolean"
},
"index": {
"type": "integer"
},
"session_id": {
"type": "string"
}
},
"required": [
"session_id",
"index"
],
"type": "object"
},
"whetstone_build_debug_handoff": {
"properties": {
"next_actions": {
"type": "array"
},
"session_id": {
"type": "string"
},
"summary": {
"type": "string"
}
},
"required": [
"session_id"
],
"type": "object"
},
"whetstone_get_debug_evidence_index": {
"properties": {
"session_id": {
"type": "string"
}
},
"required": [
"session_id"
],
"type": "object"
},
"whetstone_review_porting_decision": {
"properties": {
"decision": {
"type": "string"
},
"issue_id": {
"type": "string"
},
"policy_pack": {
"type": "string"
},
"rationale": {
"type": "string"
},
"reviewer": {
"type": "string"
},
"waiver_scope": {
"type": "string"
}
},
"required": [
"issue_id",
"reviewer",
"decision",
"rationale"
],
"type": "object"
},
"whetstone_get_transpile_support_matrix": {
"properties": {
"tier": {
"description": "Filter by tier: stable, beta, experimental, or all (default)",
"type": "string"
}
},
"type": "object"
},
"whetstone_run_certification_cycle": {
"properties": {
"cycle_id": {
"description": "Cycle identifier (required)",
"type": "string"
},
"pairs": {
"description": "Optional list of pair IDs",
"type": "array"
},
"strategy": {
"description": "Selection strategy (default: hot_pairs)",
"type": "string"
}
},
"required": [
"cycle_id"
],
"type": "object"
},
"whetstone_get_certification_status": {
"properties": {
"pair_id": {
"description": "Optional pair ID filter",
"type": "string"
}
},
"type": "object"
},
"whetstone_get_failure_trends": {
"properties": {
"limit": {
"type": "integer"
},
"pair_id": {
"type": "string"
}
},
"type": "object"
},
"whetstone_get_top_adapter_gaps": {
"properties": {
"tier": {
"type": "string"
},
"top_n": {
"type": "integer"
}
},
"type": "object"
},
"whetstone_get_adapter_hints": {
"properties": {
"features": {
"type": "array"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_set_hint_policy": {
"properties": {
"pair_id": {
"type": "string"
},
"policy": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"pair_id",
"policy"
],
"type": "object"
},
"whetstone_plan_transpilation_run": {
"properties": {
"ambiguity_score": {
"type": "number"
},
"budget_limit": {
"type": "number"
},
"lines_of_code": {
"type": "integer"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_estimate_porting_cost": {
"properties": {
"ambiguity_score": {
"type": "number"
},
"lines_of_code": {
"type": "integer"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_enqueue_pair_upgrade": {
"properties": {
"entry_id": {
"type": "string"
},
"pair_id": {
"type": "string"
},
"priority": {
"type": "string"
}
},
"required": [
"pair_id",
"priority"
],
"type": "object"
},
"whetstone_get_upgrade_queue": {
"properties": {
"limit": {
"type": "integer"
}
},
"required": [],
"type": "object"
},
"whetstone_get_runtime_assumptions": {
"properties": {
"patterns": {
"items": {
"type": "string"
},
"type": "array"
},
"runtime_id": {
"type": "string"
}
},
"required": [
"runtime_id"
],
"type": "object"
},
"whetstone_set_runtime_profile": {
"properties": {
"pair_id": {
"type": "string"
},
"runtime_id": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"pair_id",
"runtime_id"
],
"type": "object"
},
"whetstone_plan_migration_path": {
"properties": {
"pair_id": {
"type": "string"
},
"risk_score": {
"type": "number"
},
"source_runtime": {
"type": "string"
},
"target_runtime": {
"type": "string"
}
},
"required": [
"pair_id",
"source_runtime",
"target_runtime"
],
"type": "object"
},
"whetstone_track_migration_progress": {
"properties": {
"action": {
"type": "string"
},
"pair_id": {
"type": "string"
},
"total_steps": {
"type": "integer"
}
},
"required": [
"pair_id",
"action"
],
"type": "object"
},
"whetstone_run_pair_benchmark": {
"properties": {
"pair_id": {
"type": "string"
},
"seed": {
"type": "integer"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_get_pair_scorecard": {
"properties": {
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_set_tenant_policy": {
"properties": {
"enabled_gates": {
"items": {
"type": "string"
},
"type": "array"
},
"risk_tier": {
"type": "string"
},
"tenant_id": {
"type": "string"
}
},
"required": [
"tenant_id"
],
"type": "object"
},
"whetstone_get_tenant_support_matrix": {
"properties": {
"tenant_id": {
"type": "string"
}
},
"required": [
"tenant_id"
],
"type": "object"
},
"whetstone_propose_adapter_improvements": {
"properties": {
"failure_trends": {
"items": {
"type": "string"
},
"type": "array"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_run_improvement_trial": {
"properties": {
"human_approved": {
"type": "boolean"
},
"proposal_id": {
"type": "string"
},
"seed": {
"type": "integer"
},
"stable_path": {
"type": "boolean"
}
},
"required": [
"proposal_id"
],
"type": "object"
},
"whetstone_get_api_semantics": {
"properties": {
"api_id": {
"type": "string"
},
"framework": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"api_id"
],
"type": "object"
},
"whetstone_verify_api_compatibility": {
"properties": {
"added_endpoints": {
"items": {
"type": "string"
},
"type": "array"
},
"api_id": {
"type": "string"
},
"removed_endpoints": {
"items": {
"type": "string"
},
"type": "array"
},
"strict_mode": {
"type": "boolean"
}
},
"required": [
"api_id"
],
"type": "object"
},
"whetstone_analyze_data_pipeline_semantics": {
"properties": {
"pipeline_id": {
"type": "string"
},
"sinks": {
"items": {
"type": "string"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"transforms": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"pipeline_id"
],
"type": "object"
},
"whetstone_verify_data_pipeline_migration": {
"properties": {
"added_fields": {
"items": {
"type": "string"
},
"type": "array"
},
"pipeline_id": {
"type": "string"
},
"removed_fields": {
"items": {
"type": "string"
},
"type": "array"
},
"strict_mode": {
"type": "boolean"
}
},
"required": [
"pipeline_id"
],
"type": "object"
},
"whetstone_get_realtime_constraints": {
"properties": {
"deadline_ms": {
"type": "number"
},
"jitter_ms": {
"type": "number"
},
"period_ms": {
"type": "number"
},
"target_id": {
"type": "string"
}
},
"required": [
"target_id"
],
"type": "object"
},
"whetstone_verify_embedded_port": {
"properties": {
"baseline_ms": {
"type": "number"
},
"binary_size_kb": {
"type": "integer"
},
"candidate_ms": {
"type": "number"
},
"max_binary_size_kb": {
"type": "integer"
},
"max_timing_delta_ms": {
"type": "number"
},
"target_id": {
"type": "string"
}
},
"required": [
"target_id"
],
"type": "object"
},
"whetstone_verify_financial_migration": {
"properties": {
"available_policies": {
"items": {
"type": "string"
},
"type": "array"
},
"domain": {
"type": "string"
},
"required_policies": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"domain"
],
"type": "object"
},
"whetstone_get_compliance_evidence": {
"properties": {
"domain": {
"type": "string"
},
"observed_events": {
"items": {
"type": "string"
},
"type": "array"
},
"required_events": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"domain"
],
"type": "object"
},
"whetstone_verify_scientific_migration": {
"properties": {
"baseline_values": {
"items": {
"type": "number"
},
"type": "array"
},
"candidate_values": {
"items": {
"type": "number"
},
"type": "array"
},
"max_error_delta": {
"type": "number"
},
"seed_locked": {
"type": "boolean"
},
"workload_id": {
"type": "string"
}
},
"required": [
"workload_id"
],
"type": "object"
},
"whetstone_get_numerical_risk_report": {
"properties": {
"mixed_precision": {
"type": "boolean"
},
"non_deterministic_math": {
"type": "boolean"
},
"unstable_reduction": {
"type": "boolean"
}
},
"required": [],
"type": "object"
},
"whetstone_verify_simulation_port": {
"properties": {
"loop_id": {
"type": "string"
},
"strict_mode": {
"type": "boolean"
}
},
"required": [
"loop_id"
],
"type": "object"
},
"whetstone_get_determinism_risks": {
"properties": {
"cross_platform_targets": {
"type": "boolean"
},
"mixed_precision": {
"type": "boolean"
},
"uses_fast_math": {
"type": "boolean"
}
},
"required": [],
"type": "object"
},
"whetstone_get_transpilation_slo_status": {
"properties": {
"availability": {
"type": "number"
},
"latency_p95_ms": {
"type": "integer"
},
"pair_id": {
"type": "string"
},
"quality": {
"type": "number"
},
"repeated_breach": {
"type": "boolean"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_trigger_porting_incident_drill": {
"properties": {
"drill_passed": {
"type": "boolean"
},
"mttr_minutes": {
"type": "integer"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_plan_rollout_stage": {
"properties": {
"criticality": {
"type": "string"
},
"impacted_users_pct": {
"type": "integer"
},
"provided_approvals": {
"items": {
"type": "string"
},
"type": "array"
},
"rollout_id": {
"type": "string"
},
"stage": {
"type": "string"
}
},
"required": [
"rollout_id"
],
"type": "object"
},
"whetstone_execute_rollout_or_rollback": {
"properties": {
"execute_rollback": {
"type": "boolean"
},
"incident_count": {
"type": "integer"
},
"observed_rollback_minutes": {
"type": "integer"
},
"rollback_count": {
"type": "integer"
},
"rollout_id": {
"type": "string"
},
"success_rate": {
"type": "integer"
}
},
"required": [
"rollout_id"
],
"type": "object"
},
"whetstone_list_best_practice_packs": {
"properties": {
"domain": {
"type": "string"
},
"include_quarantined": {
"type": "boolean"
}
},
"required": [
"domain"
],
"type": "object"
},
"whetstone_apply_best_practice_pack": {
"properties": {
"high_severity_findings": {
"type": "integer"
},
"pack_id": {
"type": "string"
},
"target_tenant": {
"type": "string"
},
"unresolved_findings": {
"type": "boolean"
}
},
"required": [
"pack_id"
],
"type": "object"
},
"whetstone_get_lts_support_matrix": {
"properties": {
"cert_pass_rate": {
"type": "integer"
},
"governance_compliant": {
"type": "boolean"
},
"pair_id": {
"type": "string"
},
"regression_count": {
"type": "integer"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_plan_deprecation_or_upgrade": {
"properties": {
"obsolete": {
"type": "boolean"
},
"open_high_risks": {
"type": "integer"
},
"pair_id": {
"type": "string"
},
"unstable": {
"type": "boolean"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_list_plugins": {
"properties": {
"include_disabled": {
"type": "boolean"
}
},
"required": [],
"type": "object"
},
"whetstone_install_or_disable_plugin": {
"properties": {
"action": {
"type": "string"
},
"certified": {
"type": "boolean"
},
"plugin_id": {
"type": "string"
},
"signed": {
"type": "boolean"
}
},
"required": [
"plugin_id"
],
"type": "object"
},
"whetstone_register_external_verifier": {
"properties": {
"base_trust": {
"type": "integer"
},
"provider": {
"type": "string"
},
"recency_weight": {
"type": "integer"
},
"reliability_weight": {
"type": "integer"
},
"verifier_id": {
"type": "string"
}
},
"required": [
"verifier_id"
],
"type": "object"
},
"whetstone_get_federated_verification_report": {
"properties": {
"bundle_id": {
"type": "string"
},
"confidence_score": {
"type": "integer"
},
"evidence_count": {
"type": "integer"
},
"verifier_count": {
"type": "integer"
}
},
"required": [
"bundle_id"
],
"type": "object"
},
"whetstone_get_spec_versions": {
"properties": {
"requested_version": {
"type": "string"
},
"spec_id": {
"type": "string"
}
},
"required": [
"spec_id"
],
"type": "object"
},
"whetstone_run_spec_conformance": {
"properties": {
"failed": {
"type": "integer"
},
"suite_id": {
"type": "string"
},
"test_count": {
"type": "integer"
}
},
"required": [
"suite_id"
],
"type": "object"
},
"whetstone_get_semantic_diff": {
"properties": {
"added": {
"type": "integer"
},
"diff_id": {
"type": "string"
},
"modified": {
"type": "integer"
},
"removed": {
"type": "integer"
}
},
"required": [
"diff_id"
],
"type": "object"
},
"whetstone_explain_transpilation_decision": {
"properties": {
"policy": {
"type": "string"
},
"trace_id": {
"type": "string"
},
"uncertainty": {
"type": "integer"
}
},
"required": [
"trace_id"
],
"type": "object"
},
"whetstone_generate_safety_case": {
"properties": {
"case_id": {
"type": "string"
},
"claim_count": {
"type": "integer"
},
"evidence_count": {
"type": "integer"
}
},
"required": [
"case_id"
],
"type": "object"
},
"whetstone_get_residual_risks": {
"properties": {
"high_risks": {
"type": "integer"
},
"medium_risks": {
"type": "integer"
},
"model_id": {
"type": "string"
}
},
"required": [
"model_id"
],
"type": "object"
},
"whetstone_start_onboarding_path": {
"properties": {
"path_id": {
"type": "string"
},
"required_modules": {
"type": "integer"
},
"role": {
"type": "string"
}
},
"required": [
"path_id"
],
"type": "object"
},
"whetstone_get_learning_progress": {
"properties": {
"baseline": {
"type": "integer"
},
"current": {
"type": "integer"
},
"learner_id": {
"type": "string"
}
},
"required": [
"learner_id"
],
"type": "object"
},
"whetstone_get_region_policy_profile": {
"properties": {
"base_policy": {
"type": "string"
},
"region": {
"type": "string"
}
},
"required": [
"region"
],
"type": "object"
},
"whetstone_generate_localized_migration_report": {
"properties": {
"locale": {
"type": "string"
},
"report_id": {
"type": "string"
},
"source_region": {
"type": "string"
},
"target_region": {
"type": "string"
}
},
"required": [
"report_id"
],
"type": "object"
},
"whetstone_get_pair_stability_forecast": {
"properties": {
"horizon_days": {
"type": "integer"
},
"instability_score": {
"type": "integer"
},
"pair_id": {
"type": "string"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_plan_preventive_maintenance": {
"properties": {
"pair_id": {
"type": "string"
},
"risk_score": {
"type": "integer"
},
"trigger_met": {
"type": "boolean"
}
},
"required": [
"pair_id"
],
"type": "object"
},
"whetstone_get_program_kpis": {
"properties": {
"kpi_id": {
"type": "string"
}
},
"required": [
"kpi_id"
],
"type": "object"
},
"whetstone_run_meta_evaluation": {
"properties": {
"evaluation_id": {
"type": "string"
},
"team_a_score": {
"type": "integer"
},
"team_b_score": {
"type": "integer"
}
},
"required": [
"evaluation_id"
],
"type": "object"
},
"whetstone_get_governance_state": {
"properties": {
"refresh_id": {
"type": "string"
}
},
"required": [
"refresh_id"
],
"type": "object"
},
"whetstone_publish_roadmap_epoch": {
"properties": {
"epoch": {
"type": "string"
},
"plan_id": {
"type": "string"
}
},
"required": [
"epoch"
],
"type": "object"
},
"whetstone_marketplace_search": {
"properties": {
"catalog_id": {
"type": "string"
},
"tenant_id": {
"type": "string"
}
},
"required": [
"catalog_id"
],
"type": "object"
},
"whetstone_get_artifact_trust_report": {
"properties": {
"artifact_id": {
"type": "string"
}
},
"required": [
"artifact_id"
],
"type": "object"
},
"whetstone_run_interop_testbed": {
"properties": {
"manifest_id": {
"type": "string"
},
"vendor_id": {
"type": "string"
}
},
"required": [
"manifest_id"
],
"type": "object"
},
"whetstone_get_reference_conformance_report": {
"properties": {
"manifest_id": {
"type": "string"
},
"vendor_id": {
"type": "string"
}
},
"required": [
"vendor_id"
],
"type": "object"
},
"whetstone_get_portfolio_economics": {},
"whetstone_plan_budget_allocation": {},
"whetstone_get_execution_attestation": {},
"whetstone_set_zero_trust_policy": {},
"whetstone_get_review_load_status": {},
"whetstone_optimize_review_queue": {},
"whetstone_query_transpile_graph": {},
"whetstone_get_related_migration_patterns": {},
"whetstone_generate_patch_candidates": {},
"whetstone_validate_patch_candidate": {},
"whetstone_attach_multimodal_evidence": {},
"whetstone_verify_architecture_consistency": {},
"whetstone_run_continuity_drill": {},
"whetstone_get_recovery_readiness": {},
"whetstone_get_century_status": {},
"whetstone_publish_next_epoch_plan": {},
"whetstone_get_epoch_workstreams": {},
"whetstone_set_workstream_capacity": {},
"whetstone_plan_swarm_maintenance": {},
"whetstone_get_swarm_maintenance_status": {},
"whetstone_list_verified_patterns": {},
"whetstone_apply_verified_pattern": {},
"whetstone_plan_polyglot_migration": {},
"whetstone_get_polyglot_cutover_readiness": {},
"whetstone_propose_policy_tuning": {},
"whetstone_validate_policy_tuning": {},
"whetstone_extract_api_abi_contract": {},
"whetstone_verify_api_abi_compat": {},
"whetstone_get_safety_profile_requirements": {},
"whetstone_verify_safety_profile_compliance": {},
"whetstone_list_migration_templates": {},
"whetstone_start_guided_migration": {},
"whetstone_get_debt_inventory": {},
"whetstone_plan_debt_burndown": {},
"whetstone_get_epoch_block_status": {},
"whetstone_publish_next_block_plan": {},
"whetstone_start_iteration_session": {},
"whetstone_record_attempt": {},
"whetstone_get_session_state": {},
"whetstone_snapshot_environment": {},
"whetstone_diff_environments": {},
"whetstone_parse_build_output": {},
"whetstone_suggest_build_fix": {},
"whetstone_run_build_iteration": {},
"whetstone_parse_test_output": {},
"whetstone_suggest_test_fix": {},
"whetstone_run_test_iteration": {},
"whetstone_derive_requirements": {},
"whetstone_generate_setup_script": {},
"whetstone_verify_requirements": {},
"whetstone_start_feedback_loop": {},
"whetstone_step_feedback_loop": {},
"whetstone_run_feedback_loop": {},
"whetstone_configure_hivemind": {},
"whetstone_submit_iteration_job": {},
"whetstone_poll_iteration_job": {},
"whetstone_capture_distributed_failure": {},
"whetstone_list_distributed_failures": {},
"whetstone_get_distributed_failure_bundle": {},
"whetstone_cluster_distributed_failures": {},
"whetstone_rank_failure_triage_actions": {},
"whetstone_get_distributed_triage_queue": {},
"whetstone_export_tool_manifest": {},
"whetstone_compare_tool_surfaces": {},
"whetstone_get_runtime_fingerprint": {},
"whetstone_check_runtime_freshness": {},
"whetstone_export_tool_contracts": {},
"whetstone_validate_tool_contracts": {},
"whetstone_probe_tool_reachability": {},
"whetstone_get_route_integrity": {},
"whetstone_capture_mcp_execution_trace": {},
"whetstone_export_mcp_replay_pack": {},
"whetstone_compare_mcp_replays": {},
"whetstone_get_tool_permissions": {},
"whetstone_validate_tool_permissions": {},
"whetstone_list_mcp_runtimes": {},
"whetstone_select_mcp_runtime": {},
"whetstone_probe_mcp_runtime_health": {},
"whetstone_capture_handoff_packet": {},
"whetstone_verify_handoff_integrity": {},
"whetstone_list_handoff_divergences": {},
"whetstone_check_tool_compatibility": {},
"whetstone_get_tool_deprecations": {},
"whetstone_plan_tool_migrations": {},
"whetstone_run_mcp_closure_gate": {},
"whetstone_get_mcp_closure_status": {},
"whetstone_get_mcp_remediation_plan": {},
"whetstone_get_authoring_mode": {},
"whetstone_set_authoring_mode": {},
"whetstone_get_mode_capabilities": {},
"whetstone_sync_text_to_ast": {},
"whetstone_get_sync_diagnostics": {},
"whetstone_get_sync_identity_report": {},
"whetstone_regenerate_text_from_ast": {},
"whetstone_preview_regenerated_diff": {},
"whetstone_get_regeneration_decisions": {},
"whetstone_detect_text_ast_conflicts": {},
"whetstone_preview_text_ast_merge": {},
"whetstone_apply_text_ast_merge": {},
"whetstone_run_cpp_constructive_step": {},
"whetstone_get_cpp_constructive_status": {},
"whetstone_run_cpp_constructive_loop": {},
"whetstone_list_language_capabilities": {},
"whetstone_get_language_contract": {},
"whetstone_validate_language_operation": {},
"whetstone_save_hybrid_checkpoint": {},
"whetstone_restore_hybrid_checkpoint": {},
"whetstone_replay_hybrid_session": {},
"whetstone_list_hybrid_language_profiles": {},
"whetstone_set_hybrid_language_profile": {},
"whetstone_get_hybrid_language_readiness": {},
"whetstone_run_hybrid_determinism_suite": {},
"whetstone_run_hybrid_performance_bench": {},
"whetstone_get_hybrid_qualification_status": {},
"whetstone_run_hybrid_ga_gate": {},
"whetstone_get_hybrid_rollout_status": {},
"whetstone_set_hybrid_rollout_stage": {},
"whetstone_list_toolchain_providers": {},
"whetstone_probe_toolchain_provider": {},
"whetstone_normalize_diagnostics": {},
"whetstone_run_constructive_step": {},
"whetstone_get_constructive_status": {},
"whetstone_run_constructive_loop": {},
"whetstone_run_constructive_replay_suite": {},
"whetstone_compare_constructive_replays": {},
"whetstone_get_determinism_gate_status": {},
"whetstone_begin_constructive_transaction": {},
"whetstone_resume_constructive_transaction": {},
"whetstone_rollback_constructive_transaction": {},
"whetstone_run_constructive_ga_gate": {},
"whetstone_get_constructive_rollout_status": {},
"whetstone_set_language_rollout_tier": {},
"whetstone_onboard_workspace": {
"properties": {
"maxFiles": {
"description": "Max key files to process (default 8, max 20)",
"type": "integer"
},
"root": {
"description": "Workspace root override (optional)",
"type": "string"
}
},
"type": "object"
}
}