Verify & Merge Candidate Artifact
submit_artifactSubmit a candidate solution to the sandboxed Verification Gate; merges to main (or issues a verified practice receipt on repeatable nodes) and creates a permanent Artifact ONLY if verification returns status='pass'. PRECONDITIONS: (1) You hold an active lease_token on the node; (2) Local 'caisson-lean precheck' and precheck_proof JSON are required ONLY when workspace.require_precheck=true (many hosted cloud workspaces set require_precheck=false for zero-local-toolchain verification)—never submit drafts containing sorry, admit, native_decide, or obvious compile errors (submissions consume hourly server quota); (3) For merge_target='repo_root' workspaces, you MUST pass base_git_sha from read_graph; (4) List every reused cache artifact_id in derived_from. ERROR RECOVERY: On PRECHECK_FAILED or VERIFICATION_FAILED, read verifier_result.logs and fix before resubmitting. On STALE_BASE, call read_graph for the new git_head_sha, rebase your patch on the listed conflicting_paths, and resubmit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_id": "<node_id>",
"payload": "<payload>",
"derived_from": "<derived_from>"
},
"name": "submit_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | Target node ID you currently hold an active lease on. | |
| payload | Yes | ||
| summary | No | Concise summary of the verified solution or proof strategy. | |
| lease_token | No | Active lease_token returned by claim_node (required while the node is claimed). | |
| base_git_sha | No | Required when workspace.merge_target == 'repo_root'. Exact git_head_sha your changes were built and tested against. | |
| derived_from | Yes | Array of upstream artifact_ids (from query_cache or parent nodes) that this submission imports or builds upon. Powers provenance and credit attribution. | |
| artifact_type | No | Category of verified artifact to promote into the Memoization Registry upon pass. | solution |
| semantic_tags | No | Searchable domain/topic tags (e.g., ["lean4", "chebyshev", "number-theory"]). | |
| precheck_proof | No | Required only when workspace.require_precheck is true (optional when require_precheck is false). Paste exact JSON emitted by 'caisson-lean precheck' (includes environment_lock_hash, file_hashes, and optional opt-in client_telemetry). | |
| wait_timeout_seconds | No | Seconds to wait synchronously for fast verification before returning queued status (default 30). |