FreeOnePlus opened a new pull request, #165:
URL: https://github.com/apache/doris-mcp-server/pull/165
## Summary
- add immutable Pydantic contracts for hierarchical domains, child tools,
capability variants, support rules, and authoritative availability
- add deterministic request, discovery, execution, and error envelopes with
canonical JSON serialization and stable JSON Schema generation
- validate JSON Schemas, manifest budgets, duplicate identifiers, capability
evidence, risk annotations, and deterministic composite DAGs
- deep-freeze nested schemas, arguments, result data, and error details to
prevent runtime manifest drift
## Why
The 1.0.0 hierarchical tool architecture needs one machine-readable contract
before the feature matrix, domain catalog, manifest renderer, and dispatcher
can be implemented. These models define that boundary without registering or
changing any MCP tools.
## Impact
This PR adds model contracts only. It does not register the eight domain
tools,
change the current flat tool list, add the 47-child feature matrix, or alter
runtime dispatch behavior.
## Validation
- focused model suite: 33 passed
- focused model coverage: 100%
- `uv run pytest -q -W error` — 1,181 passed, 69 skipped, 60.59% coverage
- `uv run ruff check .`
- `uv run mypy doris_mcp_server`
- `uv lock --check`
- `uv build`
- real MCP SDK reconnect acceptance: identical output schema and manifest
- two real Codex Host -> MCP Client -> stdio Server -> production
`DorisConnection` -> Doris 4.0.5 acceptance sessions
- unavailable Doris 4.0.6+ variant remained visible with `callable=false` and
was not executed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]