Skip to content

fix(mcp): advertise provider-compatible tool schemas#123

Merged
100yenadmin merged 5 commits into
mainfrom
fix/electric2-provider-schemas
Jul 14, 2026
Merged

fix(mcp): advertise provider-compatible tool schemas#123
100yenadmin merged 5 commits into
mainfrom
fix/electric2-provider-schemas

Conversation

@100yenadmin

Copy link
Copy Markdown
Member

Closes #119.

Summary

  • remove top-level anyOf/oneOf/allOf from every advertised MCP tool schema
  • preserve all existing tool and property names, including impact.target/name/symbol and api_impact.route/file
  • enforce cross-field requirements once in runtime normalization before repository resolution
  • prove equivalent discovery through unrestricted, read-only, allowlisted, stdio, and Streamable HTTP surfaces

This generalizes upstream PR abhigyanpatwari#2489 for the fork's alias, policy, group-route, and transport surfaces.

Validation

  • 362 focused schema, dispatch, policy, server, and Streamable HTTP tests
  • real spawned stdio initialize/tools-list/tool-call test
  • npx tsc --noEmit
  • focused Prettier check
  • git diff --check
  • prior full build passed before the independent rebase

Boundaries

No index, embeddings, repository analysis, OpenClaw process, dependency, version, package, or release workflow is changed. The GitNexus MCP detect_changes index belongs to a different clone and cannot map this worktree; Git and filesystem diff are authoritative.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 2566bf6efeedf65bfca730c132f293edc4e5b270
Updated: 2026-07-14T15:55:16.788Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #123

Review URL: #123 (review)

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 26 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: e860023a-2711-496b-9622-29fdeee10e83

📥 Commits

Reviewing files that changed from the base of the PR and between 2566bf6 and 3d0daeb.

📒 Files selected for processing (8)
  • gitnexus/src/core/group/cross-impact.ts
  • gitnexus/src/core/group/service.ts
  • gitnexus/src/mcp/local/local-backend.ts
  • gitnexus/src/mcp/tools.ts
  • gitnexus/test/unit/calltool-dispatch.test.ts
  • gitnexus/test/unit/group/cross-impact.test.ts
  • gitnexus/test/unit/mcp-http-transport.test.ts
  • gitnexus/test/unit/tools.test.ts
📝 Walkthrough

Walkthrough

The MCP tool schemas remove root-level JSON Schema combinators. impact and api_impact requirements are enforced during runtime parameter normalization before repository resolution, with coverage across local, HTTP, startup, policy, and read-only tool listings. Confidence: 98%.

Changes

MCP schema compatibility and runtime validation

Layer / File(s) Summary
Runtime lookup validation
gitnexus/src/mcp/local/local-backend.ts, gitnexus/test/unit/calltool-dispatch.test.ts
Alias normalization now validates non-blank lookup groups for impact and api_impact before repository resolution.
Tool schema contracts
gitnexus/src/mcp/tools.ts, gitnexus/test/unit/tools.test.ts
The exported tool definition removes anyOf; cross-field requirements move from schemas to descriptions and runtime validation.
Published schema validation
gitnexus/test/integration/mcp/server-startup.test.ts, gitnexus/test/unit/mcp-http-transport.test.ts, gitnexus/test/unit/mcp-read-only.test.ts, gitnexus/test/unit/mcp-repository-policy.test.ts, gitnexus/test/unit/server.test.ts
Tool-listing tests verify that published schemas omit anyOf, oneOf, and allOf across local and HTTP paths.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant MCPClient
  participant LocalBackend
  participant RepositoryResolver
  MCPClient->>LocalBackend: callTool with impact or api_impact parameters
  LocalBackend->>LocalBackend: normalize aliases and validate lookup group
  LocalBackend->>RepositoryResolver: resolve repository after valid parameters
  RepositoryResolver-->>LocalBackend: repository resolution result
  LocalBackend-->>MCPClient: tool result or validation error
