plane-agent 2.3.17__tar.gz → 2.4.0__tar.gz
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.
- {plane_agent-2.3.17 → plane_agent-2.4.0}/PKG-INFO +8 -27
- {plane_agent-2.3.17 → plane_agent-2.4.0}/README.md +6 -25
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/__init__.py +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/kg_ingest.py +1 -1
- plane_agent-2.4.0/plane_agent/mcp_server.py +137 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/__init__.py +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/access_contracts.ttl +41 -42
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/certification.json +4 -4
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/mappings/source.yaml +1 -2
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/plane.ttl +15 -13
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/shapes/connector.shacl.ttl +2 -2
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-agent-development/SKILL.md +7 -8
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-agent-operations/references/catalog.md +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-create-work-item-guided/WORKFLOW.md +14 -19
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-create-work-item-guided/references/property-discovery.md +5 -8
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-cycle-planning/WORKFLOW.md +8 -14
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-kg-ingestion/SKILL.md +1 -1
- plane_agent-2.4.0/plane_agent/skills/plane-kg-ingestion/WORKFLOW.md +62 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-my-priority-queue/WORKFLOW.md +13 -16
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-my-priority-queue/references/filter-recipes.md +3 -3
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-my-priority-queue/scripts/rank_items.py +2 -2
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-work-item-tracking/WORKFLOW.md +6 -14
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/PKG-INFO +8 -27
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/SOURCES.txt +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/requires.txt +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/pyproject.toml +2 -2
- plane_agent-2.4.0/tests/test_access_contracts.py +89 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_catalog_edges.py +6 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_coverage_gap_fillers.py +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_cq_paths.py +2 -2
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_ingest_sources.py +3 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_kg_ingest.py +1 -1
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_ontology_parent_link.py +12 -12
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_publication_workflow.py +0 -2
- plane_agent-2.4.0/tests/test_scion_sdk_0_10_imports.py +59 -0
- plane_agent-2.3.17/plane_agent/mcp_server.py +0 -794
- plane_agent-2.3.17/plane_agent/skills/plane-kg-ingestion/WORKFLOW.md +0 -82
- plane_agent-2.3.17/tests/test_access_contracts.py +0 -68
- plane_agent-2.3.17/tests/test_action_discovery.py +0 -43
- {plane_agent-2.3.17 → plane_agent-2.4.0}/LICENSE +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/__main__.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/__init__.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_base.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_cycles.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_epics.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_initiatives.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_intake.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_milestones.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_modules_states.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_projects.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_work_items.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api/api_client_workspace.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/api_client.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/auth.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/connector_contracts.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/connector_sources.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/mcp_config.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/fixtures/records.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/ontology/migrations/manifest.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/plane_models.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/prompts/plane-delivery-planner.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/prompts/plane-operator.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/prompts/project_tracking_specialist.json +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-agent-operations/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-agent-operations/agents/openai.yaml +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-api-planning-objects/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-api-project-model/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-api-work-item-details/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-create-work-item-guided/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-cycle-planning/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-my-priority-queue/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-work-item-tracking/SKILL.md +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/dependency_links.txt +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/entry_points.txt +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent.egg-info/top_level.txt +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/setup.cfg +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/conftest.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_init.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_init_dynamics.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_rank_items.py +0 -0
- {plane_agent-2.3.17 → plane_agent-2.4.0}/tests/test_startup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plane-agent
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Plane MCP Agent
|
|
5
5
|
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: <3.15,>=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: scion-sdk[mcp]
|
|
15
|
+
Requires-Dist: scion-sdk[mcp]<0.12,>=0.11.0
|
|
16
16
|
Requires-Dist: requests>=2.34.2
|
|
17
17
|
Provides-Extra: test
|
|
18
18
|
Requires-Dist: pytest-xdist>=3.8.0; extra == "test"
|
|
@@ -100,25 +100,6 @@ This table is auto-generated from the live server — do not edit by hand.
|
|
|
100
100
|
|
|
101
101
|
<!-- MCP-TOOLS-TABLE:START -->
|
|
102
102
|
|
|
103
|
-
#### Condensed action-routed tools (`MCP_TOOL_MODE=condensed`)
|
|
104
|
-
|
|
105
|
-
| MCP Tool | Toggle Env Var | Description |
|
|
106
|
-
|----------|----------------|-------------|
|
|
107
|
-
| `plane_cycles` | `CYCLESTOOL` | Manage plane cycles operations. |
|
|
108
|
-
| `plane_epics` | `EPICSTOOL` | Manage plane epics operations. |
|
|
109
|
-
| `plane_ingest` | `KGTOOL` | Natively ingest Plane records into epistemic-graph as typed OWL nodes. |
|
|
110
|
-
| `plane_initiatives` | `INITIATIVESTOOL` | Manage plane initiatives operations. |
|
|
111
|
-
| `plane_intake` | `INTAKETOOL` | Manage plane intake operations. |
|
|
112
|
-
| `plane_labels` | `LABELSTOOL` | Manage plane labels operations. |
|
|
113
|
-
| `plane_milestones` | `MILESTONESTOOL` | Manage plane milestones operations. |
|
|
114
|
-
| `plane_modules` | `MODULESTOOL` | Manage plane modules operations. |
|
|
115
|
-
| `plane_pages` | `PAGESTOOL` | Manage plane pages operations. |
|
|
116
|
-
| `plane_projects` | `PROJECTSTOOL` | Manage plane projects operations. |
|
|
117
|
-
| `plane_states` | `STATESTOOL` | Manage plane states operations. |
|
|
118
|
-
| `plane_users` | `USERSTOOL` | Manage plane users operations. |
|
|
119
|
-
| `plane_work_items` | `WORK_ITEMSTOOL` | Manage plane work items operations. |
|
|
120
|
-
| `plane_workspaces` | `WORKSPACESTOOL` | Manage plane workspaces operations. |
|
|
121
|
-
|
|
122
103
|
#### Verbose 1:1 API-mapped tools (`MCP_TOOL_MODE=verbose` or `both`)
|
|
123
104
|
|
|
124
105
|
<details>
|
|
@@ -231,7 +212,7 @@ This table is auto-generated from the live server — do not edit by hand.
|
|
|
231
212
|
|
|
232
213
|
</details>
|
|
233
214
|
|
|
234
|
-
|
|
215
|
+
_102 typed per-operation tool(s). Each is enabled unless its `<DOMAIN>TOOL` toggle is set false; `MCP_TOOL_MODE` selects the surface (**`intent` default** — the six verb-tools, granular set loaded on demand · `verbose` 1:1 · `both`). Auto-generated — do not edit._
|
|
235
216
|
<!-- MCP-TOOLS-TABLE:END -->
|
|
236
217
|
|
|
237
218
|
Detailed tool schemas, parameter shapes, and validation constraints are preserved in [docs/index.md](docs/index.md).
|
|
@@ -263,7 +244,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
|
|
|
263
244
|
|
|
264
245
|
> **Install the connector-focused `[mcp]` extra.** Examples use `plane-agent[mcp]` to add
|
|
265
246
|
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
266
|
-
> still carries `
|
|
247
|
+
> still carries `medulla[full]`. The `[agent-runtime]` extra additionally
|
|
267
248
|
> enables model orchestration.
|
|
268
249
|
|
|
269
250
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -449,14 +430,14 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
|
|
|
449
430
|
|
|
450
431
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
451
432
|
|
|
452
|
-
### Knowledge-graph database (`
|
|
433
|
+
### Knowledge-graph database (`medulla`)
|
|
453
434
|
|
|
454
|
-
Scion SDK core dependency (`
|
|
435
|
+
Scion SDK core dependency (`medulla[full]`). The `[mcp]` extra keeps
|
|
455
436
|
deployments can use the bundled engine. For production or shared state, run
|
|
456
|
-
**
|
|
437
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
457
438
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
458
439
|
diagrams are documented in the
|
|
459
|
-
[
|
|
440
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
460
441
|
|
|
461
442
|
---
|
|
462
443
|
|
|
@@ -77,25 +77,6 @@ This table is auto-generated from the live server — do not edit by hand.
|
|
|
77
77
|
|
|
78
78
|
<!-- MCP-TOOLS-TABLE:START -->
|
|
79
79
|
|
|
80
|
-
#### Condensed action-routed tools (`MCP_TOOL_MODE=condensed`)
|
|
81
|
-
|
|
82
|
-
| MCP Tool | Toggle Env Var | Description |
|
|
83
|
-
|----------|----------------|-------------|
|
|
84
|
-
| `plane_cycles` | `CYCLESTOOL` | Manage plane cycles operations. |
|
|
85
|
-
| `plane_epics` | `EPICSTOOL` | Manage plane epics operations. |
|
|
86
|
-
| `plane_ingest` | `KGTOOL` | Natively ingest Plane records into epistemic-graph as typed OWL nodes. |
|
|
87
|
-
| `plane_initiatives` | `INITIATIVESTOOL` | Manage plane initiatives operations. |
|
|
88
|
-
| `plane_intake` | `INTAKETOOL` | Manage plane intake operations. |
|
|
89
|
-
| `plane_labels` | `LABELSTOOL` | Manage plane labels operations. |
|
|
90
|
-
| `plane_milestones` | `MILESTONESTOOL` | Manage plane milestones operations. |
|
|
91
|
-
| `plane_modules` | `MODULESTOOL` | Manage plane modules operations. |
|
|
92
|
-
| `plane_pages` | `PAGESTOOL` | Manage plane pages operations. |
|
|
93
|
-
| `plane_projects` | `PROJECTSTOOL` | Manage plane projects operations. |
|
|
94
|
-
| `plane_states` | `STATESTOOL` | Manage plane states operations. |
|
|
95
|
-
| `plane_users` | `USERSTOOL` | Manage plane users operations. |
|
|
96
|
-
| `plane_work_items` | `WORK_ITEMSTOOL` | Manage plane work items operations. |
|
|
97
|
-
| `plane_workspaces` | `WORKSPACESTOOL` | Manage plane workspaces operations. |
|
|
98
|
-
|
|
99
80
|
#### Verbose 1:1 API-mapped tools (`MCP_TOOL_MODE=verbose` or `both`)
|
|
100
81
|
|
|
101
82
|
<details>
|
|
@@ -208,7 +189,7 @@ This table is auto-generated from the live server — do not edit by hand.
|
|
|
208
189
|
|
|
209
190
|
</details>
|
|
210
191
|
|
|
211
|
-
|
|
192
|
+
_102 typed per-operation tool(s). Each is enabled unless its `<DOMAIN>TOOL` toggle is set false; `MCP_TOOL_MODE` selects the surface (**`intent` default** — the six verb-tools, granular set loaded on demand · `verbose` 1:1 · `both`). Auto-generated — do not edit._
|
|
212
193
|
<!-- MCP-TOOLS-TABLE:END -->
|
|
213
194
|
|
|
214
195
|
Detailed tool schemas, parameter shapes, and validation constraints are preserved in [docs/index.md](docs/index.md).
|
|
@@ -240,7 +221,7 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
|
|
|
240
221
|
|
|
241
222
|
> **Install the connector-focused `[mcp]` extra.** Examples use `plane-agent[mcp]` to add
|
|
242
223
|
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
243
|
-
> still carries `
|
|
224
|
+
> still carries `medulla[full]`. The `[agent-runtime]` extra additionally
|
|
244
225
|
> enables model orchestration.
|
|
245
226
|
|
|
246
227
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -426,14 +407,14 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
|
|
|
426
407
|
|
|
427
408
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
428
409
|
|
|
429
|
-
### Knowledge-graph database (`
|
|
410
|
+
### Knowledge-graph database (`medulla`)
|
|
430
411
|
|
|
431
|
-
Scion SDK core dependency (`
|
|
412
|
+
Scion SDK core dependency (`medulla[full]`). The `[mcp]` extra keeps
|
|
432
413
|
deployments can use the bundled engine. For production or shared state, run
|
|
433
|
-
**
|
|
414
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
434
415
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
435
416
|
diagrams are documented in the
|
|
436
|
-
[
|
|
417
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
437
418
|
|
|
438
419
|
---
|
|
439
420
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Native
|
|
1
|
+
"""Native medulla ingestion for Plane work-management records.
|
|
2
2
|
|
|
3
3
|
All writes go through the ``scion_sdk.ingest`` knowledge-ingest facade. Nodes
|
|
4
4
|
use canonical ``node_type`` and edges use canonical ``relationship``; nodes and edges
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
#!/usr/bin/python
|
|
2
|
+
import warnings
|
|
3
|
+
|
|
4
|
+
from fastmcp import Context, FastMCP
|
|
5
|
+
from fastmcp.dependencies import Depends
|
|
6
|
+
from fastmcp.utilities.logging import get_logger
|
|
7
|
+
from pydantic import Field
|
|
8
|
+
|
|
9
|
+
# Filter RequestsDependencyWarning early to prevent log spam
|
|
10
|
+
with warnings.catch_warnings():
|
|
11
|
+
warnings.simplefilter("ignore")
|
|
12
|
+
try:
|
|
13
|
+
from requests.exceptions import RequestsDependencyWarning
|
|
14
|
+
|
|
15
|
+
warnings.filterwarnings("ignore", category=RequestsDependencyWarning)
|
|
16
|
+
except ImportError:
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
warnings.filterwarnings("ignore", message=".*urllib3.*or chardet.*")
|
|
20
|
+
warnings.filterwarnings("ignore", message=".*urllib3.*or charset_normalizer.*")
|
|
21
|
+
|
|
22
|
+
import logging
|
|
23
|
+
from typing import Any
|
|
24
|
+
|
|
25
|
+
from scion_sdk.mcp.concurrency import run_blocking
|
|
26
|
+
|
|
27
|
+
from plane_agent.auth import get_client
|
|
28
|
+
|
|
29
|
+
logger = get_logger(name="plane-agent")
|
|
30
|
+
logger.setLevel(logging.INFO)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def _kg_records(result: Any, key: str = "results") -> list[dict[str, Any]]:
|
|
34
|
+
"""Normalize a client Response/list into a list of plain record dicts."""
|
|
35
|
+
data = getattr(result, "data", result)
|
|
36
|
+
if isinstance(data, dict):
|
|
37
|
+
data = data.get(key, data.get("data", data))
|
|
38
|
+
records = data if isinstance(data, list) else [data]
|
|
39
|
+
out: list[dict[str, Any]] = []
|
|
40
|
+
for r in records:
|
|
41
|
+
if r is None:
|
|
42
|
+
continue
|
|
43
|
+
out.append(r.model_dump() if hasattr(r, "model_dump") else r)
|
|
44
|
+
return [r for r in out if isinstance(r, dict)]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def register_kg_tools(mcp: FastMCP):
|
|
48
|
+
"""Register the Plane to medulla ingest tools (one tool per record kind).
|
|
49
|
+
|
|
50
|
+
Each tool lists records via the Plane API, then pushes them as typed nodes + links
|
|
51
|
+
via the fast engine client (best-effort: ``{"ingested": null}`` with no engine).
|
|
52
|
+
CONCEPT:AU-KG.ingest.enterprise-source-extractor.
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
@mcp.tool(
|
|
56
|
+
name="plane_ingest_projects",
|
|
57
|
+
tags={"kg"},
|
|
58
|
+
annotations={"readOnlyHint": False, "idempotentHint": True},
|
|
59
|
+
)
|
|
60
|
+
async def plane_ingest_projects(
|
|
61
|
+
per_page: int | None = Field(default=None, description="Page size"),
|
|
62
|
+
cursor: str | None = Field(default=None, description="Pagination cursor"),
|
|
63
|
+
client=Depends(get_client),
|
|
64
|
+
ctx: Context | None = Field(
|
|
65
|
+
default=None, description="MCP context for progress reporting"
|
|
66
|
+
),
|
|
67
|
+
) -> dict:
|
|
68
|
+
"""Ingest Plane projects as :SoftwareProject nodes (+ :Workspace / :inWorkspace)."""
|
|
69
|
+
from plane_agent import kg_ingest
|
|
70
|
+
|
|
71
|
+
if ctx:
|
|
72
|
+
await ctx.info("Executing tool...")
|
|
73
|
+
kwargs = {
|
|
74
|
+
k: v for k, v in {"per_page": per_page, "cursor": cursor}.items() if v
|
|
75
|
+
}
|
|
76
|
+
result = await run_blocking(client.list_projects, **kwargs)
|
|
77
|
+
records = _kg_records(result)
|
|
78
|
+
ingested = await kg_ingest.ingest_projects(
|
|
79
|
+
records, workspace_slug=getattr(client, "workspace_slug", None)
|
|
80
|
+
)
|
|
81
|
+
return {"listed": len(records), "ingested": ingested}
|
|
82
|
+
|
|
83
|
+
@mcp.tool(
|
|
84
|
+
name="plane_ingest_work_items",
|
|
85
|
+
tags={"kg"},
|
|
86
|
+
annotations={"readOnlyHint": False, "idempotentHint": True},
|
|
87
|
+
)
|
|
88
|
+
async def plane_ingest_work_items(
|
|
89
|
+
project_id: str = Field(description="Project whose work items are ingested"),
|
|
90
|
+
per_page: int | None = Field(default=None, description="Page size"),
|
|
91
|
+
cursor: str | None = Field(default=None, description="Pagination cursor"),
|
|
92
|
+
client=Depends(get_client),
|
|
93
|
+
ctx: Context | None = Field(
|
|
94
|
+
default=None, description="MCP context for progress reporting"
|
|
95
|
+
),
|
|
96
|
+
) -> dict:
|
|
97
|
+
"""Ingest a project's work items as :Issue nodes (+ :belongsToProject / :assignedTo / :hasState / :inCycle)."""
|
|
98
|
+
from plane_agent import kg_ingest
|
|
99
|
+
|
|
100
|
+
if ctx:
|
|
101
|
+
await ctx.info("Executing tool...")
|
|
102
|
+
kwargs = {
|
|
103
|
+
k: v for k, v in {"per_page": per_page, "cursor": cursor}.items() if v
|
|
104
|
+
}
|
|
105
|
+
result = await run_blocking(client.list_work_items, project_id, **kwargs)
|
|
106
|
+
records = _kg_records(result)
|
|
107
|
+
ingested = await kg_ingest.ingest_work_items(records, project_id=project_id)
|
|
108
|
+
return {"listed": len(records), "ingested": ingested}
|
|
109
|
+
|
|
110
|
+
@mcp.tool(
|
|
111
|
+
name="plane_ingest_cycles",
|
|
112
|
+
tags={"kg"},
|
|
113
|
+
annotations={"readOnlyHint": False, "idempotentHint": True},
|
|
114
|
+
)
|
|
115
|
+
async def plane_ingest_cycles(
|
|
116
|
+
project_id: str = Field(description="Project whose cycles are ingested"),
|
|
117
|
+
per_page: int | None = Field(default=None, description="Page size"),
|
|
118
|
+
cursor: str | None = Field(default=None, description="Pagination cursor"),
|
|
119
|
+
client=Depends(get_client),
|
|
120
|
+
ctx: Context | None = Field(
|
|
121
|
+
default=None, description="MCP context for progress reporting"
|
|
122
|
+
),
|
|
123
|
+
) -> dict:
|
|
124
|
+
"""Ingest a project's cycles as :Cycle nodes (+ :belongsToProject)."""
|
|
125
|
+
from plane_agent import kg_ingest
|
|
126
|
+
|
|
127
|
+
if ctx:
|
|
128
|
+
await ctx.info("Executing tool...")
|
|
129
|
+
kwargs = {
|
|
130
|
+
k: v for k, v in {"per_page": per_page, "cursor": cursor}.items() if v
|
|
131
|
+
}
|
|
132
|
+
result = await run_blocking(client.list_cycles, project_id, **kwargs)
|
|
133
|
+
records = _kg_records(result)
|
|
134
|
+
ingested = await kg_ingest.ingest_cycles(records, project_id=project_id)
|
|
135
|
+
return {"listed": len(records), "ingested": ingested}
|
|
136
|
+
|
|
137
|
+
return None
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Plane ontology contribution (CONCEPT:AU-KG.ontology.federation-provider-leg).
|
|
2
2
|
|
|
3
3
|
Data-only subpackage: it carries ``plane.ttl`` (the ``owl:Ontology``
|
|
4
|
-
``
|
|
4
|
+
``https://knuckles-team.github.io/ontology/connector/plane`` module) which the scion-sdk hub federates in via
|
|
5
5
|
the ``scion_sdk.ontology_providers`` entry-point. It holds no business logic
|
|
6
6
|
and no heavy imports so the hub can resolve it cheaply.
|
|
7
7
|
"""
|
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
@prefix ac: <https://knuckles-team.github.io/
|
|
2
|
-
@prefix
|
|
1
|
+
@prefix ac: <https://knuckles-team.github.io/ontology/access#> .
|
|
2
|
+
@prefix : <https://knuckles-team.github.io/ontology/connector/plane#> .
|
|
3
3
|
|
|
4
4
|
# Read contracts for the classes declared by plane.ttl. The MCP tools expose
|
|
5
|
-
# both read and write
|
|
6
|
-
#
|
|
5
|
+
# both read and write operations, but these mappings select the list/retrieve
|
|
6
|
+
# tools only. The source classes remain distinct from any unapproved hub
|
|
7
7
|
# crosswalk; in particular, Plane Issue is not asserted to be an Incident.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
ac:classIri
|
|
9
|
+
:workspaceAccess a ac:AccessContract ;
|
|
10
|
+
ac:classIri :Workspace ;
|
|
11
11
|
ac:sourceId "plane-agent" ;
|
|
12
12
|
ac:entity "workspace" ;
|
|
13
13
|
ac:keyField "slug" ;
|
|
14
14
|
ac:accessKind "mcp_tool" ;
|
|
15
|
-
ac:operation "
|
|
16
|
-
ac:parameter "action", "params_json" ;
|
|
15
|
+
ac:operation "plane_get_workspace" ;
|
|
17
16
|
ac:pagination "none" ;
|
|
18
17
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
19
18
|
ac:rateLimitPerMinute 60 ;
|
|
20
19
|
ac:freshnessSeconds 300 ;
|
|
21
20
|
ac:costHint "low" .
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
ac:classIri
|
|
22
|
+
:softwareProjectAccess a ac:AccessContract ;
|
|
23
|
+
ac:classIri :SoftwareProject ;
|
|
25
24
|
ac:sourceId "plane-agent" ;
|
|
26
25
|
ac:entity "project" ;
|
|
27
26
|
ac:keyField "id" ;
|
|
28
27
|
ac:accessKind "mcp_tool" ;
|
|
29
|
-
ac:operation "
|
|
30
|
-
ac:parameter "
|
|
28
|
+
ac:operation "plane_list_projects" ;
|
|
29
|
+
ac:parameter "per_page", "cursor", "order_by" ;
|
|
31
30
|
ac:pagination "cursor" ;
|
|
32
31
|
ac:pushdown "filter", "limit", "sort" ;
|
|
33
32
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -35,17 +34,17 @@ pl:softwareProjectAccess a ac:AccessContract ;
|
|
|
35
34
|
ac:freshnessSeconds 300 ;
|
|
36
35
|
ac:costHint "low" .
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
ac:contract
|
|
37
|
+
:softwareProjectIdentifierBinding a ac:PropertyBinding ;
|
|
38
|
+
ac:contract :softwareProjectAccess ; ac:property :identifier ; ac:field "identifier" .
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
ac:classIri
|
|
40
|
+
:issueAccess a ac:AccessContract ;
|
|
41
|
+
ac:classIri :Issue ;
|
|
43
42
|
ac:sourceId "plane-agent" ;
|
|
44
43
|
ac:entity "work_item" ;
|
|
45
44
|
ac:keyField "id" ;
|
|
46
45
|
ac:accessKind "mcp_tool" ;
|
|
47
|
-
ac:operation "
|
|
48
|
-
ac:parameter "
|
|
46
|
+
ac:operation "plane_list_work_items" ;
|
|
47
|
+
ac:parameter "project_id", "params_json" ;
|
|
49
48
|
ac:pagination "cursor" ;
|
|
50
49
|
ac:pushdown "filter", "limit", "sort" ;
|
|
51
50
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -53,20 +52,20 @@ pl:issueAccess a ac:AccessContract ;
|
|
|
53
52
|
ac:freshnessSeconds 60 ;
|
|
54
53
|
ac:costHint "medium" .
|
|
55
54
|
|
|
56
|
-
|
|
57
|
-
ac:contract
|
|
55
|
+
:issueSequenceIdBinding a ac:PropertyBinding ;
|
|
56
|
+
ac:contract :issueAccess ; ac:property :sequenceId ; ac:field "sequence_id" .
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
ac:contract
|
|
58
|
+
:issuePriorityBinding a ac:PropertyBinding ;
|
|
59
|
+
ac:contract :issueAccess ; ac:property :priority ; ac:field "priority" .
|
|
61
60
|
|
|
62
|
-
|
|
63
|
-
ac:classIri
|
|
61
|
+
:cycleAccess a ac:AccessContract ;
|
|
62
|
+
ac:classIri :Cycle ;
|
|
64
63
|
ac:sourceId "plane-agent" ;
|
|
65
64
|
ac:entity "cycle" ;
|
|
66
65
|
ac:keyField "id" ;
|
|
67
66
|
ac:accessKind "mcp_tool" ;
|
|
68
|
-
ac:operation "
|
|
69
|
-
ac:parameter "
|
|
67
|
+
ac:operation "plane_list_cycles" ;
|
|
68
|
+
ac:parameter "project_id", "params_json" ;
|
|
70
69
|
ac:pagination "cursor" ;
|
|
71
70
|
ac:pushdown "filter", "limit", "sort" ;
|
|
72
71
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -74,20 +73,20 @@ pl:cycleAccess a ac:AccessContract ;
|
|
|
74
73
|
ac:freshnessSeconds 300 ;
|
|
75
74
|
ac:costHint "medium" .
|
|
76
75
|
|
|
77
|
-
|
|
78
|
-
ac:contract
|
|
76
|
+
:cycleStartDateBinding a ac:PropertyBinding ;
|
|
77
|
+
ac:contract :cycleAccess ; ac:property :startDate ; ac:field "start_date" .
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
ac:contract
|
|
79
|
+
:cycleEndDateBinding a ac:PropertyBinding ;
|
|
80
|
+
ac:contract :cycleAccess ; ac:property :endDate ; ac:field "end_date" .
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
ac:classIri
|
|
82
|
+
:moduleAccess a ac:AccessContract ;
|
|
83
|
+
ac:classIri :PlaneModule ;
|
|
85
84
|
ac:sourceId "plane-agent" ;
|
|
86
85
|
ac:entity "module" ;
|
|
87
86
|
ac:keyField "id" ;
|
|
88
87
|
ac:accessKind "mcp_tool" ;
|
|
89
|
-
ac:operation "
|
|
90
|
-
ac:parameter "
|
|
88
|
+
ac:operation "plane_list_modules" ;
|
|
89
|
+
ac:parameter "project_id", "params_json" ;
|
|
91
90
|
ac:pagination "cursor" ;
|
|
92
91
|
ac:pushdown "filter", "limit", "sort" ;
|
|
93
92
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -95,14 +94,14 @@ pl:moduleAccess a ac:AccessContract ;
|
|
|
95
94
|
ac:freshnessSeconds 300 ;
|
|
96
95
|
ac:costHint "medium" .
|
|
97
96
|
|
|
98
|
-
|
|
99
|
-
ac:classIri
|
|
97
|
+
:projectStateAccess a ac:AccessContract ;
|
|
98
|
+
ac:classIri :ProjectState ;
|
|
100
99
|
ac:sourceId "plane-agent" ;
|
|
101
100
|
ac:entity "state" ;
|
|
102
101
|
ac:keyField "id" ;
|
|
103
102
|
ac:accessKind "mcp_tool" ;
|
|
104
|
-
ac:operation "
|
|
105
|
-
ac:parameter "
|
|
103
|
+
ac:operation "plane_list_states" ;
|
|
104
|
+
ac:parameter "project_id", "params_json" ;
|
|
106
105
|
ac:pagination "cursor" ;
|
|
107
106
|
ac:pushdown "filter", "limit", "sort" ;
|
|
108
107
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -110,14 +109,14 @@ pl:projectStateAccess a ac:AccessContract ;
|
|
|
110
109
|
ac:freshnessSeconds 300 ;
|
|
111
110
|
ac:costHint "low" .
|
|
112
111
|
|
|
113
|
-
|
|
114
|
-
ac:classIri
|
|
112
|
+
:labelAccess a ac:AccessContract ;
|
|
113
|
+
ac:classIri :Label ;
|
|
115
114
|
ac:sourceId "plane-agent" ;
|
|
116
115
|
ac:entity "label" ;
|
|
117
116
|
ac:keyField "id" ;
|
|
118
117
|
ac:accessKind "mcp_tool" ;
|
|
119
|
-
ac:operation "
|
|
120
|
-
ac:parameter "
|
|
118
|
+
ac:operation "plane_list_labels" ;
|
|
119
|
+
ac:parameter "project_id", "params_json" ;
|
|
121
120
|
ac:pagination "cursor" ;
|
|
122
121
|
ac:pushdown "filter", "limit", "sort" ;
|
|
123
122
|
ac:authRef "env://PLANE_API_KEY" ;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"api_version": "graphos.io/v1",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"plane_agent/ontology/fixtures/records.json": "ad212a2725e246aceb1d2ecdf95db690f31b231888f6789f0c8867f0b70ab6e4",
|
|
5
|
-
"plane_agent/ontology/mappings/source.yaml": "
|
|
5
|
+
"plane_agent/ontology/mappings/source.yaml": "df88491c4dc98fc837e5105e03ac9f46db0bfaf43c58338b80003ababba0c7bc",
|
|
6
6
|
"plane_agent/ontology/migrations/manifest.json": "61b3a180e8fbc6862e59844dffe069ee13c592a4e635b259f6a39b174d30e5aa",
|
|
7
|
-
"plane_agent/ontology/plane.ttl": "
|
|
8
|
-
"plane_agent/ontology/shapes/connector.shacl.ttl": "
|
|
7
|
+
"plane_agent/ontology/plane.ttl": "8f955971374ce012ab12bbd3485b03107a55a7b3ef9e1d5e5ec3b9d2d63a2fd9",
|
|
8
|
+
"plane_agent/ontology/shapes/connector.shacl.ttl": "0e64f378eee51c30da719a14bdae6b36c0202bf7bee2dfbe6c3719ff808fc9b8"
|
|
9
9
|
},
|
|
10
10
|
"checks": {
|
|
11
11
|
"declared_tool_schema": "passed",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"signer": "UNSIGNED-PREVIEW",
|
|
30
30
|
"signing_public_key": "",
|
|
31
31
|
"status": "source-validated",
|
|
32
|
-
"validated_at": "2026-11-
|
|
32
|
+
"validated_at": "2026-11-13T00:21:37Z"
|
|
33
33
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
|
2
|
+
@prefix core: <https://knuckles-team.github.io/ontology/core#> .
|
|
2
3
|
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
|
|
3
4
|
@prefix dc: <http://purl.org/dc/terms/> .
|
|
4
|
-
@prefix : <
|
|
5
|
+
@prefix : <https://knuckles-team.github.io/ontology/connector/plane#> .
|
|
5
6
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
6
7
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
7
8
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
@@ -13,35 +14,36 @@
|
|
|
13
14
|
# plane_modules / plane_states / …). The shared :Person class is REUSED, never redefined.
|
|
14
15
|
|
|
15
16
|
:Workspace a owl:Class ;
|
|
16
|
-
rdfs:subClassOf :
|
|
17
|
+
rdfs:subClassOf core:Collection ;
|
|
17
18
|
rdfs:label "Workspace" ;
|
|
18
19
|
rdfs:comment "A Plane workspace — the top-level tenant that owns projects and members (plane_workspaces)." .
|
|
19
20
|
|
|
20
|
-
:SoftwareProject a owl:Class
|
|
21
|
+
:SoftwareProject a owl:Class ;
|
|
22
|
+
rdfs:subClassOf core:SoftwareProject .
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
:Issue a owl:Class ;
|
|
24
|
-
rdfs:subClassOf :WorkItem ;
|
|
26
|
+
rdfs:subClassOf core:WorkItem ;
|
|
25
27
|
rdfs:label "Issue" ;
|
|
26
28
|
rdfs:comment "A Plane work item / issue — the unit of tracked work with a state, priority and assignees (plane_work_items)." .
|
|
27
29
|
|
|
28
30
|
:Cycle a owl:Class ;
|
|
29
|
-
rdfs:subClassOf :Iteration ;
|
|
31
|
+
rdfs:subClassOf core:Iteration ;
|
|
30
32
|
rdfs:label "Cycle" ;
|
|
31
33
|
rdfs:comment "A time-boxed cycle (sprint) grouping work items over a start/end window (plane_cycles)." .
|
|
32
34
|
|
|
33
35
|
:PlaneModule a owl:Class ;
|
|
34
|
-
rdfs:subClassOf :Collection ;
|
|
36
|
+
rdfs:subClassOf core:Collection ;
|
|
35
37
|
rdfs:label "Module" ;
|
|
36
38
|
rdfs:comment "A feature grouping of work items within a project (plane_modules)." .
|
|
37
39
|
|
|
38
40
|
:ProjectState a owl:Class ;
|
|
39
|
-
rdfs:subClassOf :Concept ;
|
|
41
|
+
rdfs:subClassOf core:Concept ;
|
|
40
42
|
rdfs:label "Project State" ;
|
|
41
43
|
rdfs:comment "A workflow state a work item can occupy (e.g. Backlog, Todo, In Progress, Done) within a project (plane_states)." .
|
|
42
44
|
|
|
43
45
|
:Label a owl:Class ;
|
|
44
|
-
rdfs:subClassOf :Tag ;
|
|
46
|
+
rdfs:subClassOf core:Tag ;
|
|
45
47
|
rdfs:label "Label" ;
|
|
46
48
|
rdfs:comment "A tag applied to work items for classification within a project (plane_labels)." .
|
|
47
49
|
|
|
@@ -85,9 +87,9 @@
|
|
|
85
87
|
:projectLedBy a owl:ObjectProperty ;
|
|
86
88
|
rdfs:label "project led by" ;
|
|
87
89
|
rdfs:comment "Links a SoftwareProject to its project lead (projects.project_lead), the accountable owner." ;
|
|
88
|
-
rdfs:subPropertyOf :ownedBy ;
|
|
90
|
+
rdfs:subPropertyOf core:ownedBy ;
|
|
89
91
|
rdfs:domain :SoftwareProject ;
|
|
90
|
-
rdfs:range :Person .
|
|
92
|
+
rdfs:range core:Person .
|
|
91
93
|
|
|
92
94
|
:workItemOfProject a owl:ObjectProperty ;
|
|
93
95
|
rdfs:label "work item of project" ;
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
rdfs:label "assigned to" ;
|
|
101
103
|
rdfs:comment "Links an Issue to a Person responsible for it." ;
|
|
102
104
|
rdfs:domain :Issue ;
|
|
103
|
-
rdfs:range :Person .
|
|
105
|
+
rdfs:range core:Person .
|
|
104
106
|
|
|
105
107
|
# --- fields (owl:DatatypeProperty) ---
|
|
106
108
|
|
|
@@ -140,11 +142,11 @@
|
|
|
140
142
|
rdfs:domain :Cycle ;
|
|
141
143
|
rdfs:range xsd:string .
|
|
142
144
|
|
|
143
|
-
<
|
|
145
|
+
<https://knuckles-team.github.io/ontology/connector/plane> a owl:Ontology ;
|
|
144
146
|
rdfs:label "Plane Project Tracking Ontology" ;
|
|
145
147
|
rdfs:comment """Plane project-and-issue-tracking model — workspaces, software projects,
|
|
146
148
|
work items (issues), cycles, modules, states and labels, with their containment and
|
|
147
149
|
assignment relationships — federated into the scion-sdk knowledge-graph hub.""" .
|
|
148
150
|
|
|
149
151
|
# ontology-codemod R3
|
|
150
|
-
<
|
|
152
|
+
<https://knuckles-team.github.io/ontology/connector/plane#PlaneModule> rdfs:subClassOf <https://knuckles-team.github.io/ontology/core#Module> .
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@prefix : <
|
|
2
|
-
@prefix shape: <
|
|
1
|
+
@prefix : <https://knuckles-team.github.io/ontology/core#> .
|
|
2
|
+
@prefix shape: <https://knuckles-team.github.io/ontology/connector/plane-shapes#> .
|
|
3
3
|
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
4
4
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
5
5
|
|
{plane_agent-2.3.17 → plane_agent-2.4.0}/plane_agent/skills/plane-agent-development/SKILL.md
RENAMED
|
@@ -16,7 +16,7 @@ metadata:
|
|
|
16
16
|
|
|
17
17
|
# Plane Agent development
|
|
18
18
|
|
|
19
|
-
This repository owns the Plane transport, API mappings, MCP
|
|
19
|
+
This repository owns the Plane transport, API mappings, typed MCP tools,
|
|
20
20
|
knowledge-graph ingestion mappings, packaged skills, and connector
|
|
21
21
|
documentation. Shared connector transport and admission behavior belongs to
|
|
22
22
|
the SDK and its owning repositories. Read `AGENTS.md` before changing code;
|
|
@@ -29,9 +29,9 @@ logs, and skill content.
|
|
|
29
29
|
`Api`, `get_client`, and `plane_agent.mcp_server` as its tool module.
|
|
30
30
|
Preserve the connector identity and the `plane-mcp` entry points in
|
|
31
31
|
`pyproject.toml`.
|
|
32
|
-
- `plane_agent/mcp_server.py` owns the
|
|
33
|
-
the
|
|
34
|
-
|
|
32
|
+
- `plane_agent/mcp_server.py` owns the `plane_ingest_*` KG tools; every other `plane_*` tool is derived by
|
|
33
|
+
the SDK from one `Api` client method. Keep one tool per operation and add no
|
|
34
|
+
`action` argument.
|
|
35
35
|
- `plane_agent/api_client.py` composes the domain clients in `plane_agent/api/`
|
|
36
36
|
for projects, work items, cycles, epics, initiatives, intake, milestones,
|
|
37
37
|
modules, states, and workspaces. Reuse these clients rather than adding a
|
|
@@ -53,13 +53,13 @@ contract for `PIPE-CONNSPEC-R152.4`.
|
|
|
53
53
|
|
|
54
54
|
- Find the owning row first with `git grep -n "<term>" -- specs` and extend
|
|
55
55
|
that spec before adding new requirement text.
|
|
56
|
-
- Inspect the SDK `Connector`,
|
|
56
|
+
- Inspect the SDK `Connector`, domain client, auth/TLS path,
|
|
57
57
|
package-data declaration, and focused tests before changing runtime or
|
|
58
58
|
packaged content.
|
|
59
59
|
- Keep changes inside this connector. SDK transport, shared Pages rendering,
|
|
60
60
|
admission, and durable graph state belong to their owner repositories.
|
|
61
61
|
- Preserve workspace scoping through `PLANE_WORKSPACE_SLUG`, the governed TLS
|
|
62
|
-
profile,
|
|
62
|
+
profile, tool argument schemas, ontology mappings, and the existing
|
|
63
63
|
best-effort KG ingestion boundary.
|
|
64
64
|
- Every delivered local requirement needs a bound test. Generated
|
|
65
65
|
`specs/*/status.json` files are produced by `pipelines-hook spec-status`; do
|
|
@@ -77,7 +77,6 @@ uv sync --locked
|
|
|
77
77
|
/var/tmp/arbora-delivery/scale/run-narrow-test-slot.sh \
|
|
78
78
|
uv run --locked --extra test pytest -q \
|
|
79
79
|
tests/test_publication_workflow.py \
|
|
80
|
-
tests/test_action_discovery.py \
|
|
81
80
|
tests/test_access_contracts.py \
|
|
82
81
|
tests/test_ingest_sources.py \
|
|
83
82
|
tests/test_startup.py
|
|
@@ -112,7 +111,7 @@ inspection does not prove a served deployment.
|
|
|
112
111
|
mappings, and metadata ingestion under their existing boundaries.
|
|
113
112
|
- Use injected `PLANE_*` configuration only. Never print or commit API keys,
|
|
114
113
|
workspace secrets, private URLs, TLS material, or generated state.
|
|
115
|
-
- Preserve the current
|
|
114
|
+
- Preserve the current tool-to-client mappings and workspace scope. Mock
|
|
116
115
|
external calls and assert typed failures for missing credentials.
|
|
117
116
|
- Keep generated status files under the Pipelines/status owner; this skill does
|
|
118
117
|
not authorize editing `specs/*/status.json`.
|