{"env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}, "height": 30, "timestamp": 0, "title": "contextweaver demo  (friendly walkthrough)", "version": 2, "width": 100}
[0.0, "o", "$ contextweaver demo  (friendly walkthrough)\r\n"]
[1.186, "o", "============================================================\r\n"]
[1.8721, "o", "contextweaver demo — default scenario\r\n"]
[2.5581, "o", "============================================================\r\n"]
[3.2442, "o", "\r\n"]
[3.9302, "o", "[1/5] Loaded catalog: 40 items across 8 namespaces\r\n"]
[4.6163, "o", "[2/5] Built routing graph: 9 nodes, depth=2\r\n"]
[5.3023, "o", "[3/5] Routed query: 'find unpaid invoices and send a reminder email'\r\n"]
[5.9884, "o", "      Top candidates: ['comms.email.send', 'comms.email.template', 'comms.notifications.send', 'admin.audit.query', 'admin.audit.retention']\r\n"]
[6.6744, "o", "      Choice cards (5):\r\n"]
[7.3605, "o", "[1/5] comms.email.send (tool) — Send an email message [comms, email, send] score=2.03\r\n"]
[8.0465, "o", "[2/5] comms.email.template (tool) — Render an email template [comms, email] score=1.37\r\n"]
[8.7326, "o", "[3/5] comms.notifications.send (tool) — Send a push notification [comms, notifications, send] score=1.21\r\n"]
[9.4186, "o", "[4/5] admin.audit.query (tool) — Query the audit log [admin, audit, search] score=0.00\r\n"]
[10.1047, "o", "[5/5] admin.audit.retention (tool) — Configure audit log retention [admin, audit] score=0.00\r\n"]
[10.7907, "o", "\r\n"]
[11.4767, "o", "[4/5] Built context pack: phase=answer\r\n"]
[12.1628, "o", "      Candidates: 4, Included: 4\r\n"]
[12.8488, "o", "      Dedup removed: 0, Closures: 0\r\n"]
[13.5349, "o", "      Token breakdown: {'user_turn': 8, 'tool_call': 7, 'tool_result': 11, 'agent_msg': 8}\r\n"]
[14.2209, "o", "\r\n"]
[14.907, "o", "[5/5] Prompt preview (312 chars total):\r\n"]
[15.593, "o", "[EPISODIC MEMORY]\r\n"]
[16.2791, "o", "- Previously discussed payment terms with client\r\n"]
[16.9651, "o", "\r\n"]
[17.6512, "o", "[FACTS]\r\n"]
[18.3372, "o", "- customer_tier: enterprise\r\n"]
[19.0233, "o", "\r\n"]
[19.7093, "o", "[USER]\r\n"]
[20.3953, "o", "How many open invoices do we have?\r\n"]
[21.0814, "o", "\r\n"]
[21.7674, "o", "[TOOL CALL]\r\n"]
[22.4535, "o", "invoices.search(status='open')\r\n"]
[23.1395, "o", "\r\n"]
[23.8256, "o", "[TOOL RESULT [artifact:tr1]]\r\n"]
[24.5116, "o", "invoice_id: INV-001\r\n"]
[25.1977, "o", "status: open\r\n"]
[25.8837, "o", "amount: 5000\r\n"]
[26.5698, "o", "\r\n"]
[27.2558, "o", "[ASSISTANT]\r\n"]
[27.9419, "o", "Let me check the billing system.\r\n"]
[28.6279, "o", "\r\n"]
[29.314, "o", "============================================================\r\n"]
[30.0, "o", "Demo complete.\r\n"]
[30.0, "o", "$ "]
