feat(entrypoints): stage-0 framework gate and the unresolved counter - #156
Merged
Conversation
This was referenced Sep 6, 2026
Closed
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 #155. Unit 2 of the entrypoint spec (#150); plan
docs/design/plans/2026-09-03-entrypoints-units-2-5.md, Task 1.Unit 1 (#154) landed the contract with an honest-but-empty report. This makes it honest: which frameworks the project actually uses, and which decorator/base spellings nothing could name.
What this adds
src/entrypoints/— the pass moves out ofsrc/schema/into its own package (detect.ts,pipeline.ts,rules.tstypes only,index.ts), mirroring python'scodeanalyzer/entrypoints/report.frameworks_detectedis now populated.No rules and no matcher yet: the gate has nothing to gate except the report. Those are unit 3, stacked on this branch.
Verification
bun test— 252 pass, 0 fail (5 new); the unit-1 contract test passes unchangeddeclare const Mysterylives inmod.fields, notmod.types, soknownHeadsreads both — otherwise a declared name leaked into the counterDeferred (minor, for the unit-5 whole-branch review)
isSignatureclassifies a lowercase-headed dotted spelling as an in-project signature, so an unresolvedns.Thingescapes the counter — later units must not assume the classifier is airtight