Turn on the workflow rollout flags by default and update docs/tests for the new opt-out behavior. - default workflowColumns, workflowGraphExecutor, workflowInterpreterDualObserve, and workflowInterpreterAuthoritative to enabled in global settings - update workflow docs and concepts to describe explicit flag-off overrides instead of default-off rollout gating - remove redundant demo/test setup that manually enabled workflow columns and keep characterization coverage for both enabled and disabled states - add a changeset for the published CLI package documenting the default-on workflow rollout Files changed: .changeset/fn-6126-workflow-flags-default-on.md | 5 +++++ CONCEPTS.md | 4 ++-- demo/seed.ts | 1 - docs/workflow-steps.md | 10 +++++----- packages/core/src/__tests__/move-task-characterization.test.ts | 4 +--- packages/core/src/settings-schema.ts | 7 ++++++- packages/core/src/types.ts | 4 +++- packages/core/src/workflow-columns-settings.ts | 4 ++-- 8 files changed, 24 insertions(+), 15 deletions(-) Fusion-Task-Id: FN-6126 Fusion-Task-Lineage: 334283a6-e80a-42d0-bf66-68f88a12e287
19 lines
821 B
TypeScript
19 lines
821 B
TypeScript
import { isExperimentalFeatureEnabled } from "./experimental-features.js";
|
|
import type { Settings } from "./types.js";
|
|
|
|
/**
|
|
* The `experimentalFeatures.workflowColumns` flag (KTD-8). OFF: the legacy
|
|
* enum/`VALID_TRANSITIONS` path runs untouched. ON: `moveTaskInternal` resolves
|
|
* each task's workflow column graph + trait guards. The workflow-resolved path
|
|
* is now default-on while the explicit OFF override remains available.
|
|
*
|
|
* Mirrors `isSandboxExperimentalEnabled` / `isEvalsViewEnabled` — a thin,
|
|
* named accessor over the shared experimental-features map so the literal flag
|
|
* key lives in exactly one place.
|
|
*/
|
|
export function isWorkflowColumnsEnabled(
|
|
settings: Pick<Settings, "experimentalFeatures"> | undefined,
|
|
): boolean {
|
|
return isExperimentalFeatureEnabled(settings, "workflowColumns");
|
|
}
|