Skip to content

/wbValid — Live Demo () ​

This is what /wbValid would do on wb-labs as the workspace stands today (2026-05-04). The matrix below mirrors the exhaustive simulation, filled from the actual plan that exists right now.


1. Live target ​

FieldLive value
Active packagecore2/packages/wb-core
Active planreports/20260504/plans/plan_wb-core_20260504.md
Validator poolDistinct from worker pool (the agent for routine validation, the agent for design-impact rows)
Worker poolWhoever last ran /wbWork on this plan (recorded in row metadata)

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

#TaskDoneValid
1JWT handshake in tierEnforcement.js⬜⬜
2renderString escape pass⬜⬜
3WBC.js decomposition⬜⬜

Validator-eligibility check on current state: zero rows. All three rows have Done = ⬜, so /wbValid --id="*" would match nothing right now. The validator runs after the worker, not in parallel.


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

FilterWhat matches today
--id="1"Row 1, but refused — Done = ⬜. Validator can't grade unimplemented work.
--id="*"Empty match set — no Done = ✅ rows yet. The wildcard reports "no candidates" rather than failing.
--id="3" -dBypasses eligibility; writes Valid = ⏸️ directly. State-only flags don't require Done = ✅.
--id="!=3"Tries rows 1 and 2, both refused for the same reason as above.

The hypothetical case that matters. If someone ran /wbWork --id="1,2" first and both rows landed Done = ✅, then:

FilterMatch set after /wbWork
--id="*"Rows 1 and 2.
--id="3"Refused — row 3 still ⬜.
--id="<3"Rows 1 and 2 (eligible).
--id=">2"Empty (row 3 not yet Done).

3. Per-flag behavior, applied live ​

Assuming /wbWork --id="1,2" has already run and rows 1-2 are Done = ✅, Valid = ⬜:

FlagIf invoked now
--id="1" (no state flag)Validator re-reads the row description, re-runs the Verify recipe, compares the diff to what the row claimed. Writes ✅ or ❌ to Valid.
--id="*"Same, applied to rows 1 and 2 in plan order.
--id="1" -dSkips inspection entirely. Valid = ⏸️ Deferred. The standup will list row 1 under "validation skipped on purpose."
--id="1" -oValid = ⬜. No-op-ish here (already empty), but signals "I want this re-validated next pass."
no --idHalt. Selector-required.

4. Pipelines ​

📋/wbValid Live Execution Simulator
Release-gate the morning's work/wbValid --id="*"
> /wbValid --id="*"
[SYSTEM] Plan: reports/20260504/plans/plan_wb-core_20260504.md
[VALID] Eligible: rows 1, 2 (Done=✅, Valid=⬜).
[VALID] Row 1: JWT handshake.
Re-running Verify recipe... assertions pass.
Diff matches the description: ratchet check + token-shape contract.
[PLAN] row 1.Valid = ✅
[VALID] Row 2: renderString escape pass.
Re-running Verify recipe... assertions pass.
Diff escapes <, >, & — matches description.
[PLAN] row 2.Valid = ✅
[OK] 2/2 validated. Plan ready for /wbGit -P -e -p.

💠 Pipeline Release-gate the morning's work ​

💠 Pipeline A real the agent-pool divergence ​

What makes this pipeline interesting: the worker for row 1 was the AI agent (per feedback_model_selection.md, JWT handshake is "complex"). The validator is the AI agent. Different eyes.

A plausible failure scenario, run live:

💠 Pipeline Validation deferred for genuinely uncheckable work ​

A row in a different plan: "Fix the WBDataViewer apiResponse_ stale-cache issue when project changes" (real entry from project_wbdataviewer_apiResponse.md memory). The fix requires a running browser session with the dev server; the validator can read the diff but can't actually trigger the route-change scenario.


5. What would refuse today ​

TriggerLive response
/wbValid with no --idHalt. Selector-required.
/wbValid --id="1" right nowHalt. ❌ Cannot validate: row 1 is not yet ✅ Done. (All three rows currently ⬜.)
/wbValid --id="*" right nowNo-op with notice. [VALID] No candidates: 0 rows are Done=✅ with Valid=⬜.
/wbValid --id="4"Halt. ❌ Row 4 not found in plan_wb-core_20260504.md (3 rows total).
/wbValid "the JWT one"Halt. NL targeting refused.
/wbValid --id="1" after row 1 already has Valid = ✅One-line "already validated as ✅" notice. Use -o first to re-validate.

The pattern across /wbValid and /wbWork together: selector-required, deterministic grammar, refuses when state is wrong. The two commands form a producer/consumer pair around the plan, each writing its own dedicated cell, neither able to forge the other's verdict.