github-agent 2.5.0__py3-none-any.whl → 2.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
github_agent/kg_ingest.py CHANGED
@@ -1,7 +1,7 @@
1
- """Native epistemic-graph ingestion for GitHub records (typed graph nodes + documents).
1
+ """Native medulla ingestion for GitHub records (typed graph nodes + documents).
2
2
 
3
3
  CONCEPT:AU-KG.ingest.enterprise-source-extractor. The github-agent connector natively
4
- pushes its data into the ONE epistemic-graph knowledge graph as **typed OWL nodes**
4
+ pushes its data into the ONE medulla knowledge graph as **typed OWL nodes**
5
5
  (``:Repository``, ``:PullRequest``, ``:Issue``, ``:Release``, ``:Organization``,
6
6
  ``:Person``, ``:PipelineRun``, ``:CheckRun``) plus links, and release notes as
7
7
  **:Document** nodes for semantic search, through the ``scion_sdk.ingest``
@@ -65,7 +65,7 @@ async def ingest_entities(
65
65
  *,
66
66
  ingest: KnowledgeIngest | None = None,
67
67
  ) -> dict[str, int] | None:
68
- """Write typed OWL nodes (+ edges) into epistemic-graph. Best-effort, never raises.
68
+ """Write typed OWL nodes (+ edges) into medulla. Best-effort, never raises.
69
69
 
70
70
  ``entities``: ``[{"id":..., "node_type":<owl:Class>, ...props}]``.
71
71
  ``relationships``: ``[{"source":id, "target":id, "relationship":<link>}]``.
@@ -115,7 +115,7 @@ def register_ingest_tools(mcp: FastMCP):
115
115
  default=None, description="MCP context for progress reporting"
116
116
  ),
117
117
  ) -> Any:
118
- """Natively ingest GitHub repositories into epistemic-graph as typed :Repository nodes.
118
+ """Natively ingest GitHub repositories into medulla as typed :Repository nodes.
119
119
 
120
120
  Lists the authenticated user's repositories via the GitHub API and pushes them
121
121
  (with their owner :Organization/:Person + :ownedByOrg links) into the knowledge
@@ -171,7 +171,7 @@ def register_ingest_tools(mcp: FastMCP):
171
171
  default=None, description="MCP context for progress reporting"
172
172
  ),
173
173
  ) -> Any:
174
- """Natively ingest GitHub Actions workflow runs into epistemic-graph.
174
+ """Natively ingest GitHub Actions workflow runs into medulla.
175
175
 
176
176
  Lists recent workflow runs for a repository (+ each run's jobs, unless
177
177
  ``include_jobs=false``) via the GitHub API and pushes them as typed