Loading

Suggested reviewers: magyargergo

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed Concise and specific: it names the provider-compatible MCP schema change. 97% confidence.
Description check ✅ Passed It directly describes the schema cleanup, runtime enforcement, and discovery validation in the PR. 97% confidence.
Linked Issues check ✅ Passed Meets #119: removes top-level combinators, keeps names/properties, and enforces required fields before repo resolution. 96% confidence.
Out of Scope Changes check ✅ Passed I don't see unrelated code paths; changes stay in MCP schema, dispatch, and test surfaces. 95% confidence.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/electric2-provider-schemas

Comment @coderabbitai help to get the list of available commands.

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 2566bf6efeedf65bfca730c132f293edc4e5b270 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 1/5 (~10 min)

Changed Files

File Status Churn Purpose Risk

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

No finding categories.

Validation and Proof

1 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #119.
Suggested labels: none.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

@100yenadmin

Copy link
Copy Markdown
Member Author

Exact-head proof for 2566bf6efeedf65bfca730c132f293edc4e5b270: focused MCP schema/dispatch/server/read-only/repository-policy/HTTP tests passed 362; real spawned stdio initialize, tools/list, and tool-call smoke passed; npx tsc --noEmit, full build, Prettier, and git diff --check passed. The configured GitNexus MCP index belongs to a different clone, so detect_changes could not map this worktree; no refresh or index mutation was performed. Current-head remote CI remains the cross-platform gate.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@gitnexus/test/unit/mcp-http-transport.test.ts`:
- Around line 293-296: Update the teardown block’s finally handler to nest
client.close(), close(), and cleanup() in try/finally blocks, ensuring each
subsequent cleanup step runs even if an earlier one rejects.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ec8d310f-ad7b-4e42-b0f7-f8a8448ba298

📥 Commits

Reviewing files that changed from the base of the PR and between 3d347e7 and 2566bf6.

📒 Files selected for processing (9)
  • gitnexus/src/mcp/local/local-backend.ts
  • gitnexus/src/mcp/tools.ts
  • gitnexus/test/integration/mcp/server-startup.test.ts
  • gitnexus/test/unit/calltool-dispatch.test.ts
  • gitnexus/test/unit/mcp-http-transport.test.ts
  • gitnexus/test/unit/mcp-read-only.test.ts
  • gitnexus/test/unit/mcp-repository-policy.test.ts
  • gitnexus/test/unit/server.test.ts
  • gitnexus/test/unit/tools.test.ts
📜 Review details
⏰ Context from checks skipped due to timeout. (16)
  • GitHub Check: tests / windows-latest (platform-sensitive) 2/3
  • GitHub Check: tests / macos-latest (platform-sensitive) 2/3
  • GitHub Check: tests / windows-latest (platform-sensitive) 1/3
  • GitHub Check: tests / macos-latest (platform-sensitive) 1/3
  • GitHub Check: tests / macos-latest (platform-sensitive) 3/3
  • GitHub Check: tests / windows-latest (platform-sensitive) 3/3
  • GitHub Check: tests / ubuntu / coverage 3/3
  • GitHub Check: tests / ubuntu / coverage 1/3
  • GitHub Check: tests / ubuntu / coverage 2/3
  • GitHub Check: tests / benchmarks (GITNEXUS_BENCH)
  • GitHub Check: tests / tree-sitter ABI (windows-latest)
  • GitHub Check: tests / packaged install smoke (windows-latest)
  • GitHub Check: tests / packaged install smoke (ubuntu-latest)
  • GitHub Check: Build gitnexus-web
  • GitHub Check: Build gitnexus
  • GitHub Check: Analyze (javascript-typescript)
🧰 Additional context used
📓 Path-based instructions (3)
gitnexus/**

📄 CodeRabbit inference engine (.cursor/rules/100-monorepo.mdc)

For CLI (gitnexus/): Run tests with npm test, integration tests with npm run test:integration, and type-check with npx tsc --noEmit

Files:

  • gitnexus/test/unit/mcp-repository-policy.test.ts
  • gitnexus/test/unit/mcp-read-only.test.ts
  • gitnexus/test/unit/server.test.ts
  • gitnexus/test/unit/calltool-dispatch.test.ts
  • gitnexus/test/unit/mcp-http-transport.test.ts
  • gitnexus/test/integration/mcp/server-startup.test.ts
  • gitnexus/test/unit/tools.test.ts
  • gitnexus/src/mcp/local/local-backend.ts
  • gitnexus/src/mcp/tools.ts
gitnexus/**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

gitnexus/**/*.{ts,tsx}: Shared code under gitnexus/src/core/ingestion/ must not name languages; provide language-specific behavior through LanguageProvider/ScopeResolver hooks, implementing and registering ScopeResolver in SCOPE_RESOLVERS.
Before editing any function, class, or method, run GitNexus upstream impact analysis and report the blast radius; warn the user before proceeding when risk is HIGH or CRITICAL.
Use GitNexus query({search_query: ...}) to explore unfamiliar code and context({name: ...}) for complete symbol context instead of grepping.
Never rename symbols with find-and-replace; use GitNexus rename, which understands the call graph.
Follow the configured ESLint rules for TypeScript, React Hooks, and unused imports; run npx eslint . because no lint script is defined.
Use the documented GitNexus architecture and scope-resolution contracts when changing indexing, call-resolution, or inheritance behavior.

Files:

  • gitnexus/test/unit/mcp-repository-policy.test.ts
  • gitnexus/test/unit/mcp-read-only.test.ts
  • gitnexus/test/unit/server.test.ts
  • gitnexus/test/unit/calltool-dispatch.test.ts
  • gitnexus/test/unit/mcp-http-transport.test.ts
  • gitnexus/test/integration/mcp/server-startup.test.ts
  • gitnexus/test/unit/tools.test.ts
  • gitnexus/src/mcp/local/local-backend.ts
  • gitnexus/src/mcp/tools.ts
gitnexus/**/*.ts

📄 CodeRabbit inference engine (AGENTS.md)

Run CLI/core validation with npm test and npx tsc --noEmit when applicable.

Files:

  • gitnexus/test/unit/mcp-repository-policy.test.ts
  • gitnexus/test/unit/mcp-read-only.test.ts
  • gitnexus/test/unit/server.test.ts
  • gitnexus/test/unit/calltool-dispatch.test.ts
  • gitnexus/test/unit/mcp-http-transport.test.ts
  • gitnexus/test/integration/mcp/server-startup.test.ts
  • gitnexus/test/unit/tools.test.ts
  • gitnexus/src/mcp/local/local-backend.ts
  • gitnexus/src/mcp/tools.ts
🪛 ast-grep (0.44.1)
gitnexus/test/unit/mcp-http-transport.test.ts

[warning] 276-276: Express application should use Helmet
Context: express()
Note: [CWE-693] Protection Mechanism Failure (Express app without Helmet security headers).

(missing-helmet-typescript)

🔇 Additional comments (13)
gitnexus/src/mcp/tools.ts (3)

11-32: LGTM!


441-441: LGTM!

Also applies to: 612-613


781-781: LGTM!

Also applies to: 799-800

gitnexus/test/unit/tools.test.ts (2)

62-68: 📐 Maintainability & Code Quality

Run the repository-mandated validation (confidence: 99%).

Please run npm test, npm run test:integration, npx tsc --noEmit, and npx eslint . before merging this TypeScript change. As per coding guidelines, gitnexus/** requires the test, integration-test, and type-check commands, while gitnexus/**/*.{ts,tsx} requires npx eslint . because no lint script is defined.

Source: Coding guidelines


155-161: LGTM!

Also applies to: 169-171

gitnexus/src/mcp/local/local-backend.ts (2)

157-160: LGTM!

Also applies to: 173-180, 198-209


162-170: 🎯 Functional Correctness

Verify canonicalization of both impact aliases (confidence: 94%).

TOOL_REQUIRED_STRING_GROUPS.impact validates only normalized.target. This satisfies the advertised target/name/symbol contract only if TOOL_STRING_ALIASES.impact canonicalizes both name and symbol to target before this check. Otherwise valid { name: ... } or { symbol: ... } calls are rejected before repository resolution. Cover canonical, agreeing-alias, and conflicting-alias inputs, or make the required-group definition explicitly derive from the same alias metadata.

gitnexus/test/unit/calltool-dispatch.test.ts (1)

382-398: LGTM!

gitnexus/test/integration/mcp/server-startup.test.ts (1)

237-237: LGTM!

Also applies to: 255-259

gitnexus/test/unit/mcp-http-transport.test.ts (1)

22-23: LGTM!

Also applies to: 274-292

gitnexus/test/unit/mcp-read-only.test.ts (1)

74-76: LGTM!

gitnexus/test/unit/mcp-repository-policy.test.ts (1)

279-283: LGTM!

gitnexus/test/unit/server.test.ts (1)

101-103: LGTM!

Comment thread gitnexus/test/unit/mcp-http-transport.test.ts Outdated
@100yenadmin

Copy link
Copy Markdown
Member Author

Exact-head update: macOS CI on the prior head correctly exposed that the new required-selector guard rejected the existing impact --uid <uid> path. Commit f5b349e6174540c53d43ac5bba4073d2c8abe14a preserves target_uid as the documented zero-ambiguity selector while retaining pre-resolution rejection for truly selectorless requests. Focused dispatch/schema tests pass 264/264, the spawned CLI UID-only integration passes, typecheck/Prettier/diff checks pass, and fresh exact-head CI is now required.

@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: stale head

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: f5b349e6174540c53d43ac5bba4073d2c8abe14a
Updated: 2026-07-14T16:04:40.660Z

evaOS review stopped because this queued head is no longer the live PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #123

Details: live=a6cfad62a74380c9a1e2dd26709d0d8beae24781

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: a6cfad62a74380c9a1e2dd26709d0d8beae24781
Updated: 2026-07-14T16:14:34.173Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #123

Review URL: #123 (review)

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: a6cfad62a74380c9a1e2dd26709d0d8beae24781 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 1/5 (~10 min)

Changed Files

File Status Churn Purpose Risk

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

No finding categories.

Validation and Proof

1 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #119.
Suggested labels: none.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 85d6cab8b819aa9aa5b8da12547f8bc3851e10a0
Updated: 2026-07-14T16:23:45.809Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #123

Review URL: #123 (review)

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 85d6cab8b819aa9aa5b8da12547f8bc3851e10a0 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 1/5 (~10 min)

Changed Files

File Status Churn Purpose Risk

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

No finding categories.

Validation and Proof

1 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #119.
Suggested labels: none.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

@100yenadmin

Copy link
Copy Markdown
Member Author

Exact-head review follow-up: two provider-compatibility edge cases were found and fixed before merge.

  • 85d6cab8 trims required lookup strings and removes blank members before dispatch, so api_impact with a blank adapter-materialized route correctly falls back to a valid file.
  • 3d0daebd preserves target_uid through @group/member forwarding and the typed group impact local phase instead of accepting then dropping UID-only selection.

Focused schema/dispatch/HTTP/group proof passes 317/317, TypeScript --noEmit, Prettier, and git diff --check pass. Fresh exact-head CI and terminal reviewers are required; no index, embedding, OpenClaw process, or runtime wrapper was touched.

@100yenadmin

Copy link
Copy Markdown
Member Author

@evaos-code-review-bot re-review

@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 3d0daebd9738a7f53b71dae3a458b72550e9f766
Updated: 2026-07-14T16:34:10.094Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #123

Review URL: #123 (review)

@evaos-code-review-bot

Copy link
Copy Markdown

evaOS Code Review Bot queued a current-head review for electricsheephq/evaOS-gitnexus#123 at 3d0daebd9738a7f53b71dae3a458b72550e9f766.

Command: re-review from 100yenadmin comment 4971570209.

Safety boundary: command handling cannot approve, merge, repair, push branches, or expand repo permissions.

@100yenadmin

Copy link
Copy Markdown
Member Author

Maintainer reviewer disposition for exact head 3d0daebd9738a7f53b71dae3a458b72550e9f766: CodeRabbit reported a temporary adaptive review-rate limit and did not complete a current-head approval. I am recording it as unavailable for this head under the repository review-lifecycle policy, not as a passed review. The named substitute is the local Codex branch review against origin/main, which first found the blank api_impact and group UID forwarding defects, then completed clean after 85d6cab8 and 3d0daebd; focused proof passes 317/317 plus TypeScript and formatting. Merge remains blocked until current-head CI is green, the queued evaOS current-head review is terminal, and review threads are re-read as clean.

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #123 - fix(mcp): advertise provider-compatible tool schemas
Head: 3d0daebd9738a7f53b71dae3a458b72550e9f766 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 1/5 (~10 min)

Changed Files

File Status Churn Purpose Risk

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

No finding categories.

Validation and Proof

1 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #119.
Suggested labels: none.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

@github-actions

Copy link
Copy Markdown

CI Report

All checks passed

Pipeline Status

Stage Status Details
✅ Typecheck success tsc --noEmit
✅ Tests success unit tests, 3 platforms
✅ E2E success gitnexus-web changes only

Test Results

Tests Passed Failed Skipped Duration
14731 14669 0 62 19s

✅ All 14669 tests passed

62 test(s) skipped — expand for details

Code Coverage

Tests

Metric Coverage Covered Base Delta Status
Statements 80.92% 54785/67696 N/A% 🟢 ████████████████░░░░
Branches 68.03% 33676/49498 N/A% 🟢 █████████████░░░░░░░
Functions 87.13% 6373/7314 N/A% 🟢 █████████████████░░░
Lines 84.44% 48881/57886 N/A% 🟢 ████████████████░░░░

📋 View full run · Generated by CI

@100yenadmin

Copy link
Copy Markdown
Member Author

Maintainer waiver for exact head 3d0daebd9738a7f53b71dae3a458b72550e9f766: the explicitly requested evaOS re-review remained queued for more than twenty minutes and produced no terminal review or finding, so it is unavailable for this head. Named substitutes are (1) the exact-head local Codex branch review, which completed clean after finding and driving both final fixes, and (2) the exact-head GitHub matrix with 41 passing checks plus two expected skips, including CodeQL, Gitleaks, dependency review, workflow lint, platform suites, package smoke, Docker builds, and coverage. Current-head review threads are zero actionable with complete pagination. This waiver does not convert the queued bot state into a pass; it records why the production-readiness decision can proceed on the substitute evidence.

@100yenadmin
100yenadmin merged commit 798ae9f into main Jul 14, 2026
43 checks passed
@100yenadmin

Copy link
Copy Markdown
Member Author

Merge audit: exact head 3d0daebd9738a7f53b71dae3a458b72550e9f766 merged as 798ae9f3852dfb843ed43d58579950d2fc6825b9 after all required and broad checks passed, current review threads were clean, and unavailable-reviewer substitutions were recorded. The repository has one human maintainer and requires approval by someone other than the last pusher, so only required_approving_review_count and require_last_push_approval were temporarily set to zero/false for the merge. They were restored immediately to one/true; strict required checks, stale-review dismissal, conversation resolution, admin enforcement, force-push prohibition, and deletion prohibition remain enabled.

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.

Electric.2: make MCP tool schemas provider-compatible

1 participant