nextcloud-agent 3.0.0__tar.gz → 3.0.1__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.
Files changed (77) hide show
  1. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/PKG-INFO +18 -17
  2. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/README.md +16 -15
  3. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/kg_ingest.py +13 -2
  4. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/__init__.py +1 -1
  5. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/certification.json +3 -3
  6. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/nextcloud.ttl +23 -40
  7. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/shapes/connector.shacl.ttl +2 -2
  8. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-activity/SKILL.md +15 -0
  9. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-admin/SKILL.md +19 -1
  10. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-agent-development/SKILL.md +16 -0
  11. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-agent-operations/SKILL.md +16 -0
  12. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-calendar/SKILL.md +16 -0
  13. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-contacts/SKILL.md +16 -0
  14. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-deck/SKILL.md +16 -0
  15. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-files/SKILL.md +19 -1
  16. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-ingest/SKILL.md +15 -0
  17. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-notes/SKILL.md +15 -0
  18. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-office/SKILL.md +15 -0
  19. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-publish-asset/SKILL.md +19 -6
  20. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-shares/SKILL.md +16 -0
  21. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-talk/SKILL.md +16 -0
  22. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-tasks/SKILL.md +16 -0
  23. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/PKG-INFO +18 -17
  24. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/SOURCES.txt +2 -0
  25. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/requires.txt +1 -1
  26. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/pyproject.toml +2 -2
  27. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_files_webdav.py +7 -1
  28. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_kg_ingest.py +16 -3
  29. nextcloud_agent-3.0.1/tests/test_ontology_extends_core.py +23 -0
  30. nextcloud_agent-3.0.1/tests/test_scion_sdk_0_10_imports.py +59 -0
  31. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/LICENSE +0 -0
  32. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/__init__.py +0 -0
  33. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/__main__.py +0 -0
  34. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/__init__.py +0 -0
  35. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_activity.py +0 -0
  36. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_admin.py +0 -0
  37. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_base.py +0 -0
  38. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_calendar.py +0 -0
  39. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_contacts.py +0 -0
  40. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_deck.py +0 -0
  41. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_files.py +0 -0
  42. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_notes.py +0 -0
  43. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_office.py +0 -0
  44. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_shares.py +0 -0
  45. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/api_client_talk.py +0 -0
  46. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api/xml_security.py +0 -0
  47. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/api_client.py +0 -0
  48. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/auth.py +0 -0
  49. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/connector_contracts.py +0 -0
  50. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/connector_sources.py +0 -0
  51. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/mcp_config.json +0 -0
  52. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/fixtures/records.json +0 -0
  53. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/mappings/source.yaml +0 -0
  54. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/ontology/migrations/manifest.json +0 -0
  55. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/asset_publisher.json +0 -0
  56. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/file_steward.json +0 -0
  57. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/office_coordinator.json +0 -0
  58. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/operator.json +0 -0
  59. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/project_coordinator.json +0 -0
  60. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/prompts/workspace_admin.json +0 -0
  61. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-agent-operations/agents/openai.yaml +0 -0
  62. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent/skills/nextcloud-agent-operations/references/catalog.md +0 -0
  63. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/dependency_links.txt +0 -0
  64. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/entry_points.txt +0 -0
  65. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/nextcloud_agent.egg-info/top_level.txt +0 -0
  66. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/setup.cfg +0 -0
  67. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/conftest.py +0 -0
  68. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_api_client.py +0 -0
  69. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_auth.py +0 -0
  70. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_business_surface.py +0 -0
  71. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_content_surface.py +0 -0
  72. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_fleet_name.py +0 -0
  73. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_init.py +0 -0
  74. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_init_dynamics.py +0 -0
  75. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_mcp_server.py +0 -0
  76. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_publication_workflow.py +0 -0
  77. {nextcloud_agent-3.0.0 → nextcloud_agent-3.0.1}/tests/test_xml_security.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextcloud-agent
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Nextcloud MCP Server for Agentic AI!
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.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: scion-sdk[mcp]<0.9,>=0.8.0
15
+ Requires-Dist: scion-sdk[mcp]<0.15,>=0.14.1
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Requires-Dist: defusedxml>=0.7.1
18
18
  Requires-Dist: python-dateutil>=2.9.0.post0
@@ -47,9 +47,9 @@ Dynamic: license-file
47
47
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/nextcloud-agent)
48
48
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/nextcloud-agent)
49
49
 
