feat(hints): add hints field and rules to ResolveOutput#149
Merged
Conversation
Wire generate_hints resolve catalog through a unified success assembler so wildcard and empty-match paths echo resolved_identifier and respect UC2c suppression. No ontology or re-index change. Co-authored-by: Cursor <cursoragent@cursor.com>
Document status-driven resolve hints; suppress when success is explicitly false. Extend round-trip with status many and route/client none paths. Assert resolve invariants on exception output. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced May 16, 2026
Merged
HumanBean17
added a commit
that referenced
this pull request
May 16, 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.
Summary
ResolveOutputwithhintsandresolved_identifier(query-time only; no re-index).mcp_hints.py(120-char drop-on-overflow, wildcard/seed suppression).resolve_v2to a unified_resolve_finalize_successassembler so everysuccess=Truepath echoesresolved_identifierand runs hint generation (wildcard →hints: []via suppression).resolveMCP tool.Plan:
plans/PLAN-HINTS-V2.md§ PR-APropose:
propose/HINTS-V2-PROPOSE.md§3–§4, Appendix ATest plan
.venv/bin/ruff check mcp_hints.py mcp_v2.py tests/test_mcp_hints.py.venv/bin/python -m pytest tests/test_mcp_hints.py -v -k "resolve".venv/bin/ruff check .PATH="$PWD/.venv/bin:$PATH" .venv/bin/python -m pytest tests -v(514 passed, 10 skipped)Re-index: not required (
ontology_versionunchanged).Made with Cursor