@@ -1,7 +1,7 @@
1
1
  """Github ontology contribution (CONCEPT:AU-KG.ontology.federation-provider-leg).
2
2
 
3
3
  Data-only subpackage: it carries ``github.ttl`` (the ``owl:Ontology``
4
- ``http://knuckles.team/kg/github`` module — organizations, repositories, pull requests,
4
+ ``https://knuckles-team.github.io/ontology/connector/github`` module — organizations, repositories, pull requests,
5
5
  issues, releases, branches, commits, workflows and workflow runs with their review and
6
6
  delivery relationships) which the scion-sdk hub federates in via
7
7
  the ``scion_sdk.ontology_providers`` entry-point. It holds no business logic
@@ -2,7 +2,7 @@
2
2
  "api_version": "graphos.io/v1",
3
3
  "artifacts": {
4
4
  "github_agent/ontology/fixtures/records.json": "12f5b54b0ae98770f279f99e136788d063340042a9d6ff4bac0c22a886d2dc7b",
5
- "github_agent/ontology/github.ttl": "70c68c0ae5cc8b056bd6f21af44eb3cbdf6d3bf213e0764e5c3341ea536fbd20",
5
+ "github_agent/ontology/github.ttl": "5ee5e592487f56898e38b878ac928c262b7c40c05cb329df2d15783181932672",
6
6
  "github_agent/ontology/mappings/source.yaml": "5142f75b88634aeac6850fe6de5b176958d63073daab2c573cf9c03daa46021c",
7
7
  "github_agent/ontology/migrations/manifest.json": "adf16022502dd031dd303a52abae7a0677ece1135e1e05c21dba24c9ae51935c",
8
8
  "github_agent/ontology/shapes/connector.shacl.ttl": "0972b7e3b5f56fb0452f070800cd1f7ee790f6cf183f308f1cf69e5a0db716e0"
@@ -29,5 +29,5 @@
29
29
  "signer": "UNSIGNED-PREVIEW",
30
30
  "signing_public_key": "",
31
31
  "status": "source-validated",
32
- "validated_at": "2026-11-12T19:19:41Z"
32
+ "validated_at": "2026-11-13T00:07:32Z"
33
33
  }
@@ -1,7 +1,7 @@
1
1
  @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
2
2
  @prefix foaf: <http://xmlns.com/foaf/0.1/> .
3
3
  @prefix dc: <http://purl.org/dc/terms/> .
4
- @prefix : <http://knuckles.team/kg#> .
4
+ @prefix : <https://knuckles-team.github.io/ontology/connector/github#> .
5
5
  @prefix core: <https://knuckles-team.github.io/ontology/core#> .
6
6
  @prefix owl: <http://www.w3.org/2002/07/owl#> .
7
7
  @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@@ -45,34 +45,34 @@
45
45
  :belongsToRepository a owl:ObjectProperty ;
46
46
  rdfs:label "belongs to repository" ;
47
47
  rdfs:comment "Links a PullRequest, Issue, Branch, Commit, Release, Workflow, or WorkflowRun to its Repository." ;
48
- rdfs:range :Repository .
48
+ rdfs:range core:Repository .
49
49
 
50
50
  :ownedByOrg a owl:ObjectProperty ;
51
51
  rdfs:label "owned by organization" ;
52
52
  rdfs:comment "Links a Repository to the Organization (or user) that owns it." ;
53
- rdfs:domain :Repository ;
53
+ rdfs:domain core:Repository ;
54
54
  rdfs:range :Organization .
55
55
 
56
56
  :authoredBy a owl:ObjectProperty ;
57
57
  rdfs:label "authored by" ;
58
58
  rdfs:comment "Links a PullRequest, Issue, or Commit to the Person who created it." ;
59
- rdfs:range :Person .
59
+ rdfs:range core:Person .
60
60
 
61
61
  :assignedTo a owl:ObjectProperty ;
62
62
  rdfs:label "assigned to" ;
63
63
  rdfs:comment "Links an Issue or PullRequest to the Person responsible for it." ;
64
- rdfs:range :Person .
64
+ rdfs:range core:Person .
65
65
 
66
66
  :targetsBranch a owl:ObjectProperty ;
67
67
  rdfs:label "targets branch" ;
68
68
  rdfs:comment "Links a PullRequest to the base Branch it merges into." ;
69
- rdfs:domain :PullRequest ;
70
- rdfs:range :Branch .
69
+ rdfs:domain core:PullRequest ;
70
+ rdfs:range core:Branch .
71
71
 
72
72
  :closesIssue a owl:ObjectProperty ;
73
73
  rdfs:label "closes issue" ;
74
74
  rdfs:comment "Links a PullRequest to an Issue it resolves." ;
75
- rdfs:domain :PullRequest ;
75
+ rdfs:domain core:PullRequest ;
76
76
  rdfs:range :Issue .
77
77
 
78
78
  :hasWorkflowRun a owl:ObjectProperty ;
@@ -86,27 +86,27 @@
86
86
  rdfs:comment """Links a PipelineRun to what it ran for — its Repository, the Commit it
87
87
  built, and/or the PullRequest it validated. Same predicate name as the twin gitlab-api
88
88
  producer (Pipeline ranFor Project/Commit/MergeRequest).""" ;
89
- rdfs:domain :PipelineRun .
89
+ rdfs:domain core:PipelineRun .
90
90
 
91
91
  :hasJob a owl:ObjectProperty ;
92
92
  rdfs:label "has job" ;
93
93
  rdfs:comment """Links a PipelineRun to a CheckRun (job/check) it contains. Same predicate
