Skip to content

/wbWork — Live Demo () ​

This is what /wbWork actually does on wb-labs as the workspace stands today (2026-05-04). The matrix below mirrors the exhaustive simulation, but every cell is filled from the live state of the repo — the active plan that exists, the rows that exist, the deps that are actually in the file.


1. Live target ​

FieldLive value
Active packagecore2/packages/wb-core
Active planreports/20260504/plans/plan_wb-core_20260504.md
Worker poolthe AI agent (per feedback_model_selection.md — the agent for complex, the agent for simple)
Validator poolDistinct pool — the worker/validator separation is enforced at the model level, not just the cell level

The plan rows the worker would see if invoked right now:

#TaskDepDoneValid
1JWT handshake in tierEnforcement.js—⬜⬜
2renderString escape pass—⬜⬜
3WBC.js decomposition1, 2⬜⬜

2. What --id resolves to, against this plan ​

FilterWhat matches today
--id="1"Row 1. Eligible — Dep is empty.
--id="2"Row 2. Eligible — Dep is empty.
--id="3"Row 3. DAG-blocked — Deps 1 and 2 are still ⬜.
--id="*"Rows 1 and 2 only. Row 3 is filtered out by the unblocked check.
--id="1 && 3"Atomic-fails. Row 3 is DAG-blocked, so the entire batch refuses.
--id=">2"Row 3 only — also DAG-blocked, also refuses.
--id="!=3"Same set as * for this plan.

The interesting case is --id="*" versus --id=">0". They're not the same. * is "all unblocked rows"; >0 is "all rows" — and the DAG check then rejects row 3. The wildcard pre-filters; the range does not.


3. Per-flag behavior, applied live ​

FlagIf invoked now
--id="1" (no state flag)Worker reads row 1, edits tierEnforcement.js, runs row 1's Verify recipe, writes Done = ✅.
--id="3" -dSkips work entirely. Done = ⏸️ Deferred. /wbStandup will stop listing it.
--id="3" -cSkips work. Done = 🚫 Cancelled. Permanent — re-add as new row to revive.
--id="1" -oNo-op-ish: row 1 is already ⬜. Writes ⬜ again. Useful semantically (signals intent) but not strictly necessary.
no --idHalt. ❌ /wbWork is selector-required.

📋/wbWork Live Execution Simulator
Pipeline A — Run Unblocked Queue/wbWork --id="*"
> /wbWork --id="*"
[SYSTEM] Plan: reports/20260504/plans/plan_wb-core_20260504.md
[DAG] Unblocked: rows 1, 2. Blocked: row 3 (Deps 1, 2 still ⬜).
[WORK] Row 1: JWT handshake in tierEnforcement.js Editing core2/packages/wb-core/src/tierEnforcement.js... Verify: <row 1's verify command>
[OK] Row 1 verified.
[PLAN] plan_wb-core_20260504.md row 1.Done = ✅
[WORK] Row 2: renderString escape pass Editing core2/packages/wb-core/src/renderString.js...
[OK] Row 2 verified.
[PLAN] row 2.Done = ✅
[OK] 2 rows done. Row 3 (Deps now satisfied) is now eligible. Run /wbValid --id="*" before promoting Row 3 work.
⚠️ Note: The ordering is plan-order (1 then 2), not declaration order in --id. CSV --id="2,1" produces the same trace.

💠 Pipeline A — Run the unblocked queue right now ​

Running /wbWork --id="*" executes all unblocked tasks in the current plan. The system evaluates the DAG, identifies rows 1 and 2 as unblocked, and executes them in plan-order while skipping DAG-blocked row 3.

💠 Pipeline B — Defer row 3, narrow scope to today's two rows ​

If WBC.js decomposition (row 3) needs more design discussion, defer it explicitly with /wbWork --id="3" -d. This skips work and mutates the plan state to ⏸️ Deferred so /wbStandup doesn't flag it as neglected.

💠 Pipeline C — Cancel out-of-scope rows after a plan rewrite ​

If rows 6-8 are about a feature that was descoped, cancel them in one pass with /wbWork --id=">5" -c. This mutates the state to 🚫 Cancelled while preserving the rows for historical record.


5. What would refuse today ​

TriggerLive response
/wbWork with no --idHalt. /wbWork is selector-required.
/wbWork --id="3"Halt. ❌ DAG: row 3 depends on 1, 2 — both still ⬜.
/wbWork --id="4"Halt. ❌ Row 4 not found in plan_wb-core_20260504.md (3 rows total).
/wbWork "decompose WBC.js"Halt. NL targeting is /wbExplain's job. Use --id="3" (which would then fail the DAG check, but for the right reason).
/wbWork --id="1" re-run after row 1 is already ✅No-op with a single-line "already done" notice. To re-execute, run /wbWork --id="1" -o first.

The pattern across all of these: /wbWork is strict at the boundary, not strict at the failure. It refuses bad inputs upfront with a clear error — but when work fails partway through (verify failure, single-row error inside a wildcard), it continues the queue and reports failures at the end. The contract is "tell me exactly what to do, and I'll tell you exactly what happened." No surprises in either direction.