{
  "version": 1,
  "repository": "Knuckles-Team/aris-mcp",
  "revision": "1fdc8e6c4abcecbae164681a7cb1295d94a94d5a",
  "captured_at": "2026-11-06T18:20:33.564973+00:00",
  "records": [
    {
      "id": "CONN-ARIS-MCP",
      "kind": "spec",
      "parent": null,
      "source": "specs/aris-mcp/status.json",
      "title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "document": "specs/aris-mcp/spec.md",
      "component": "Unassigned",
      "code_refs": [
        {
          "declared_in": "specs/aris-mcp/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/__init__.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/__init__.py"
        },
        {
          "declared_in": "specs/aris-mcp/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/mcp/mcp_aris.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/mcp/mcp_aris.py"
        },
        {
          "declared_in": "specs/aris-mcp/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/aris-mcp/spec.md"
        },
        {
          "declared_in": "specs/aris-mcp/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "tests/fixtures/invoice-approval.aml",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "test",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/tests/fixtures/invoice-approval.aml"
        },
        {
          "declared_in": "specs/aris-mcp/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "`requirements.md`",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/aris-mcp/requirements.md"
        },
        {
          "declared_in": "specs/aris-mcp/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/aris-mcp/plan.md"
        },
        {
          "declared_in": "specs/aris-mcp/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "test-spec.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/aris-mcp/test-spec.md"
        }
      ],
      "relations": [],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-ARIS-MCP-R001",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "Source resolution, typed refusals and health",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_source.py:102",
        "tests/test_source.py:117",
        "tests/test_source.py:44",
        "tests/test_source.py:55",
        "tests/test_source.py:79"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**Source resolution, typed refusals and health.** `aris_mcp/source.py::resolve_mode` resolves `live` when `ARIS_API_BASE` is set, `fixture` when `ARIS_REPOSITORY_DIR=fixture`, `files` when `ARIS_REPOSITORY_DIR` names a directory of AML exports, else `unconfigured`; `aris_mcp/auth.py::get_client` has no default base URL. In `unconfigured` mode every repository tool refuses `ARIS_NOT_CONFIGURED` with a remedy naming both variables, never an empty success; writes to a `files` or `fixture` repository refuse `ARIS_READ_ONLY_SOURCE`; live writes without `ARIS_ENABLE_WRITE` refuse `ARIS_WRITE_DISABLED`. A refusal (`ArisRefusal`) is returned by every tool through `source.refusals_as_results` as an `isError` tool result whose structured content (and text) is the JSON object `{refused: true, code, message, remedy, details?}`. The server builds, lists its tools and answers `/health` 200 in every mode; the resolved mode is logged once when the server is built; `aris_get_source_status` reports mode, repository, model count and whether writes are enabled. Caller chain: `aris_mcp:connector` (`aris_mcp/__init__.py`) -> `extra_registrations` `source.log_resolved_mode`; every repository tool in `aris_mcp/mcp/mcp_aris.py` -> `source.get_source`. Shape: `aris_mcp/source.py` holds `SourceConfig`, `resolve_mode`, `get_source`, `FileRepository`, `source_status`, `log_resolved_mode`, `ArisRefusal` and `refusals_as_results` (returns a fastmcp `ToolResult` with `is_error`); reuse `scion_sdk.config.setting` and the SDK `/health` route. | `tests/test_source.py::test_unconfigured_refuses_typed`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 7
    },
    {
      "id": "CONN-ARIS-MCP-R002",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "AML reader",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_aml.py:12",
        "tests/test_aml.py:36",
        "tests/test_aml.py:50",
        "tests/test_conversion_tools.py:64"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**AML reader.** `aris_mcp/aml.py::read_aml` reads an ARIS AML export (`Group`, `ObjDef` with `TypeNum`/`SymbolNum`/`GUID`, nested `CxnDef`, `Model`, `ObjOcc`, `CxnOcc`, `AttrDef` `AT_NAME` as `AttrValue` text or `StyledElement`/`PlainText`) into the record shapes of the live client: model `{guid, id, name, type, groupPath, attributes}`, object `{guid, id, name, type, symbol, attributes}`, connection `{guid, id, type, sourceObjectId, targetObjectId}`. It refuses a document type declaration, entity declarations and documents above 16 MiB (`AML_INVALID` at the tools). Caller chain: `aris_import_aml`, `aris_export_canonical_workflow` and `source.FileRepository` -> `read_aml`. Shape: `aris_mcp/aml.py` holds `read_aml`, `AmlModel` and `AmlError`; reuse `defusedxml.ElementTree.fromstring(forbid_dtd=True)`. | `tests/test_aml.py::test_reader_refuses_doctype_and_entities`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 8
    },
    {
      "id": "CONN-ARIS-MCP-R003",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "AML writer",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_aml.py:60"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**AML writer.** `aris_mcp/aml.py::write_aml` writes model, object and connection records as AML (group path, object and connection definitions with GUIDs, model occurrences) that `read_aml` reads back to the same records; writing that result again gives the same text. Caller chain: `aris_export_aml` and `aris_import_canonical_workflow` -> `write_aml`. Shape: `aris_mcp/aml.py::write_aml` builds the tree with the standard library `xml.etree.ElementTree`; reuse `AmlModel`. | `tests/test_aml.py::test_writer_round_trips_through_the_reader`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 9
    },
    {
      "id": "CONN-ARIS-MCP-R004",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "EPC to canonical workflow",
      "delivery_state": "VERIFIED",
      "state": "verified",
      "done": true,
      "landed_in": [
        "1fdc8e6c4abc"
      ],
      "verified_by": [
        "tests/test_canonical.py:35",
        "tests/test_canonical.py:69",
        "tests/test_canonical.py:81",
        "tests/test_conversion_tools.py:37"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**EPC to canonical workflow.** `aris_mcp/canonical.py::epc_to_canonical` turns EPC records into a `medulla.process.canonical/v1` document: control objects (function, event, rule operator, process interface) and control flow only; functions classified by their attachments (performer via `CT_EXEC_*` and no application system -> `human` with the performer as role; a business rule or decision object -> `decision` with the rule name as ref; else `agent`; `ST_PRCS_IF` -> `call`); events with no incoming flow -> `start`, no outgoing -> `end`; an event after an XOR/OR split folds into the flow condition (annex `epc-condition-event`), any other intermediate event folds away (annex `epc-state-event`); operators become `branch`/`fork`/`join` by degree with gate `and`/`or`/`xor`, a join-and-split operator becomes two steps; unknown attachments go to the annex as `epc-attachment`. Labels are NFC, whitespace-collapsed and trimmed. Steps are numbered `s1..sn` by Kahn's algorithm with the contract key; flows are sorted; the digest is SHA-256 over `{schema, steps, flows}` with sorted keys and compact separators. The mapping comes from the ontology annotations. Caller chain: `aris_export_canonical_workflow` (`aris_mcp/mcp/mcp_aris.py`) -> `epc_to_canonical`. Shape: `aris_mcp/canonical.py` holds `epc_to_canonical`, `number_steps`, `build_canonical`, `compute_digest` and `normalize_text`; reuse `aris_mcp/vocabulary.py::vocabulary`. | `tests/test_canonical.py::test_epc_to_canonical_equals_the_golden`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 10
    },
    {
      "id": "CONN-ARIS-MCP-R005",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "Canonical workflow to EPC with loss rules",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_canonical.py:143",
        "tests/test_canonical.py:152",
        "tests/test_canonical.py:164",
        "tests/test_canonical.py:180",
        "tests/test_canonical.py:94"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**Canonical workflow to EPC with loss rules.** `aris_mcp/canonical.py::canonical_to_epc` validates a canonical document (`PROCESS_CANONICAL_INVALID`), restores EPC alternation (a synthesized `<label> completed` event between two functions, a condition event per conditioned split arm, start and end events), restores annexed events and unknown attachments with their ids on a same-source (`aris`) export, and lists what EPC cannot express as `losses` (`typed-trigger`, `boundary-event`, `default-flow`, `event-based-gateway`, `decision-table` for a canonical from another format, `unassigned-human-step`, and the other format's annex constructs). With `strict=true` a lossy export refuses `PROCESS_EXPORT_LOSSY` listing the losses. A same-source round trip keeps the digest and the annex. Caller chain: `aris_import_canonical_workflow` -> `canonical_to_epc` -> `aml.write_aml`. Shape: `aris_mcp/canonical.py` holds `canonical_to_epc`, `validate_canonical` and `CanonicalError`; reuse `aml.write_aml` and the ontology vocabulary. | `tests/test_canonical.py::test_same_source_round_trip_keeps_digest_and_annex`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 11
    },
    {
      "id": "CONN-ARIS-MCP-R006",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "Fixture repository",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_source.py:130",
        "tests/test_source.py:154"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**Fixture repository.** `aris_mcp/fixtures/repository/` bundles the invoice-approval sample and a supplier-onboarding model with an OR split and join, a process interface and an unknown attachment. With `ARIS_REPOSITORY_DIR=fixture` the read tools serve it and tag every response `\"repository\": \"fixture\"`; with a directory path they serve that directory's AML exports read-only and skip unreadable files. Caller chain: `source.get_source` -> `source.FileRepository`. Shape: AML files under `aris_mcp/fixtures/repository/` packaged by `pyproject.toml` package-data; reuse `source.FileRepository`. | `tests/test_source.py::test_fixture_repository_serves_the_samples_through_read_tools`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 12
    },
    {
      "id": "CONN-ARIS-MCP-R007",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "One typed tool per operation",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_tool_surface.py:34",
        "tests/test_tool_surface.py:48"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**One typed tool per operation.** The server lists exactly `aris_get_source_status`, `aris_list_models`, `aris_get_model`, `aris_list_model_objects`, `aris_list_model_connections`, `aris_get_model_attributes`, `aris_set_model_attributes`, `aris_set_object_attributes`, `aris_ingest_model_inventory`, `aris_ingest_model_graph`, `aris_ingest_model_export`, `aris_import_aml`, `aris_export_aml`, `aris_export_canonical_workflow` and `aris_import_canonical_workflow`, each with typed parameters and tool annotations; no tool takes `action` or `params_json`, and `aris_model`, `aris_object` and `aris_ingest_models` are gone. `connector_sources.py` and `ontology/mappings/source.yaml` name `aris_list_models`. Caller chain: the `aris-mcp` console script (`scion_sdk.cli:serve`) -> `aris_mcp:connector` (`tools=\"aris_mcp.mcp_server\"`) -> `register_aris_tools`. Shape: `aris_mcp/mcp/mcp_aris.py::register_aris_tools` with `Annotated` pydantic parameters and `ToolAnnotations`; reuse the SDK tool discovery of `register_<tag>_tools`. | `tests/test_tool_surface.py::test_surface_is_one_typed_tool_per_operation`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 13
    },
    {
      "id": "CONN-ARIS-MCP-R008",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP",
      "source": "specs/aris-mcp/status.json",
      "title": "Cross-source equivalence fixture",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_equivalence.py:30"
      ],
      "parent_title": "CONN-ARIS-MCP \u2014 Process source, AML and the canonical workflow",
      "definition": "**Cross-source equivalence fixture.** `tests/fixtures/invoice-approval.aml` (strict EPC) and `tests/fixtures/invoice-approval.bpmn` (BPMN 2.0) describe one 12-step process. The EPC converts to `tests/fixtures/invoice-approval.canonical.json` (golden); the hand-written canonical form of the BPMN (`invoice-approval.bpmn.canonical.json`), proven by the test-only reference reader `tests/bpmn_reference.py`, has the same digest, the same agent workflow graph edge set and the same node kinds. Depends on: `CONN-ARIS-MCP-R004`. Caller chain: `aris_export_canonical_workflow` -> `canonical.epc_to_canonical` over the fixture AML; the engine's native BPMN reader is mirrored by `tests/bpmn_reference.py`. Shape: fixture files under `tests/fixtures/` and `tests/test_equivalence.py`; reuse `canonical.build_canonical` in the reference reader. | `tests/test_equivalence.py::test_epc_and_bpmn_give_the_same_digest_and_dag`",
      "definition_source": "specs/aris-mcp/requirements.md",
      "definition_line": 14
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "kind": "spec",
      "parent": null,
      "source": "specs/connector-content/status.json",
      "title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "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": "aris_mcp/api/api_client_aris.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/api/api_client_aris.py"
        },
        {
          "declared_in": "specs/connector-content/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/mcp/mcp_aris.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/mcp/mcp_aris.py"
        },
        {
          "declared_in": "specs/connector-content/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/ontology/aris.ttl",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/ontology/aris.ttl"
        },
        {
          "declared_in": "specs/connector-content/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/connector-content/spec.md"
        },
        {
          "declared_in": "specs/connector-content/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/connector-content/plan.md"
        },
        {
          "declared_in": "specs/connector-content/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "requirements.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/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/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/connector-content/test-spec.md"
        }
      ],
      "relations": [],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R001",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Default content",
      "delivery_state": "LANDED",
      "state": "landed",
      "done": false,
      "landed_in": [
        "0c18188d4c32"
      ],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Default content.** `pyproject.toml` declares `aris-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 `aris-mcp` console script in pyproject.toml runs `scion_sdk.cli:serve`, which loads the `scion_sdk.connector` entry point `aris-mcp = aris_mcp:connector` and builds the server from `aris_mcp/__init__.py::connector`. Shape: No code change is expected beyond the declared `Connector` in `aris_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`. | `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`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 9
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R002",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Declare access contracts for the competency reads of aris-mcp",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Declare access contracts for the competency reads of aris-mcp.** Subsystem: connector `aris-mcp`. Caller: the connector's existing read tool, called by arbora through `fleet.call`. Declare in `aris_mcp/ontology/access_contracts.ttl` one `ac:AccessContract` per entity. Entities: entity `epc_function` (class EpcFunction, key `id`, columns modelId, name); entity `connection` (class EpcConnection, key `id`, columns sourceId, targetId). Each row sets `ac:classIri`, `ac:sourceId`, `ac:entity`, `ac:keyField`, `ac:accessKind` `mcp_tool`, `ac:operation` (the existing tool name) and `ac:pagination`. Column names equal the ontology property local names. Follow the access contracts file of the container-manager-mcp connector (`access_contracts.ttl` under its `ontology` directory). Save one recorded response per entity in `tests/recordings/<entity>.json`. Medulla copies these into its competency fixtures. The consumer is the medulla table row MEDULLA-CQ-CONN-R086. Caller chain: (planned) The `aris-mcp` console script runs `scion_sdk.cli:serve` and loads `aris_mcp/__init__.py::connector`; arbora calls the existing read tools `aris_mcp/mcp/mcp_aris.py::register_aris_tools.aris_list_model_objects` and `aris_list_model_connections` through `fleet.call`, which reads `ArisApi.list_model_objects` and `list_model_connections` in `aris_mcp/api/api_client_aris.py`. Shape: Add `aris_mcp/ontology/access_contracts.ttl` beside `aris.ttl`, with two `ac:AccessContract` rows for `epc_function` and `connection`, and save recordings in `tests/recordings/`; copy the structure of the container-manager contract file and reuse the SDK ontology certification helper. | Test (planned): `tests/test_access_contracts.py::test_competency_contracts_certified` (L2) runs the connector ontology certification and validates each recording against its contract.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 10
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R003",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "EPC ontology maps EPC to the canonical workflow and rolls up to core",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_kg_ingest.py:169"
      ],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**EPC ontology maps EPC to the canonical workflow and rolls up to core.** `aris_mcp/ontology/aris.ttl` declares the EPC classes as leaves of the core terms: functions `:EpcHumanFunction`, `:EpcAutomatedFunction`, `:EpcDecisionFunction` and `:EpcProcessInterface` subclass the core `:EpcFunction`; `:EpcEvent` subclasses the core `:ProcessEventType` with `:EpcStartEvent`, `:EpcEndEvent` and `:EpcIntermediateEvent`; `:EpcAndOperator`, `:EpcOrOperator` and `:EpcXorOperator` subclass the core `:EpcRuleOperator`; attachment classes (organizational element, application system, business rule, data object, document) subclass `:EpcAttachment` (`:Concept`); `:EpcModel` subclasses `:ProcessModel`, `:ModelExport` `:MediaAsset`, `:AmlDocument` `:Document`, `:EpcConnection` `:Concept`. The file never declares or re-parents a core term (`:EpcFunction`, `:EpcRuleOperator`, `:ProcessEventType`, `:flowsTo`) and never uses `owl:imports`. Annotation properties `:dagNodeKind` (the closed canonical kind set plus `state` for a folded intermediate event and `graph` for the model), `:canonicalGateKind` (`and`, `or`, `xor`), `:arisTypeNum`, `:arisSymbolNum`, `:epcAttachmentRole` and `:executedByTool` carry the EPC to canonical mapping; the adapter reads them through `aris_mcp/vocabulary.py`, so the ontology is the one source of truth. Every tool named by `:executedByTool` is served. The KG ingest (`aris_mcp/kg_ingest.py`) types each object with its leaf class by TypeNum and SymbolNum first (type-name hints only as a fallback) and always emits the reified `:EpcConnection`. Caller chain: the SDK serves the file as `ontology://aris-mcp/aris.ttl`; `aris_mcp/canonical.py::epc_to_canonical` and `classify_epc_objects` call `aris_mcp/vocabulary.py::vocabulary`; `aris_ingest_model_graph` -> `kg_ingest.ingest_model_graph` -> `classify_epc_objects`. Depends on: `MEDULLA-CQ-CONN-R072.1`. Shape: `aris_mcp/ontology/aris.ttl` and `aris_mcp/vocabulary.py` (`parse_classes`, `EpcVocabulary`); reuse the SDK ontology serving. | Test: `tests/test_ontology.py::test_every_class_reaches_a_core_class`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 11
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R004",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Skills name only served tools and write up the proven workflows",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_surface_contracts.py:62"
      ],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Skills name only served tools and write up the proven workflows.** `aris_mcp/skills/` holds `aris-process-modeling`, `aris-process-mining`, `aris-kg-ingestion`, `aris-mcp-development` and `aris-epc-to-canonical-workflow` (the proven workflow: import an AML export, export the canonical workflow, hand it to the engine's process plan; and the reverse with strict loss refusal). Every `aris_*` tool a skill names is served, and every skill is linked to a contract task. Caller chain: the SDK content registrar serves `skills/*/SKILL.md` as `skill://` resources. Shape: one `aris_mcp/skills/<name>/SKILL.md` per skill; reuse the SDK content registrar. | Test: `tests/test_surface_contracts.py::test_skills_name_only_served_tools_and_link_to_tasks`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 12
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R005",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Prompts are complete agent definitions",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_surface_contracts.py:83"
      ],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Prompts are complete agent definitions.** `aris_mcp/prompts/` holds the operator agent `aris-process-operator` and the business-role agent `aris-process-modeler` (business role `process-modeler`: turns business procedures into EPC models and converts between EPC, the canonical workflow and BPMN). Each states role, goal, tools and skills by exact name, data locations, guardrails (approval-required writes, never-do rules) and outputs in `instructions.core_directive` (sections GOAL, TOOLS AND SKILLS, DATA, GUARDRAILS, OUTPUT) and in an `agent` object that names only served tools, packaged skills and declared locations. Caller chain: the SDK content registrar serves `prompts/*.json` as MCP prompts; `contracts_turtle()` records each prompt's agent kind, role, skills and locations. Shape: `aris_mcp/prompts/<name>.json` with `identity`, `instructions.core_directive` and `agent`; reuse the SDK content registrar. | Test: `tests/test_surface_contracts.py::test_prompts_are_complete_agent_definitions`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 13
    },
    {
      "id": "CONN-ARIS-MCP-CONNECTOR-CONTENT-R006",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-CONNECTOR-CONTENT",
      "source": "specs/connector-content/status.json",
      "title": "Tool-use contracts, links, data locations and roles",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_surface_contracts.py:30",
        "tests/test_surface_contracts.py:37",
        "tests/test_surface_contracts.py:47"
      ],
      "parent_title": "CONN-ARIS-MCP-CONNECTOR-CONTENT \u2014 The connector serves its packaged content",
      "definition": "**Tool-use contracts, links, data locations and roles.** `aris_mcp/connector_contracts.py` declares the business tasks (verify the process source, read a process model, convert EPC to the canonical workflow, convert a canonical workflow to EPC, export AML, ingest process models, enrich model attributes) as ordered tool steps with parameters, result fields and typed refusals (`ARIS_NOT_CONFIGURED`, `ARIS_READ_ONLY_SOURCE`, `ARIS_WRITE_DISABLED`, `ARIS_MODEL_NOT_FOUND`, `AML_INVALID`, `PROCESS_EXPORT_LOSSY`, `PROCESS_CANONICAL_INVALID`); every served tool is called by a step and named by a link; four data locations (process repository, process model graph, canonical workflow, model exports) name the instance, store, read tool, route parameter and federation key; one business role (`process-modeler`). The refusal transport is documented: an `isError` tool result whose structured content (and text) is the JSON object `{refused: true, code, message, remedy, details?}`. Served as `ontology://aris-mcp/contracts.ttl`. Caller chain: `register_aris_tools` (`aris_mcp/mcp/mcp_aris.py`) registers the resource -> `contracts_turtle()` -> `render_surface_turtle` (`aris_mcp/_surface.py`). Shape: `aris_mcp/connector_contracts.py` (`CONTRACTS`, `LINKS`, `LOCATIONS`, `ROLES`) over the types of `aris_mcp/_surface.py`; reuse `render_surface_turtle`. | Test: `tests/test_surface_contracts.py::test_every_tool_is_called_by_a_contract_and_named_by_a_link`.",
      "definition_source": "specs/connector-content/requirements.md",
      "definition_line": 14
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "kind": "spec",
      "parent": null,
      "source": "specs/sdk-centralization/status.json",
      "title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "document": "specs/sdk-centralization/spec.md",
      "component": "Unassigned",
      "code_refs": [
        {
          "declared_in": "specs/sdk-centralization/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/api/api_client_base.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/api/api_client_base.py"
        },
        {
          "declared_in": "specs/sdk-centralization/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "aris_mcp/mcp/mcp_aris.py",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "implementation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/aris_mcp/mcp/mcp_aris.py"
        },
        {
          "declared_in": "specs/sdk-centralization/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "requirements.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/sdk-centralization/requirements.md"
        },
        {
          "declared_in": "specs/sdk-centralization/plan.md",
          "evidence": "file exists; coverage not verified",
          "label": "spec.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/sdk-centralization/spec.md"
        },
        {
          "declared_in": "specs/sdk-centralization/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "plan.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/sdk-centralization/plan.md"
        },
        {
          "declared_in": "specs/sdk-centralization/spec.md",
          "evidence": "file exists; coverage not verified",
          "label": "test-spec.md",
          "repository": "Knuckles-Team/aris-mcp",
          "role": "documentation",
          "url": "https://github.com/Knuckles-Team/aris-mcp/blob/1fdc8e6c4abcecbae164681a7cb1295d94a94d5a/specs/sdk-centralization/test-spec.md"
        }
      ],
      "relations": [
        {
          "declared_in": "specs/sdk-centralization/spec.md",
          "evidence": "external declaration; not verified",
          "kind": "extends",
          "label": "SCION-CENTRALIZED-CAPABILITIES",
          "repository": "Knuckles-Team/scion-sdk",
          "url": "https://github.com/Knuckles-Team/scion-sdk/blob/main/specs/centralized-capabilities/spec.md"
        }
      ],
      "plan_diagrams": [],
      "unparsed_references": []
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION-R001",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "source": "specs/sdk-centralization/status.json",
      "title": "Capabilities come from the SDK (rollup)",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [
        "c4ff2d5f4041"
      ],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "definition": "**Capabilities come from the SDK (rollup).** The connector must use the SDK for HTTP, retry, TLS and optional dependencies. Children `.1` to `.4` deliver it. | See each child.",
      "definition_source": "specs/sdk-centralization/requirements.md",
      "definition_line": 9
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION-R001.1",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "source": "specs/sdk-centralization/status.json",
      "title": "Governed client",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "definition": "**Governed client.** The API client and the OAuth token request must send HTTP through the SDK governed client and must not import `requests` (`SCION-CENTRALIZED-CAPABILITIES-R001`, `SCION-CENTRALIZED-CAPABILITIES-R003`). Bearer and basic credentials must travel as client auth, not as default headers. Proving test: `tests/test_sdk_transport.py::test_client_is_governed_and_sends_bearer_auth`. Caller chain: The `aris-mcp` console script runs `scion_sdk.cli:serve`, which loads `aris_mcp/__init__.py::connector` (tools=`aris_mcp.mcp.mcp_aris`) builds `ArisApi` through `aris_mcp/auth.py::get_client`; `ApiClientBase.__init__` in `aris_mcp/api/api_client_base.py` calls `build_http_client`, which wraps `scion_sdk.http.client.create_http_client`, and `auth.py::_fetch_oauth_token` uses the same builder. Shape: `build_http_client` in `aris_mcp/api/api_client_base.py` creates the client from `HttpClientOptions` with `auth=` (`BearerAuth` or `httpx.BasicAuth`) and no default auth headers; the module imports no `requests`. | The session is an SDK client with bearer auth and the package imports no `requests`.",
      "definition_source": "specs/sdk-centralization/requirements.md",
      "definition_line": 10
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION-R001.2",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "source": "specs/sdk-centralization/status.json",
      "title": "TLS profile only",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [
        "tests/test_auth.py:90"
      ],
      "parent_title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "definition": "**TLS profile only.** Every connection, including the OAuth token request, must take its trust from the `resolve_tls_profile` result for the `aris` prefix (`SCION-CENTRALIZED-CAPABILITIES-R008`). The connector must not read a verification flag. Proving test: `tests/test_auth.py::test_oauth_token_fetch_uses_resolved_tls_profile`. Caller chain: The `aris-mcp` console script runs `scion_sdk.cli:serve`, which loads `aris_mcp/__init__.py::connector` (tools=`aris_mcp.mcp.mcp_aris`) builds `ArisApi` through `aris_mcp/auth.py::get_client`; `get_client` resolves the profile with `resolve_tls_profile` and passes it to `_fetch_oauth_token` (line 16) and to `ArisApi`. Shape: `aris_mcp/auth.py::get_client` calls `scion_sdk.tls.resolve.resolve_tls_profile` once and hands the `ResolvedTLSProfile` to `aris_mcp/api/api_client_base.py::build_http_client` for both the token request and the API session; no verification flag is read. | The token client is built with the resolved profile.",
      "definition_source": "specs/sdk-centralization/requirements.md",
      "definition_line": 11
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION-R001.3",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "source": "specs/sdk-centralization/status.json",
      "title": "Same behaviour",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "definition": "**Same behaviour.** Each API method must keep its path, body and result shape. A status of 400 or more must raise `API error: <status> - <text>`. Proving test: `tests/test_sdk_transport.py::test_request_shapes_are_unchanged`. Caller chain: The `aris-mcp` console script runs `scion_sdk.cli:serve`; the read and write tools in `aris_mcp/mcp/mcp_aris.py` (`aris_list_models`, `aris_get_model`, `aris_list_model_objects`, `aris_list_model_connections`, `aris_set_model_attributes`, `aris_set_object_attributes`) call `ArisApi.list_models`, `get_model`, `list_model_objects` and `list_model_connections`, which call `aris_mcp/api/api_client_base.py::ApiClientBase.request` (line 94). Shape: `ApiClientBase.request` sends `params`, `data` or `json` through the governed session and raises `Exception(f\"API error: {status} - {text}\")` for status 400 or more, using `_parse_response_body` for the result. | A request sends its JSON body and an error status raises as before.",
      "definition_source": "specs/sdk-centralization/requirements.md",
      "definition_line": 12
    },
    {
      "id": "CONN-ARIS-MCP-SDK-CENTRALIZATION-R001.4",
      "kind": "requirement",
      "parent": "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "source": "specs/sdk-centralization/status.json",
      "title": "SDK floor",
      "delivery_state": "SPECIFIED",
      "state": "specified",
      "done": false,
      "landed_in": [],
      "verified_by": [],
      "parent_title": "CONN-ARIS-MCP-SDK-CENTRALIZATION \u2014 Capabilities through the SDK",
      "definition": "**SDK floor.** The package must depend on `scion-sdk[mcp]` at the latest release floor and must not pin `requests` (`SCION-CENTRALIZED-CAPABILITIES-R040`). Proving test: `tests/test_sdk_transport.py::test_dependencies_come_from_the_sdk`. Caller chain: Installing the package resolves `dependencies` in pyproject.toml; the `aris-mcp` console script (`scion_sdk.cli:serve`) then imports `scion_sdk.http.client` and `scion_sdk.tls.resolve` used by `aris_mcp/api/api_client_base.py`. Shape: pyproject.toml `dependencies` lists `scion-sdk[mcp]>=0.6.4,<0.7.0` and no `requests`; the check is a text read of pyproject.toml as done in `tests/test_sdk_transport.py`. | `pyproject.toml` has no `requests` pin and the SDK floor is `0.3.11` or later.",
      "definition_source": "specs/sdk-centralization/requirements.md",
      "definition_line": 13
    }
  ],
  "github": {
    "issues": {
      "available": true,
      "items": []
    },
    "pull_requests": {
      "available": true,
      "items": []
    }
  },
  "spec_edges": [
    [
      "CONN-ARIS-MCP-SDK-CENTRALIZATION",
      "extends",
      "https://github.com/Knuckles-Team/scion-sdk/blob/main/specs/centralized-capabilities/spec.md"
    ]
  ]
}
