Repository navigation
spec(t27mcp): spec_brief -- brief spec row fields and why a spec fails (Closes #10090) - #10092
Merged
Merged
Conversation
This was referenced Oct 17, 2026
spec(policy): l2_generation -- gen/json/ is t27c gen-json's backend directory (Closes #10079)
#10082
Merged
Merged
Merged
Merged
gHashTag
added a commit
that referenced
this pull request
Oct 18, 2026
#10083 and #10092 were merged into their stacked base branches (mcp-t27-check, mcp-t27-examples) after #10080 had already landed, so neither spec reached master. This carries the two specs and the OWNERS row unchanged from mcp-t27-examples. Closes #10081 Closes #10090 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 #10090
Part of the epic #10066 (learnability: fewer tokens and round trips for cheap models). Stacked on #10083 (
mcp-t27-examples), which stacks on #10080.What
specs/t27mcp/spec_brief.t27(moduleT27mcpSpecBrief): two decisions of the t27 MCP server (gHashTag/t27-mcp) that were hand-written JavaScript.BRIEF_FIELDS/ONE_FIELDS: which manifest fields a short spec row keeps (t27_specsrows andt27_spec). Emitted byt27c gen-js; the server copies those keys and nothing else.why_mask(is_fail, nodes, nfailed, tc, loss): why ahealth: "fail"spec fails, as a bit set (W_NOT_PARSED,W_BACKEND,W_TYPECHECK,W_LOSS,W_UNKNOWN). A spec that is not failing gets 0.WHY_TEXTholds one template per bit;{}is the count or the backend list the server fills in.specs/OWNERS.mdextends thet27mcp/row.Evidence (Railway lab, t27c 0.5.2)
t27c test-report specs/t27mcp/spec_brief.t27: 5 of 5 pass, 0 vacuous.W_UNKNOWNalone. With the not-parsed rule inverted, 3 of 5 tests fail.t27c gen-cpluszig cc -target wasm32-wasilowers it to a 185-byte wasm; the commands and sha256 are inwasm/BUILDof the server PR.Known limit
.lenon aconsttable is constant-folded: a test that asserted table lengths ran 0 runtime asserts and was reported vacuous, so the spec checks the bit set throughwhy_maskinstead of table lengths.🤖 Generated with Claude Code