MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / projectGraph

Method projectGraph

src/orchestration/engine.ts:85–93  ·  view source on GitHub ↗

Build the file-level import graph for the whole project once.

()

Source from the content-addressed store, hash-verified

83
84 /** Build the file-level import graph for the whole project once. */
85 private async projectGraph(): Promise<ImportGraph> {
86 if (this.graphCache) return this.graphCache;
87 const files = await walkProjectSource(this.opts.cwd, 3000);
88 this.graphCache = await buildImportGraph(
89 this.opts.cwd,
90 files.map(f => ({ rel: f.rel, content: f.content })),
91 );
92 return this.graphCache;
93 }
94
95 /** ORCHESTRATOR: produce the task DAG. */
96 async decompose(goal: string, signal?: AbortSignal): Promise<TaskGraph> {

Callers 1

executeMethod · 0.95

Calls 2

walkProjectSourceFunction · 0.85
buildImportGraphFunction · 0.85

Tested by

no test coverage detected