About Gnosislab
Gnosislab is an MCP server published by cloudcell in the Agents category: a scientific-method runtime for AI agents: hypotheses, experiments, evidence, provenance, reproducibility, and auditable conclusions. Conduid read 100 tools from its source: abandon_campaign, abandon_hypothesis, abandon_investigation, acknowledge_violation, archive_pending_programmes, assert_claim and 94 more. It is published to PyPI as gnosislab and runs with uvx.
The repository has 21 stars and 8 forks, and its last commit was on 1 Dec 2026. The latest release is v0.1.19 (3 Oct 2026). It is the only release Conduid has on record for this repository. Its topics include ai-scientist, autonomous-agents, experimentation, hypothesis-testing, machine-learning and open-source.
Install
uvx gnosislabpip install gnosislabgit clone https://github.com/cloudcell/gnosislabTools (100)
abandon_campaignAbandon an open campaign — terminal, attributed, never erased.| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | ID of the target campaign. |
| decided_by * | string | Attributable decider (e.g. 'human:<name>' or 'agent:<name>') — abandonment is a governance act, not cleanup. |
| rationale * | string | Non-empty reason for abandoning — recorded on the campaign permanently. |
abandon_hypothesisAbandon a hypothesis — attributed, rationaled, never erased.| Parameter | Type | Description |
|---|---|---|
| decided_by * | string | Attributable decider — 'human:<name>' or an agent identity. |
| hypothesis_id * | string | ID of the hypothesis to abandon. |
| programme_id * | string | ID of the owning research programme. |
| rationale * | string | Non-empty justification — why this hypothesis leaves the loop without a verdict. |
abandon_investigationAbandon an open investigation — recorded, not deleted.| Parameter | Type | Description |
|---|---|---|
| investigation_id * | string | ID of the target investigation. |
acknowledge_violationAcknowledge an open integrity violation — insert-only.| Parameter | Type | Description |
|---|---|---|
| check_name * | string | Name of the integrity check that flagged the violation (as shown in check_invariants or the status digest blockers). |
| decided_by * | string | Who acknowledges — 'agent:<name>' or 'human:<name>'. Attribution is required. |
| disposition * | string | What was done about it — 'remediated via …' or 'accepted: <reason>'. |
| object_ref * | string | The flagged record's reference, exactly as reported by the check. |
archive_pending_programmesArchive terminal programmes that are still in the live DB.| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | When true, report what would be archived without mutating. Required — pass false to apply. |
assert_claim| Parameter | Type | Description |
|---|---|---|
| confidence_computation | any | Optional derivation record {procedure, inputs, evidence_refs?} — e.g. {"procedure": "posterior_from_2lnbf", "inputs": {"prior": 0.3, "bf_2ln": 2.71}}; may be JSON-encoded. The ONLY way a claim stores a numeric confidence: this server recomputes the registered procedure on the given inputs and stores the result plus the computation. Requires ≥1 evidence-bearing edge. Without it, confidence stays NULL — absence is the honest value. |
| content * | string | The claim text — deduplicated by normalized content (re-asserting identical content returns the existing claim_id). |
| evidence | any | List of {to_ref, ref_type, relation} dicts linking the claim to its support (e.g. {"to_ref": "trial-abc", "ref_type": "trial", "relation": "tested_by"}); may be JSON-encoded. |
| source_id | string | Provenance tag — the entity (decision/investigation) that minted this claim. |
| supersedes_id | string | ID of an existing claim this one replaces — the supersedes edge is recorded automatically. |
| type * | string | empirical | methodological. |
| valid_from | string | Optional ISO-8601 UTC validity start (e.g. '2026-01-01T00:00:00Z') — defaults to mint time. Use it to date the claim to when its evidence holds, not when the row was written. Must be ≤ valid_until when both are given. |
| valid_until | string | Optional ISO-8601 UTC expiry (e.g. '2026-12-31T00:00:00Z') — the claim's live→expired transition. Claims past valid_until are hidden from list_claims unless include_expired=true; the row is never deleted. A past timestamp mints an already-expired claim — allowed, the record says so. |
assess_programmeAssess programme health: progressive vs degenerating (commitment 8).| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
cancel_trialCancel a running trial, or abandon a designed one.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
| trial_id * | string | ID of the target trial. |
capture_bundle| Parameter | Type | Description |
|---|---|---|
| baseline_ref | string | Reference to the baseline the trial compares against. |
| code_ref * | string | Path to a Python file exposing run_training(config: dict) -> dict returning {"metrics": {...}, "variance": {...}} — see executor://contract. |
| data_refs | array | DataRef IDs from prepare_data — structured data provenance (falls back to splits when omitted); list or JSON-encoded. |
| env_ref * | string | Environment reference sealed into the bundle (pre-registration). Accepts a venv/conda directory (mounted read-only; its bin/python runs the trial) or a Python executable path (its venv root is mounted). Non-path values like 'python:3.12' are recorded as provenance but do not change the interpreter — the executor default runs. |
| extra_code_refs | array | Additional code files to seal into the bundle; list or JSON-encoded. |
| seeds * | array | Seed set sealed into the bundle (pre-registration — fixes the assumption before any observation); list or JSON-encoded. |
| splits * | any | Split spec sealed into the bundle — which data each split used; object or JSON-encoded. |
| trial_id * | string | ID of the target trial. |
capture_bundle_from_code_hash| Parameter | Type | Description |
|---|---|---|
| baseline_ref | string | Reference to the baseline the trial compares against. |
| code_hash * | string | 'sha256:...' content address from a prior capture_bundle — NOT a bundle_id; must already exist in code_snippets. |
| code_hash_extra | array | Content hashes of additional code files to seal; list or JSON-encoded. |
| data_refs | array | DataRef IDs from prepare_data — structured data provenance; list or JSON-encoded. |
| env_ref * | string | Environment reference sealed into the bundle (pre-registration). Accepts a venv/conda directory (mounted read-only; its bin/python runs the trial) or a Python executable path (its venv root is mounted). Non-path values like 'python:3.12' are recorded as provenance but do not change the interpreter — the executor default runs. |
| seeds * | array | Seed set sealed into the bundle (pre-registration); list or JSON-encoded. |
| splits * | any | Split spec sealed into the bundle; object or JSON-encoded. |
| trial_id * | string | ID of the target trial. |
capture_pending_artifactsCapture artifact files for trials that predate artifact capture.| Parameter | Type | Description |
|---|---|---|
| cleanup | boolean | Delete staging files after successful capture (the SQLite copy becomes authoritative). |
| dry_run * | boolean | When true, report which trials would be captured without mutating. Required — pass false to apply. |
check_invariantsAudit the lab's channels against the hub's invariants.close_arm_campaignClose the arm's linked campaign and freeze its score.| Parameter | Type | Description |
|---|---|---|
| arm * | string | Tournament arm whose campaign to close: 'parent' | 'candidate'. |
| tournament_id * | string | ID of the target tournament. |
close_campaignClose an open campaign and freeze its promotion score.| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | ID of the target campaign. |
close_canaryClose a canary record: status 'passed' | 'regressed'.| Parameter | Type | Description |
|---|---|---|
| canary_id * | string | ID of the canary record to close. |
| status * | string | passed | regressed — 'regressed' motivates a rollback decision. |
close_programmeClose a programme by setting its status to completed or abandoned.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
| status | string | completed | abandoned — 'completed' requires all hypotheses concluded; 'abandoned' sweeps the rest. |
close_tournamentSeal the tournament and compute recursive_gain.| Parameter | Type | Description |
|---|---|---|
| tournament_id * | string | ID of the target tournament. |
conclude_hypothesisConclude a hypothesis by accepting/rejecting it.| Parameter | Type | Description |
|---|---|---|
| evidence_summary * | string | Summary of the evidence the verdict rests on. |
| hypothesis_id * | string | ID of the target hypothesis. |
| programme_id * | string | ID of the target research programme. |
| verdict * | string | accepted | rejected | inconclusive — creates an immutable conclusion. |
conclude_investigationClose the inquiry and distill its findings into memory.| Parameter | Type | Description |
|---|---|---|
| implications | any | Loop-0 handoff — a proposed programme/hypothesis/strategy the client can enact; object or JSON-encoded. |
| investigation_id * | string | ID of the target investigation. |
| programme_discharge | string | Obligation discharge — when a requires_programme investigation concludes without a linked programme, this short rationale vacates the obligation honestly (recorded, auditable); without it the concluded row stays flagged by unlinked_empirical_investigations. |
| summary * | string | The investigation's distilled conclusion text. |
| verdict * | string | findings | null_result — 'findings' mints live findings to anamnesis; 'null_result' closes honestly with nothing asserted. |
correct_tournament_resultCorrect a tournament result row — the recorded repair act.| Parameter | Type | Description |
|---|---|---|
| descendant_spec | any | Replacement descendant_spec object. May be JSON-encoded. |
| metrics | any | Replacement metrics object — e.g. a canonical per-seed shape. May be JSON-encoded. |
| reason * | string | Why the correction is recorded — mandatory, appended to the row's audit trail. |
| result_id * | string | ID of the tournament result row to correct (tres-*). |
correct_trial_statusCorrect a terminal trial's status — the recorded repair act.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
| reason * | string | Why the correction is recorded — mandatory, appended to the trial's audit trail. |
| to_status * | string | Target status: completed | failed | retryable. |
| trial_id * | string | ID of the target trial. |
create_evaluation_contractCreate an evaluation contract for a programme (RSI Phase 0).| Parameter | Type | Description |
|---|---|---|
| budget | any | Budget recorded on the contract; object or JSON-encoded string. |
| holdouts | any | Held-out evaluation slices the contract declares; object or JSON-encoded. |
| metrics * | any | Declares 'primary_metric' (+ optional 'direction': max|min, secondaries); may be JSON-encoded. |
| programme_id * | string | ID of the target research programme. |
| promotion_policy * | any | Pre-registered promotion rule (confidence bar, safety gates); object or JSON-encoded. |
create_meta_contractMint a versioned meta-evaluation contract.| Parameter | Type | Description |
|---|---|---|
| budget | any | Budget recorded on the meta-contract; object or JSON-encoded. |
| holdouts | any | Held-out evaluation slices the contract declares; object or JSON-encoded. |
| metrics * | any | Declares 'primary_metric' (what recursive_gain is computed over) + optional 'direction' (max|min) and secondaries; may be JSON-encoded. |
| promotion_policy * | any | Pre-registered promotion rule (confidence bar, safety gates); object or JSON-encoded. |
create_programmeCreate a research programme with a goal, constraints, and budget.| Parameter | Type | Description |
|---|---|---|
| allowed_variables * | array | Variables the programme may search/vary; list or JSON-encoded list. |
| budget * | any | Budget object {max_trials (required), max_wall_time_hours}; extra keys recorded but not enforced. May be a JSON-encoded string. |
| candidate_version_id | string | RSI Phase-0 correlation — which registered candidate created this programme; must exist if given. |
| constraints * | any | Typed constraint fields {gpu_memory_gb, max_training_hours_per_trial, max_parameter_count} — extra keys allowed (commitment 4); may be JSON-encoded. |
| goal * | string | Research goal — what the programme is trying to learn. |
| investigation_id | string | Zetesis investigation this programme answers to — claimed provenance, recorded but not verified against zetesis (plan-20261002-1929Z). |
| metric_direction | string | 'minimize' (loss-like: perplexity, error) | 'maximize' (quality: accuracy, F1) — steers search and best-trial ranking. |
describe_blobDescribe a content-addressed blob by digest (read-only).| Parameter | Type | Description |
|---|---|---|
| content_hash * | string | The sha256:<64 hex> digest to look up. |
design_experimentDesign an experiment: create a trial (data item) within the programme.| Parameter | Type | Description |
|---|---|---|
| config * | any | Trial configuration dict handed to run_training; may be JSON-encoded. |
| evidence_policy | any | Evidence-admission regime for this trial, declared before execution (pre-registration). Default 'repeated_measurement' requires measured per-metric variance. To relax it: {'regime': 'single_measurement', 'rationale': 'why replication is not the uncertainty representation'}. The declaration is sealed into the bundle at capture_bundle and cannot be changed after seeing the result; object or JSON-encoded. |
| hypothesis_id * | string | ID of the target hypothesis. |
| programme_id * | string | ID of the target research programme. |
drop_findingDrop a provisional finding — it did not survive scrutiny.| Parameter | Type | Description |
|---|---|---|
| finding_id * | string | ID of the provisional finding to drop. |
formulate_hypothesisFormulate a falsifiable hypothesis (commitment 3).| Parameter | Type | Description |
|---|---|---|
| failure_criterion * | string | What observation would falsify the hypothesis — required (commitment 3). |
| programme_id * | string | ID of the target research programme. |
| statement * | string | The falsifiable claim under test. |
| variables_involved * | array | Variables the hypothesis ranges over; list or JSON-encoded list. |
get_archiveGet details about an archive, including its programmes.| Parameter | Type | Description |
|---|---|---|
| archive_id * | string | ID of the target archive. |
get_archived_programmeGet an archived programme's details from its archive file.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the archived programme to read (read-only — cannot be restored). |
get_blobRetrieve a content-addressed blob's bytes by digest (read-only).| Parameter | Type | Description |
|---|---|---|
| content_hash * | string | The sha256:<64 hex> digest to retrieve. |
| max_bytes | integer | Maximum returned payload size in bytes (pre-base64). Blobs larger than this return too_large with metadata but no bytes. |
get_campaignRead a campaign with its results and evidence trail.| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | ID of the target campaign. |
get_candidateRead one candidate version (read-only).| Parameter | Type | Description |
|---|---|---|
| candidate_id * | string | Candidate version ID to read. |
get_candidate_lineageWalk a candidate's parent chain to genesis (self first).| Parameter | Type | Description |
|---|---|---|
| candidate_id * | string | Candidate whose parent chain to walk to genesis. |
get_candidate_scorecardDescendant quality over attributed programmes (read-only).| Parameter | Type | Description |
|---|---|---|
| candidate_id * | string | Candidate whose attributed programmes are scored. |
| contract_id | string | Optional — scopes the report to that contract's declared metrics (primary + secondary). |
get_claimRead a claim with its full provenance bundle.| Parameter | Type | Description |
|---|---|---|
| claim_id * | string | ID of the claim to read. |
get_claimsBatch-read claims — one call, many claims.| Parameter | Type | Description |
|---|---|---|
| claim_ids * | array | Claim IDs to fetch in one call — list or JSON-encoded list. Caps the get_claim amplification loop (one call per claim → one call per subgraph). |
get_evaluation_contractRead one evaluation contract (read-only).| Parameter | Type | Description |
|---|---|---|
| contract_id * | string | ID of the evaluation contract to read. |
get_improverRead one improver version with its decisions and policies.| Parameter | Type | Description |
|---|---|---|
| improver_id * | string | ID of the target improver version. |
get_improver_lineageWalk the parent chain back to genesis, oldest first.| Parameter | Type | Description |
|---|---|---|
| depth | integer | Optional walk cap — limit the chain to this many ancestors back from the improver (the returned chain is still oldest-first). Omit for the full chain to genesis. |
| improver_id * | string | ID of the target improver version. |
get_incumbentDerive the incumbent candidate from decisions (read-only).get_investigationRead an investigation with its full evidence trail and findings.| Parameter | Type | Description |
|---|---|---|
| investigation_id * | string | ID of the target investigation. |
get_next_experimentGet the next experiment configuration from the optimizer role.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
get_proposalRead a proposal with its authoritative classification and| Parameter | Type | Description |
|---|---|---|
| proposal_id * | string | ID of the proposal to read. |
get_tournamentRead a tournament with both arms' results and its evidence| Parameter | Type | Description |
|---|---|---|
| tournament_id * | string | ID of the target tournament. |
get_trial_statusCheck the status of a running or completed trial.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
| trial_id * | string | ID of the target trial. |
link_programmeRecord the Loop-0 programme an investigation owes.| Parameter | Type | Description |
|---|---|---|
| investigation_id * | string | ID of the target investigation (must be open). |
| programme_id * | string | ID of the episteme programme this investigation is accountable to — validated upstream before recording. |
list_active_programmesList all active research programmes.list_archivesList all archive files (open and sealed).list_campaignsList promotion campaigns, newest first.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| status | string | Optional status filter. |
list_candidatesEnumerate the candidate population, newest first (read-only).| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
list_claimsList claims, newest first, with filters.| Parameter | Type | Description |
|---|---|---|
| include_expired | boolean | Include claims past valid_until (default hidden — the live view). |
| include_superseded | boolean | Include claims replaced by newer ones (default hidden — the live view). |
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| type | string | Optional filter: empirical | methodological. |
list_decisionsList meta-decisions, oldest first — the insert-only record.| Parameter | Type | Description |
|---|---|---|
| candidate_improver_id | string | ID of the candidate improver version this call targets. |
list_hypothesesList all hypotheses in a programme with their status.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
list_improversList improver versions, newest first.| Parameter | Type | Description |
|---|---|---|
| champion_only | boolean | Filter to the incumbent pointer (normally one row). |
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
list_investigationsList investigations, newest first.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| status | string | Optional status filter (default lists all, including stale opens). |
list_programmesList programmes with optional attribution/status filters (read-only).| Parameter | Type | Description |
|---|---|---|
| candidate_version_id | string | RSI Phase-0 correlation — which registered candidate created this programme; must exist if given. |
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| status | string | Optional status filter. |
list_promotion_decisionsList a candidate's verdict trail, oldest first (read-only).| Parameter | Type | Description |
|---|---|---|
| candidate_id * | string | Candidate whose verdict trail to list. |
list_proposalsList proposals, newest first.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| status | string | Optional status filter — rejected proposals are part of the record. |
list_search_policiesList registered search-policy versions.| Parameter | Type | Description |
|---|---|---|
| name | string | Optional name filter. |
list_tournamentsList tournaments, newest first. status: open | closed.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max rows to return (pagination). |
| offset | integer | Rows to skip before returning (pagination). |
| status | string | Optional status filter. |
list_trialsList all trials in a programme with configs and status.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
mark_retryableMark a running trial as retryable (infrastructure failure).| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the target research programme. |
| reason * | string | Why the trial is marked retryable — becomes part of the record. |
| trial_id * | string | ID of the target trial. |
open_arm_campaignOpen the descendant Loop-1 campaign for a tournament arm.| Parameter | Type | Description |
|---|---|---|
| allow_underpowered | boolean | Forwarded to upstream open_campaign — records power_acknowledged when the declared n is below the contract's required_n. |
| arm * | string | Tournament arm to scope the campaign to: 'parent' | 'candidate'. The opened campaign is still a complete two-arm (champion vs challenger) campaign — arm names WHICH tournament context it evaluates, not a single campaign arm. |
| challenger_id * | string | Roster ID of the challenger arm's candidate. The champion side is the upstream roster incumbent — this tool does not take it. |
| seeds | any | Seed set for the arm (list of ints); may be JSON-encoded. |
| tournament_id * | string | ID of the target tournament. |
| upstream_contract_id * | string | The upstream evaluation contract the arm's campaign is scored under. |
open_campaignOpen a champion/challenger promotion campaign.| Parameter | Type | Description |
|---|---|---|
| allow_underpowered | boolean | Open with n below the contract's required_n — records power_acknowledged on the campaign row; the underpowered state is declared, not silent. |
| budget * | any | Budget carried from the orchestrating tournament, verbatim. May be JSON-encoded. |
| challenger_id * | string | Roster ID of the challenger arm's candidate. |
| contract_id * | string | Upstream evaluation contract declaring the metric the campaign is scored under — must exist. |
| seeds | any | Seed set for the arm (list of ints); may be JSON-encoded. |
open_investigationOpen a bounded inquiry into how research is done.| Parameter | Type | Description |
|---|---|---|
| budget | any | Optional limits {max_pulls, max_wall_time_hours} — recorded, not yet enforced. May be JSON-encoded. |
| question * | string | What the investigation asks. |
| requires_programme | any | Declared obligation: this inquiry can only be answered by a Loop-0 experiment programme. When true the investigation owes a linked programme — flagged by unlinked_empirical_investigations until link_programme records it (or conclude_investigation discharges it). |
| scope * | any | Declared domain — programme_ids, candidate_ids, claim types, or time windows the inquiry claims to cover (the Duhem-Quine boundary); may be JSON-encoded. |
open_tournamentOpen a paired ancestral tournament.| Parameter | Type | Description |
|---|---|---|
| allow_underpowered | boolean | Open with fewer seeds than the contract's required_n — records power_acknowledged on the frozen row; the underpowered state is declared, not silent. |
| budget * | any | Single budget governing BOTH arms — equal spend is structural. May be JSON-encoded. |
| candidate_improver_id * | string | The candidate improver — must descend from the parent (ancestry check). |
| contract_id * | string | Meta-evaluation contract version the tournament freezes and runs under. |
| parent_improver_id * | string | The incumbent-side improver the candidate must descend from. |
| seeds | any | Seed set for the arm (list of ints); may be JSON-encoded. |
prepare_data| Parameter | Type | Description |
|---|---|---|
| capture_source_metadata | any | Extra provenance about the captured source; object or JSON-encoded. |
| capture_window_end | string | Temporal bound for stream capture (captured + temporal). |
| capture_window_start | string | Temporal bound for stream capture (captured + temporal). |
| generator_code_ref | string | Path/ref to generator code — required for regime='generated'. The file must expose generate_data(config, output_path) — two positional args; see the tool description for the full contract. |
| generator_params | any | Generator parameters; object or JSON-encoded. |
| generator_seed | integer | Generator seed — required for regime='generated'. |
| regime * | string | generated (run generator via executor; needs generator_code_ref + generator_seed) | captured (register external URI; needs source_uri). |
| source_uri | string | External data URI — required for regime='captured'. |
| split * | string | Dataset split: train | validation | test. |
| version | string | Version tag for the captured data source. |
promote_policyPromote a candidate to champion and mint its policy_version.| Parameter | Type | Description |
|---|---|---|
| candidate_improver_id * | string | ID of the candidate improver version this call targets. |
| policy * | any | Policy body to mint as the active policy_version; may be JSON-encoded. |
propose_meta_changeSubmit a typed meta-change proposal to the admission gate.| Parameter | Type | Description |
|---|---|---|
| budget | any | Budget the proposal asks for; object or JSON-encoded. |
| class_map * | any | {component_name: declared_boundary_class} for every component the delta touches. |
| expected_benefit * | string | Why the change should help — the proposal's claim. |
| falsification * | string | What evidence would refute the claimed benefit. |
| proposer_improver_id * | string | ID of the improver submitting the meta-change. |
| rollback_plan * | string | How to undo the change if it regresses. |
| spec_delta * | any | The typed change content (OntoArch-style delta); object or JSON-encoded. |
pull_arm_evidence| Parameter | Type | Description |
|---|---|---|
| args | any | Arguments forwarded to the upstream tool; object or JSON-encoded. |
| arm * | string | Tournament arm the pull is scoped to: 'parent' | 'candidate'. |
| source * | string | Evidence source — the upstream read surface to pull through. Mirrors pull_campaign_evidence's accepted set (loop1 is not reachable through the campaign-scoped pull). |
| tool * | string | Upstream read tool to call — validity is per-source: loop0 allows list_active_programmes|list_hypotheses|list_trials|get_trial_status|assess_programme|get_candidate_lineage|list_archives|get_archive|get_archived_programme|list_candidates|get_candidate|list_promotion_decisions|get_incumbent|get_candidate_scorecard|list_programmes|get_evaluation_contract; anamnesis allows get_claim|list_claims|recall. |
| tournament_id * | string | ID of the target tournament. |
pull_campaign_evidenceRead upstream evidence under a campaign context — same| Parameter | Type | Description |
|---|---|---|
| args | any | Arguments forwarded to the upstream tool; object or JSON-encoded. |
| campaign_id * | string | ID of the target campaign. |
| source * | string | Evidence source — the upstream read surface to pull through. |
| tool * | string | Upstream read tool to call — validity is per-source: loop0 allows list_active_programmes|list_hypotheses|list_trials|get_trial_status|assess_programme|get_candidate_lineage|list_archives|get_archive|get_archived_programme|list_candidates|get_candidate|list_promotion_decisions|get_incumbent|get_candidate_scorecard|list_programmes|get_evaluation_contract; anamnesis allows get_claim|list_claims|recall. |
pull_evidence| Parameter | Type | Description |
|---|---|---|
| args | any | Arguments forwarded to the upstream tool; object or JSON-encoded. |
| context_id * | string | ID of the proposal or tournament the pull serves. |
| context_type * | string | Pull context — pulls belong to a live context, never ambient. |
| source * | string | Evidence source — the upstream read surface to pull through. |
| tool * | string | Upstream read tool to call — validity is per-source: loop0 allows list_active_programmes|list_hypotheses|list_trials|get_trial_status|assess_programme|get_candidate_lineage|list_archives|get_archive|get_archived_programme|describe_blob|list_promotion_decisions; loop1 allows list_investigations|get_investigation|list_candidates|get_incumbent|list_campaigns|get_campaign; anamnesis allows get_claim|list_claims|recall. |
read_resourceRead a resource by URI — the lab-wide read surface.| Parameter | Type | Description |
|---|---|---|
| uri * | string | Resource URI to read — lab://* locally; claims://, protocol://, executor://, programme://, trial://, artifact://, dataref://, code://, search://, improver:// through the configured upstream channel. |
record_arm_resultReport an executed descendant programme to the arm's campaign.| Parameter | Type | Description |
|---|---|---|
| arm * | string | Tournament arm the result belongs to: 'parent' | 'candidate'. |
| campaign_arm * | string | Which side of the arm's linked upstream campaign the programme spawned under: 'champion' | 'challenger' (required — must name the side explicitly; 'arm' selects the campaign, 'campaign_arm' the side within it). |
| metrics * | any | Result metrics pushed to the arm's campaign — must carry the contract's primary_metric; may be JSON-encoded. |
| programme_id * | string | ID of the target research programme. |
| tournament_id * | string | ID of the target tournament. |
record_arm_verdictRecord the descendant campaign's promotion verdict.| Parameter | Type | Description |
|---|---|---|
| arm * | string | Tournament arm the verdict closes out: 'parent' | 'candidate'. |
| claimed_rung | string | Evidence rung this verdict claims (not_worth|positive|strong|very_strong — the Kass–Raftery ladder). Forwarded to the campaign's contract gate on 'promote'. |
| decided_by * | string | Attributable decider (e.g. 'human:<name>' or a protocol/improver id). |
| evidence_ref_ids | any | Upstream campaign-scoped evidence_ref IDs — the ref_ids / upstream_evidence_ref_id returned by pull_arm_evidence, NOT the local evidence_ref_id (a tournament-scoped ref in this store, which the upstream campaign check will refuse). List or JSON-encoded. |
| rationale | string | Non-empty justification — accountability is first-class. |
| tournament_id * | string | ID of the target tournament. |
| verdict * | string | promote | retain | rollback — the descendant candidate's promotion verdict (Loop-1 lineage). |
record_campaign_resultAttach an executed-arm result to an open campaign.| Parameter | Type | Description |
|---|---|---|
| arm * | string | Campaign arm the result belongs to: 'champion' | 'challenger' — attribution is verified upstream. |
| campaign_id * | string | ID of the target campaign. |
| metrics * | any | Result metrics — must carry the contract's primary_metric as a finite number (exact, case-sensitive match); may be JSON-encoded. |
| programme_id * | string | ID of the target research programme. |
record_canaryRecord a scoped canary activation of a policy version.| Parameter | Type | Description |
|---|---|---|
| policy_version_id * | string | ID of the minted policy version this canary activates. |
| scope * | any | The scope the canary ran under (traffic slice/config); may be JSON-encoded. |
record_findingRecord a provisional methodological finding.| Parameter | Type | Description |
|---|---|---|
| content * | string | The finding text. |
| evidence_ref_ids | any | Evidence_ref IDs minted by pull_evidence/pull_arm_evidence calls; list or JSON-encoded. |
| investigation_id * | string | ID of the target investigation. |
record_meta_decisionRecord a governed meta-decision — insert-only.| Parameter | Type | Description |
|---|---|---|
| candidate_improver_id * | string | ID of the candidate improver version this call targets. |
| claimed_rung | string | Evidence rung this decision claims (not_worth|positive|strong|very_strong — the Kass–Raftery ladder). Required on 'promote' when the cited contract declares min_evidence_rung. |
| contract_id | string | Optional contract the decision cites; must exist if given. |
| decided_by * | string | Attributable decider — 'human:<name>' required when the candidate implements a conditional proposal; 'arete:protocol' or an improver id otherwise. |
| evidence_refs * | any | Evidence_ref IDs (from pull_evidence) the decision cites — ≥1 required; may be a JSON-encoded list. |
| rationale * | string | Non-empty justification — accountability is first-class. |
| tournament_id | string | ID of the target tournament. |
| verdict * | string | promote | reject | hold | rollback — insert-only; reversal is a new decision, never an edit. |
record_observationRecord an observation (data item about a quality).| Parameter | Type | Description |
|---|---|---|
| metrics * | object | Measured values {metric_name: float}; may be a JSON-encoded string. |
| spatiotemporal_region * | string | Where/when the observation was produced (run footprint tag). |
| trial_id * | string | ID of the target trial. |
| variance | object | Variance per metric {metric: float} — REQUIRED under the default repeated-measurement regime (a measured zero is valid); omit under a declared single_measurement regime, where it is recorded as 'not measured' rather than fabricated. May be JSON-encoded. |
record_promotion_decision| Parameter | Type | Description |
|---|---|---|
| bf_2ln | number | The measured 2 ln BF bound forwarded with computed_rung. Stored for audit. |
| candidate_id * | string | Candidate the verdict applies to; must exist. |
| claimed_rung | string | Evidence rung this verdict claims (not_worth|positive|strong|very_strong — the Kass–Raftery ladder). Required on 'promote' when the cited contract declares min_evidence_rung. |
| computed_rung | string | Evidence rung the promotion channel measured (forwarded by zetesis record_promotion_verdict — the rung close computed from the arm data). Stored beside claimed for audit; upstream cannot recompute it. |
| contract_id | string | Optional contract the decision was scored under; must exist if given. |
| decided_by * | string | Attributable decider (e.g. 'human:<name>' or a protocol/improver id). |
| evidence_refs * | array | Evidence_ref IDs (from pull_evidence) the decision cites — ≥1 required; may be a JSON-encoded list. |
| rationale * | string | Non-empty justification — accountability is first-class. |
| verdict * | string | promote | reject | hold | rollback — insert-only; reversal is a new 'rollback' decision. |
record_promotion_verdictWrite the campaign's verdict upstream as a promotion decision.| Parameter | Type | Description |
|---|---|---|
| campaign_id * | string | ID of the target campaign. |
| claimed_rung | string | Evidence rung this verdict claims (not_worth|positive|strong|very_strong — the Kass–Raftery ladder). Required on 'promote' when the campaign's contract declares min_evidence_rung. |
| decided_by * | string | Attributable decider — 'rollback' requires 'human:<name>' (corrective verdicts need human authority). |
| evidence_ref_ids | any | Evidence_ref IDs minted by pull_evidence/pull_arm_evidence calls; list or JSON-encoded. |
| rationale | string | Non-empty justification — accountability is first-class. |
| verdict * | string | promote | retain | rollback — 'rollback' requires decided_by starting with 'human:'. |
record_tournament_resultAppend one result to a tournament arm — insert-only.| Parameter | Type | Description |
|---|---|---|
| arm * | string | Tournament arm: 'parent' (incumbent) | 'candidate' (the child being evaluated). |
| descendant_spec * | any | What the arm produced — the descendant generated under the shared budget; object or JSON-encoded. |
| metrics * | any | Result metrics — must carry the contract's primary_metric; may carry 'seed' (per-seed bests feed E[best descendant]); may be JSON-encoded. |
| tournament_id * | string | ID of the target tournament. |
refresh_rosterReconcile the local roster with upstream Loop-0 candidates.| Parameter | Type | Description |
|---|---|---|
| dry_run * | boolean | When true, report what would change without mutating the roster. Required — pass false to apply. |
register_candidateRegister a researcher version with parent lineage (RSI Phase 0).| Parameter | Type | Description |
|---|---|---|
| capability_profile * | any | Tools/roles the version can use; object or JSON-encoded. |
| code_artifact_digest * | string | sha256:<64 hex> digest of the version's code artifact — must resolve to an ingested blob (describe_blob), or 'none' to declare no code artifact. |
| harness_artifact_digest | string | sha256:<64 hex> digest of the harness/evaluation artifact — must resolve to an ingested blob; omit when there is none. |
| model_ref * | string | Model identifier/reference backing this version. |
| parent_id | string | Parent version ID — omit for genesis; must name an existing row if given. |
| search_policy_ref | string | Reference to the search policy this version uses, if any. |
register_challengerMark a candidate as a challenger on the roster.| Parameter | Type | Description |
|---|---|---|
| candidate_id | string | Mode 1: ID of an existing upstream candidate to annotate as challenger (verified through the evidence channel). |
| capability_profile | any | Tools/roles the version can use; object or JSON-encoded. |
| code_artifact_digest | string | sha256:<64 hex> digest of the version's code artifact — enforced upstream: must resolve to an ingested blob, or 'none'. |
| harness_artifact_digest | string | sha256:<64 hex> digest of the harness/evaluation artifact — enforced upstream: must resolve to an ingested blob; omit when there is none. |
| model_ref | string | Model identifier/reference backing this version. |
| notes | any | Free-form roster annotations for the challenger; object or JSON-encoded. |
| parent_id | string | Parent version ID — omit for genesis; must name an existing row if given. |
| search_policy_ref | string | Reference to the search policy this version uses, if any. |
register_improverRegister one improver version in the lineage.| Parameter | Type | Description |
|---|---|---|
| capability_profile * | any | Tools/roles the version can use; object or JSON-encoded. |
| code_artifact_digest * | string | sha256:<64 hex> digest of the version's code artifact — must resolve to a blob ingested on episteme, or 'none' to declare no code artifact. |
| harness_artifact_digest | string | sha256:<64 hex> digest of the harness/evaluation artifact — must resolve to a blob ingested on episteme; omit when there is none. |
| model_ref * | string | Model identifier/reference backing this version. |
| parent_id | string | Parent version ID — omit for genesis; must name an existing row if given. |
| proposal_id | string | The admitted/conditional proposal this improver realizes — requires parent_id, and the proposer must be that parent. |
| search_policy_ref | string | Reference to the search policy this version uses, if any. |
register_search_policyRegister a new version of a named search policy.| Parameter | Type | Description |
|---|---|---|
| name * | string | Policy name — each call bumps the version and retires the previous active row. |
| policy * | any | Policy definition object — versions are append-only under its name; may be JSON-encoded. |
relate| Parameter | Type | Description |
|---|---|---|
| from_claim * | string | ID of the claim the edge starts from. |
| ref_type * | string | Type of to_ref — the closed RefType vocabulary: claim | trial | observation | conclusion | programme | hypothesis | investigation | finding | archive | improver | tournament | tournament_result | proposal | meta_contract | meta_decision | policy_version | canary_deployment | candidate | contract | decision | bundle | dataref | reference | evidence_ref | campaign | campaign_spawn | external. |
| relation * | string | Edge type: supports | contradicts | derived_from | tested_by | valid_under | supersedes | generalizes | specializes | similar_to | failed_because | cites. |
| source_id | string | Provenance tag — the entity that recorded this edge. |
| to_ref * | string | Edge target — claim-typed IDs are verified; other ref types are trusted opaque IDs. |
rollbackRoll a candidate back — a decision row plus pointer restore.| Parameter | Type | Description |
|---|---|---|
| candidate_improver_id * | string | ID of the candidate improver version this call targets. |
| decided_by * | string | Attributable decider (e.g. 'human:<name>' or a protocol/improver id). |
| evidence_refs | any | Evidence_ref IDs (from pull_evidence) the decision cites — ≥1 required; may be a JSON-encoded list. |
| rationale * | string | Non-empty justification — accountability is first-class. |
run_trialRun a trial by calling the executor role.| Parameter | Type | Description |
|---|---|---|
| programme_id * | string | ID of the programme owning the trial — required; the programme_id returned by design_experiment/list_trials (orphan check). The programme must be status=active — completed/abandoned/archived programmes are closed, immutable records. |
| timeout_seconds | number | Per-trial hard deadline override in seconds — the executor kills the process past it. None uses the server default ([executor] timeout_seconds). Bounded by [executor] max_timeout_seconds; the applied value is recorded in executor_output.timeout_seconds. |
| trial_id * | string | ID of the target trial. |
spawn_arm_programmeSpawn a descendant Loop-0 programme for a tournament arm.| Parameter | Type | Description |
|---|---|---|
| allowed_variables * | any | Variables the programme may search/vary; list or JSON-encoded list. |
| arm * | string | Tournament arm to spawn under: 'parent' | 'candidate'. |
| campaign_arm * | string | Which side of the arm's linked upstream campaign the programme spawns for: 'champion' | 'challenger' (required — a spawn is a binding decision; there is no default). 'arm' selects which campaign; 'campaign_arm' selects the side within it. |
| constraints * | any | Typed constraint fields {gpu_memory_gb, max_training_hours_per_trial, max_parameter_count} for the spawned programme; may be JSON-encoded. |
| goal * | string | Research goal for the spawned programme. |
| tournament_id * | string | ID of the target tournament. |
spawn_campaign_programmeSpawn a descendant Loop-0 programme under an open campaign arm.| Parameter | Type | Description |
|---|---|---|
| allowed_variables * | any | Variables the programme may search/vary; list or JSON-encoded list. |
| arm * | string | Campaign arm the programme spawns for: 'champion' | 'challenger'. |
| budget | any | Per-programme override {max_trials, max_wall_time_hours} — may only shrink the carried values. May be JSON-encoded. |
| campaign_id * | string | ID of the target campaign. |
| constraints * | any | Typed constraint fields {gpu_memory_gb, max_training_hours_per_trial, max_parameter_count} for the spawned programme; may be JSON-encoded. |
| goal * | string | Research goal for the spawned programme. |
update_beliefUpdate the belief state for a programme.| Parameter | Type | Description |
|---|---|---|
| observation_id * | string | ID of the observation the belief update consumes. |
| programme_id * | string | ID of the target research programme. |
| trial_id * | string | ID of the target trial. |
update_metric_directionUpdate the optimization direction for an existing programme.| Parameter | Type | Description |
|---|---|---|
| metric_direction * | string | 'minimize' (loss-like: perplexity, error) | 'maximize' (quality: accuracy, F1) — steers search and best-trial ranking. |
| programme_id * | string | ID of the target research programme. |
verify_archiveVerify an archive's integrity.| Parameter | Type | Description |
|---|---|---|
| archive_id * | string | ID of the target archive. |
verify_dataVerify data provenance by re-computing the hash.| Parameter | Type | Description |
|---|---|---|
| data_ref_id * | string | ID of the target DataRef (from prepare_data). |
void_tournamentVoid an unpaired open tournament — the dead-record exit.| Parameter | Type | Description |
|---|---|---|
| decided_by * | string | Attributable decider — 'agent:<name>', 'human:<name>', or an improver id. |
| rationale * | string | Non-empty reason the tournament is dead — recorded on the record; a void without a stated basis is a silent delete. |
| tournament_id * | string | ID of the target tournament. |
wait_trialWait for a trial to reach a terminal state — one call instead| Parameter | Type | Description |
|---|---|---|
| poll_seconds | number | Interval between server-side status checks. |
| programme_id * | string | ID of the target research programme. |
| timeout_seconds | number | Max seconds to wait server-side (capped at 60 — long trials still need client polling, just far less of it). |
| trial_id * | string | ID of the target trial. |
Security checks
6 checks have not been run yet.