Repository navigation
specs/t27mcp: examples.t27 uses find and has from check_hints.t27 - #10169
Merged
Merged
Conversation
The two string helpers were copied between the specs, which the duplicate-bodies gate rejects. examples.t27 now has 'use t27mcp::check_hints;' and keeps no copy; t27c gen-c inlines the imported bodies, so the wasm still comes from one C file and answers identically (748 topic_code and pick cases, 0 differences). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
|
Contributor
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
…check_hints Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #10166
Part of the epic #10066.
Why
#10157 landed
specs/t27mcp/examples.t27on master at its first commit. The follow-up commit that removes its copy offind,hasandNO_POS(whichcheck_hints.t27already defines) was pushed after the merge, so master has the duplicate theduplicate-bodiesgate rejects.What
examples.t27getsuse t27mcp::check_hints;after itsmoduleline and drops its ownNO_POS,findandhas. Nothing else changes.t27c gen-cinlines the imported bodies, so the wasm the t27 MCP server runs still comes from one C file; the regenerated artifacts are gHashTag/t27-mcp#12.Evidence (Railway lab, t27c 0.5.2, zig 0.16.0)
t27c test-report specs/t27mcp/examples.t27: 8 pass, 0 fail, 0 vacuous. With one row widened past 40 lines it gives 1 fail (negative control).check_hints.t27andspec_brief.t27are unchanged: 13 and 5 pass.python3 tools/dupe_scan.py: see the comment with the run on this branch and on master.topic_codeover 676 two-word questions,pickover 72 (code, k) pairs).🤖 Generated with Claude Code