{
  "version": 1,
  "repository": "Knuckles-Team/data-science-mcp",
  "revision": "fae16fc831a28173c38cd9f9bca68e0194516d52",
  "captured_at": "2026-12-04T03:03:34.695089+00:00",
  "records": [
    {
      "id": "CONN-DATA-SCIENCE-MCP",
      "kind": "spec",
      "parent": null,
      "source": "specs/connector/status.json",
      "title": "CONN-DATA-SCIENCE-MCP \u2014 Engine compute connection",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [],
      "verified_by": [],
      "document": "specs/connector/spec.md",
      "component": "Unassigned",
      "code_refs": [
        {
          "declared_in": "specs/connector/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "data_science_mcp/mcp_server.py",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/data_science_mcp/mcp_server.py"
        },
        {
          "declared_in": "specs/connector/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "requirements.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector/requirements.md"
        },
        {
          "declared_in": "specs/connector/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector/spec.md"
        },
        {
          "declared_in": "specs/connector/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "../../data_science_mcp/ml_engine.py",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/data_science_mcp/ml_engine.py"
        },
        {
          "declared_in": "specs/connector/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "../../tests/test_engine_audience.py",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "test",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/tests/test_engine_audience.py"
        },
        {
          "declared_in": "specs/connector/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "../../tests/test_engine_connection.py",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "test",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/tests/test_engine_connection.py"
        },
        {
          "declared_in": "specs/connector/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector/plan.md"
        },
        {
          "declared_in": "specs/connector/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "test-spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector/test-spec.md"
        }
      ],
      "relations": [],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-R001",
      "kind": "requirement",
      "parent": "CONN-DATA-SCIENCE-MCP",
      "source": "specs/connector/status.json",
      "title": "Signed engine compute connection",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "c121734e53f6",
        "e508582dc00c",
        "eac7c320be33"
      ],
      "verified_by": [
        "tests/test_engine_connection.py:8"
      ],
      "parent_title": "CONN-DATA-SCIENCE-MCP \u2014 Engine compute connection",
      "definition": "**Signed engine compute connection.** The connector must connect to the engine through the SDK compute adapter in `data_science_mcp/ml_engine.py`. The connection must sign the data-science and finance compute scopes and cache one probe result. Caller chain: The `data-science-mcp` console script runs `scion_sdk.cli:serve`, which loads `data_science_mcp/__init__.py::connector` (api=`MLEngine`); tools such as `fit_model` in `data_science_mcp/mcp_server.py` call `data_science_mcp/ml_engine.py::MLEngine._rust_client` (line 97), which calls `scion_sdk.compute.engine.connect_compute(scopes=ENGINE_SCOPES)`. Shape: `MLEngine._rust_client` signs `ENGINE_SCOPES` (compute:datascience, compute:finance, sparql:read) through the SDK `connect_compute` adapter and caches the client or the failed probe in `_rust_client_cache` against the `_UNPROBED` sentinel; failures are logged by type only. | `tests/test_engine_connection.py` must show: the adapter receives the compute scopes, the client is returned, and an unconfigured engine is probed once and logged by error type only. Test: `tests/test_engine_connection.py::test_connects_with_a_signed_compute_context`.",
      "definition_source": "specs/connector/requirements.md",
      "definition_line": 7
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-R002",
      "kind": "requirement",
      "parent": "CONN-DATA-SCIENCE-MCP",
      "source": "specs/connector/status.json",
      "title": "Engine audience from the deployment",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "2ced84cbb1a1"
      ],
      "verified_by": [
        "tests/test_engine_audience.py:6"
      ],
      "parent_title": "CONN-DATA-SCIENCE-MCP \u2014 Engine compute connection",
      "definition": "**Engine audience from the deployment.** The connector must sign engine requests with the audience in `MEDULLA_AUDIENCE`. The deployment must set it to the audience the engine expects. Caller chain: The `data-science-mcp` console script runs `scion_sdk.cli:serve`; `data_science_mcp/ml_engine.py::MLEngine._rust_client` calls `scion_sdk.compute.engine.connect_compute`, which builds `scion_sdk.ingest.engine.EngineSettings.from_settings` and signs the context through `verified_context()`. Shape: The audience is read from `MEDULLA_AUDIENCE` by `EngineSettings.from_settings` in scion-sdk; the connector adds no code and relies on the deployment setting the variable. | `tests/test_engine_audience.py` must show: the signed context carries the configured audience. Test: `tests/test_engine_audience.py::test_signed_context_carries_the_configured_audience`.",
      "definition_source": "specs/connector/requirements.md",
      "definition_line": 8
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-R003",
      "kind": "requirement",
      "parent": "CONN-DATA-SCIENCE-MCP",
      "source": "specs/connector/status.json",
      "title": "Served tool uploads teacher scores",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "fae16fc831a2"
      ],
      "verified_by": [
        "tests/test_distilled_scores.py:103",
        "tests/test_distilled_scores.py:61",
        "tests/test_distilled_scores.py:81",
        "tests/test_distilled_scores.py:92"
      ],
      "parent_title": "CONN-DATA-SCIENCE-MCP \u2014 Engine compute connection",
      "definition": "**Served tool uploads teacher scores.** Subsystem: served tool. Tool `upload_teacher_scores(scorer_id, scorer_revision, documents)` in `data_science_mcp`. For each document it runs the named scorer from `data_science_mcp/trainers/eval_hooks.py` (`Scorer`, default `grounded_scorer`) `DISTILL_SAMPLES` times, default 3, range [1, 9]. The score is the median in 16-bit fixed point. The fidelity bounds are the minimum and maximum. A deterministic scorer gives equal bounds. It uploads through `DistilledScoreUploader` of `SCION-CONNECTOR-CONTROL-R905`. It needs the actor-required flag of `SCION-CONNECTOR-CONTROL-R902.1`. Refusal: `SCORER_UNKNOWN`. Depends on: SCION-CONNECTOR-CONTROL-R905. Caller chain: (planned) The `data-science-mcp` console script runs `scion_sdk.cli:serve` and loads `data_science_mcp/__init__.py::connector`; the new `upload_teacher_scores` tool will be added through its `tool_registry`, and `data_science_mcp/trainers/eval_hooks.py::grounded_scorer` (line 31) exists today but nothing calls an uploader. Shape: Add a registration function beside `register_trainer_tools` in `data_science_mcp/mcp/mcp_trainers.py` and a `tool_registry` row in `data_science_mcp/__init__.py`; reuse `Scorer` and `grounded_scorer` from `data_science_mcp/trainers/eval_hooks.py` and the SDK `DistilledScoreUploader`; median and min/max over `DISTILL_SAMPLES`. | Test (planned): `tests/test_distilled_scores.py::test_tool_uploads_median_scores_with_bounds` (L3) calls the served tool with a recording uploader.",
      "definition_source": "specs/connector/requirements.md",
      "definition_line": 9
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-CONNECTOR-CONTENT",
      "kind": "spec",
      "parent": null,
      "source": "specs/connector-content/status.json",
      "title": "CONN-DATA-SCIENCE-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [],
      "verified_by": [],
      "document": "specs/connector-content/spec.md",
      "component": "Unassigned",
      "code_refs": [
        {
          "declared_in": "specs/connector-content/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector-content/spec.md"
        },
        {
          "declared_in": "specs/connector-content/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector-content/plan.md"
        },
        {
          "declared_in": "specs/connector-content/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "requirements.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector-content/requirements.md"
        },
        {
          "declared_in": "specs/connector-content/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "test-spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/connector-content/test-spec.md"
        }
      ],
      "relations": [],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-CONNECTOR-CONTENT-R001",
      "kind": "requirement",
      "parent": "CONN-DATA-SCIENCE-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Default content",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "6cd237c7e2eb",
        "efbea6f22d80"
      ],
      "verified_by": [
        "tests/test_ontology_one_schema.py:12"
      ],
      "parent_title": "CONN-DATA-SCIENCE-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Default content.** `pyproject.toml` declares `data-science-mcp` as the single `scion_sdk.connector` entry point. The server lists the packaged `skill://` and `ontology://` resources and the packaged prompts with no `content=` argument. Proving test: `tests/test_default_content_surfaces.py`. Caller chain: The `data-science-mcp` console script in pyproject.toml runs `scion_sdk.cli:serve`, which loads the `scion_sdk.connector` entry point `data-science-mcp = data_science_mcp:connector` and builds the server from `data_science_mcp/__init__.py::connector`. Shape: No code change is expected beyond the declared `Connector` in `data_science_mcp/__init__.py`; the missing test builds the server with `scion_sdk.connector.build_server` and lists resources and prompts, reusing `ConnectorContent.for_package` defaults from `scion_sdk.mcp.content`. The pack extends only the core ontology: it redeclares no class or property the core already declares and carries no pre-rename IRI base. | `resources/list` includes `skill://` and `ontology://`; `prompts/list` includes each packaged prompt. Planned test: `tests/test_default_content_surfaces.py::test_default_content_lists_skill_and_ontology_resources_and_prompts`. Also: `tests/test_ontology_one_schema.py::test_pack_declares_no_core_owned_term`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 9
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-DATA-PLATFORM-OPERATIONS",
      "kind": "spec",
      "parent": null,
      "source": "specs/data-platform-operations/status.json",
      "title": "CONN-DATA-SCIENCE-MCP-DATA-PLATFORM-OPERATIONS \u2014 Operations the data-platform vocabulary needs",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [],
      "verified_by": [],
      "document": "specs/data-platform-operations/spec.md",
      "component": "Unassigned",
      "code_refs": [
        {
          "declared_in": "specs/data-platform-operations/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "requirements.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/data-platform-operations/requirements.md"
        },
        {
          "declared_in": "specs/data-platform-operations/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/data-platform-operations/spec.md"
        },
        {
          "declared_in": "specs/data-platform-operations/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "data_science_mcp/mcp_server.py",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/data_science_mcp/mcp_server.py"
        },
        {
          "declared_in": "specs/data-platform-operations/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/data-platform-operations/plan.md"
        },
        {
          "declared_in": "specs/data-platform-operations/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "test-spec.md",
          "repository": "Knuckles-Team/data-science-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/data-science-mcp/blob/fae16fc831a28173c38cd9f9bca68e0194516d52/specs/data-platform-operations/test-spec.md"
        }
      ],
      "relations": [],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-DATA-SCIENCE-MCP-DATA-PLATFORM-OPERATIONS-R001",
      "kind": "requirement",
      "parent": "CONN-DATA-SCIENCE-MCP-DATA-PLATFORM-OPERATIONS",
      "source": "specs/data-platform-operations/status.json",
      "title": "Run-registry read",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "fae16fc831a2"
      ],
      "verified_by": [
        "tests/test_mcp_tools.py:703"
      ],
      "parent_title": "CONN-DATA-SCIENCE-MCP-DATA-PLATFORM-OPERATIONS \u2014 Operations the data-platform vocabulary needs",
      "definition": "**Run-registry read.** Returns training runs with their dataset, validation metrics and baseline run. Touches `data_science_mcp/mcp_server.py`. Moved from `MEDULLA-DATAPLAT-VOCAB-R009.5` (medulla). Caller chain: (planned) The `data-science-mcp` console script runs `scion_sdk.cli:serve` and loads `data_science_mcp/__init__.py::connector`; the new read tool will register through `tool_registry` next to `register_model_evolution_tools` in `data_science_mcp/mcp_server.py`, and run records today live only in `data_science_mcp/tracking.py::RunTracker`. Shape: Add a read-only tool in `data_science_mcp/mcp_server.py` returning run records from `RunTracker.provenance` and `records` (dataset_version, summary metrics, parent_run as baseline); a persisted run store does not exist, so the fixture supplies the runs. | fixture runs list returns metrics and a baseline id. Planned test: `tests/test_mcp_tools.py::test_run_registry_read_returns_metrics_and_baseline`.",
      "definition_source": "specs/data-platform-operations/requirements.md",
      "definition_line": 9
    }
  ],
  "github": {
    "issues": {
      "available": true,
      "items": []
    },
    "pull_requests": {
      "available": true,
      "items": []
    }
  },
  "spec_edges": []
}