50
- > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
51
- > interfaces, and guidance for provisioning the backing Nextcloud instance are
52
- > maintained in the [official documentation](https://knuckles-team.github.io/nextcloud-agent/).
50
+ > **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
51
+ > and A2A agent interfaces are maintained in the
52
+ > [official documentation](https://knuckles-team.github.io/nextcloud-agent/).
53
53
 
54
54
  ---
55
55
 
@@ -257,8 +257,8 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
257
257
  <!-- MCP-CONFIG-EXAMPLES:START -->
258
258
 
259
259
  > **Install the connector-focused `[mcp]` extra.** Examples use `nextcloud-agent[mcp]` to add
260
- > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
261
- > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
260
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Meristem core
261
+ > still carries `medulla[full]`. The `[agent-runtime]` extra additionally
262
262
  > enables model orchestration.
263
263
 
264
264
  #### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
@@ -389,6 +389,8 @@ consumed from a **remote deployment**. The
389
389
  references, trust profile, and exact `MCP_ALLOWED_HOSTS` in `AgentConfig`.
390
390
  <!-- END GENERATED: additional-deployment-options -->
391
391
 
392
+ ---
393
+
392
394
  ## Agent
393
395
 
394
396
  This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
@@ -589,8 +591,8 @@ Pick the extra that matches what the operator want to run:
589
591
 
590
592
  | Extra | Installs | Use when |
591
593
  |-------|----------|----------|
592
- | `nextcloud-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
593
- | `nextcloud-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
594
+ | `nextcloud-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
595
+ | `nextcloud-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `medulla[full]`) | The operator run the **integrated agent** |
594
596
  | `nextcloud-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
595
597
 
596
598
  ```bash
@@ -610,8 +612,8 @@ One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `
610
612
 
611
613
  | Image tag | Build target | Contents | Entrypoint |
612
614
  |-----------|--------------|----------|------------|
613
- | `knucklessg1/nextcloud-agent:mcp` | `--target mcp` | `nextcloud-agent[mcp]` — **connector-focused**, includes `epistemic-graph[full]`; no model-orchestration stack | `nextcloud-mcp` |
614
- | `knucklessg1/nextcloud-agent:2.3.3` | `--target agent` (default) | `nextcloud-agent[agent]` — **agent runtime**, model orchestration + `epistemic-graph[full]` | `nextcloud-agent` |
615
+ | `knucklessg1/nextcloud-agent:mcp` | `--target mcp` | `nextcloud-agent[mcp]` — **connector-focused**, includes `medulla[full]`; no model-orchestration stack | `nextcloud-mcp` |
616
+ | `knucklessg1/nextcloud-agent:2.3.3` | `--target agent` (default) | `nextcloud-agent[agent]` — **agent runtime**, model orchestration + `medulla[full]` | `nextcloud-agent` |
615
617
 
616
618
  ```bash
617
619
  docker build --target mcp -t knucklessg1/nextcloud-agent:mcp docker/ # connector-focused MCP server
@@ -621,16 +623,16 @@ docker build --target agent -t knucklessg1/nextcloud-agent:2.3.3 docker/ # age
621
623
  `docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
622
624
  agent (`:2.3.3`) with a co-located `:mcp` sidecar.
623
625
 
624
- ### Knowledge-graph database (`epistemic-graph`)
626
+ ### Knowledge-graph database (`medulla`)
625
627
 
626
- Both `[mcp]` and `[agent]` carry the **epistemic-graph** engine through the required
627
- Agent Utilities core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
628
+ Both `[mcp]` and `[agent]` carry the **medulla** engine through the required
629
+ Meristem core dependency (`medulla[full]`). The `[mcp]` extra keeps
628
630
  the server connector-focused; `[agent]` also enables model orchestration. Local
629
631
  deployments can use the bundled engine. For production — or to share one knowledge graph
630
- across multiple agents — run **epistemic-graph as its own database container** and point the
632
+ across multiple agents — run **medulla as its own database container** and point the
631
633
  agent at it instead of embedding it. Deployment recipes (single-node + Raft HA), connection
632
634
  config, and the full database architecture (with diagrams) are documented in the
633
- [epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
635
+ [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
634
636
 
635
637
  ---
636
638
 
@@ -668,7 +670,6 @@ Contributions are welcome! Please ensure code quality by running local checks be
668
670
  - Validate type-safety with `mypy .`
669
671
  - Ran test suites using `pytest`
670
672
 
671
-
672
673
  <!-- BEGIN agent-os-genesis-deploy (generated; do not edit between markers) -->
673
674
 
674
675
  ## Deploy with `agent-os-genesis`
@@ -20,9 +20,9 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/nextcloud-agent)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/nextcloud-agent)
22
22
 
23
- > **Documentation** — Installation, deployment, usage across the API, CLI, and MCP
24
- > interfaces, and guidance for provisioning the backing Nextcloud instance are
25
- > maintained in the [official documentation](https://knuckles-team.github.io/nextcloud-agent/).
23
+ > **Documentation** — Installation, deployment, and usage across the API, CLI, MCP,
24
+ > and A2A agent interfaces are maintained in the
25
+ > [official documentation](https://knuckles-team.github.io/nextcloud-agent/).
26
26
 
27
27
  ---
28
28
 
@@ -230,8 +230,8 @@ When query strings or parameters are supplied, an LLM-free **Knowledge Graph res
230
230
  <!-- MCP-CONFIG-EXAMPLES:START -->
231
231
 
232
232
  > **Install the connector-focused `[mcp]` extra.** Examples use `nextcloud-agent[mcp]` to add
233
- > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
234
- > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
233
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Meristem core
234
+ > still carries `medulla[full]`. The `[agent-runtime]` extra additionally
235
235
  > enables model orchestration.
236
236
 
237
237
  #### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
@@ -362,6 +362,8 @@ consumed from a **remote deployment**. The
362
362
  references, trust profile, and exact `MCP_ALLOWED_HOSTS` in `AgentConfig`.
363
363
  <!-- END GENERATED: additional-deployment-options -->
364
364
 
365
+ ---
366
+
365
367
  ## Agent
366
368
 
367
369
  This repository features a fully integrated Pydantic AI Graph Agent. It communicates over the **Agent Control Protocol (ACP)** and interacts smoothly with the **Agent Web UI (AG-UI)** and Terminal interface.
@@ -562,8 +564,8 @@ Pick the extra that matches what the operator want to run:
562
564
 
563
565
  | Extra | Installs | Use when |
564
566
  |-------|----------|----------|
565
- | `nextcloud-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
566
- | `nextcloud-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
567
+ | `nextcloud-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `medulla[full]`) | The operator only run the **MCP server** (smallest install / image) |
568
+ | `nextcloud-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `medulla[full]`) | The operator run the **integrated agent** |
567
569
  | `nextcloud-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
568
570
 
569
571
  ```bash
@@ -583,8 +585,8 @@ One multi-stage `docker/Dockerfile` builds two right-sized images, selected by `
583
585
 
584
586
  | Image tag | Build target | Contents | Entrypoint |
585
587
  |-----------|--------------|----------|------------|
586
- | `knucklessg1/nextcloud-agent:mcp` | `--target mcp` | `nextcloud-agent[mcp]` — **connector-focused**, includes `epistemic-graph[full]`; no model-orchestration stack | `nextcloud-mcp` |
587
- | `knucklessg1/nextcloud-agent:2.3.3` | `--target agent` (default) | `nextcloud-agent[agent]` — **agent runtime**, model orchestration + `epistemic-graph[full]` | `nextcloud-agent` |
588
+ | `knucklessg1/nextcloud-agent:mcp` | `--target mcp` | `nextcloud-agent[mcp]` — **connector-focused**, includes `medulla[full]`; no model-orchestration stack | `nextcloud-mcp` |
589
+ | `knucklessg1/nextcloud-agent:2.3.3` | `--target agent` (default) | `nextcloud-agent[agent]` — **agent runtime**, model orchestration + `medulla[full]` | `nextcloud-agent` |
588
590
 
589
591
  ```bash
590
592
  docker build --target mcp -t knucklessg1/nextcloud-agent:mcp docker/ # connector-focused MCP server
@@ -594,16 +596,16 @@ docker build --target agent -t knucklessg1/nextcloud-agent:2.3.3 docker/ # age
594
596
  `docker/mcp.compose.yml` runs the connector-focused `:mcp` server; `docker/agent.compose.yml` runs the
595
597
  agent (`:2.3.3`) with a co-located `:mcp` sidecar.
596
598
 
597
- ### Knowledge-graph database (`epistemic-graph`)
599
+ ### Knowledge-graph database (`medulla`)
598
600
 
599
- Both `[mcp]` and `[agent]` carry the **epistemic-graph** engine through the required
600
- Agent Utilities core dependency (`epistemic-graph[full]`). The `[mcp]` extra keeps
601
+ Both `[mcp]` and `[agent]` carry the **medulla** engine through the required
602
+ Meristem core dependency (`medulla[full]`). The `[mcp]` extra keeps
601
603
  the server connector-focused; `[agent]` also enables model orchestration. Local
602
604
  deployments can use the bundled engine. For production — or to share one knowledge graph
603
- across multiple agents — run **epistemic-graph as its own database container** and point the
605
+ across multiple agents — run **medulla as its own database container** and point the
604
606
  agent at it instead of embedding it. Deployment recipes (single-node + Raft HA), connection
605
607
  config, and the full database architecture (with diagrams) are documented in the
606
- [epistemic-graph deployment guide](https://knuckles-team.github.io/epistemic-graph/deployment/).
608
+ [medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
607
609
 
608
610
  ---
609
611
 
@@ -641,7 +643,6 @@ Contributions are welcome! Please ensure code quality by running local checks be
641
643
  - Validate type-safety with `mypy .`
642
644
  - Ran test suites using `pytest`
643
645
 
644
-
645
646
  <!-- BEGIN agent-os-genesis-deploy (generated; do not edit between markers) -->
646
647
 
647
648
  ## Deploy with `agent-os-genesis`
@@ -1,4 +1,4 @@
1
- """Native epistemic-graph ingestion for Nextcloud structure (typed graph nodes).
1
+ """Native medulla ingestion for Nextcloud structure (typed graph nodes).
2
2
 
3
3
  CONCEPT:AU-KG.ingest.enterprise-source-extractor. The structure-node twin of
4
4
  ``kg_media`` (which stores the raw file blobs + extracted documents): this module maps
@@ -13,15 +13,26 @@ class the package's ``ontology`` ``.ttl`` federates.
13
13
 
14
14
  from __future__ import annotations
15
15
 
16
+ import hashlib
16
17
  import posixpath
18
+ from pathlib import Path
17
19
  from typing import Any
18
20
 
19
21
  from scion_sdk.ingest import (
22
+ ContractSource,
20
23
  KnowledgeIngest,
21
24
  SourceStream,
22
25
  )
23
26
 
24
- STREAM = SourceStream.for_package(__package__.split(".")[0], "nextcloud")
27
+ #: The local declaration the engine must have accepted: the connector's mappings.
28
+ _DECLARATION = Path(__file__).parent / "ontology" / "mappings" / "source.yaml"
29
+
30
+ #: The contract every binding of this connector runs under; its digest is the
31
+ #: SHA-256 of the shipped mapping declaration, so a changed declaration is
32
+ #: refused (``contract_not_accepted``) until the engine accepts the new one.
33
+ CONTRACT = ContractSource(digest=hashlib.sha256(_DECLARATION.read_bytes()).hexdigest())
34
+
35
+ STREAM = SourceStream.for_package(__package__.split(".")[0], "nextcloud", CONTRACT)
25
36
 
26
37
 
27
38
  async def ingest_listing(
@@ -1,7 +1,7 @@
1
1
  """Nextcloud ontology contribution (CONCEPT:AU-KG.ontology.federation-provider-leg).
2
2
 
3
3
  Data-only subpackage: it carries ``nextcloud.ttl`` (the ``owl:Ontology``
4
- ``http://knuckles.team/kg/nextcloud`` module) which the Arbora hub federates in via
4
+ ``https://knuckles-team.github.io/ontology/connector/nextcloud`` module) which the Arbora 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
  """
@@ -4,8 +4,8 @@
4
4
  "nextcloud_agent/ontology/fixtures/records.json": "aeff7048eae4bc5068dcd2070ad0f0e02b1de63bf9fd5dbecf6a51c5ebd26dc7",
5
5
  "nextcloud_agent/ontology/mappings/source.yaml": "eeeed948b2ff1edccd43b208d7e2989cb6b957c3169d6e6bbd9f32b6861f28ed",
6
6
  "nextcloud_agent/ontology/migrations/manifest.json": "25716b991f14c59cc202177dfa6d410b396e18a5c9accc92238e5433825535e7",
7
- "nextcloud_agent/ontology/nextcloud.ttl": "82cde8ca4715291239dff84001201834586d59f60f05d6baf9b79d2a0bc4b4d6",
8
- "nextcloud_agent/ontology/shapes/connector.shacl.ttl": "251875e76be6b28c61992bd80aa744d920af1b658c2af57d49531cf63abb0cc4"
7
+ "nextcloud_agent/ontology/nextcloud.ttl": "c83eefc6bfe319f13231af85aa6b3b944a8107837bd9cd02a0cc82bef42f26fd",
8
+ "nextcloud_agent/ontology/shapes/connector.shacl.ttl": "1162e60aee95e52a34faedd702423d4ba62fe4df9a3c65906c0bd366d74e1b7c"
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-06T15:49:02Z"
32
+ "validated_at": "2026-12-03T21:52:09Z"
33
33
  }
@@ -1,4 +1,5 @@
1
- @prefix : <http://knuckles.team/kg#> .
1
+ @prefix : <https://knuckles-team.github.io/ontology/connector/nextcloud#> .
2
+ @prefix core: <https://knuckles-team.github.io/ontology/core#> .
2
3
  @prefix owl: <http://www.w3.org/2002/07/owl#> .
3
4
  @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4
5
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@@ -12,7 +13,7 @@
12
13
  # roles are declared once in connector_contracts.py; the SDK serves them as the
13
14
  # connector's surface ontology, typed by classes that extend core.
14
15
 
15
- <http://knuckles.team/kg/nextcloud> a owl:Ontology ;
16
+ <https://knuckles-team.github.io/ontology/connector/nextcloud> a owl:Ontology ;
16
17
  rdfs:label "Nextcloud Ontology" ;
17
18
  rdfs:comment """Nextcloud collaboration model: files, versions, shares, calendars,
18
19
  events, tasks, contacts, Talk, Deck, notes, office documents, activity and
@@ -24,89 +25,89 @@
24
25
  :Share a owl:Class ;
25
26
  rdfs:label "Nextcloud Share" ;
26
27
  rdfs:comment "A sharing grant on a file or folder: user, group, Talk, email or public link." ;
27
- rdfs:subClassOf :FileShare .
28
+ rdfs:subClassOf core:FileShare .
28
29
 
29
30
  :FileVersion a owl:Class ;
30
31
  rdfs:label "File Version" ;
31
32
  rdfs:comment "A stored earlier content of a Nextcloud file, restorable." ;
32
- rdfs:subClassOf :File .
33
+ rdfs:subClassOf core:File .
33
34
 
34
35
  :TrashItem a owl:Class ;
35
36
  rdfs:label "Trash Item" ;
36
37
  rdfs:comment "A deleted file or folder held in the trash bin, restorable." ;
37
- rdfs:subClassOf :File .
38
+ rdfs:subClassOf core:File .
38
39
 
39
40
  :OfficeDocument a owl:Class ;
40
41
  rdfs:label "Office Document" ;
41
42
  rdfs:comment "A document, spreadsheet, presentation, diagram or markdown file edited collaboratively." ;
42
- rdfs:subClassOf :Document .
43
+ rdfs:subClassOf core:Document .
43
44
 
44
45
  :NextcloudCalendar a owl:Class ;
45
46
  rdfs:label "Nextcloud Calendar" ;
46
47
  rdfs:comment "A CalDAV calendar holding events and, when task-capable, tasks." ;
47
- rdfs:subClassOf :Collection .
48
+ rdfs:subClassOf core:Collection .
48
49
 
49
50
  :AddressBook a owl:Class ;
50
51
  rdfs:label "Address Book" ;
51
52
  rdfs:comment "A CardDAV address book of contact cards." ;
52
- rdfs:subClassOf :Collection .
53
+ rdfs:subClassOf core:Collection .
53
54
 
54
55
  :ContactCard a owl:Class ;
55
56
  rdfs:label "Contact Card" ;
56
57
  rdfs:comment "One vCard: a person's or organization's name, emails, phones and organization." ;
57
- rdfs:subClassOf :Document .
58
+ rdfs:subClassOf core:Document .
58
59
 
59
60
  :TalkConversation a owl:Class ;
60
61
  rdfs:label "Talk Conversation" ;
61
62
  rdfs:comment "A Nextcloud Talk conversation: private group, public or one-to-one." ;
62
- rdfs:subClassOf :MessageChannel .
63
+ rdfs:subClassOf core:MessageChannel .
63
64
 
64
65
  :TalkMessage a owl:Class ;
65
66
  rdfs:label "Talk Message" ;
66
67
  rdfs:comment "One chat message in a Talk conversation." ;
67
- rdfs:subClassOf :ChatMessage .
68
+ rdfs:subClassOf core:ChatMessage .
68
69
 
69
70
  :DeckBoard a owl:Class ;
70
71
  rdfs:label "Deck Board" ;
71
72
  rdfs:comment "A Deck kanban board." ;
72
- rdfs:subClassOf :Collection .
73
+ rdfs:subClassOf core:Collection .
73
74
 
74
75
  :DeckStack a owl:Class ;
75
76
  rdfs:label "Deck Stack" ;
76
77
  rdfs:comment "One column of a Deck board." ;
77
- rdfs:subClassOf :Collection .
78
+ rdfs:subClassOf core:Collection .
78
79
 
79
80
  :DeckCard a owl:Class ;
80
81
  rdfs:label "Deck Card" ;
81
82
  rdfs:comment "One card of work on a Deck board." ;
82
- rdfs:subClassOf :Task .
83
+ rdfs:subClassOf core:Task .
83
84
 
84
85
  :NextcloudNote a owl:Class ;
85
86
  rdfs:label "Nextcloud Note" ;
86
87
  rdfs:comment "A markdown note of the Notes app." ;
87
- rdfs:subClassOf :Document .
88
+ rdfs:subClassOf core:Document .
88
89
 
89
90
  :ActivityEvent a owl:Class ;
90
91
  rdfs:label "Activity Event" ;
91
92
  rdfs:comment "One entry of the activity stream: who changed what and when." ;
92
- rdfs:subClassOf :Event .
93
+ rdfs:subClassOf core:Event .
93
94
 
94
95
  :NextcloudNotification a owl:Class ;
95
96
  rdfs:label "Nextcloud Notification" ;
96
97
  rdfs:comment "One notification addressed to the account." ;
97
- rdfs:subClassOf :Event .
98
+ rdfs:subClassOf core:Event .
98
99
 
99
100
  :NextcloudApp a owl:Class ;
100
101
  rdfs:label "Nextcloud App" ;
101
102
  rdfs:comment "An installed Nextcloud app (Talk, Deck, Office and others)." ;
102
- rdfs:subClassOf :Application .
103
+ rdfs:subClassOf core:Application .
103
104
 
104
105
  # --- links and fields ---
105
106
 
106
107
  :inFolder a owl:ObjectProperty ;
107
108
  rdfs:label "in folder" ;
108
109
  rdfs:comment "Links a File or subfolder to the Folder that contains it." ;
109
- rdfs:range :Folder .
110
+ rdfs:range core:Folder .
110
111
 
111
112
  :sharedWith a owl:ObjectProperty ;
112
113
  rdfs:label "shared with" ;
@@ -118,23 +119,11 @@
118
119
  rdfs:comment "Links a Share to the File or Folder it exposes." ;
119
120
  rdfs:domain :Share .
120
121
 
121
- :hasBlob a owl:ObjectProperty ;
122
- rdfs:label "has blob" ;
123
- rdfs:comment "Links a File to the federated :AssetOccurrence holding its raw content-addressed bytes." ;
124
- rdfs:domain :File ;
125
- rdfs:range :AssetOccurrence .
126
-
127
122
  :hasDocument a owl:ObjectProperty ;
128
123
  rdfs:label "has document" ;
129
124
  rdfs:comment "Links a File to the federated :Document carrying its extracted, searchable text." ;
130
- rdfs:domain :File ;
131
- rdfs:range :Document .
132
-
133
- :versionOf a owl:ObjectProperty ;
134
- rdfs:label "version of" ;
135
- rdfs:comment "Links a FileVersion to the File it is an earlier content of." ;
136
- rdfs:domain :FileVersion ;
137
- rdfs:range :File .
125
+ rdfs:domain core:File ;
126
+ rdfs:range core:Document .
138
127
 
139
128
  :inCalendar a owl:ObjectProperty ;
140
129
  rdfs:label "in calendar" ;
@@ -160,15 +149,9 @@
160
149
  :mimeType a owl:DatatypeProperty ;
161
150
  rdfs:label "mime type" ;
162
151
  rdfs:comment "MIME content type of a File." ;
163
- rdfs:domain :File ;
152
+ rdfs:domain core:File ;
164
153
  rdfs:range xsd:string .
165
154
 
166
- :sizeBytes a owl:DatatypeProperty ;
167
- rdfs:label "size bytes" ;
168
- rdfs:comment "Size of a File in bytes." ;
169
- rdfs:domain :File ;
170
- rdfs:range xsd:integer .
171
-
172
155
  :modifiedAt a owl:DatatypeProperty ;
173
156
  rdfs:label "modified at" ;
174
157
  rdfs:comment "Last-modified timestamp of a File or Folder." ;
@@ -1,5 +1,5 @@
1
- @prefix : <http://knuckles.team/kg#> .
2
- @prefix shape: <http://knuckles.team/kg/nextcloud/shape#> .
1
+ @prefix : <https://knuckles-team.github.io/ontology/core#> .
2
+ @prefix shape: <https://knuckles-team.github.io/ontology/connector/nextcloud-shapes#> .
3
3
  @prefix sh: <http://www.w3.org/ns/shacl#> .
4
4
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5
5
 
@@ -17,6 +17,21 @@ Read the Nextcloud activity stream (who created, changed, shared or deleted what
17
17
  - What changed on a file: `nextcloud_get_properties(path)` for `file_id`, then `nextcloud_list_activities(object_type="files", object_id=<file_id>)`.
18
18
  - Daily digest: `nextcloud_list_activities(limit=50)` and `nextcloud_list_notifications()`.
19
19
 
20
+ ## Steps
21
+
22
+ 1. Decide the scope: the whole account or one file. For one file read its id with `nextcloud_get_properties`(path). Verify the response contains a file id.
23
+ 2. Read the stream with `nextcloud_list_activities`(limit=50) or `nextcloud_list_activities`(object_type="files", object_id=file_id). Verify entries are newest first and name the actor and action.
24
+ 3. Read pending notices with `nextcloud_list_notifications`(). Verify each has a notification_id.
25
+ 4. Dismiss only handled notices with `nextcloud_dismiss_notification`(notification_id) after the person agrees. Verify the id is gone from `nextcloud_list_notifications`().
26
+
27
+ ## Failure recovery
28
+
29
+ | Failure | Cause | Recovery |
30
+ |---|---|---|
31
+ | 401 or connection error from a `nextcloud_*` tool | `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` or the app password in `NEXTCLOUD_PASSWORD` is missing or wrong | Set the three variables for the server, and verify the connection by calling `nextcloud_get_user_info` |
32
+ | Empty activity list | Nothing new since the last read, since the server answers 304 | Widen the window with `nextcloud_list_activities`(limit=50, since=<earlier id>) and verify entries appear |
33
+ | Dismiss refused | confirm=true was not passed because the person has not agreed | Ask the person to agree, pass confirm=true on that single call, and verify the result with the matching read tool |
34
+
20
35
  ## Connection
21
36
  Reach the tools through arbora (`find`, then `act op=fleet.call` with `server="nextcloud-mcp"`) or the
22
37
  `nextcloud-mcp` MCP server directly. The server reads `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` and
@@ -2,7 +2,7 @@
2
2
  name: nextcloud-admin
3
3
  skill_type: skill
4
4
  description: >-
5
- Administer the Nextcloud workspace: read the connected account; list, read, create, update, disable, enable and delete accounts; list, create and delete groups and manage membership; list installed apps and enable or disable them. Use when the agent must onboard or offboard a team member, organize teams into groups, or check which apps are on. Requires an admin account. Do NOT use for contact cards (nextcloud-contacts).
5
+ Administer the Nextcloud workspace: read the connected account; list, read, create, update, disable, enable and delete accounts; list, create and delete groups and manage membership; list installed apps and enable or disable them. Use when the agent must onboard or offboard a team member, organize teams into groups, or check which apps are on. Requires an admin account.
6
6
  license: MIT
7
7
  tags: [nextcloud, admin, mcp]
8
8
  metadata:
@@ -11,6 +11,8 @@ metadata:
11
11
  ---
12
12
  # Nextcloud Admin
13
13
 
14
+ Scope: Administer the Nextcloud workspace: read the connected account; list, read, create, update, disable, enable and delete accounts; list, create and delete groups and manage membership; list installed apps and enable or disable them. Use when the agent must onboard or offboard a team member, organize teams into groups, or check which apps are on. Requires an admin account. Do NOT use for contact cards (nextcloud-contacts).
15
+
14
16
  Administer the Nextcloud workspace: read the connected account; list, read, create, update, disable, enable and delete accounts; list, create and delete groups and manage membership; list installed apps and enable or disable them.
15
17
 
16
18
  ## When to use
@@ -18,6 +20,22 @@ Administer the Nextcloud workspace: read the connected account; list, read, crea
18
20
  - Offboard: `nextcloud_disable_user` first; `nextcloud_delete_user` deletes the account's files and is confirmation-gated.
19
21
  - Apps: `nextcloud_list_apps(status="enabled")`.
20
22
 
23
+ ## Steps
24
+
25
+ 1. Confirm the account is an admin with `nextcloud_get_user_info`(). Verify the groups include admin.
26
+ 2. Look up the target with `nextcloud_list_users`(search) or `nextcloud_get_user`(user_id). Verify the account exists or is absent as expected.
27
+ 3. Onboard with `nextcloud_create_user`(user_id, email, display_name, groups) or offboard with `nextcloud_disable_user`(user_id). Verify with `nextcloud_get_user`(user_id) that the account state changed.
28
+ 4. Place the account in teams with `nextcloud_add_user_to_group`(user_id, group_id). Verify with `nextcloud_list_group_members`(group_id) that the user is listed.
29
+ 5. Only after approval delete with `nextcloud_delete_user`(user_id) and check apps with `nextcloud_list_apps`(status="enabled"). Verify the user no longer appears in `nextcloud_list_users`(search).
30
+
31
+ ## Failure recovery
32
+
33
+ | Failure | Cause | Recovery |
34
+ |---|---|---|
35
+ | Permission denied (HTTP 403) | The connected account is not an administrator | Connect an admin app password in `NEXTCLOUD_PASSWORD` and verify with `nextcloud_get_user_info`() |
36
+ | create_user rejected | The user_id exists or neither a password nor an email was given | Read it with `nextcloud_get_user`(user_id), or pass an email for a set-password invite |
37
+ | Delete refused | confirm=true was not passed because the person has not agreed | Disable the account first with `nextcloud_disable_user`(user_id), get approval, then pass confirm=true on the delete |
38
+
21
39
  ## Connection
22
40
  Reach the tools through arbora (`find`, then `act op=fleet.call` with `server="nextcloud-mcp"`) or the
23
41
  `nextcloud-mcp` MCP server directly. The server reads `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` and
@@ -38,6 +38,22 @@ hooks.
38
38
  those are not declared or present in this source tree. Do not invent that
39
39
  runtime or rewrite it as part of a Pages/skill change.
40
40
 
41
+ ## Steps
42
+
43
+ 1. Read the owning row with `git grep -n "<term>" -- specs` and `AGENTS.md`. Verify one spec row owns the change.
44
+ 2. Make the smallest connector-owned change under `nextcloud_agent/`, keeping auth and TLS settings intact. Verify with `git diff --stat` that only intended paths changed.
45
+ 3. Run the focused tests, for example `uv run --locked --extra test pytest -q tests/test_init.py tests/test_auth.py`. Verify no failures.
46
+ 4. Run the gates with `uvx pre-commit run --all-files` and `uvx pre-commit run --all-files --hook-stage pre-push`. Verify every hook reports Passed.
47
+ 5. Commit explicit paths with `git add -- <paths>` and the Spec trailer. Verify `git diff --cached --name-status` lists only intended files.
48
+
49
+ ## Failure recovery
50
+
51
+ | Failure | Cause | Recovery |
52
+ |---|---|---|
53
+ | Hook fails | A shared standard hook found a violation | Read the hook output, fix the named file and rerun `uvx pre-commit run --all-files`; never bypass |
54
+ | Tests cannot run | The locked environment is not synced | Run `uv sync --locked` from the repository root and rerun the pytest command |
55
+ | No owning spec row | The change is new or the term is too narrow | Broaden the `git grep -n` term over `specs` and extend the closest row |
56
+
41
57
  ## Rapid delivery: the 5-minute contract
42
58
 
43
59
  1. Read the owning `specs/` row and this repository's `AGENTS.md` before editing.
@@ -19,6 +19,22 @@ Use the provider's governed MCP tools through Arbora delegation.
19
19
  5. Ingest source data only through the signed connector preset and ChangeEnvelope path.
20
20
  6. Verify the durable result and its trace/evidence before reporting completion.
21
21
 
22
+ ## Steps
23
+
24
+ 1. Discover the live tools with arbora `find`(intent="nextcloud"). Verify the tool names start with `nextcloud_` and are not assumed from memory.
25
+ 2. Read the matching procedure in `references/catalog.md`. Verify the workflow and parameters it lists match the request.
26
+ 3. Inspect state first with a read tool such as `nextcloud_list_files`(path) or `nextcloud_get_user_info`(). Verify the target exists before changing it.
27
+ 4. Run one change at a time after the person approves any destructive or externally visible action. Verify the result with the matching read tool such as `nextcloud_get_properties`(path).
28
+ 5. Report only the evidence returned by the tools, such as the `nextcloud_list_activities`(limit=5) entries. Verify no credential, hostname or personal identifier is included.
29
+
30
+ ## Failure recovery
31
+
32
+ | Failure | Cause | Recovery |
33
+ |---|---|---|
34
+ | 401 or connection error from a `nextcloud_*` tool | `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` or the app password in `NEXTCLOUD_PASSWORD` is missing or wrong | Set the three variables for the server, and verify the connection by calling `nextcloud_get_user_info` |
35
+ | Destructive tool asks for confirmation | confirm=true was not passed because the person has not agreed | Ask the person to agree, pass confirm=true on that single call, and verify the result with the matching read tool |
36
+ | Tool name not found | The tool surface changed | Re-run `find`(intent="nextcloud") and use a current tool name |
37
+
22
38
  ## Safety contract
23
39
 
24
40
  - Never persist credentials, endpoints, raw personal identifiers, hostnames, or local paths.
@@ -18,6 +18,22 @@ Run Nextcloud calendars over CalDAV: list calendars, create or delete a calendar
18
18
  - Book a meeting: `nextcloud_create_event(calendar_url, summary, start, end, attendees=[...])`.
19
19
  - Move it: `nextcloud_update_event(event_url, start=..., end=...)`; cancel: `nextcloud_delete_calendar_object(event_url)`.
20
20
 
21
+ ## Steps
22
+
23
+ 1. List calendars with `nextcloud_list_calendars`(). Verify the target calendar shows VEVENT and note its calendar_url.
24
+ 2. Check the slot with `nextcloud_list_events`(calendar_url, start, end) using ISO times with an offset. Verify no listed event overlaps.
25
+ 3. Create the event with `nextcloud_create_event`(calendar_url, summary, start, end, attendees, send_invitations=false). Verify the response returns an event url.
26
+ 4. Read it back with `nextcloud_get_calendar_object`(object_url). Verify summary, times and attendees match.
27
+ 5. To move or cancel use `nextcloud_update_event`(event_url, start, end) or `nextcloud_delete_calendar_object`(object_url). Verify with `nextcloud_list_events` that the slot changed.
28
+
29
+ ## Failure recovery
30
+
31
+ | Failure | Cause | Recovery |
32
+ |---|---|---|
33
+ | 401 or connection error from a `nextcloud_*` tool | `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` or the app password in `NEXTCLOUD_PASSWORD` is missing or wrong | Set the three variables for the server, and verify the connection by calling `nextcloud_get_user_info` |
34
+ | Update fails on a stale etag | The event changed since it was read | Re-read it with `nextcloud_get_calendar_object`(object_url) and call `nextcloud_update_event` again with the fresh state |
35
+ | Wrong event time | A naive time was read as UTC | Pass an ISO time with an explicit offset and verify with `nextcloud_get_calendar_object` |
36
+
21
37
  ## Connection
22
38
  Reach the tools through arbora (`find`, then `act op=fleet.call` with `server="nextcloud-mcp"`) or the
23
39
  `nextcloud-mcp` MCP server directly. The server reads `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` and
@@ -17,6 +17,22 @@ Manage Nextcloud contacts over CardDAV: list address books, list contacts with n
17
17
  - Look someone up: `nextcloud_list_contacts(address_book_url)` and match on `full_name` or `emails`.
18
18
  - Add a customer: `nextcloud_create_contact(address_book_url, full_name, emails, phones, organization)`.
19
19
 
20
+ ## Steps
21
+
22
+ 1. List address books with `nextcloud_list_address_books`(). Verify the Contacts book and its url are present.
23
+ 2. Search with `nextcloud_list_contacts`(address_book_url). Verify a match on full_name or emails, or confirm the person is absent.
24
+ 3. Add a new person with `nextcloud_create_contact`(address_book_url, full_name, emails, phones, organization). Verify the response returns a contact url.
25
+ 4. Change one with `nextcloud_update_contact`(contact_url, emails). Verify with `nextcloud_get_contact`(contact_url) that the field changed.
26
+ 5. Remove only on request with `nextcloud_delete_contact`(contact_url). Verify the contact is gone from `nextcloud_list_contacts`(address_book_url).
27
+
28
+ ## Failure recovery
29
+
30
+ | Failure | Cause | Recovery |
31
+ |---|---|---|
32
+ | 401 or connection error from a `nextcloud_*` tool | `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` or the app password in `NEXTCLOUD_PASSWORD` is missing or wrong | Set the three variables for the server, and verify the connection by calling `nextcloud_get_user_info` |
33
+ | Update fails on a stale etag | The contact changed since it was read | Re-read it with `nextcloud_get_contact`(contact_url) and update again |
34
+ | Contact not found | The url came from another address book | Take the url from `nextcloud_list_contacts`(address_book_url) of the right book |
35
+
20
36
  ## Connection
21
37
  Reach the tools through arbora (`find`, then `act op=fleet.call` with `server="nextcloud-mcp"`) or the
22
38
  `nextcloud-mcp` MCP server directly. The server reads `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` and
@@ -17,6 +17,22 @@ Run Nextcloud Deck kanban boards: list, read, create and delete boards; list, cr
17
17
  - Add work: `nextcloud_list_boards`, `nextcloud_list_stacks(board_id)`, `nextcloud_create_card(board_id, stack_id, title, duedate)`.
18
18
  - Advance it: `nextcloud_move_card(board_id, card_id, target_stack_id)`.
19
19
 
20
+ ## Steps
21
+
22
+ 1. Find the board with `nextcloud_list_boards`(). Verify the board_id of the intended board.
23
+ 2. Find the column with `nextcloud_list_stacks`(board_id). Verify the stack_id and its existing cards.
24
+ 3. Add the card with `nextcloud_create_card`(board_id, stack_id, title, duedate). Verify the response returns a card id.
25
+ 4. Advance it with `nextcloud_move_card`(board_id, card_id, target_stack_id). Verify with `nextcloud_get_card`(board_id, stack_id, card_id) or `nextcloud_list_stacks`(board_id) that it sits in the new stack.
26
+ 5. Assign work with `nextcloud_assign_card_user`(board_id, stack_id, card_id, user_id). Verify the user shows on the card.
27
+
28
+ ## Failure recovery
29
+
30
+ | Failure | Cause | Recovery |
31
+ |---|---|---|
32
+ | 401 or connection error from a `nextcloud_*` tool | `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` or the app password in `NEXTCLOUD_PASSWORD` is missing or wrong | Set the three variables for the server, and verify the connection by calling `nextcloud_get_user_info` |
33
+ | Card not found after a move | The old stack_id was used after the card moved | Re-read `nextcloud_list_stacks`(board_id) and use the stack that now holds the card |
34
+ | Delete refused | confirm=true was not passed because the person has not agreed | Ask the person to agree, pass confirm=true on that single call, and verify the result with the matching read tool |
35
+
20
36
  ## Connection
21
37
  Reach the tools through arbora (`find`, then `act op=fleet.call` with `server="nextcloud-mcp"`) or the
22
38
  `nextcloud-mcp` MCP server directly. The server reads `NEXTCLOUD_URL`, `NEXTCLOUD_USERNAME` and