Pulse Work board: a configured column named after a status stays empty because the legacy alias is applied first
Version
LifeOS 8.761.0 · attestation: 30 system file(s) differ from danielmiessler/[email protected]:
- hooks/SatisfactionCapture.hook.ts
- hooks/README.md
- skills/CreateCLI/SKILL.md
- skills/CreateCLI/Intents/CreateCli.md
- skills/Prompting/SKILL.md
- skills/LifeOSHooks/hooks/lib/build.ts
- skills/Herdr/Intents/Configure.md
- skills/LifeOS/SKILL.md
- skills/LifeOS/Intents/Setup.md
- skills/Fabric/SKILL.md
- LIFEOS/TOOLS/VideoMeaning/README.md
- LIFEOS/TOOLS/models.ts
- LIFEOS/TOOLS/model-pricing.json
- LIFEOS/DOCUMENTATION/Tools/Tools.md
- LIFEOS/DOCUMENTATION/Memory/MemorySystem.md
- LIFEOS/DOCUMENTATION/Location/LocationSystem.md
- LIFEOS/DOCUMENTATION/Pulse/TerminalTabs.md
- LIFEOS/DOCUMENTATION/Pulse/PulseSystem.md
- LIFEOS/DOCUMENTATION/Workflows/WorkflowsSystem.md
- LIFEOS/DOCUMENTATION/LifeosSystemArchitecture.md
- LIFEOS/DOCUMENTATION/ARCHITECTURE_SUMMARY.md
- LIFEOS/DOCUMENTATION/Algorithm/AscentStates.md
- LIFEOS/DOCUMENTATION/Testing/TestingDoctrine.md
- LIFEOS/DOCUMENTATION/Hooks/HookSystem.md
- LIFEOS/DOCUMENTATION/Work/WorkSystem.md
- LIFEOS/DOCUMENTATION/Assay/AssaySystem.md
- LIFEOS/DOCUMENTATION/Services/BackgroundServices.md
- LIFEOS/DOCUMENTATION/Router/RouterSystem.md
- LIFEOS/ALGORITHM/AlgorithmReference.md
- LIFEOS/ERRATA/fixtures/LabelBrief.md
What is broken
A Work board column that a user adds in WORK/config.yaml KANBAN_COLUMNS stays empty when its name matches a status that LEGACY_STATUS_ALIASES remaps. deriveColumn() replaces the raw Status:* value with its alias before it looks at the configured columns, so with KANBAN_COLUMNS containing Ready, every Status:ready issue is placed in Queued and the Ready column never fills. The comment above the table says the aliases exist so old labels still land somewhere when "the column set changes"; here the column set contains the exact column, and the alias still wins. On the install that found this, 128 open Status:ready issues sat in Queued beside an empty Ready column.
Where (file:line)
LIFEOS/PULSE/modules/work.ts:139-146
Repro on a clean tree
1. Run the captured probe command from the config root. `LIFEOS/PULSE/modules/work.ts` is byte-identical to main@f6ab5e02. `deriveColumn` and `LEGACY_STATUS_ALIASES` are module-private, so the probe slices their exact source text out of `work.ts`, transpiles it and calls `deriveColumn` with a column list that adds `Triage` and `Ready` to the defaults.
2. Expected: `{ labels: ["Status:ready"], state: "OPEN" }` lands in `Ready`, the configured column with that exact name.
3. Actual: it lands in `Queued`. The control (same label, default columns without `Ready`) still lands in `Queued`, as the alias intends.
Negative control
Probe: d=$(mktemp -d) && cat > "$d/kanban-columns.test.ts" <<'EOF' import { test, expect } from "bun:test"; import { join } from "node:path"; import { homedir } from "node:os"; // deriveColumn and LEGACY_STATUS_ALIASES are module-private; run their exact source text. const file = join(process.env.CLAUDE_CONFIG_DIR ?? join(homedir(), ".claude"), "LIFEOS", "PULSE", "modules", "work.ts"); const src = await Bun.file(file).text(); const aliases = src.slice(src.indexOf("const LEGACY_STATUS_ALIASES"), src.indexOf("};", src.indexOf("const LEGACY_STATUS_ALIASES")) + 2); const fnStart = src.indexOf("function deriveColumn("); const fn = src.slice(fnStart, src.indexOf("\n}\n", fnStart) + 2); const js = new Bun.Transpiler({ loader: "ts" }).transformSync(${aliases}\n${fn}\nexport { deriveColumn };); const { deriveColumn } = await import(data:text/javascript;base64,${Buffer.from(js).toString("base64")}); // A user's WORK/config.yaml KANBAN_COLUMNS that adds Triage and Ready to the defaults. const columns = ["Triage", "Ready", "Queued", "Blocked", "In-Progress", "In-Review", "Complete"]; test("a configured column wins over the legacy alias for the same status label", () => { expect(deriveColumn({ labels: ["Status:ready"], state: "OPEN" }, columns)).toBe("Ready"); }); test("aliases still apply when no configured column matches", () => { expect(deriveColumn({ labels: ["Status:ready"], state: "OPEN" }, ["Queued", "Blocked", "In-Progress", "In-Review", "Complete"])).toBe("Queued"); }); EOF bun test "$d/kanban-columns.test.ts" · exit 1 · captured 2026-11-13T11:10:20.394Z
Red looks like: (fail) a configured column wins over the legacy alias for the same status label
bun test v1.4.4 (38afee6c8)
--- stderr ---
../../../private/var/folders/5h/hl0y9ht11z16rb3y13007sbc0000gn/T/tmp.QF8VlvO77N/kanban-columns.test.ts:
10 | const js = new Bun.Transpiler({ loader: "ts" }).transformSync(`${aliases}\n${fn}\nexport { deriveColumn };`);
11 | const { deriveColumn } = await import(`data:text/javascript;base64,${Buffer.from(js).toString("base64")}`);
12 | // A user's WORK/config.yaml KANBAN_COLUMNS that adds Triage and Ready to the defaults.
13 | const columns = ["Triage", "Ready", "Queued", "Blocked", "In-Progress", "In-Review", "Complete"];
14 | test("a configured column wins over the legacy alias for the same status label", () => {
15 | expect(deriveColumn({ labels: ["Status:ready"], state: "OPEN" }, columns)).toBe("Ready");
^
error: expect(received).toBe(expected)
Expected: "Ready"
Received: "Queued"
at <anonymous> (/private/var/folders/5h/hl0y9ht11z16rb3y13007sbc0000gn/T/tmp.QF8VlvO77N/kanban-columns.test.ts:15:78)
(fail) a configured column wins over the legacy alias for the same status label [0.45ms]
1 pass
1 fail
2 expect() calls
Ran 2 tests across 1 file. [4.00ms]
Suggested fix
In deriveColumn, look for a configured column matching the raw status first and fall back to the alias only when none matches: const hit = columns.find((c) => c.toLowerCase() === raw) ?? (aliased ? columns.find((c) => c.toLowerCase() === aliased.toLowerCase()) : undefined);. Installs that keep the default columns see no change, because none of them is named after an aliased status; a user who adds a column named for a status gets that column. With exactly that change applied to a copy of work.ts, both probe tests pass (2 pass, 0 fail).
Environment
- OS: macOS 27.2 (arm64)
- Harness: claude-code
- bun: 1.4.4 · git: 2.54.0
- Doctor broken: none
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
You were right: the board replaced the status with its legacy alias before looking at your columns, so Status:ready always went to Queued even when you had added a Ready column. A column named exactly after the status now wins, and the alias is used only when no such column exists. The default columns behave the same as before. Thanks also to the PR that proposed the same ordering.
This fix lands in the next LifeOS release, so I'm closing this now.