Add community node protocol spec, Agent Skills, and make the failing tests hermetic

Community nodes (Phase 1 of plan.md): the protocol specification in
services/nodes/spec.py as the single source of truth, GET /nodes/spec.json,
a generated protocol docs page, the Community nodes API docs group, and the
implementation plan plus the residential proxy research. The no-open-proxy rule
is enforced in the spec (open_proxy cannot be set).

Agent Skills: register the Skills API docs group, cascade skills on account
deletion, add the nested CLAUDE.md, README and routes docs, and cover the
parser, the fetcher (end to end against a mock origin), the data layer and the
routes with 73 unit and 16 api tests.

Tests made hermetic with the repo's existing patterns instead of ambient
environment: embeddings tests set OPENROUTER_API_KEY via monkeypatch, the
workspace tests install FakeBackend via runtime.set_backend, and the skills
install tests use run_async. DockerCliBackend now returns 127 (command not
found) when the CLI is missing instead of raising FileNotFoundError, so a host
without docker answers with a clean error rather than a 500. The Providers tab
empty state no longer names the Model routes tab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 07:13:25 +02:00
co-authored by Claude Sonnet 5.5
parent cae139ead9
commit f55c7ee5f4
102 changed files with 7414 additions and 65 deletions
+8 -3
View File
@@ -2,7 +2,7 @@
retoor <retoor@molodetz.nl>
Every state-changing action in DevPlace records one append-only row through `devplacepy/services/audit/record.py` (`record` for a request-scoped actor, `record_system` for a background one). This file is the authoritative catalogue of the 356 event keys currently emitted, grouped by the category `services/audit/categories.py` `category_for` resolves them to.
Every state-changing action in DevPlace records one append-only row through `devplacepy/services/audit/record.py` (`record` for a request-scoped actor, `record_system` for a background one). This file is the authoritative catalogue of the 360 event keys currently emitted, grouped by the category `services/audit/categories.py` `category_for` resolves them to.
## Rules
@@ -28,7 +28,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
| `container` | 41 |
| `content` | 37 |
| `database` | 4 |
| `devii` | 18 |
| `devii` | 22 |
| `email` | 6 |
| `engagement` | 28 |
| `game` | 19 |
@@ -48,7 +48,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
| `telegram` | 5 |
| `tools` | 12 |
**Total: 355 keys.**
**Total: 359 keys.**
## Account and profile (`account`)
@@ -123,6 +123,7 @@ Every state-changing action in DevPlace records one append-only row through `dev
| `attachment.restore` | `routers/media.py` |
| `attachment.upload` | `routers/uploads.py` |
| `attachment.upload_url` | `routers/uploads.py` |
| `attachment.generate_image` | `routers/uploads.py` |
## Authentication (`auth`)
@@ -311,6 +312,10 @@ Every state-changing action in DevPlace records one append-only row through `dev
| `devii.tool.delete` | `services/devii/actions/dispatcher.py` |
| `devii.tool.update` | `services/devii/actions/dispatcher.py` |
| `devii.turn` | `services/devii/session/core.py` |
| `skill.delete` | `routers/skills.py` |
| `skill.install` | `routers/skills.py` |
| `skill.toggle` | `routers/skills.py` |
| `skill.update` | `routers/skills.py` |
## Email (`email`)