Repository navigation
Labels
documentationUpdates to standard operating procedures, guides, or wiki
Milestone
Description
Part of #3772. Depends on callgraph_triage.py, callgraph_check.py and the resolver explain tool.
What
.claude/skills/callgraph-miss-sweep/SKILL.md: the fix loop
- Run
callgraph_triage.py <lang>and pick the top bucket by recall or precision at stake. - Recognise known patterns first:
- bodyless target (Call resolver (TypeScript): confident links land on bodyless signatures (interface / abstract / type members) instead of the code that runs #3757);
- member not bare-callable (Call resolver (TS/JS): a bare call to a named import resolves to a same-named member of a namespace import (
import { clone }vsimport * as schemas) #3758); - block-scoped duplicates (Call resolver: several block-scoped definitions of one name in a file (
const Node = …per test) all resolve to one of them, not the enclosing scope's #3759); - built-in shadowing (Call resolver: an untyped receiver's built-in method call (
str.trim(),map.get()) links confidently to a same-named repo method viafile/import#3756); - interpolated strings.
- Root-cause it with
explain_call.pyand the--debugworker trace, not by reading the resolver cold. - Verify a sample against source, then file the issue in the milestone.
- Fix it, run
callgraph_check.py, then open the PR with before/after numbers. - Net-change rule: a fix must be scored on the whole corpus, both fixed and newly broken links. Call resolver: several block-scoped definitions of one name in a file (
const Node = …per test) all resolve to one of them, not the enclosing scope's #3759's first attempt fixed 3 links and broke 3, so it netted zero. Note:callgraph_triage.pydoes not produce this yet; its JSON only exposes a totalbrokencount and no set of(caller, callee)links, so the before/after comparison needs a scorer change first.
.claude/agents/callgraph-triage-scout.md (Haiku)
- Runs triage and returns buckets with evidence.
- Drafts issues but doesn't file ambiguous ones: those go back to the main session.
- Never fixes or pushes.
- Mechanical and read-heavy, which matches the repo's model-tiering rule.
Metadata
Metadata
Assignees
Labels
documentationUpdates to standard operating procedures, guides, or wiki
Activity
Call-graph skills: language onboarding, miss sweep, Haiku triage scout (