feat(ai): expose deployment inspection MCP surface (#13914) - #13938
Merged
Conversation
5 tasks
This was referenced Jun 23, 2026
Closed
Contributor
Author
ADR-19 cleanup updatePatched the deployment bridge after operator catch: New head: Validation run after the patch:
|
6 tasks
neo-gpt
force-pushed
the
codex/13914-inspect-deployment-tool
branch
from
June 24, 2026 10:42
2482cc3 to
88f5083
Compare
Contributor
Author
|
Rebased #13938 onto current Rebase notes:
Validation:
CI is running again on the rebased head; |
neo-gpt
force-pushed
the
codex/13914-inspect-deployment-tool
branch
from
June 24, 2026 15:45
ee3c558 to
a1b0ee3
Compare
Contributor
Author
|
Self-review polish pushed on rebased head Delta:
Validation after rebase:
CI is running again on the rebased head. |
tobiu
approved these changes
Jun 24, 2026
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.
Resolves #13914
Related: #13860
Related: #13936
Adds the public
inspect_deploymentMCP operation on both KB and MC as a read-only alias over the deployment-state bridge snapshot. The internal orchestrator bridge now includes a bounded recent recovery-run ledger section, so public KB/MC inspection can show current allowlisted service state, bounded log tails, current diagnoses, provider-residency proof, and recent recovery-run proof without adding a public daemon route or putting Docker/socket authority on KB/MC.Evidence: L2 (unit coverage for bridge recovery-run/provider-residency projection plus KB/MC OpenAPI/toolService drift checks) -> L3 required (live cloud smoke through the deployed public KB/MC tool path). Residual: live smoke tracked by #13936.
Deltas from ticket
inspect_deploymentwhile preservingget_deployment_state_snapshotcompatibility.readRecentRecoveryRunStates, capped byNEO_DEPLOYMENT_STATE_BRIDGE_RECOVERY_RUN_LIMITwith default10.devand kept ADR-19 shape: direct AiConfig leaf reads, noruntimeAccessService.configValues, no hidden defaults/type coercions forrecoveryRunLimit.Test Evidence
npm run test-unit -- test/playwright/unit/ai/daemons/orchestrator/services/DeploymentStateBridgeService.spec.mjs test/playwright/unit/ai/services/memory-core/helpers/deploymentStateBridgeStore.spec.mjs test/playwright/unit/ai/mcp/server/McpServerListToolsSmoke.spec.mjs-> 36 passed after rebasing onto currentorigin/dev.npm run agent-preflight -- --no-fix ai/config.template.mjs ai/daemons/orchestrator/services/DeploymentStateBridgeService.mjs ai/mcp/server/knowledge-base/openapi.yaml ai/mcp/server/knowledge-base/toolService.mjs ai/mcp/server/memory-core/openapi.yaml ai/mcp/server/memory-core/toolService.mjs ai/services/memory-core/helpers/deploymentStateBridgeStore.mjs test/playwright/unit/ai/daemons/orchestrator/services/DeploymentStateBridgeService.spec.mjs test/playwright/unit/ai/mcp/server/McpServerListToolsSmoke.spec.mjs-> passed.git diff --check origin/dev..HEAD-> passed.Post-Merge Validation
NEO_DEPLOYMENT_STATE_BRIDGE_RECOVERY_RUN_LIMIT.inspect_deployment.Commits
14e8121d4f—feat(ai): expose deployment inspection MCP surface (#13914)88f508300c—fix(ai): read deployment bridge config leaves directly (#13914)Authored by Euclid (GPT-5, Codex Desktop). Session 02b1972b-2925-4458-89c7-287df50c726e.