Repository navigation
t27f: deps view writes unresolved use lines as unknown (Closes #10702) - #10704
Merged
Merged
Conversation
…Closes #10702) deps_unknown reads the focus spec's source next to the use-edges list and writes one `unknown<TAB>path` line per use line with no edge to its whole path or its single fallback, mirroring bootstrap/src/use_resolve.rs. Measured on the Railway lab, master f33f269: 2489 use lines, 23 unknown in 13 specs, byte for byte the `t27c gen` "resolves to no spec" warnings; the drop-one and empty controls both fail. Spec 25/25 tests, 0 vacuous; corpus ratchet CLEAN. The t27f skill gains the oracle recipe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 18, 2026 23:01
Contributor
This was referenced Oct 18, 2026
Open
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 #10702
The T27F dependencies view drew only the
uselines thatt27c use-edgesresolves. Auseline that resolves to no spec was left out without saying so, which breaks the exact / derived / suggested / unknown labelling rule (gHashTag/trinity#1649).What changes
specs/t27f/spec_deps.t27: newdeps_unknown(edges, focus, root, src, out, cap). It reads the focus spec's source next to the edge list and writes oneunknown<TAB>pathline for eachuseline that has no edge to its whole path or to its single fallback. The reading followsbootstrap/src/use_resolve.rs(use_path_expr,use_path,brace_module,use_target): it strips a//comment, trailing;and spaces; maps::and.to/; reads a brace list as the module before the brace; and falls back exactly one level. Nothing is guessed from file names. An output that does not fit is refused whole (cap + 1).deps_unknown, along with a new measurement..claude/skills/t27f/SKILL.md: the deps row is updated, and a new recipe shows how to checkdeps_unknownagainst the compiler's own warnings.Evidence (Railway lab)
uselines.deps_unknownwrites 23 unknown lines in 13 specs, byte for byte thet27c genwarningsuse X resolves to no spec. Two controls fail as they should: the same list minus one line, and an empty expectation. t27c gen: a use it cannot resolve exits 0 and drops the import #7176 had counted 119 such lines in 70 specs.t27c suite --ratchet --corpus-only: RATCHET CLEAN, EXIT=0.Out of scope
t27c.🤖 Generated with Claude Code