Framework packages: templates cannot see script imports, Svelte drops mustache calls, XAML knows 7 events, cross-language misses not in same_name_unresolved #548
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#548
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consolidated scope (triage 2026-11-09)
Priority: Medium: framework recall is about 0.49 at precision 1.00.
This issue is now the canonical tracker for:
claim.rs:99-107, needs a directory component, #135); a type-driven join;MAX_BRIDGES16; XAML handler bridges usepaired_filerather than thex:Class; a third-party framework package cannot co-claim.py/.ts(from #154, closed and merged here; its full report stays readable there)Original report
Summary
The framework packages never bind wrongly (precision 1.00 on 39 binds), but recall is about 0.49 because cross-language scope is missing. Fixture projects in
lang-out/frameworks/contain realistic Vue 3, Svelte, WPF and timeline samples.{{ formatCount(x) }}and Svelte{#each cart.items}areno_candidateeven though the<script>imports the name.check_rename formatCountfinds 3 sites, and both.vuefiles appear only undertext_occurrence_files.crates/guest/svelte/src/expr.rsappliescall_headonly to{@render}. Vue does emit them, so the two packages diverge.$handler_attrwhitelist (tests/packages/xaml.extractor.wat:252-278): Click, KeyDown, KeyUp, PreviewKeyDown, PreviewKeyUp, Loaded, Unloaded.SelectionChanged,MouseDoubleClick,TextChanged,Closing,Startupand custom routed events emit no ref. Element types (<ctl:PriceBox>) emit no type ref.same_name_unresolvedsafe_delete GoButton_Clickreportssame_name_unresolved: 0while a XAMLcall GoButton_Clicksitsno_candidate. Same forformatCount. Only the text scan saves the verdict. The cause is likely a same-language filter (inferred).:argnamed like a column never binds:region_idbinds when there is noregion_idcolumn and stays unresolved when one exists. Thereadlands in the member pool and does not fall back to the argument.tests/packages/xaml.extractor.watis not indexed, so reviewing it required grepProposal (generic)
ambiguity=uniqueplus the destination's(object, *EventArgs)signature). Decoy safety held in the test. Emit type refs for element tags with an xmlns prefix.same_name_unresolvedcounts unresolved refs from any language that has a bridge or embedded region into the symbol's language.:namebinding can only mean an argument; emit it with a kind or qualifier that admits only argument symbols..watsources as text.Acceptance
safe_deletecounts cross-language unresolved refs.Related: #154 (frameworks do not generalise), #229 (XAML/timeline cross-directory lookup).
Filed from the per-language review on 2026-11-09: 8 agents, one per language plus one for Vue/Svelte/XAML/timeline, run against copies of the pinned corpus repos (
tests/corpus/corpus.toml) using installed build2dcfc615, which differs from master only by XAML/CI commits. The top claim of every issue was spot-checked in the main session. Artifacts live under the review session's scratchpadlang-out/<lang>/and are available on request.buildagent referenced this issue2026-11-09 09:21:02 +01:00
Merged into #540.
Svelte walk.rs::render_ref and attribute_ref cover render/attachment calls, not ordinary mustaches.
Remaining: Framework regions and bridges, including reporter-supplied loader rules.