{"at":"2026-11-23T00:53:24.968Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T00:53:25.409Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T00:53:25.510Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T00:53:25.984Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"resources":{"listChanged":false},"tools":{"listChanged":false}},"instructions":"crit builds bespoke inference engines: these tools are its command line. Read crit://AGENTS.md first; it is the workflow (recon, plan, candidate, build, eval, check, seal, select, stop) and its rules. crit_run_* keep a run's records, crit_eval_* measure, crit_pull installs a crit-hub engine, crit_serve and crit_run_serve serve one, crit_serve_status asks a running server how it is. Every command runs as a job: a call returns the command's result (its JSON output parsed) when it ends within wait_seconds, else the job, and the command keeps running. Follow a job with crit_job_wait (bounded waits; call it again until the job has ended), crit_job_output for its full logs and crit_job_stop to interrupt it as Ctrl+C would. While Eval or a build holds the GPU, do the next round's CPU work and wait on the job afterwards. A record option takes the JSON object itself or a file's path. Paths are on the machine this server runs on; give them absolute.","protocolVersion":"2025-11-25","serverInfo":{"name":"crit","title":"crit","version":"0.17.2"}}}}
{"at":"2026-11-23T00:53:25.984Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T00:53:25.984Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T00:53:25.985Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run create"},"description":"Create a run and its first segment from a request","inputSchema":{"additionalProperties":false,"properties":{"from_engine":{"description":"Start from a crit-hub engine: its engines/<owner>/<name>/ folder (card.yaml, card.lock.json, evidence/) is recorded as the run's origin_engine","type":"string"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record"],"type":"object"},"name":"crit_run_create","title":"crit run create"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run resolve"},"description":"Freeze the verified model and input identities","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record","id"],"type":"object"},"name":"crit_run_resolve","title":"crit run resolve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run plan"},"description":"Record the next candidate's plan","inputSchema":{"additionalProperties":false,"properties":{"check":{"description":"Run the plan's checks and print the record crit would store, recording nothing (the plan command of a replay)","type":"boolean"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record","id"],"type":"object"},"name":"crit_run_plan","title":"crit run plan"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run check"},"description":"Append a case's check evidence to a candidate","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"from_eval":{"description":"Instead of --record: record the arithmetic, functional and resources check of every case from the candidate's retained Eval result (default its newest). true gives --from-eval alone","type":["boolean","string"]},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","id"],"type":"object"},"name":"crit_run_check","title":"crit run check"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run benchmark"},"description":"Append a case's benchmark evidence to a candidate","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record","candidate","id"],"type":"object"},"name":"crit_run_benchmark","title":"crit run benchmark"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"crit run stop"},"description":"Stop the run with its reason, critique, headroom and cleanup","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record","id"],"type":"object"},"name":"crit_run_stop","title":"crit run stop"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run candidate"},"description":"Allocate a candidate ID and retain its source and proposal","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"label, rationale, strategy, configuration, store_decisions, parent/origin IDs. A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"source":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["source","record","id"],"type":"object"},"name":"crit_run_candidate","title":"crit run candidate"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run recon"},"description":"Gather the model's sampling, stop tokens, chat template and config into work/recon.json","inputSchema":{"additionalProperties":false,"properties":{"compare":{"description":"Instead: compare the run's model fingerprint with another checkpoint's (architecture, weight layout, tokenizer, template) and print what differs","type":"string"},"drafter":{"description":"A companion drafter to record (EAGLE-3, DFlash, DSpark or crit models drafter output); repeatable","items":{"type":"string"},"type":"array"},"force":{"description":"Gather again over an existing work/recon.json","type":"boolean"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["id"],"type":"object"},"name":"crit_run_recon","title":"crit run recon"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run capture"},"description":"Write a case's chat request (captured/CASE/request.json) that renders to the workload's prompt tokens with the template variables candidates serve","inputSchema":{"additionalProperties":false,"properties":{"case":{"default":"case-0001","type":"string"},"id":{"description":"Existing run identity","type":"string"},"inputs":{"description":"Set the case's manifest row in this resolve payload (created when missing)","type":"string"},"instruction":{"description":"Line after the text (default: a summary request; '' for none)","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"system":{"description":"A leading system message","type":"string"},"template_kwargs":{"description":"chat_template_kwargs the request renders with, over recon's frozen template_variables (text or a file)","type":"string"},"text":{"description":"File of the user message's text (default: a neutral passage); it is cut to whole words and padded to the exact count","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["id"],"type":"object"},"name":"crit_run_capture","title":"crit run capture"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run build"},"description":"Build a candidate's retained source with the recipe's build.command under a build attempt (log kept, attempt settled), then package the result","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"drop":{"description":"Remove these build-folder paths (intermediates) before packaging; repeatable","items":{"type":"string"},"type":"array"},"id":{"description":"Existing run identity","type":"string"},"no_package":{"description":"Build and settle only","type":"boolean"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"Recipe: build {toolchain, command[, dependencies]}; the build's outputs are bound as dependencies, and the package is the plugin package Core's loader runs. A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"description":"Reservation length (default: the build process cap)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","record","id"],"type":"object"},"name":"crit_run_build","title":"crit run build"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run package"},"description":"Package a candidate's runnable files and manifest","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"Recipe: build {toolchain, command[, dependencies]}. A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"source":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","source","record","id"],"type":"object"},"name":"crit_run_package","title":"crit run package"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run reserve"},"description":"Consume an attempt before a launch","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"description":"Candidate owner; omit only for discovery","type":"string"},"id":{"description":"Existing run identity","type":"string"},"operation":{"enum":["discovery","build","check","benchmark"],"type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["operation","id"],"type":"object"},"name":"crit_run_reserve","title":"crit run reserve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run settle"},"description":"Settle a reserved attempt: exit, logs, cleanup","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"record":{"description":"A JSON object (written to a file for the command) or a JSON file's path","type":["object","array","string"]},"reservation":{"description":"Reservation path relative to run","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["reservation","record","id"],"type":"object"},"name":"crit_run_settle","title":"crit run settle"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run measure"},"description":"Benchmark the run's cases on a packaged candidate through crit serve, once its checks are recorded (check --from-eval)","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"exploratory":{"description":"Measure even when the candidate's checks would leave its benchmarks exploratory (not recorded, or a required one did not pass), for telemetry or memory: a benchmark that does not qualify keeps the candidate from ever being eligible","type":"boolean"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"description":"Reservation length (default: the benchmark process cap)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","id"],"type":"object"},"name":"crit_run_measure","title":"crit run measure"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"crit run eval"},"description":"Run Eval on a packaged candidate through crit serve, quality against the run's model's scores of the fixed texts (scored once into the data)","inputSchema":{"additionalProperties":false,"properties":{"baseline":{"description":"Earlier Eval result to show KPI changes against","type":"string"},"budget_minutes":{"description":"Eval's wall-clock budget, loads included (default: crit-eval's 45)","type":"number"},"candidate":{"type":"string"},"certify":{"description":"The candidate that will ship: stage 3 whatever the budget, then one request at the run's kv_tokens, which the resources check needs. On the candidate ladder the full Eval of candidate 5 on and of the segment's last budgeted candidate, which crit run eval certifies without it","type":"boolean"},"data":{"description":"Eval data directory prepared from the run's model","type":"string"},"id":{"description":"Existing run identity","type":"string"},"label":{"type":"string"},"only":{"description":"Run only these Eval parts (repeatable); default all","items":{"enum":["speed","quality","exactness","context","heldout","history","followup"],"type":"string"},"type":"array"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"resume":{"description":"Go on from an Eval attempt that stopped (interrupted, failed, timed out, a disturbed or hung engine): its journal's requests are answered again, the engine loads for the requests left; default the candidate's newest journal. true gives --resume alone","type":["boolean","string"]},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"description":"Reservation length (default: to the segment's deadline; each request is bounded by the rates the engine measured)","type":"number"},"stage":{"description":"How far Eval measures (crit-eval's protocol stages): by default as far as its budget allows at the candidate's measured rates; 1, 2 or 3 at most that far; full every part as before stages. On the candidate ladder the candidate's rung sets it: stage 1 on candidate 2, up to stage 2 on candidates 3 and 4, a lower stage only below that","enum":["1","2","3","full"],"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","data","id"],"type":"object"},"name":"crit_run_eval","title":"crit run eval"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run serve"},"description":"Serve a packaged candidate before it is sealed through crit serve, under a check attempt, until Ctrl+C: for the checks a candidate passes before sealing","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"check":{"description":"Run the standard serving checks (consecutive requests, system message, streaming, stop string, cancelling, tool call, logprobs, template switch, stopping), keep their report and record a functional check per case, then stop","type":"boolean"},"data":{"description":"With --check: crit-eval's prepared data for the run's model; the report adds the gate pre-check (honesty of short replies and one long reply, request history, device memory, the lower context), the gates whole Eval rounds most often fail on, in minutes","type":"string"},"host":{"default":"127.0.0.1","type":"string"},"id":{"description":"Existing run identity","type":"string"},"no_smoke":{"description":"With --check: leave out crit smoke, the quality component tests --check runs at the run's context and at a quarter of it (smoke/README.md)","type":"boolean"},"port":{"default":8000,"type":"integer"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"description":"Reservation length (default: the check process cap)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","id"],"type":"object"},"name":"crit_run_serve","title":"crit run serve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run ablate"},"description":"Serve a candidate built from plugins with each variant of its plugins (as built, at its base, without each and with each alone): a short bench of the run's cases and crit smoke per variant, and what each plugin adds, costs or breaks (docs/PLUGINS.md)","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"id":{"description":"Existing run identity","type":"string"},"no_smoke":{"description":"Leave out crit smoke on each variant","type":"boolean"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"repetitions":{"default":3,"description":"Repetitions per case and variant (default 3)","type":"integer"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"seconds":{"description":"Reservation length (default: the check process cap)","type":"number"},"smoke_test":{"description":"Run only this crit smoke test on each variant (repeatable)","items":{"type":"string"},"type":"array"},"variant":{"description":"Serve only this variant (repeatable), e.g. full, base, without:ID, only:ID; crit plugins variants lists them","items":{"type":"string"},"type":"array"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","id"],"type":"object"},"name":"crit_run_ablate","title":"crit run ablate"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"crit run seal"},"description":"Close a candidate (sealed candidates are immutable)","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"failure":{"description":"Retained failure message","type":"string"},"id":{"description":"Existing run identity","type":"string"},"lifecycle":{"type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","lifecycle","id"],"type":"object"},"name":"crit_run_seal","title":"crit run seal"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"crit run select"},"description":"Select a sealed eligible candidate","inputSchema":{"additionalProperties":false,"properties":{"candidate":{"type":"string"},"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["candidate","id"],"type":"object"},"name":"crit_run_select","title":"crit run select"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run resume"},"description":"Open a new segment for more candidates, optionally amending the quality terms","inputSchema":{"additionalProperties":false,"properties":{"approved_by":{"description":"Who approved the amendment (required with --quality-budget or --exactness)","type":"string"},"attempt_limit":{"default":64,"type":"integer"},"candidates":{"description":"Candidates this segment builds (no working time budget)","type":"integer"},"exactness":{"description":"Amend the speculative exactness mode","enum":["reported","required"],"type":"string"},"external_agent_stopped":{"type":"boolean"},"id":{"description":"Existing run identity","type":"string"},"minutes":{"description":"Time-budget segment instead, or the safety window with --candidates","type":"integer"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"quality_budget":{"description":"Amend the drift budget: any of ppl_ratio_max, kld_mean_max, kld_p99_max","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["id"],"type":"object"},"name":"crit_run_resume","title":"crit run resume"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run cost"},"description":"Account the run's build cost from the agent's transcripts: wall time, tokens and API price per candidate, written to cost.json","inputSchema":{"additionalProperties":false,"properties":{"agent":{"description":"The agent and model that built the run, as the record names it","type":"string"},"id":{"description":"Existing run identity","type":"string"},"prices":{"description":"JSON object or file of {model: {input, cache_read, cache_write_5m, cache_write_1h, output}} in USD per million tokens, over the list prices","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"transcript":{"description":"A Claude Code session, Codex rollout or plain usage JSONL (repeatable)","items":{"type":"string"},"type":"array"},"until":{"description":"Count requests up to this UTC timestamp (default: the run's stop, else now)","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["transcript","id"],"type":"object"},"name":"crit_run_cost","title":"crit run cost"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit run replay"},"description":"Copy the run as it stood when a candidate's Eval finished, for an agent to say what it would do next with today's crit and crit-eval (records nothing)","inputSchema":{"additionalProperties":false,"properties":{"agent":{"description":"Start an agent on every replay at once with this command (any harness; {brief}, {folder}, {root} and {number} name the replay's), wait for all, then collect","type":"string"},"at":{"description":"The candidate whose newest completed Eval the replays start from","type":"string"},"before":{"description":"Instead: the run as it stood just before this plan was recorded (with the work done toward it since its parent's Eval, without drafts of the plan)","type":"string"},"collect":{"description":"Instead: check and list the plans the replays under --out wrote","type":"boolean"},"count":{"default":1,"description":"Replays to make, one per agent (default 1)","type":"integer"},"id":{"description":"Existing run identity","type":"string"},"out":{"description":"Folder of the replays: replay-1 ... replay-N, each a run root","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["out","id"],"type":"object"},"name":"crit_run_replay","title":"crit run replay"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit run show"},"description":"Print the run, its state and its candidates as JSON","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["id"],"type":"object"},"name":"crit_run_show","title":"crit run show"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"crit run recover"},"description":"Explicit dead-owner lease recovery and projection rebuild; never resets attempts/deadlines","inputSchema":{"additionalProperties":false,"properties":{"id":{"description":"Existing run identity","type":"string"},"project":{"description":"crit checkout the run follows, whose settings.toml it reads (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"root":{"description":"Run root; defaults to PROJECT/runs","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["id"],"type":"object"},"name":"crit_run_recover","title":"crit run recover"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"crit eval run"},"description":"Evaluate one engine (prepares the data first when missing)","inputSchema":{"additionalProperties":false,"properties":{"adapter":{"description":"Python file exporting create_eval_engine(context)","type":"string"},"adaptive_sampled":{"default":false,"description":"Repeat each sampled speed case at further seeds until its relative standard error reaches the protocol's target or its repetition cap (protocol sampled_speed.adaptive), recorded in the result; off by default: the protocol's one seed","type":"string"},"attribute_drift":{"description":"After quality, score it again on an engine opened with each of the adapter's exact_variants (one matrix group or arithmetic choice exact) and report each one's share of the drift budget","type":"boolean"},"bandwidth":{"description":"Achievable device memory bandwidth in GB/s; overrides the --device value","type":"number"},"baseline":{"description":"Earlier result of the same data to show KPI changes against","type":"string"},"budget_minutes":{"description":"The staged run's wall-clock budget, loads included (default: the protocol's 45)","type":"number"},"certify":{"description":"The candidate that will ship: stage 3 whatever the budget, then one request at the required context itself, which the capacity gate needs","type":"boolean"},"chat_template":{"description":"Chat template (jinja) to render the prompts with, for a model that carries none (default: the one crit ships for the model's family); it becomes part of the model's identity; data prepared already must have been prepared with it","type":"string"},"config":{"default":"{}","description":"JSON configuration overrides for the adapter, text or a file, over the configuration.json packaged beside it","type":"string"},"context":{"description":"Context (prompt plus output) every engine is built and measured for: the run's kv_tokens. Default: crit-eval's max context for the model on the --device","type":"integer"},"context_reserve_gib":{"description":"Device memory kept out of the KV cache when crit-eval computes the max context: activations, workspaces, graphs and speed techniques (default: settings.toml context_reserve_gib, else the protocol's reserve_gib)","type":"number"},"data":{"description":"Prepared suite directory for this model","type":"string"},"device":{"description":"Device ceilings from `crit eval probe` (bandwidth and GEMM rates)","type":"string"},"exactness":{"description":"reported (default): agreement with plain greedy is shown and the quality budget judges the output; required: any difference fails the gate","enum":["reported","required"],"type":"string"},"jitter_seed":{"description":"Draw the held-out prompts' and the long-context curve's lengths from this seed, a recorded result's jitter.seed, to measure at its lengths again (default: a new seed per run; a resumed round's from its journal; protocol jitter)","type":"integer"},"keep_disturbed":{"description":"Finish the round even when a speed case's repetitions show a disturbed device (by default the round stops there; protocol speed.disturbed_spread)","type":"boolean"},"label":{"description":"Name shown in comparisons","type":"string"},"model":{"description":"Model directory passed to the adapter","type":"string"},"no_journal":{"description":"Write no journal beside the result (by default every engine opened and request served is one line of OUT's .journal.jsonl, synced as it completes)","type":"boolean"},"only":{"description":"Run only these parts (repeatable); default is all. context: the long-context curve and retrieval up to the required context and the speed cases again at a lower context; history: the same requests on the fresh engine and after every other part; concurrency: closed-loop clients on a served engine that runs several requests at once","items":{"enum":["speed","quality","exactness","context","heldout","history","followup","concurrency"],"type":"string"},"type":"array"},"out":{"description":"Result JSON path","type":"string"},"package":{"description":"A crit engine package (plugins/ and configuration.json), which Core's eval-v1 adapter opens through Core's loader","type":"string"},"profile":{"description":"A protocol profile fixing what the run measures (protocol profiles). hub: crit-hub submissions, 200,000 tokens of context, the curve at its two ends, one engine load","enum":["hub"],"type":"string"},"quality_budget":{"description":"Drift limits over the protocol defaults, e.g. '{\"ppl_ratio_max\": 1.02}'; keys ppl_ratio_max, kld_mean_max, kld_p99_max","type":"string"},"quality_mode":{"default":"speed","description":"The quality mode: how much output drift from the checkpoint the engine may trade for speed, whatever format the checkpoint is stored in; both modes judge against the same reference (its stored weights, exact activations). speed (the default): a budget eight times preserve's that only keeps out a broken engine, output differences that part at near-ties allowed; preserve: a budget that keeps the output close to the checkpoint's","enum":["preserve","speed"],"type":"string"},"repetitions":{"description":"Override the protocol's measured repetitions","type":"integer"},"requested_context":{"description":"The longest request wanted, which caps the max context crit-eval computes without --context (default: settings.toml context_tokens, else 200,000)","type":"integer"},"resume":{"description":"Go on from a round that stopped (interrupted, crashed, a disturbed device, a hung engine): its journal (R.journal.jsonl beside its result R.json) answers the requests it served, the engine loads only for the requests left; the round's options must be the same","type":"string"},"served_model":{"description":"With --url: the model to request (default: the one the server lists)","type":"string"},"stage":{"description":"How far a run without a profile measures (protocol stages): by default as far as the budget allows at the engine's measured rates; 1, 2 or 3 at most that far; full every part at the protocol's repetitions, as before stages (--warmups and --repetitions apply to it)","enum":["1","2","3","full"],"type":"string"},"url":{"description":"Base URL of an OpenAI-compatible server the engine runs behind, for example http://127.0.0.1:8000/v1 (needs --context: the context the server was started with)","type":"string"},"vram_headroom_gib":{"description":"Device memory left free when crit-eval computes the max context (default 1)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"},"warmups":{"description":"Override the protocol's warmup runs","type":"integer"}},"required":["model","data","out"],"type":"object"},"name":"crit_eval_run","title":"crit eval run"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval precheck"},"description":"In minutes, the gates a candidate most often fails a whole round on: honesty of short replies and of one long reply, the request history around them, device memory and (with an adapter) the lower context","inputSchema":{"additionalProperties":false,"properties":{"adapter":{"description":"Python file exporting create_eval_engine(context)","type":"string"},"chat_template":{"description":"Chat template (jinja) to render the prompts with, for a model that carries none (default: the one crit ships for the model's family); it becomes part of the model's identity","type":"string"},"config":{"default":"{}","description":"JSON configuration overrides for the adapter","type":"string"},"context":{"description":"Context the engine is built for (the run's kv_tokens)","type":"integer"},"data":{"description":"Prepared suite directory for this model","type":"string"},"model":{"description":"Model directory passed to the adapter","type":"string"},"no_lower":{"description":"Skip the lower-context reopen","type":"boolean"},"out":{"description":"Write the items as JSON here","type":"string"},"package":{"description":"A crit engine package, opened through Core's loader","type":"string"},"quality_mode":{"default":"speed","description":"The run's quality mode (default speed): speed bounds honesty as Eval does and lets history part at near-ties; preserve does neither","enum":["preserve","speed"],"type":"string"},"served_model":{"description":"With --url: the model to request","type":"string"},"url":{"description":"Base URL of an OpenAI-compatible server the engine runs behind (no lower-context check: a server cannot be opened again)","type":"string"},"vram_headroom_gib":{"description":"Device memory to find free after the load (default: settings.toml vram_headroom_gib, else 1)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","data","context"],"type":"object"},"name":"crit_eval_precheck","title":"crit eval precheck"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit eval context"},"description":"The max context for a model on a device: the model's positions and the KV cache that fits next to its weights","inputSchema":{"additionalProperties":false,"properties":{"context_reserve_gib":{"description":"Device memory kept out of the KV cache for workspaces and speed techniques (default: settings.toml context_reserve_gib, else the protocol's reserve_gib)","type":"number"},"device":{"description":"Device file from `crit eval probe`","type":"string"},"drafter":{"description":"A companion drafter the engine may load beside the model; its stored weights are kept out of the KV cache (repeatable)","items":{"type":"string"},"type":"array"},"json":{"description":"Print the computation as JSON","type":"boolean"},"model":{"description":"Model directory","type":"string"},"ram_headroom_gib":{"description":"Host memory left free, for the placement scenario (default: settings.toml ram_headroom_gib, else 2)","type":"number"},"requested_context":{"description":"The longest request wanted (default: settings.toml context_tokens, else 200,000)","type":"integer"},"vram_headroom_gib":{"description":"Device memory left free (default: settings.toml vram_headroom_gib, else 1)","type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","device"],"type":"object"},"name":"crit_eval_context","title":"crit eval context"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval probe"},"description":"Measure device bandwidth and GEMM rates per weight format (needs nvcc, or hipcc on ROCm)","inputSchema":{"additionalProperties":false,"properties":{"backend":{"description":"Device API to probe (default: cuda when nvcc is found, else hip when hipcc is)","enum":["cuda","hip"],"type":"string"},"devices":{"description":"Probe several GPUs (CUDA): each one's figures and the copy rate between each pair, for multi-GPU limits (default: device 0 alone)","type":"string"},"hipcc":{"description":"hipcc to build the HIP probe with (default: PATH, ROCM_PATH, /opt/rocm*)","type":"string"},"nvcc":{"description":"nvcc to build the probe with (default: PATH, CUDA_HOME, /usr/local/cuda*)","type":"string"},"out":{"description":"Device JSON path for `run --device`","type":"string"},"repeats":{"default":3,"description":"Probe runs; each value is the median","type":"integer"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["out"],"type":"object"},"name":"crit_eval_probe","title":"crit eval probe"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit eval status"},"description":"Gates, goals, KPIs against their physical limits, gaps and missing inputs","inputSchema":{"additionalProperties":false,"properties":{"baseline":{"description":"Earlier result to show KPI changes against","type":"string"},"data":{"description":"The data directory the result was measured on: its model arithmetic prices prefill for a result that does not record it","type":"string"},"device":{"description":"Price prefill and time to first token with this `crit eval probe` result's rates instead of the result's own device","type":"string"},"json":{"description":"Print the status as JSON","type":"boolean"},"kernels":{"description":"A kernel trace of the engine (crit eval kernels): its prefill GPU time per floor term against the term's floor, with a gap each","type":"string"},"result":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["result"],"type":"object"},"name":"crit_eval_status","title":"crit eval status"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval prepare"},"description":"Freeze the suite as token ids for one model","inputSchema":{"additionalProperties":false,"properties":{"chat_template":{"description":"Chat template (jinja) to render the prompts with, for a model that carries none (default: the one crit ships for the model's family); it becomes part of the model's identity","type":"string"},"data":{"type":"string"},"model":{"type":"string"},"sampling":{"description":"The user's sampling for the sampled speed suite in place of the model's generation_config.json, e.g. temperature=0.6,top_p=0.95,top_k=20 (temperature required; top_p, top_k, min_p optional). Results record and label it as an override","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","data"],"type":"object"},"name":"crit_eval_prepare","title":"crit eval prepare"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval reference"},"description":"Score the prepared quality texts once on the checkpoint they were prepared from and store the scores under the data (torch + transformers, GPU; stop any engine first)","inputSchema":{"additionalProperties":false,"properties":{"allowance":{"description":"Also score the texts with the activations quantized as the checkpoint declares and store how far that lands from the scores (allowance.json): what the format itself costs, reported, not judged; a second scoring pass","type":"boolean"},"data":{"description":"Prepared suite directory","type":"string"},"model":{"description":"The checkpoint the data was prepared from","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","data"],"type":"object"},"name":"crit_eval_reference","title":"crit eval reference"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"crit eval fetch"},"description":"Fetch the checkpoint's reference package (prepared data and reference scores) into the data, so a run needs only the engine","inputSchema":{"additionalProperties":false,"properties":{"chat_template":{"description":"Chat template (jinja) to render the prompts with, for a model that carries none (default: the one crit ships for the model's family); it becomes part of the model's identity; the package was prepared with it","type":"string"},"data":{"description":"Data directory to write","type":"string"},"model":{"description":"The checkpoint the engine serves","type":"string"},"packages":{"description":"Package source: a folder or an https base URL (default: settings.toml's eval_packages)","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","data"],"type":"object"},"name":"crit_eval_fetch","title":"crit eval fetch"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval pack"},"description":"Add prepared data scored by the reference to a package folder","inputSchema":{"additionalProperties":false,"properties":{"data":{"description":"Prepared suite directory holding reference scores","type":"string"},"packages":{"description":"Package folder to add it to","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["data","packages"],"type":"object"},"name":"crit_eval_pack","title":"crit eval pack"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit eval journal"},"description":"How far a round got: its journal's engines, parts and requests, replayed and live, and how it ended","inputSchema":{"additionalProperties":false,"properties":{"journal":{"description":"A round's journal (R.journal.jsonl beside its result R.json)","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["journal"],"type":"object"},"name":"crit_eval_journal","title":"crit eval journal"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit eval compare"},"description":"Print a side-by-side table of result files","inputSchema":{"additionalProperties":false,"properties":{"results":{"items":{"type":"string"},"type":"array"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["results"],"type":"object"},"name":"crit_eval_compare","title":"crit eval compare"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval pin"},"description":"Record one engine's plain greedy output of every speed case as the data directory's pinned continuation (decode is then measured on that text)","inputSchema":{"additionalProperties":false,"properties":{"adapter":{"description":"Python file exporting create_eval_engine(context)","type":"string"},"config":{"default":"{}","description":"JSON configuration overrides for the adapter, text or a file, over the configuration.json packaged beside it","type":"string"},"context":{"description":"Context the engine is built for (the run's kv_tokens)","type":"integer"},"data":{"description":"Prepared data directory to pin the continuation in","type":"string"},"model":{"description":"Model directory passed to the adapter","type":"string"},"package":{"description":"A crit engine package, opened through Core's loader","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["model","data"],"type":"object"},"name":"crit_eval_pin","title":"crit eval pin"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval ab"},"description":"Alternate two engines' speed runs in one session and report paired ratios","inputSchema":{"additionalProperties":false,"properties":{"adapter":{"description":"Adapter of engine A","type":"string"},"adapter_b":{"description":"Adapter of engine B (default: engine A's adapter)","type":"string"},"config":{"default":"{}","description":"JSON configuration overrides of engine A (text or a file), over its packaged configuration.json","type":"string"},"config_b":{"default":"{}","description":"JSON configuration overrides of engine B (text or a file), over its packaged configuration.json","type":"string"},"context":{"description":"Context both engines are built for (the run's kv_tokens)","type":"integer"},"data":{"type":"string"},"model":{"type":"string"},"out":{"description":"Result JSON path","type":"string"},"package":{"description":"Engine A's crit package, opened through Core's loader","type":"string"},"package_b":{"description":"Engine B's crit package (default: engine A's engine)","type":"string"},"repetitions":{"description":"Measured repetitions per engine and round","type":"integer"},"rounds":{"default":2,"description":"Rounds; each round runs both engines, order alternating","type":"integer"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"},"warmups":{"description":"Warmup runs per engine and round","type":"integer"}},"required":["model","data","out"],"type":"object"},"name":"crit_eval_ab","title":"crit eval ab"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval kernels"},"description":"Trace every kernel of the speed cases (CUPTI, Linux) and rank them per phase by time, launch width and share of peak","inputSchema":{"additionalProperties":false,"properties":{"adapter":{"description":"Python file exporting create_eval_engine(context)","type":"string"},"backend":{"default":"cuda","description":"Device API the engine runs on: cuda (CUPTI) or hip (rocprofiler-sdk)","enum":["cuda","hip"],"type":"string"},"case":{"description":"Trace only these speed cases (repeatable); default all","items":{"type":"string"},"type":"array"},"config":{"default":"{}","description":"JSON configuration overrides for the adapter, text or a file, over the configuration.json packaged beside it","type":"string"},"context":{"description":"Context the engine is built for (the run's kv_tokens)","type":"integer"},"data":{"description":"Prepared suite directory for this model","type":"string"},"device":{"description":"Device ceilings from `crit eval probe` for share of peak","type":"string"},"hipcc":{"description":"hipcc of a ROCm that ships rocprofiler-sdk (--backend hip)","type":"string"},"model":{"description":"Model directory passed to the adapter","type":"string"},"nvcc":{"description":"nvcc of a CUDA toolkit that ships CUPTI","type":"string"},"out":{"description":"Kernel report JSON path","type":"string"},"package":{"description":"A crit engine package, opened through Core's loader","type":"string"},"top":{"default":12,"description":"Kernels listed per phase","type":"integer"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"},"work":{"description":"kernel_work rules ahead of the adapter's own, as JSON text or a file: [{\"match\": NAME_PART, \"term\": matmul|attention|recurrent|other|draft, \"format\": nvfp4|fp8|bf16, ...}]","type":"string"}},"required":["model","data","out"],"type":"object"},"name":"crit_eval_kernels","title":"crit eval kernels"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit eval workbench"},"description":"Check, time or profile a kernel on its workbench folder (crit kernels new): reference, floor, yardstick","inputSchema":{"additionalProperties":false,"properties":{"action":{"enum":["check","bench","profile"],"type":"string"},"device":{"description":"bench: a `crit eval probe` result, for the floor","type":"string"},"folder":{"description":"The workbench folder","type":"string"},"iters":{"description":"bench: timed calls per shape and column count","type":"integer"},"ncu":{"description":"profile: Nsight Compute's ncu, to add its sections","type":"string"},"out":{"description":"check and bench: the result JSON (default FOLDER/check.json, bench.json)","type":"string"},"python":{"description":"The engine's Python (torch and the GPU); default this one","type":"string"},"shape":{"description":"One shape of kernel.json by index (profile: default the first)","type":"integer"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["action","folder"],"type":"object"},"name":"crit_eval_workbench","title":"crit eval workbench"},{"annotations":{"destructiveHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"crit pull"},"description":"crit pull OWNER/NAME: install a crit-hub engine, so that crit serve --engine OWNER/NAME serves it. It reads the engine's card (from a crit-hub checkout with --hub, else crit-hub's index.json), checks the card's requirements against this machine (a crit eval probe result, and nvcc), fetches the engine's source at the commit the card pins (from a crit-engines checkout with --engines, else its repository), checks its configuration against the sealed run's in card.lock.json, fetches the checkpoint at its pinned Hugging Face revision (or takes a local folder with --model) and checks every file against card.lock.json, fetches and checks the card's drafter downloads the same way, runs the card's build command (or unpacks a prebuilt artifact whose toolchain matches this machine instead), and installs the built package in the engine store (crit.pull.store). Nothing is installed until every step has passed.","inputSchema":{"additionalProperties":false,"properties":{"build_from_source":{"description":"Build even when one of the card's prebuilt artifacts matches this machine","type":"boolean"},"build_timeout":{"default":1800,"description":"Seconds the build may take (default: 1800)","type":"number"},"checkpoint":{"description":"The checkpoint, when the engine was measured on several","type":"string"},"context":{"description":"Context the engine serves at (default: the context its card measured)","type":"integer"},"device":{"description":"A crit eval probe result to check the requirements against (default: settings.toml's device, else a probe run now)","type":"string"},"download":{"description":"A local copy of one of the card's downloads (a drafter's folder, an artifact's file), checked like a download (repeatable; default: fetch it from Hugging Face)","items":{"type":"string"},"type":"array"},"engine":{"description":"The crit-hub engine, as OWNER/NAME","type":"string"},"engines":{"description":"Take the source from this crit-engines checkout, which holds the pinned commit (default: fetch that commit from the card's source repository)","type":"string"},"force":{"description":"Install again over an installed engine","type":"boolean"},"hub":{"description":"Read the card from this crit-hub checkout (default: crit-hub's index.json)","type":"string"},"ignore_requirements":{"description":"Install even when this machine does not meet the card's requirements","type":"boolean"},"index":{"description":"crit-hub's index.json, a URL or file (default: https://crit-hub.dev/index.json)","type":"string"},"list":{"description":"List the installed engines instead","type":"boolean"},"model":{"description":"A local copy of the checkpoint, checked file by file and hard-linked into the store (default: download it at the pinned Hugging Face revision)","type":"string"},"project":{"description":"crit checkout whose settings.toml gives the device and headroom and whose engines/ is the default store (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"store":{"description":"Engine store (default: PROJECT/engines)","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"type":"object"},"name":"crit_pull","title":"crit pull"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit serve"},"description":"crit serve: load a sealed candidate once and answer OpenAI-compatible requests until stopped.","inputSchema":{"additionalProperties":false,"properties":{"api_key":{"description":"Require this bearer key; repeat for several (default: the comma-separated keys in the CRIT_API_KEY environment variable, else none)","items":{"type":"string"},"type":"array"},"api_key_file":{"description":"Also accept the keys in this file, one per line; blank lines and lines starting with # are skipped","type":"string"},"candidate":{"description":"Candidate ID (default: the run's selected candidate)","type":"string"},"cors_origin":{"description":"Allow browser requests from this origin, for example http://localhost:3000 or *","type":"string"},"engine":{"description":"Serve an engine crit pull installed, as OWNER/NAME","type":"string"},"host":{"default":"127.0.0.1","description":"Address to listen on (default: 127.0.0.1, this machine only)","type":"string"},"idle_unload":{"description":"Unload the engine's weights after this many seconds without a request; the next request loads it again (default: stay loaded)","type":"number"},"lenient":{"description":"Ignore request parameters crit does not apply (unknown ones, sampling fields the package does not declare, extra samplers) instead of refusing them with 400; responses list them in X-Crit-Ignored-Parameters and the server logs each once. Values are still checked","type":"boolean"},"load_timeout":{"description":"Seconds loading the candidate at startup may take (default: 600 plus the model's size at 200 MB/s, or at 50 MB/s with --verify-model)","type":"number"},"max_concurrency":{"description":"Run at most N requests at once, below the engine's declared capacity (max_concurrent_requests; default: the engine's)","type":"integer"},"max_queue":{"default":64,"description":"Requests that may wait while the engine is busy; one more is refused at once with 429 (Anthropic 529, /api/chat 503) and Retry-After (default: 64)","type":"integer"},"model_name":{"description":"Model ID reported to clients (default: RUN_ID/CANDIDATE_ID)","type":"string"},"models":{"description":"JSON catalog of named models from sealed runs (docs/SERVING.md)","type":"string"},"port":{"default":8000,"description":"Port (default: 8000)","type":"integer"},"project":{"description":"crit repository (default: this checkout); a crit installed without a checkout takes any folder (default: the current one)","type":"string"},"queue_timeout":{"description":"Seconds a request may wait for the engine before it is refused the same way (default: no limit; --timeout starts when the engine takes the request)","type":"number"},"reasoning_alias":{"description":"Return reasoning under \"reasoning\" as well as \"reasoning_content\", for clients that read the field reasoning (off by default: a client that joins every field of a delta, as crit Eval does, would read it twice)","type":"boolean"},"recover_runtime":{"description":"Recover a dead runtime owner after verifying its processes settled, then exit","type":"boolean"},"resident_ram_gib":{"description":"Optional cap on retained model bytes in host memory","type":"number"},"resident_vram_gib":{"description":"Optional cap on retained model bytes in device memory","type":"number"},"run":{"description":"Run ID (default: the workspace's only run)","type":"string"},"sse_ping_interval":{"default":15,"description":"Send a keep-alive ping on an OpenAI or Anthropic stream after this many quiet seconds, so proxies and clients do not close it while a model loads or a prompt prefills; 0 sends none (default: 15)","type":"number"},"ssl_certfile":{"description":"Serve HTTPS with this PEM certificate chain","type":"string"},"ssl_keyfile":{"description":"The certificate's PEM private key (default: the key in --ssl-certfile)","type":"string"},"store":{"description":"Installed-engine store --engine reads (default: PROJECT/engines, where crit pull installs)","type":"string"},"timeout":{"default":600,"description":"Seconds one request may run (default: 600)","type":"number"},"verify_model":{"description":"Read and SHA-256 every model file against the run's frozen manifest before loading (default: check file sizes only and load right away)","type":"boolean"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"},"workspace":{"description":"Folder containing the run-* project directories","type":"string"},"write_launchers":{"description":"Write serve.cmd and serve.sh into the run folder, which start this exact command, then exit","type":"boolean"}},"type":"object"},"name":"crit_serve","title":"crit serve"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit kernels target"},"description":"Observe host OS/architecture; ABI remains explicit","inputSchema":{"additionalProperties":false,"properties":{"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"type":"object"},"name":"crit_kernels_target","title":"crit kernels target"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit kernels inventory"},"description":"Hash local artifact files without importing them","inputSchema":{"additionalProperties":false,"properties":{"root":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["root"],"type":"object"},"name":"crit_kernels_inventory","title":"crit kernels inventory"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit kernels search"},"description":"Search local implementation declarations","inputSchema":{"additionalProperties":false,"properties":{"catalog":{"type":"string"},"query":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["query","catalog"],"type":"object"},"name":"crit_kernels_search","title":"crit kernels search"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit kernels inspect"},"description":"Explain every declared applicability match, rejection or unknown","inputSchema":{"additionalProperties":false,"properties":{"catalog":{"type":"string"},"request":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["request","catalog"],"type":"object"},"name":"crit_kernels_inspect","title":"crit kernels inspect"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit kernels retain"},"description":"Copy and verify a selected dependency into a new directory","inputSchema":{"additionalProperties":false,"properties":{"catalog":{"type":"string"},"destination":{"type":"string"},"max_bytes":{"default":8589934592,"type":"integer"},"reason":{"type":"string"},"request":{"type":"string"},"root":{"type":"string"},"select":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["request","catalog","root","destination","select","reason"],"type":"object"},"name":"crit_kernels_retain","title":"crit kernels retain"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit kernels verify"},"description":"Recheck a retained dependency's bytes and applicability","inputSchema":{"additionalProperties":false,"properties":{"directory":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["directory"],"type":"object"},"name":"crit_kernels_verify","title":"crit kernels verify"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit kernels new"},"description":"Scaffold a workbench folder for a kernel: reference, shapes, yardstick, harness (measure it with crit eval workbench)","inputSchema":{"additionalProperties":false,"properties":{"column_invariant":{"enum":["yes","no"],"type":"string"},"columns":{"description":"column (token) counts, comma-separated","type":"string"},"format":{"description":"bf16, fp8 or nvfp4 (NVFP4 weights against bf16 activations) for gemv and gemm","type":"string"},"from":{"description":"a kernel-builder project to start src/ from (a crit-kernels project, a Hub kernel's source); without it, kernel-builder init starts one","type":"string"},"model":{"description":"take the shapes from this checkpoint's matrices in the format","type":"string"},"name":{"type":"string"},"op":{"description":"gemv or gemm (a working start in bf16, fp8 or nvfp4), or any other operation name for a harness to fill in","type":"string"},"repeatable":{"default":"yes","description":"no: the kernel may give other bits on a repeat (atomics, a split the workload chooses); the check judges repeats within the tolerance. For quality mode speed engines","enum":["yes","no"],"type":"string"},"root":{"type":"string"},"run":{"description":"the run folder, for --starter","type":"string"},"shape":{"description":"N,K (repeatable)","items":{"type":"string"},"type":"array"},"starter":{"description":"the kernel --from copies is the starter (crit-kernels' workbench-starter: a simple, correct gemv/gemm in bf16 and fp8); allowed from a run's fourth candidate on","type":"boolean"},"tolerance":{"type":"number"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"},"yardstick":{"description":"the provider to time beside the kernel (provider syntax of plan levers)","type":"string"}},"required":["name","op"],"type":"object"},"name":"crit_kernels_new","title":"crit kernels new"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit models plan"},"description":"Resolve a recipe against a checkpoint's headers: targets and bytes","inputSchema":{"additionalProperties":false,"properties":{"json":{"description":"Print the resolved recipe and plan as JSON","type":"boolean"},"recipe":{"description":"models_recipe JSON","type":"string"},"source":{"description":"Unquantized source model directory","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["recipe","source"],"type":"object"},"name":"crit_models_plan","title":"crit models plan"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit models ptq"},"description":"Quantize a checkpoint and write its models_transform record","inputSchema":{"additionalProperties":false,"properties":{"calibration":{"description":"JSONL of {\"text\": ...} documents unrelated to Eval (gptq only)","type":"string"},"device":{"description":"torch device (default: cuda when available, else cpu)","type":"string"},"out":{"description":"New or empty directory for the transformed checkpoint","type":"string"},"recipe":{"description":"models_recipe JSON","type":"string"},"record":{"description":"New models_transform JSON outside the source and output","type":"string"},"source":{"description":"Unquantized source model directory","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["recipe","source","out","record"],"type":"object"},"name":"crit_models_ptq","title":"crit models ptq"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit models drafter"},"description":"Distill a draft head for speculative decoding from the target itself and write its models_transform record","inputSchema":{"additionalProperties":false,"properties":{"calibration":{"description":"JSONL of {\"text\": ...} documents unrelated to Eval","type":"string"},"device":{"description":"torch device (default: cuda when available, else cpu)","type":"string"},"out":{"description":"New or empty directory for the drafter","type":"string"},"recipe":{"description":"models_recipe JSON with method drafter","type":"string"},"record":{"description":"New models_transform JSON outside the source and output","type":"string"},"source":{"description":"The target model directory (the checkpoint the engine serves)","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["recipe","source","out","record","calibration"],"type":"object"},"name":"crit_models_drafter","title":"crit models drafter"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"crit models eval"},"description":"Bind the Eval result of an engine serving the output to its record, with its quality replies scored on the source checkpoint","inputSchema":{"additionalProperties":false,"properties":{"data":{"description":"Eval data directory prepared from the source checkpoint","type":"string"},"evaluation":{"description":"New models_evaluation JSON","type":"string"},"record":{"description":"models_transform JSON","type":"string"},"result":{"description":"crit eval run --url result of the engine serving the output; stop the server first","type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record","data","result","evaluation"],"type":"object"},"name":"crit_models_eval","title":"crit models eval"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit models verify"},"description":"Re-hash a transform's output and source against its record","inputSchema":{"additionalProperties":false,"properties":{"record":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["record"],"type":"object"},"name":"crit_models_verify","title":"crit models verify"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit inference list"},"description":"List the techniques by category","inputSchema":{"additionalProperties":false,"properties":{"json":{"type":"boolean"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"type":"object"},"name":"crit_inference_list","title":"crit inference list"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit inference search"},"description":"The techniques whose metadata holds every word of the query","inputSchema":{"additionalProperties":false,"properties":{"json":{"type":"boolean"},"query":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["query"],"type":"object"},"name":"crit_inference_search","title":"crit inference search"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit inference show"},"description":"One technique's guidance, symbols and files","inputSchema":{"additionalProperties":false,"properties":{"json":{"type":"boolean"},"query":{"type":"string"},"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"required":["query"],"type":"object"},"name":"crit_inference_show","title":"crit inference show"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"crit inference check"},"description":"Check the techniques' code against their metadata","inputSchema":{"additionalProperties":false,"properties":{"wait_seconds":{"default":30,"description":"Seconds to wait for the command to end before returning its job to wait on with crit_job_wait (the command keeps running)","minimum":0,"type":"number"}},"type":"object"},"name":"crit_inference_check","title":"crit inference check"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Wait on a job"},"description":"Wait for a job to end, at most SECONDS; returns its result once it ended, else its state and newest errors","inputSchema":{"additionalProperties":false,"properties":{"job":{"description":"The job a command's call returned, such as job-3","type":"string"},"seconds":{"description":"Longest wait (at most 3600); call again to go on","minimum":0,"type":"number"}},"required":["job"],"type":"object"},"name":"crit_job_wait","title":"Wait on a job"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Read a job's logs"},"description":"A job's command output (its JSON result) or errors (progress and reports) from a byte offset; offset -1 reads the end","inputSchema":{"additionalProperties":false,"properties":{"job":{"description":"The job a command's call returned, such as job-3","type":"string"},"limit":{"default":60000,"minimum":1,"type":"integer"},"offset":{"default":0,"type":"integer"},"stream":{"default":"errors","enum":["errors","output"],"type":"string"}},"required":["job"],"type":"object"},"name":"crit_job_output","title":"Read a job's logs"},{"annotations":{"destructiveHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Stop a job"},"description":"Interrupt a running job as Ctrl+C would (crit releases its leases and settles what it can), ending its process tree after grace_seconds; an Eval stopped so goes on with crit_run_eval resume","inputSchema":{"additionalProperties":false,"properties":{"grace_seconds":{"default":30,"minimum":0,"type":"number"},"job":{"description":"The job a command's call returned, such as job-3","type":"string"}},"required":["job"],"type":"object"},"name":"crit_job_stop","title":"Stop a job"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"List jobs"},"description":"This server's jobs: state, exit code, logs","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"crit_jobs","title":"List jobs"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Ask crit serve"},"description":"A running crit serve's /health (loaded engine, readiness, capacity) and /v1/models","inputSchema":{"additionalProperties":false,"properties":{"api_key":{"description":"One of the server's --api-key values, if it has any","type":"string"},"url":{"default":"http://127.0.0.1:8000","description":"The server, without /v1","type":"string"}},"type":"object"},"name":"crit_serve_status","title":"Ask crit serve"}]}}}
