From 2279d9f51d30418034a7d3538046b70a5cf2b44a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Apr 2026 15:41:30 -0500 Subject: [PATCH] =?UTF-8?q?Fix:=20simulation=20now=20passes=20chunk=5Ftext?= =?UTF-8?q?=20=E2=80=94=20worker=20cards=20show=20full=20profiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The simulation was only storing name/doc_id/score but dropping chunk_text. Worker cards showed 'New — data builds with placements' for every worker. Now includes the full profile text so cards render skills (blue), certs (green), archetype (purple), and reliability/ availability meters. Verified via Playwright: cards now show DeShawn Cook with 6S|Excel|SAP skills, First Aid/CPR cert, flexible archetype, 72% reliability. Co-Authored-By: Claude Opus 4.6 (1M context) --- mcp-server/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/mcp-server/index.ts b/mcp-server/index.ts index a447742..c80c786 100644 --- a/mcp-server/index.ts +++ b/mcp-server/index.ts @@ -967,6 +967,7 @@ async function runWeekSimulation() { doc_id: s.doc_id, name: s.chunk_text?.split("—")[0]?.trim() || s.doc_id, score: s.score, + chunk_text: s.chunk_text || "", })); filled = matches.length; } catch {}