94
94
  name as the twin gitlab-api producer (Pipeline hasJob Job).""" ;
95
- rdfs:domain :PipelineRun ;
95
+ rdfs:domain core:PipelineRun ;
96
96
  rdfs:range :CheckRun .
97
97
 
98
98
  :documentsRelease a owl:ObjectProperty ;
99
99
  rdfs:label "documents release" ;
100
100
  rdfs:comment "Links a Release to the :Document carrying its release-notes body." ;
101
- rdfs:domain :Release ;
102
- rdfs:range :Document .
101
+ rdfs:domain core:Release ;
102
+ rdfs:range core:Document .
103
103
 
104
104
  # --- fields (owl:DatatypeProperty) ---
105
105
 
106
106
  :fullName a owl:DatatypeProperty ;
107
107
  rdfs:label "full name" ;
108
108
  rdfs:comment "Owner-qualified repository name (owner/repo)." ;
109
- rdfs:domain :Repository ;
109
+ rdfs:domain core:Repository ;
110
110
  rdfs:range xsd:string .
111
111
 
112
112
  :htmlUrl a owl:DatatypeProperty ;
@@ -117,7 +117,7 @@
117
117
  :state a owl:DatatypeProperty ;
118
118
  rdfs:label "state" ;
119
119
  rdfs:comment "Lifecycle state (open, closed, merged)." ;
120
- rdfs:domain [ a owl:Class ; owl:unionOf ( :Issue :PullRequest ) ] ;
120
+ rdfs:domain [ a owl:Class ; owl:unionOf ( :Issue core:PullRequest ) ] ;
121
121
  rdfs:range xsd:string .
122
122
 
123
123
  :number a owl:DatatypeProperty ;
@@ -138,13 +138,13 @@
138
138
  :defaultBranch a owl:DatatypeProperty ;
139
139
  rdfs:label "default branch" ;
140
140
  rdfs:comment "Name of a repository's default branch." ;
141
- rdfs:domain :Repository ;
141
+ rdfs:domain core:Repository ;
142
142
  rdfs:range xsd:string .
143
143
 
144
144
  :isPrivate a owl:DatatypeProperty ;
145
145
  rdfs:label "is private" ;
146
146
  rdfs:comment "Whether a repository is private." ;
147
- rdfs:domain :Repository ;
147
+ rdfs:domain core:Repository ;
148
148
  rdfs:range xsd:boolean .
149
149
 
150
150
  :isDraft a owl:DatatypeProperty ;
@@ -170,37 +170,37 @@
170
170
  :headSha a owl:DatatypeProperty ;
171
171
  rdfs:label "head sha" ;
172
172
  rdfs:comment "Full git commit SHA a PipelineRun ran against." ;
173
- rdfs:domain :PipelineRun ;
173
+ rdfs:domain core:PipelineRun ;
174
174
  rdfs:range xsd:string .
175
175
 
176
176
  :headBranch a owl:DatatypeProperty ;
177
177
  rdfs:label "head branch" ;
178
178
  rdfs:comment "Branch name a PipelineRun ran against." ;
179
- rdfs:domain :PipelineRun ;
179
+ rdfs:domain core:PipelineRun ;
180
180
  rdfs:range xsd:string .
181
181
 
182
182
  :event a owl:DatatypeProperty ;
183
183
  rdfs:label "event" ;
184
184
  rdfs:comment "Triggering event of a PipelineRun (push, pull_request, schedule, workflow_dispatch)." ;
185
- rdfs:domain :PipelineRun ;
185
+ rdfs:domain core:PipelineRun ;
186
186
  rdfs:range xsd:string .
187
187
 
188
188
  :runStartedAt a owl:DatatypeProperty ;
189
189
  rdfs:label "run started at" ;
190
190
  rdfs:comment "Timestamp a PipelineRun started executing." ;
191
- rdfs:domain :PipelineRun ;
191
+ rdfs:domain core:PipelineRun ;
192
192
  rdfs:range xsd:dateTime .
193
193
 
194
194
  :runUpdatedAt a owl:DatatypeProperty ;
195
195
  rdfs:label "run updated at" ;
196
196
  rdfs:comment "Timestamp a PipelineRun was last updated." ;
197
- rdfs:domain :PipelineRun ;
197
+ rdfs:domain core:PipelineRun ;
198
198
  rdfs:range xsd:dateTime .
199
199
 
200
200
  :durationSeconds a owl:DatatypeProperty ;
201
201
  rdfs:label "duration seconds" ;
202
202
  rdfs:comment "Wall-clock duration in seconds of a PipelineRun (runUpdatedAt - runStartedAt)." ;
203
- rdfs:domain :PipelineRun ;
203
+ rdfs:domain core:PipelineRun ;
204
204
  rdfs:range xsd:integer .
205
205
 
206
206
  :startedAt a owl:DatatypeProperty ;
@@ -215,7 +215,7 @@
215
215
  rdfs:domain :CheckRun ;
216
216
  rdfs:range xsd:dateTime .
217
217
 
218
- <http://knuckles.team/kg/github> a owl:Ontology ;
218
+ <https://knuckles-team.github.io/ontology/connector/github> a owl:Ontology ;
219
219
  rdfs:label "GitHub Ontology" ;
220
220
  rdfs:comment """GitHub source-control, code-review and CI/CD model — organizations,
