Repository navigation
feat: align CLI and MCP on the small cross-surface gaps - #904
Merged
Merged
Conversation
- cli: refuse --seed without --split instead of ignoring it - mcp: add list_project_assets so an asset removed from a batch stays reachable - docs: state which REST routes and CLI commands each surface does not offer, the per-surface names and shapes, and the declared actions with no command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Closes the small cross-surface gaps between REST, the CLI and MCP.
--seedwithout--splitis refused (exit 2) instead of being silently ignored.list_project_assetstool, the counterpart ofGET /projects/{id}/assets, so an asset removed from a batch stays reachable. The tool count in the docs is corrected to 60 offered by default and 64 in all.docs/content/mcp.mdanddocs/content/cli.mdnow state which REST routes and CLI commands each surface does not offer, the per-surface parameter names and response shapes, and the declaredallowed_actionsthat have no matching tool or command.Addresses findings 3, 6, 9, 10 and 11 of #884 and its reverse-gaps note. Finding 7 was already fixed by #887. The rest of that tracker is untouched.
Notes for review
openapi.json, the MCP tool roster and the CLI command tree.GET /projects/{id}/assetscarries the same stale ordering sentence the new tool's description had; fixing it changesopenapi.jsonand the generated client, so it is left for a separate change.Verification
tests/cli,tests/mcp,tests/architecture,tests/server: 1862 passed, 8 skipped.ruff check/ruff format --checkclean;scripts/export_mcp_tools.py --checkpasses; the docs link and sidebar tests pass.