FN-7599: rename triage column label to Planning in default workflows

Renames the default-workflow intake column's display label from "Triage" to "Planning" across the built-in coding, stepwise-coding, and PR workflows, while keeping the column id as `triage` for lifecycle/DB/type stability.

- builtin-coding-workflow-ir.ts: intake column name "Triage" -> "Planning"
- builtin-pr-workflow-ir.ts: intake column name "Triage" -> "Planning"
- builtin-stepwise-coding-workflow-ir.ts: intake column name "Triage" -> "Planning"
- Added regression tests asserting the intake column is labeled "Planning" with id "triage" in builtin-coding and hand-authored default workflows (stepwise-coding, pr-workflow)
- Added changeset (patch) documenting the label change for @runfusion/fusion

Files changed:
 .changeset/fn-7599-planning-column-rename.md                 |  7 +++++++
 .../core/src/__tests__/builtin-coding-workflow-ir.test.ts    |  7 +++++++
 packages/core/src/__tests__/builtin-workflows.test.ts        | 12 ++++++++++++
 packages/core/src/builtin-coding-workflow-ir.ts              |  3 ++-
 packages/core/src/builtin-pr-workflow-ir.ts                  |  2 +-
 packages/core/src/builtin-stepwise-coding-workflow-ir.ts     |  2 +-
 6 files changed, 30 insertions(+), 3 deletions(-)

Fusion-Task-Id: FN-7599

Fusion-Task-Lineage: 5de8abc4-2407-4f9a-b97c-bd5b900d8fd9

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
This commit is contained in:
gsxdsm
2026-07-05 16:58:42 -07:00
parent 20379e81c5
commit e0f3d3d14c
6 changed files with 30 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
---
"@runfusion/fusion": patch
---
summary: Default workflow boards now label the intake column "Planning" instead of "Triage".
category: fix
dev: Renamed the `name` of the `id: "triage"` intake column to "Planning" in builtin-coding, builtin-stepwise-coding, and builtin-pr workflow IRs (column id unchanged; linear built-ins inherit via canonicalBuiltinWorkflowColumns). COLUMN_LABELS.triage was already "Planning".

View File

@@ -107,6 +107,13 @@ describe("builtin coding workflow ir", () => {
expect(ids).toEqual(["triage", "todo", "in-progress", "in-review", "done", "archived"]);
});
// FNXC:Workflows 2026-07-05-00:00: FN-7599 — the intake column displays as "Planning" while its id stays "triage" for lifecycle/DB/type stability.
it("labels the intake column 'Planning' while keeping the 'triage' id (FN-7599)", () => {
if (BUILTIN_CODING_WORKFLOW_IR.version !== "v2") throw new Error("expected v2");
const byId = new Map(BUILTIN_CODING_WORKFLOW_IR.columns.map((c) => [c.id, c]));
expect(byId.get("triage")).toEqual({ id: "triage", name: "Planning", traits: [{ trait: "intake" }] });
});
it("maps default-workflow traits to columns verbatim (R12)", () => {
if (BUILTIN_CODING_WORKFLOW_IR.version !== "v2") throw new Error("expected v2");
const byId = new Map(BUILTIN_CODING_WORKFLOW_IR.columns.map((c) => [c.id, c]));

View File

@@ -10,6 +10,7 @@ import {
} from "../builtin-workflows.js";
import { BUILTIN_CODING_WORKFLOW_IR } from "../builtin-coding-workflow-ir.js";
import { BUILTIN_STEPWISE_CODING_WORKFLOW_IR } from "../builtin-stepwise-coding-workflow-ir.js";
import { BUILTIN_PR_WORKFLOW_IR } from "../builtin-pr-workflow-ir.js";
import { BROWSER_VERIFICATION_GROUP_ID, BROWSER_VERIFICATION_STEP_NODE_ID } from "../builtin-browser-verification-group.js";
import { CODE_REVIEW_STEP_NODE_ID } from "../builtin-code-review-group.js";
import { PLAN_REVIEW_GROUP_ID, PLAN_REVIEW_STEP_NODE_ID } from "../builtin-plan-review-group.js";
@@ -417,6 +418,17 @@ describe("built-in workflows", () => {
]);
});
// FNXC:Workflows 2026-07-05-00:00: FN-7599 — hand-authored default workflows (stepwise-coding, pr-workflow)
// must also label the intake column "Planning" while keeping the "triage" id, matching builtin-coding.
it("hand-authored default workflows label the intake column 'Planning' (FN-7599)", () => {
for (const ir of [BUILTIN_STEPWISE_CODING_WORKFLOW_IR, BUILTIN_PR_WORKFLOW_IR]) {
expect(ir.version).toBe("v2");
if (ir.version !== "v2") throw new Error("expected v2");
const triageColumn = ir.columns.find((column) => column.id === "triage");
expect(triageColumn).toEqual({ id: "triage", name: "Planning", traits: [{ trait: "intake" }] });
}
});
it("builtin:coding catalog entry is backed by the stepwise final-review IR", () => {
const coding = getBuiltinWorkflow("builtin:coding");
expect(coding).toBeDefined();

View File

@@ -45,7 +45,8 @@ const RAW_BUILTIN_CODING_WORKFLOW_IR: WorkflowIr = {
version: "v2",
name: "builtin-coding-workflow",
columns: [
{ id: "triage", name: "Triage", traits: [{ trait: "intake" }] },
// FNXC:Workflows 2026-07-05-00:00: Default-workflow intake column now displays as "Planning" while keeping the `triage` id for lifecycle/DB/type stability (FN-7599).
{ id: "triage", name: "Planning", traits: [{ trait: "intake" }] },
{
id: "todo",
name: "Todo",

View File

@@ -60,7 +60,7 @@ const RAW_BUILTIN_PR_WORKFLOW_IR: WorkflowIr = {
version: "v2",
name: "builtin-pr",
columns: [
{ id: "triage", name: "Triage", traits: [{ trait: "intake" }] },
{ id: "triage", name: "Planning", traits: [{ trait: "intake" }] },
{
id: "in-progress",
name: "In progress",

View File

@@ -60,7 +60,7 @@ const RAW_BUILTIN_STEPWISE_CODING_WORKFLOW_IR: WorkflowIr = {
version: "v2",
name: "builtin-stepwise-coding",
columns: [
{ id: "triage", name: "Triage", traits: [{ trait: "intake" }] },
{ id: "triage", name: "Planning", traits: [{ trait: "intake" }] },
{
id: "todo",
name: "Todo",