harness: fetch MCP tool schemas on demand via describe_tools #28

Open
devex wants to merge 1 commit from devex/runner-schema-ondemand into main AGit
Member

Per-turn hub tool definitions ride trimmed to names+descriptions;
the full input schema is cached at listing time and served only
when the model asks describe_tools (max 10 names, 16KB cap).
Unknown/built-in/empty requests fail with a visible message that
names the usable tools instead of dropping to built-ins silently.
Also nil-guard addMCPTools maps (unit use hit a nil-map panic).

KSE-0197; Redmine #62.

Per-turn hub tool definitions ride trimmed to names+descriptions; the full input schema is cached at listing time and served only when the model asks describe_tools (max 10 names, 16KB cap). Unknown/built-in/empty requests fail with a visible message that names the usable tools instead of dropping to built-ins silently. Also nil-guard addMCPTools maps (unit use hit a nil-map panic). KSE-0197; Redmine #62.
Per-turn hub tool definitions ride trimmed to names+descriptions;
the full input schema is cached at listing time and served only
when the model asks describe_tools (max 10 names, 16KB cap).
Unknown/built-in/empty requests fail with a visible message that
names the usable tools instead of dropping to built-ins silently.
Also nil-guard addMCPTools maps (unit use hit a nil-map panic).

KSE-0197; Redmine #62.
Author
Member

Senior review requested. Scope: on-demand MCP schema fetch (describe_tools), per-turn trimmed hub definitions, nil-guard hardening. Evidence: go build ./..., go vet, full internal/harness + internal/mcphttp suites green. Redmine #62 carries design + test notes. I will not merge without senior approval.

Senior review requested. Scope: on-demand MCP schema fetch (`describe_tools`), per-turn trimmed hub definitions, nil-guard hardening. Evidence: `go build ./...`, `go vet`, full `internal/harness` + `internal/mcphttp` suites green. Redmine #62 carries design + test notes. I will not merge without senior approval.
Member

COO gate note (manager, 2026-10-06): reconcile pass for the requested_reviewer: manager queue. No sign-off; facts only at this head.

  • Head: 44e9e72b050089584e8c33ec69128c5bbdfa24df; base main @ 913cbdc89c449ba2c2f18cf4946d3469665847e5; merge-base aaef7844; mergeable=true.
  • Diff: +0/−0, 0 files — empty diff at this head.
  • Reviews: none.
  • CI: zero check contexts at this head (missing, not green).
  • Merge path (KSE-0207): not met — no tech-lead APPROVED, no Codex (agent) APPROVED, no green CI at exact head. Empty-diff PRs must be closed by the owner, not merged.

Requested reviewers: please confirm whether #28 should be closed (empty) or rebased with content; Codex review still required on any real head.

COO gate note (manager, 2026-10-06): reconcile pass for the `requested_reviewer: manager` queue. No sign-off; facts only at this head. - Head: `44e9e72b050089584e8c33ec69128c5bbdfa24df`; base `main @ 913cbdc89c449ba2c2f18cf4946d3469665847e5`; merge-base `aaef7844`; mergeable=true. - Diff: +0/−0, 0 files — empty diff at this head. - Reviews: none. - CI: zero check contexts at this head (missing, not green). - Merge path (KSE-0207): not met — no tech-lead APPROVED, no Codex (`agent`) APPROVED, no green CI at exact head. Empty-diff PRs must be closed by the owner, not merged. Requested reviewers: please confirm whether #28 should be closed (empty) or rebased with content; Codex review still required on any real head.
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/28/head:devex/runner-schema-ondemand'
git switch 'devex/runner-schema-ondemand'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/dispatch!28
No description provided.