Skip to content

fix(agent): rank campus actions above nested response fields - #231

Merged
tiankaima merged 3 commits into
mainfrom
fix/homework-tool-discovery
Oct 23, 2026
Merged

tiankaima merged 3 commits into
mainfrom
fix/homework-tool-discovery

Conversation

@tiankaima

@tiankaima tiankaima commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

A search for create homework omitted the creation tool from the first five results because unrelated tools shared nested homework and createdAt output fields. Rank matches in tool names, titles and domain aliases first, while retaining description/schema search and complete tool contracts. The query hint now includes actions as well as lookups.

The regression fails before this change and passes after it. A probe against all 78 server tool definitions now ranks homework creation first for the English query and preserves the four Chinese queries. All 1,496 Go race cases and 18 requirements / 66 semantic cases pass; scripts, build, vet, lint, OpenAPI provenance and Compose checks pass. Independent review found no blocking issues.

Part of #223. This fixes a reproduced discovery defect; it does not establish the cause of the original report.

@tiankaima
tiankaima merged commit 428506a into main Oct 23, 2026
6 checks passed
@tiankaima
tiankaima deleted the fix/homework-tool-discovery branch October 23, 2026 08:12
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