From c693f4f619d4ed0cfc95aa169665f5ca99f2b109 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 17 Sep 2026 19:35:05 +0200 Subject: [PATCH] style(quality): apply what the gate wrote back into the tree Nothing here was typed by hand. The docs generator rebuilt the MCP audit table against pins that had already landed, so fider reads v0.36.0 instead of stable, jenkins 2.568.3-lts instead of lts, pretix 2026.7.0 instead of stable, and flowise 24-slim instead of 24-bookworm-slim. That is the table catching up with da665ab69 and 10c5b35e8, reading the same declaration the updater reads. Autoformat wrapped three test files from the same series: one condition pulled onto a single line, three assertEqual calls broken across lines. Co-Authored-By: Claude Opus 5 (1M context) --- docs/contributing/design/role/services/mcp/audit.md | 8 ++++---- tests/external/update/docker/test_image_pin_policy.py | 3 +-- tests/unit/python/plugins/filter/test_redirect_sources.py | 4 +++- tests/unit/python/utils/docker/test_image_pin.py | 8 ++++++-- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/docs/contributing/design/role/services/mcp/audit.md b/docs/contributing/design/role/services/mcp/audit.md index 8fd7c84b0f..31dcaf1dbc 100644 --- a/docs/contributing/design/role/services/mcp/audit.md +++ b/docs/contributing/design/role/services/mcp/audit.md @@ -15,14 +15,14 @@ not the version the MCP surface was verified against. | `svc-db-qdrant` | v1.19.1 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-svc-db-qdrant`) | read-only | 2 | adapter | `web-app-flowise`, `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-baserow` | 2.3.3 | [link](https://baserow.io/user-docs/mcp-server) | streamable_http | bearer_token | service_account (`mcp-web-app-baserow`) | read-only | 4 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-checkmk` | 2.4.0p32 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-checkmk`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | -| `web-app-fider` | stable | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-fider`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | -| `web-app-flowise` | 24-bookworm-slim | [link](https://github.com/FlowiseAI/Flowise/tree/flowise%403.1.4/packages/server/src/routes/custom-mcp-servers) | — | — | — | read-only | — | native | — | — | +| `web-app-fider` | v0.36.0 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-fider`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | +| `web-app-flowise` | 24-slim | [link](https://github.com/FlowiseAI/Flowise/tree/flowise%403.1.4/packages/server/src/routes/custom-mcp-servers) | — | — | — | read-only | — | native | — | — | | `web-app-gitea` | 1.27.3 | [link](https://pkg.go.dev/gitea.com/gitea/gitea-mcp) | streamable_http | bearer_token | service_account (`mcp-web-app-gitea`) | read-only | 24 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-gitlab` | — | [link](https://docs.gitlab.com/user/gitlab_duo/model_context_protocol/mcp_server/) | streamable_http | bearer_token | service_account (`mcp-web-app-gitlab`) | read-only | 14 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-hermes` | v2026.9.7 | [link](https://hermes-agent.nousresearch.com/) | — | — | — | read-only | — | native | — | — | | `web-app-homeassistant` | 2026.7 | [link](https://www.home-assistant.io/integrations/mcp_server/) | streamable_http | bearer_token | service_account (`mcp-web-app-homeassistant`) | read-only | 10 | native | `web-app-flowise`, `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-jellyfin` | 10.11.11 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-jellyfin`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | -| `web-app-jenkins` | lts | [link](https://plugins.jenkins.io/mcp-server/) | streamable_http | bearer_token | service_account (`mcp-web-app-jenkins`) | read-only | 15 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | +| `web-app-jenkins` | 2.568.3-lts | [link](https://plugins.jenkins.io/mcp-server/) | streamable_http | bearer_token | service_account (`mcp-web-app-jenkins`) | read-only | 15 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-listmonk` | v6.2.0 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-listmonk`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-mattermost` | 11.11.0 | [link](https://github.com/mattermost/mattermost-plugin-agents/blob/master/mcpserver/README.md) | streamable_http | bearer_token | service_account (`mcp-web-app-mattermost`) | read-only | 11 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-moodle` | 8.3-fpm | [link](https://moodle.org/plugins/webservice_mcp) | streamable_http | bearer_token | service_account (`mcp-web-app-moodle`) | read-only | 5 | plugin | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | @@ -30,7 +30,7 @@ not the version the MCP surface was verified against. | `web-app-nextcloud` | 34-fpm-alpine | [link](https://docs.nextcloud.com/server/latest/admin_manual/ai/app_context_agent.html) | streamable_http | bearer_token | service_account (`mcp-web-app-nextcloud`) | read-only | 9 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-openclaw` | 2026.7.1 | [link](https://openclaw.ai/) | — | — | — | read-only | — | native | — | — | | `web-app-openwebui` | 0.11.0 | [link](https://docs.openwebui.com/features/extensibility/mcp/) | — | — | — | read-only | — | native | — | — | -| `web-app-pretix` | stable | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-pretix`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | +| `web-app-pretix` | 2026.7.0 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-pretix`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-prometheus` | v3.14.0 | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-prometheus`) | read-only | 3 | adapter | `web-app-flowise`, `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-snipe-it` | — | [link](https://s.infinito.nexus/code) | streamable_http | bearer_token | service_account (`mcp-web-app-snipe-it`) | read-only | 3 | adapter | `web-app-hermes`, `web-app-openclaw`, `web-app-openwebui` | — | | `web-app-wordpress` | 7.1.0 | [link](https://github.com/WordPress/mcp-adapter/tree/v0.5.0) | streamable_http | basic_auth | service_account (`mcp-web-app-wordpress`) | read-only | 3 | plugin | `web-app-hermes`, `web-app-openclaw` | — | diff --git a/tests/external/update/docker/test_image_pin_policy.py b/tests/external/update/docker/test_image_pin_policy.py index e9c572aa60..be4e27c3fa 100644 --- a/tests/external/update/docker/test_image_pin_policy.py +++ b/tests/external/update/docker/test_image_pin_policy.py @@ -72,8 +72,7 @@ class TestImagePinPolicy(unittest.TestCase): f" roles/{ref.role}/{ROLE_FILE_META_SERVICES}: {ref.service} pins " f"{ref.version!r}, which is neither a version nor a digest" for ref in refs - if pin_class(ref.version) == REF - and not _declared(ref, RULE_BY_CLASS[REF]) + if pin_class(ref.version) == REF and not _declared(ref, RULE_BY_CLASS[REF]) ] if offenders: diff --git a/tests/unit/python/plugins/filter/test_redirect_sources.py b/tests/unit/python/plugins/filter/test_redirect_sources.py index 86149503b1..d0aaa7d712 100644 --- a/tests/unit/python/plugins/filter/test_redirect_sources.py +++ b/tests/unit/python/plugins/filter/test_redirect_sources.py @@ -47,7 +47,9 @@ class TestRedirectSources(unittest.TestCase): self.assertEqual(redirect_sources(" unpkg.com ")[0], "https://unpkg.com/") def test_the_host_is_not_otherwise_rewritten(self): - self.assertEqual(redirect_sources("CDN.Example.COM")[1], "http://CDN.Example.COM/") + self.assertEqual( + redirect_sources("CDN.Example.COM")[1], "http://CDN.Example.COM/" + ) def test_a_subdomain_host_keeps_every_label(self): self.assertEqual( diff --git a/tests/unit/python/utils/docker/test_image_pin.py b/tests/unit/python/utils/docker/test_image_pin.py index a8737c8157..bf95b2650d 100644 --- a/tests/unit/python/utils/docker/test_image_pin.py +++ b/tests/unit/python/utils/docker/test_image_pin.py @@ -57,7 +57,9 @@ class TestPullReference(unittest.TestCase): def test_a_tag_is_joined_with_a_colon(self): self.assertEqual(reference_separator("3.0.1"), ":") - self.assertEqual(pull_reference("ghcr.io/owner/app", "3.0.1"), "ghcr.io/owner/app:3.0.1") + self.assertEqual( + pull_reference("ghcr.io/owner/app", "3.0.1"), "ghcr.io/owner/app:3.0.1" + ) def test_is_digest_rejects_a_tag_that_merely_mentions_sha256(self): self.assertFalse(is_digest("v2-sha256:abc")) @@ -73,7 +75,9 @@ class TestSourceKeepsTheDigest(unittest.TestCase): ) def test_image_source_still_tags_a_semver(self): - self.assertEqual(image_source("ghcr.io/owner/app", "3.0.1"), "ghcr.io/owner/app:3.0.1") + self.assertEqual( + image_source("ghcr.io/owner/app", "3.0.1"), "ghcr.io/owner/app:3.0.1" + ) def test_docker_hub_source_keeps_a_digest(self): self.assertEqual(