Skip to content

Remove the retired Platform Connections commands - #36

Merged
scsmithr merged 1 commit into
mainfrom
fix/remove-retired-connections
Dec 4, 2026
Merged

scsmithr merged 1 commit into
mainfrom
fix/remove-retired-connections

Conversation

@scsmithr

@scsmithr scsmithr commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Platform removed the external-tool gateway in adapt/platform#308. The released CLI still sends adapt connections list to that gateway and receives a production 404.

Remove the 14 adapt connections subcommands, their HTTP handlers, and their examples from the README, CLI reference, API coverage table, and bundled Adapt skill. The two removed list operations were the only callers that used server-defined page sizes, so the remaining resource lists can share the same limit handling.

Verification

  • The rebuilt binary rejects adapt connections list with exit code 2 on both cloud and local backends. Top-level help and adapt skill show omit the command group.
  • The existing MCP command tests pass. The request-contract suite now also verifies that adapt mcp list calls /v1/auth/mcp/connections.
  • Passed Rust formatting, Clippy with warnings denied, the locked workspace tests, the runtime-pin check, and all nine Python packaging and publishing tests.

See adapt/docs#19 for the public documentation update.

@the-adaptile the-adaptile Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confidence Score: 5/5

Summary

Removes the retired Connections commands and documentation while preserving MCP client management. Regression risk is limited to command parsing and shared pagination; no actionable defects found.

Local verification:

  • cargo fmt --all -- --check and cargo clippy --workspace --locked --all-targets -- -D warnings passed.
  • cargo test --workspace --locked: 158 passed, none failed or ignored.
  • Python packaging/publishing suite: 9 passed.
  • cargo xtask pin-runtime --check and cargo build --locked --release passed.
  • Release binary rejected all 14 retired operations with exit 2 on both backends; help and bundled skill omit them.
  • 24 additional local HTTP-fixture scenarios passed across all six remaining paginated resource lists.

Executed on Linux x86_64 GNU with Rust 1.100.1. Other release targets were not run locally; HTTP contracts were exercised against local fixtures.

Important Files Changed

File Changes
src/cli.rs Removes the Connections command group and its 14 subcommands.
src/commands.rs Deletes retired gateway handlers and updates remaining pagination callers.
src/api.rs Removes fixed-page-size branching from the shared pagination helper.
src/backend/cloud.rs Updates sandbox listing to the simplified pagination interface.
src/auth.rs Restricts browser-opening helper visibility after removing its external caller.
tests/cli.rs Checks retired-command rejection and preserves the MCP client-list request contract.
tests/backend/mod.rs Removes a retired command from local-backend unsupported-operation cases.
tests/resource_prefixes/mod.rs Removes prefix coverage for the retired tool-description endpoint.
README.md Removes connected-tool examples and capability claims.
docs/api-coverage.md Removes retired gateway operations and references upstream retirement.
docs/cli-reference.md Removes retired commands, examples, selectors, and pagination exceptions.
skills/adapt/SKILL.md Removes external-tool workflows while retaining built-in MCP discovery guidance.

Run info

Field ID
Agent 0d6ccd7e-b62f-4075-a561-199d1a7b1bf0
Automation ec14e69d-634f-4af0-a6dd-27aa06a1f6b3
Run 1a4152ca-f16d-4d96-bd7b-1ca0f135105f

Reviewed: 1c30456-3a68e19 · ↻ Re-run review

@scsmithr
scsmithr merged commit fa0bff6 into main Dec 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant