Skip to content

Spike/static analysis - #5669

Closed
stroxler wants to merge 9 commits into
pyrefly-org:mainfrom
stroxler:spike/static-analysis
Closed

stroxler wants to merge 9 commits into
pyrefly-org:mainfrom
stroxler:spike/static-analysis

Conversation

@stroxler

Copy link
Copy Markdown
Contributor

This isn't really ready, I'm just making a test PR to see if auto-import is working after ShipIt changes

AI-assisted experimental spike. Separate Python execution structure and presence-aware bindings from domain-specific type and effect policies, with independent history queries and full-state interpretation.
AI-assisted experimental spike. Keep real Pyrefly export resolution optional and downstream, while using shared flow for module-valued aliases and preserving explicit incomplete results.
AI-assisted experimental consumer. Check supported forward/backward distribution contracts and scoped mesh context through the neutral frontend, with conservative unknown effects and validated partition invariants.
AI-assisted experimental consumer. Exercise reusable scope, presence, control flow and cells with provenance and effect summaries, while failing closed on unsupported invocation behavior.
AI-assisted design notes. Record independent review evidence, prototype boundaries, performance tradeoffs and the lossless syntax and parity experiments needed before considering a Pyrefly binding-emitter migration.
AI-assisted experiment. Separate suite, branch and loop sequencing from backend values and policies, and make the existing CFG lowerer consume the same owned-or-borrowed AST driver.
AI-assisted regression case. Preserve the old passing behavior separately before shared lexical navigation corrects it.
AI-assisted experiment. Interpret one per-scope occurrence stream through explicit backend policies, and reuse lexical navigation rather than parallel Python scope searches. Correct nonlocal lookup across a global barrier.
AI-assisted experiment. Observe structural source identities only when requested, and expose explicit assumptions and coverage through a provider-independent facts interface without type-checker graph dependencies.
@meta-codesync

meta-codesync Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

This pull request has been imported. If you are a Meta employee, you can view this in D132368778. (Because this pull request was imported automatically, there will not be any future comments.)

@stroxler stroxler closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant