Skip to content

/wbVision — Live Demo () ​

This is what /wbVision actually does on wb-labs as the workspace stands today (2026-05-05). The matrix below mirrors the exhaustive simulation, but every cell is filled from the live state of the repo.


1. Live target ​

FieldLive value
Target packagecore2/packages/wb-core
Source files18 JS files in src/ (post WBC.js decomposition)
Key modulesWBC.core.js, WBC.events.js, tierEnforcement.js, renderString.js
Import graphindex.js re-exports all modules. core imports events + tier.
Consumer apps3 apps import from wb-core: demo, md, wbc-ui

2. What each argument resolves to today ​

ArgumentLive resolution
/wbVision packages/wb-core/src/Dependency flowchart of 18 files, ~14 edges. Fits under 50-node limit.
/wbVision packages/wb-core/src/ -d="1"Top-level only: index.js → 4 direct imports.
/wbVision apps/demo.wbc-ui.com,packages/wb-coreCross-boundary: shows which wb-core exports demo actually uses.
/wbVision packages/wb-core/src/tierEnforcement.js -t="sequence"Auth flow sequence diagram: validateJWT → checkAlgorithm → enforceTokenScope.

3. Pipelines on this exact workspace ​

📋/wbVision Live Execution Simulator
Post-decomposition architecture map/wbVision core2/packages/wb-core/src/ -d="2" -o="reports/2026/05/05/vision/arch_wb-core_20260505.md"
> /wbVision core2/packages/wb-core/src/ -d="2" -o="reports/2026/05/05/vision/arch_wb-core_20260505.md"
[SYSTEM] Tracing imports (depth: 2)...
[AST] 18 files. 14 import edges.
⚠️ Note: The WBC.js monolith was split into 3 modules. Verify the new structure:

💠 Pipeline Post-decomposition architecture map ​

The WBC.js monolith was split into 3 modules. Verify the new structure:

💠 Pipeline Consumer boundary analysis ​

💠 Pipeline Sequence diagram for the JWT flow ​


4. What would refuse today ​

TriggerLive response
/wbVision core2/ (entire monorepo)❌ Graph too complex (~200 nodes). Use --depth=1 or scope to a specific package.
/wbVision packages/wb-core -t="er"⚠️ No ORM models in wb-core. ER diagrams require Prisma/Mongoose schemas. Falling back to flowchart.
/wbVision packages/wb-core -r (render to SVG)Depends on headless browser availability. If missing: ⚠️ SVG render failed. Outputting raw Mermaid markdown.
/wbVision src/legacy/ where files don't import each other⚠️ 6 files, 0 import edges. Graph contains only orphaned nodes.

The pattern: /wbVision draws what the code declares — every edge is a real import statement. The post-decomposition diagram above proves the architecture is clean because the graph shows it, not because someone claims it. Visual proof > verbal assurance.