Start from remembered text
Use Kast to find functions containing the wordText discovery returns exact references to the declarations containing a match. Each result includes one example match with a line excerpt, a one-based line number, and a UTF-16 source range. Reuse the declaration’slaunchdunderapp-serverinmain. Show a matching line for each function, then trace the callers of the relevant function.
ref to read its source or find callers. The matching word explains why the declaration was found; it does not establish a call relationship.
Request: find declarations containing a word
Request: find declarations containing a word
AppServerAction.Disable, search for Disable in the relevant directory and inspect the match context.Hits without a supported containing declaration leave coverage incomplete. A stopped index scan is terminal; other retained work may have a continuation. Follow the result’s reported progress.56df091. Counts and coverage describe that run, not your current workspace. In your repository, substitute your declaration and directory, and acquire fresh references. Capture details and full responses.
1. Find a declaration and inspect its source
Use Kast to findCheck the declaration’s identity and location, then read its coverage to see whether the search finished. The recorded response (QueryStepSyntaxin the production sources underquery/contract. Show its location, signature, and source. Keep its exact reference for the next question.
01-discovery) returned one QueryStepSyntax in QuerySteps.kt with exhaustive coverage, a signature, and a source window.
Request: scoped declaration lookup
Request: scoped declaration lookup
CLASS selects the supported class-like family, including this interface; it does not imply a concrete class. The recorded source declares sealed interface QueryStepSyntax.2. Follow its implementations
Reuse that exact reference to find the implementations of QueryStepSyntax. Show each declaration once and retain the result so we can compare it with another query.
The recorded response (02-implementations-a) returned ten implementations with exhaustive coverage. Keep the retained-result reference for Combine query results, where it is labeled A. Send the actual reference in requests.
Request: follow implementations and retain the result
Request: follow implementations and retain the result
Replace the placeholder with the exact reference returned by the first query. Do not send the placeholder literally.Five of the ten recorded names were
Where, Concat, Intersect, Union, and Join, all under QueryStepSyntax. The full response preserves each issued reference and its relation evidence.3. Trace callers to a chosen depth
FindThe recorded walk (QueryPlanCompiler.exactStageunderquery/contractinmain, then trace its callers up to two hops. Show the hop depth and call-site evidence, and report any unvisited work.
15-caller-walk) returned QueryPlanCompiler.admit calling exactStage at depth 1, with exact compiler-confirmed relation evidence, exhaustive coverage, and no continuation. That is the captured result, not a promise about the current call graph.
Request: walk callers to a bounded depth
Request: walk callers to a bounded depth
First find the function named
exactStage in the stated scope and check its qualified identity (14-function-discovery in the recording). Replace the placeholder with that function’s issued exact reference.