Skip to content

# fix(mcp): Honor structure depth precedence - #89

Open
reneleonhardt wants to merge 1 commit into
JordanCoin:mainfrom
reneleonhardt:fix/mcp-depth-contract
Open

# fix(mcp): Honor structure depth precedence#89
reneleonhardt wants to merge 1 commit into
JordanCoin:mainfrom
reneleonhardt:fix/mcp-depth-contract

Conversation

@reneleonhardt

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Apply get_structure depth in request, project configuration, then adaptive-default order.
  • Retain legacy depth fields as deprecated, ignored compatibility inputs.

Verification

  • go test ./mcp -run 'TestStructureDepthPrecedence|TestMCPDepthSchemasDescribeEffectiveContract' -count=1
  • go test ./mcp -count=1

Developed with carefully directed, manually reviewed AI assistance.

Co-Authored-By: GPT-5.6 Sol codex@openai.com

Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
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