221
221
  repositories, pull requests, issues, releases, branches, commits, workflows and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-agent
3
- Version: 2.5.0
3
+ Version: 2.6.0
4
4
  Summary: GitHub Agent for MCP
5
5
  Author-email: Repository Maintainers <maintainers@knuckles.team>
6
6
  License: MIT
@@ -13,7 +13,7 @@ Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: requests>=2.34.2
16
- Requires-Dist: scion-sdk[graphql,mcp]<0.11,>=0.10.2
16
+ Requires-Dist: scion-sdk[graphql,mcp]<0.12,>=0.11.0
17
17
  Provides-Extra: mcp
18
18
  Provides-Extra: all
19
19
  Provides-Extra: test
@@ -223,7 +223,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
223
223
 
224
224
  > **Install the connector-focused `[mcp]` extra.** Examples use `github-agent[mcp]` to add
225
225
  > FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
226
- > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
226
+ > still carries `medulla[full]`. The `[agent-runtime]` extra additionally
227
227
  > enables model orchestration.
228
228
 
229
229
  #### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
@@ -610,7 +610,7 @@ Pick the extra that matches what the operator want to run:
610
610
 
611
611
  | Extra | Installs | Use when |
612
612
  |-------|----------|----------|
613
- | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
613
+ | `github-agent[mcp]` | Connector-focused MCP server (`scion-sdk` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
614
614
  | `github-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
615
615
 
616
616
  ```bash
@@ -635,14 +635,14 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
635
635
 
636
636
  agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
637
637
 
638
- ### Knowledge-graph database (`epistemic-graph`)
638
+ ### Knowledge-graph database (`medulla`)
639
639
 
640
- Scion SDK core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
640
+ Scion SDK core dependency (`medulla[full]`). The `[mcp]` extra keeps
641
641
  deployments can use the bundled engine. For production or shared state, run
642
- **epistemic-graph as a dedicated database service** and configure the runtime to use it.
642
+ **medulla as a dedicated database service** and configure the runtime to use it.
643
643
  Deployment recipes (single-node + Raft HA), connection configuration, and architecture
644
644
  diagrams are documented in the
645
- [epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
645
+ [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
646
646
 
647
647
  ---
648
648
 
@@ -8,9 +8,9 @@ github_agent/github_gql.py,sha256=23_sJnv037WE2CvG93bXFHob8oiw1VShnevLi78BiTU,42
8
8
  github_agent/github_http.py,sha256=DFLLft5IaMyS1txieuKnPN1Vme36lJW2CYiOe2DfG40,4334
9
9
  github_agent/github_input_models.py,sha256=yqqPGHb206th736MZvbnxq9F1JRsBUBODNeNVc08F3A,15568
10
10
  github_agent/github_response_models.py,sha256=mllSt0frBgzklUtfuHywJ2Ald3m99So948Xikt3H2Tc,8859
11
- github_agent/kg_ingest.py,sha256=aXVYbK8RDlE39wBJxgxc73OoqEdgNJLGUCFCl5hbNd8,17958
11
+ github_agent/kg_ingest.py,sha256=_aVI7Gc-E7_cNg4eDKbwHUorcH-3WGUDu6qECtRrh2c,17934
12
12
  github_agent/mcp_config.json,sha256=2OOXrwO1sDLyHQqpZwhvDHizPIe3by6YmK4KFE333gI,23
13
- github_agent/mcp_server.py,sha256=LmtrpwEWZJGILrgmkeQs0_-Y8RtrDPplhc4MWtqNGN8,15784
13
+ github_agent/mcp_server.py,sha256=-04Yy2lvFMbd3LxkXuE4llwAu6zkMzyU_ki5PHg28mA,15768
14
14
  github_agent/api/__init__.py,sha256=ntaEPqk-dsAV3HyyDLc2hYpc9nTTyG5CKI-SVDDjc24,27
15
15
  github_agent/api/api_client_base.py,sha256=UdVOUPPRnfVo8IeZxpHXn7VbrHm-4vsXTKk3ZAv8wgQ,7445
16
16
  github_agent/api/api_client_branches.py,sha256=Lj3eCwNxuyR564YV4Lh00Zm4xjsJDfN20q463ON5qDg,3930
@@ -28,9 +28,9 @@ github_agent/api/api_client_search.py,sha256=-lOrVHjSncZ4us2tr4Keo3ygUdOABJxCWik
28
28
  github_agent/api/api_client_workflows.py,sha256=_ukxS6rnezp33Zk6bmAyNv4RIjwZvkUfbxPrT1kU7r4,5789
29
29
  github_agent/connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  github_agent/mcp/__init__.py,sha256=9aOfl64J5oMSnaUZVwnpo3XO7GykLM2D11_4Kt761go,31
31
- github_agent/ontology/__init__.py,sha256=dy7lE5jChNOHXMHm7ZfGfT8bH8ZhCZMSuGgu3G-Q3mM,532
32
- github_agent/ontology/certification.json,sha256=JRrxEABdVSLxZW8Kj7hWdwpoUX386qAF0H_4r6dCUss,1313
33
- github_agent/ontology/github.ttl,sha256=cMaMCuXMiwVr1vIa9E6zy99tO_IT4HZOXDNB6lNvvSA,8362
31
+ github_agent/ontology/__init__.py,sha256=4baB_l2qeJYF9TcaUnrR2KBS66yLru2S_g6cnrnq2nM,559
32
+ github_agent/ontology/certification.json,sha256=eXTXC-zgHKgOpA-9zZjjeec5OR_reM0KYUSrZ50MNTM,1313
33
+ github_agent/ontology/github.ttl,sha256=XuXlkkh_VomOOLh4rJKMJit8QMBcsynfLRV4MYGTJnI,8507
34
34
  github_agent/ontology/fixtures/records.json,sha256=EvW1Swrph3DyefmeE2eI0GM0AEKp1v9LrAwiqIbS3Hs,543
35
35
  github_agent/ontology/mappings/source.yaml,sha256=UUL3W4hjSurGhQ_m3lsXaVjWMHPaqyxXPPnAPapGAhw,529
36
36
  github_agent/ontology/migrations/manifest.json,sha256=rfFgIlAt0DHdMDpSq656Bnfs4RNeHgXCHbokya5Rk1w,118
@@ -68,12 +68,12 @@ github_agent/skills/github-triage-resolver/SKILL.md,sha256=o8EIk-rrDSmeTBn2gl_Qd
68
68
  github_agent/skills/github-triage-resolver/references/resolution-rules.md,sha256=lGPvfLCSHpNIeh2rKWcH2k_2lla3ovgBxzwvtMmyQ-0,4133
69
69
  github_agent/skills/github-triage-resolver/scripts/classify_safe.py,sha256=peh1R5oksZfTwlzWEvKuBLmMBdNwHucwAJYWYA9fVDU,9548
70
70
  github_agent/skills/github-triage-resolver/scripts/gh_write.py,sha256=ZA9xXbjzM-jq1dSFzcZVd1_fKyGeU4mZSAfmX4LeqxY,4129
71
- github_agent-2.5.0.dist-info/licenses/LICENSE,sha256=5ALbh4fIALWVsUhO7q1nFT1bQb-CL9sWKf7p3GgLEG8,1070
71
+ github_agent-2.6.0.dist-info/licenses/LICENSE,sha256=5ALbh4fIALWVsUhO7q1nFT1bQb-CL9sWKf7p3GgLEG8,1070
72
72
  tests/conftest.py,sha256=wbbxNvJTHj5_Ma2ewxkI0--A_CM9KtlMzI_rWN-F82Q,3533
73
73
  tests/test_api_client_endpoints.py,sha256=ykF9UMx3hIbf_dCpecl9uE57FJ-VQH5yw51dUQ1WlVc,6572
74
74
  tests/test_api_validation.py,sha256=eXAKGdqzGyoKFoN4-RmZzCwKBtyK43pVEFliwzQDH2Q,3291
75
75
  tests/test_auth_client_edge_cases.py,sha256=OZjqgLoOQPxDVwqQZMxPG7VIfS6szKUMgABNpvLgKuQ,6440
76
- tests/test_cq_paths.py,sha256=yMFO2dayYrBGXPdhqdQfvDlxr7DgboTCSqA9vvhNIK0,1489
76
+ tests/test_cq_paths.py,sha256=CpV0kAgukA2-_5sD8mHgV-pCchXk6vaEh40fe6ZJS0A,1481
77
77
  tests/test_default_content_surfaces.py,sha256=UmgtO78MWki9qmTzZtnNxy47SNVmsjZjz_8dQKQQe58,2455
78
78
  tests/test_destructive_declaration.py,sha256=yBDf2HJ9rvVk9skrBR9hTmWVcJNTfjlSsBeEqauPsI0,2751
79
79
  tests/test_fleet_name.py,sha256=L1SuM4w05dbQvyj-eBiw01lKfvI-p2o1oj6dpQxsPIY,1409
@@ -83,10 +83,11 @@ tests/test_github_gql.py,sha256=YVc9M6nE-QH7qCnyGhk6N0XKs1sL14r5A9hToIWJ1qQ,2741
83
83
  tests/test_github_http.py,sha256=ExI55gKutqcJjX2R1r9JFfWaL9VjrKMb1vMRDBaDI4I,9813
84
84
  tests/test_ingest_sources.py,sha256=SQFPhf0qqgX_R5sn2NP_5qVzT3x2rqQIATbvHBM7IFs,1150
85
85
  tests/test_init_dynamics.py,sha256=qX7QPHvM9T7-1fE9clZWHZz2NHG9PddsEu4WmO7dwm8,1840
86
- tests/test_kg_ingest.py,sha256=98VEL2pog_8xl_lQa8qGwcPmeszt0BAxJp5AjlcvVUk,9466
86
+ tests/test_kg_ingest.py,sha256=v2V71Uyy7t3Y9JPv-Qzxmrze6k5hsfecyOElzNlZuuY,9458
87
87
  tests/test_model_fields.py,sha256=NboFxPOtLN-uevE9TLbS4Al-55RbF63PFFTa318gJ40,3374
88
- tests/test_ontology_parent_link.py,sha256=jE_arQxO9yG0q9B6Hqiwu6K7hCmIx6FWXhysd6KFFDc,4344
88
+ tests/test_ontology_parent_link.py,sha256=gUOJpLYB-3bXXLg30lyctffxpgHnZF-tnz2GdPrvxgQ,4572
89
89
  tests/test_pages.py,sha256=ow_qLRo4IytkSGdQxjxJGoZOnTY0s8MebHFZn_ggElg,10815
90
+ tests/test_scion_sdk_0_10_imports.py,sha256=BPxhlrY66oktDNuve6EGyx8mqR9_wRPUfFoT3BEcfb8,2186
90
91
  tests/test_skill_backlog_build_plan.py,sha256=DdvwgZKQnQ-d_SxErxKoTpjOROuCijr4q7CVAqB82BI,4569
91
92
  tests/test_skill_ci_failure_sweep_summarize_runs.py,sha256=lFHXWuIzGHCzHQpBBqF4VSHIfzO6cKVgstZHdXqE7U0,3933
92
93
  tests/test_skill_github_tools_fetch_comments.py,sha256=CWYy8BReKekpSYXD7Q6jlbdWTXepb5lobatRo5L1P40,3511
@@ -95,8 +96,8 @@ tests/test_skill_org_remediation_classify_fix_risk.py,sha256=CK43UuLA9ZomajH7EMO
95
96
  tests/test_skill_pr_review_sweep_summarize_prs.py,sha256=NrNaucQvM7K-k1WBcOBKtTGjxJbW16VgTHbC7dSsjm4,3821
96
97
  tests/test_skill_triage_resolver_classify_safe.py,sha256=CNXXf98xa6UYk1xoQyDM6ZSbW_G_WLNMb-oNYUFErcI,9535
97
98
  tests/test_startup.py,sha256=Ix_g69k0tsZbY0-Vkeh8ADWojUdbYwTwwmnM4_hVuCc,1245
98
- github_agent-2.5.0.dist-info/METADATA,sha256=qqjXxLS6Qcmbn4zUWMfAZbl5EXCXyu4HqmU0puBS0gs,31632
99
- github_agent-2.5.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
100
- github_agent-2.5.0.dist-info/entry_points.txt,sha256=Xs66xjLEy6t408ysVybR_GA4blcThForMZfxAMw4oAw,125
101
- github_agent-2.5.0.dist-info/top_level.txt,sha256=rF1I0e3JiEUPistmGCg9UI1zYzTjg-bzVJ61YgbPrjU,42
102
- github_agent-2.5.0.dist-info/RECORD,,
99
+ github_agent-2.6.0.dist-info/METADATA,sha256=U3BVbboZ1R4Rbn7XmDrfJhz44JeP-b8lGrdbark5TgE,31576
100
+ github_agent-2.6.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
101
+ github_agent-2.6.0.dist-info/entry_points.txt,sha256=Xs66xjLEy6t408ysVybR_GA4blcThForMZfxAMw4oAw,125
102
+ github_agent-2.6.0.dist-info/top_level.txt,sha256=rF1I0e3JiEUPistmGCg9UI1zYzTjg-bzVJ61YgbPrjU,42
103
+ github_agent-2.6.0.dist-info/RECORD,,
tests/test_cq_paths.py CHANGED
@@ -14,7 +14,7 @@ pytestmark = pytest.mark.spec("CONN-GITHUB-AGENT-CONNECTOR-CONTENT-R004")
14
14
 
15
15
  PACKAGE = Path(github_agent.__file__).parent
16
16
  TTL = (PACKAGE / "ontology" / "github.ttl").read_text("utf-8")
17
- # Concepts the epistemic-graph ontology owns: referenced, never declared here.
17
+ # Concepts the medulla ontology owns: referenced, never declared here.
18
18
  SHARED = ("Repository", "PullRequest", "Release", "Branch", "Commit", "PipelineRun")
19
19
 
20
20
 
tests/test_kg_ingest.py CHANGED
@@ -1,4 +1,4 @@
1
- """Native epistemic-graph typed-node + document ingestion — Wire-First coverage.
1
+ """Native medulla typed-node + document ingestion — Wire-First coverage.
2
2
 
3
3
  Exercises the real ``ingest_entities`` / ``ingest_documents`` seam and the GitHub
4
4
  record mappers against a fake SDK transport (no engine required), asserting the
@@ -1,4 +1,4 @@
1
- """Every class of the packaged ontology reaches an epistemic-graph parent class (CONN-GITHUB-AGENT-CONNECTOR-CONTENT-R002)."""
1
+ """Every class of the packaged ontology reaches an medulla parent class (CONN-GITHUB-AGENT-CONNECTOR-CONTENT-R002)."""
2
2
 
3
3
  from __future__ import annotations
4
4
 
@@ -9,25 +9,25 @@ import pytest
9
9
 
10
10
  pytestmark = pytest.mark.spec("CONN-GITHUB-AGENT-CONNECTOR-CONTENT-R002")
11
11
 
12
- PARENT_IRI = "http://knuckles.team/kg"
12
+ PARENT_IRI = "https://knuckles-team.github.io/ontology/core"
13
13
  ONTOLOGIES = sorted(
14
14
  (Path(__file__).resolve().parents[1] / "github_agent" / "ontology").glob("*.ttl")
15
15
  )
16
16
  OWL = "http://www.w3.org/2002/07/owl#"
17
17
  RDF_TYPE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
18
18
  SUBCLASS = "http://www.w3.org/2000/01/rdf-schema#subClassOf"
19
- # Parent classes of the epistemic-graph ontology that this connector links to or redeclares.
19
+ # Parent classes of the medulla ontology that this connector links to or redeclares.
20
20
  PARENT_CLASSES = frozenset(
21
21
  (
22
- "http://knuckles.team/kg#Commit",
23
- "http://knuckles.team/kg#Document",
24
- "http://knuckles.team/kg#Organization",
25
- "http://knuckles.team/kg#Person",
26
- "http://knuckles.team/kg#PipelineRun",
27
- "http://knuckles.team/kg#PullRequest",
28
- "http://knuckles.team/kg#SoftwareProject",
29
- "http://knuckles.team/kg#WorkItem",
30
- "http://knuckles.team/kg#Workflow",
22
+ "https://knuckles-team.github.io/ontology/core#Commit",
23
+ "https://knuckles-team.github.io/ontology/core#Document",
24
+ "https://knuckles-team.github.io/ontology/connector/github#Organization",
25
+ "https://knuckles-team.github.io/ontology/core#Person",
26
+ "https://knuckles-team.github.io/ontology/core#PipelineRun",
27
+ "https://knuckles-team.github.io/ontology/core#PullRequest",
28
+ "https://knuckles-team.github.io/ontology/core#SoftwareProject",
29
+ "https://knuckles-team.github.io/ontology/core#WorkItem",
30
+ "https://knuckles-team.github.io/ontology/connector/github#Workflow",
31
31
  )
32
32
  )
33
33
  # The core ontology is addressed under its one HTTPS base; a pack class rolls up to a core class by that IRI.
@@ -0,0 +1,59 @@
1
+ """Every scion_sdk import in this repository resolves on the pinned SDK release."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import ast
6
+ import importlib
7
+ import importlib.util
8
+ from pathlib import Path
9
+
10
+ ROOT = Path(__file__).resolve().parent.parent
11
+ SKIP = {".git", ".venv", "venv", "node_modules", "build", "dist", ".tox", "__pycache__"}
12
+
13
+
14
+ def _python_files() -> list[Path]:
15
+ return [
16
+ p
17
+ for p in ROOT.rglob("*.py")
18
+ if not (set(p.relative_to(ROOT).parts) & SKIP)
19
+ and not any(part.startswith(".") for part in p.relative_to(ROOT).parts)
20
+ ]
21
+
22
+
23
+ def _is_sdk(name: str | None) -> bool:
24
+ return bool(name) and (name == "scion_sdk" or name.startswith("scion_sdk."))
25
+
26
+
27
+ def test_every_scion_sdk_import_resolves_on_the_pinned_release() -> None:
28
+ missing: list[str] = []
29
+ for path in _python_files():
30
+ tree = ast.parse(path.read_text(encoding="utf-8"))
31
+ rel = path.relative_to(ROOT)
32
+ for node in ast.walk(tree):
33
+ if isinstance(node, ast.Import):
34
+ for alias in node.names:
35
+ if (
36
+ _is_sdk(alias.name)
37
+ and importlib.util.find_spec(alias.name) is None
38
+ ):
39
+ missing.append(f"{rel}:{node.lineno} {alias.name}")
40
+ elif (
41
+ isinstance(node, ast.ImportFrom)
42
+ and node.level == 0
43
+ and _is_sdk(node.module)
44
+ ):
45
+ if importlib.util.find_spec(node.module) is None:
46
+ missing.append(f"{rel}:{node.lineno} {node.module}")
47
+ continue
48
+ module = importlib.import_module(node.module)
49
+ for alias in node.names:
50
+ if alias.name == "*" or hasattr(module, alias.name):
51
+ continue
52
+ if importlib.util.find_spec(f"{node.module}.{alias.name}") is None:
53
+ missing.append(
54
+ f"{rel}:{node.lineno} {node.module}.{alias.name}"
55
+ )
56
+ assert not missing, (
57
+ "scion_sdk names that do not exist on the pinned release:\n"
58
+ + "\n".join(missing)
59
+ )