Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/orchestrator/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ import { logger } from '../utils/logger';

async function detectStackNode(state: AgentState): Promise<Partial<AgentState>> {
logger.info(' Step: Detect Stack');

// If fingerprint already exists (pre-detected by setup), skip re-detection.
if (state.fingerprint) {
logger.info('Fingerprint already present in state — skipping detectStackNode.');
return {};
}

// In a real scenario, we might clone here if not already done.
// We assume repoPath is set by the workflow runner (which clones).
if (!state.repoPath) throw new Error("Repo path missing");
Expand Down Expand Up @@ -309,4 +316,4 @@ export const createFixGraph = () => {
workflow.addEdge("submit_fix" as any, END);

return workflow.compile();
};
};