@@ -28,7 +28,6 @@ import { compileDoc, getE2BDocFormat } from '@/lib/copilot/tools/server/files/do
2828import { extractDocText , isExtractableDocExt } from '@/lib/copilot/tools/server/files/doc-extract'
2929import { runE2BCompiledCheck } from '@/lib/copilot/tools/server/files/doc-recalc'
3030import { isRenderableDocExt , renderDocToGrid } from '@/lib/copilot/tools/server/files/doc-render'
31- import { computeWorkflowDag } from '@/lib/copilot/tools/server/workflow/edit-workflow/dag'
3231import {
3332 collectWorkflowFieldIssues ,
3433 lintEditedWorkflowState ,
@@ -348,7 +347,6 @@ function getStaticComponentFiles(): Map<string, string> {
348347 * WORKSPACE.md — workspace inventory summary (auto-generated)
349348 * workflows/{name}/meta.json (root-level workflows)
350349 * workflows/{name}/state.json (sanitized blocks with embedded connections)
351- * workflows/{name}/dag.json (block name -> downstream block names adjacency)
352350 * workflows/{name}/lint.json (sources/sinks, required-field, credential/resource issues)
353351 * workflows/{name}/executions.json
354352 * workflows/{name}/deployment.json
@@ -1094,16 +1092,10 @@ export class WorkspaceVFS {
10941092 } as any )
10951093 this . files . set ( `${ prefix } state.json` , JSON . stringify ( sanitized , null , 2 ) )
10961094
1097- // Dynamically-computed workflow shape (dag.json) and validation
1098- // state (lint.json), derived from the raw normalized state so
1099- // subBlock values, advancedMode, canonicalModes, and subflow edges
1100- // are all available.
1095+ // Dynamically-computed validation state (lint.json), derived from
1096+ // the raw normalized state so subBlock values, advancedMode,
1097+ // canonicalModes, and subflow edges are all available.
11011098 try {
1102- this . files . set (
1103- `${ prefix } dag.json` ,
1104- JSON . stringify ( computeWorkflowDag ( normalized as any ) , null , 2 )
1105- )
1106-
11071099 const graphLint = lintEditedWorkflowState ( normalized as any )
11081100 const fieldIssues = collectWorkflowFieldIssues ( normalized . blocks as any )
11091101 let unresolvedReferences : Awaited < ReturnType < typeof collectUnresolvedReferences > > = [ ]
@@ -1134,7 +1126,7 @@ export class WorkspaceVFS {
11341126 )
11351127 )
11361128 } catch ( lintErr ) {
1137- logger . warn ( 'Failed to compute lint.json/dag.json ' , {
1129+ logger . warn ( 'Failed to compute lint.json' , {
11381130 workflowId : wf . id ,
11391131 error : toError ( lintErr ) . message ,
11401132 } )
0 commit comments