fix: register state-slots phase in pipeline + index

Wire stateSlotsPhase into the barrel export (pipeline-phases/index.ts)
and into buildPhaseList in pipeline.ts (after crossFilePhase, matching
declared @deps). Phase was implemented but never executed — StateSlot
nodes and data_flow edges were silently dropped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Test 2026-04-18 13:41:07 +02:00
parent 970a7cc033
commit d239ca51eb
2 changed files with 3 additions and 0 deletions

View file

@ -16,6 +16,7 @@ export { routesPhase, type RoutesOutput, type RouteEntry } from './routes.js';
export { toolsPhase, type ToolsOutput, type ToolDef } from './tools.js';
export { ormPhase, type ORMOutput } from './orm.js';
export { crossFilePhase, type CrossFileOutput } from './cross-file.js';
export { stateSlotsPhase, type StateSlotsOutput } from './state-slots.js';
export { mroPhase, type MROOutput } from './mro.js';
export { communitiesPhase, type CommunitiesOutput } from './communities.js';
export { processesPhase, type ProcessesOutput } from './processes.js';

View file

@ -30,6 +30,7 @@ import {
toolsPhase,
ormPhase,
crossFilePhase,
stateSlotsPhase,
mroPhase,
communitiesPhase,
processesPhase,
@ -80,6 +81,7 @@ function buildPhaseList(options?: PipelineOptions): PipelinePhase[] {
toolsPhase,
ormPhase,
crossFilePhase,
stateSlotsPhase,
];
if (!options?.skipGraphPhases) {