XP Vibes Logo XPVibes.com
9:00 PM

v2.8.12 — the sticky XP Vibes OS taskbar is now injected automatically by the child theme (wp_body_open) and renders the live xpvibes_primary WordPress menu (Appearance -> Menus). This FSE header part is intentionally an empty hidden placeholder.

📄 Server Context Courier
Address: https://xpvibes.com/workflows/server-context-courier/
Last modified: November 22, 2026

Server Context Courier

● TRACK 02.2 — SERVER-SIDE AST & TELEMETRY DASHBOARD

Context Courier is my self-built tool that turns a messy folder of code into a clean, machine-readable map an AI can actually use. I first built it for my Windows 11 desktop, but my Linux server projects kept hitting the same wall: the desktop Courier had to read server files through a slow Windows network share, and half the time the mount went stale mid-scan. So I built a dedicated server edition that runs directly on hp-ai-server at port :8080. The desktop copy stays on Windows 11 for Windows projects; the server copy indexes the server locally, next to its own files, with zero network-share headaches. Two instances, two territories, no overlap.


What This Workflow Solves

The server edition removed three daily frictions:

  • No more brittle network shares. SMB mounts (the Windows way of borrowing another machine’s folders over the network) drop out, cache stale listings, and need credentials that expire. Each Context Courier instance now sits right next to the files it scans, so a profile compile is just a local folder read — fast and boring, which is exactly what I want.
  • One browser panel instead of twenty terminal commands. To check my server before, I typed a dozen commands: database queries, container pings, memory readings. Now a single dashboard opens in my browser and it costs 0% idle CPU — nothing runs until I click a button. Tables, vector collections, and container health appear on demand.
  • Messy infrastructure, compacted. An n8n workflow export can pass 2,500 lines of JSON; a theme is dozens of PHP files. Courier parses these into an AST outline — an “abstract syntax tree” is simply a structured summary of what a program contains: every function, node, table, and connection listed by name, without the noise. Gemini gets the map, not the raw dump.

Tools I Use (The 5-Tab Explorer)

Server Context Courier v2.3.0 is one web page with five tabs, and each tab replaced a stack of terminal habits:

  • Tab 1 — AST Profiles & Indexed Files. Six modular domain profiles — HP_System_Core, Workflow_1_Intel, Workflow_2_Personal, Workflow_3_Jarvis, HP_Maintenance, and XPVibes_Web_Theme — each scoping one slice of the server. Clicking Compile on a profile generates its paired *_CODE_CONTEXT map on demand, so I only pay the scan cost for the area I am working in.
  • Tab 2 — PostgreSQL (ai_core) Explorer. A read-only table browser — it can look but never change — for checking scheduled tasks, saved tabs, research topics, and AI model routing rules without writing a single SQL query by hand.
  • Tab 3 — ChromaDB Vector Vault. Inspects my semantic-search collections (text turned into 256-dimensional number lists so searches match meaning, not keywords) and verifies each research topic stays isolated in its own collection — no cross-talk between dossiers.
  • Tab 4 — MV3 Opportunity Radar. Surfaces my research findings on abandoned or broken browser extensions worth rebuilding cleanly, straight from the graveyard collection.
  • Tab 5 — Persona & Telemetry Hub. The live machine-room floor: RAM/ZRAM/NVMe usage, 11/11 container latency pings, all six Discord specialist cards, my nine-role AI model routing table, and 1-click .md / .zip download buttons for every compiled artifact.

What I like about this layout is restraint: nothing is indexed until I ask, and nothing is indexed globally. Six narrow profiles beat one giant dump because each compiled map stays small enough to paste straight into a planning chat. When I am fixing a Discord bug, the architect sees Workflow_3_Jarvis and nothing else — fewer tokens in, fewer hallucinations out, and the map can never be stale in a direction I did not just look at.

Step-by-Step Process

Here is how the two Courier instances stay cleanly separated while still feeding one shared memory layer:

 +-----------------------------+  +--------------------------------+
 |  WINDOWS 11 DESKTOP         |  |  HP-AI-SERVER (Linux)          |
 |  Desktop Context Courier    |  |  Server Context Courier :8080  |
 |  scans local project folders|  |  scans /opt/ai-server locally  |
 |  (no SMB mount needed)      |  |  (no SMB mount needed)         |
 +--------------+--------------+  +---------------+----------------+
                v                                  v
     Windows CODE_CONTEXT maps            Server CODE_CONTEXT maps
     + PROJECT_CONTEXT                     + AST profiles x6
                \                                  /
                 +----------------+----------------+
                                  v
                  +--------------------------------+
                  |  GEMINI NOTEBOOK (the memory)  |
                  |  one notebook per project;     |
                  |  both context sets stay        |
                  |  versioned and pruned          |
                  +--------------------------------+
  1. Finish a server build or theme update in pi. The moment files on disk change, the old CODE_CONTEXT map is officially stale — the clock starts here.
  2. Trigger POST /api/compile/ALL (or just click Compile in Tab 1 for a single profile). Courier re-scans, re-parses, and regenerates every AST code map with a fresh version stamp.
  3. Inspect Tabs 2–5 if anything looks off. Database rows, vector counts, container pings, and model routing usually reveal the problem before I ever open a terminal.
  4. Update Gemini Notebook. I grab the fresh .md context files from Tab 5’s 1-click download bar — or let Atlas deliver them automatically through Discord — and drop them into the notebook, pruning superseded versions.

The whole round trip — build, compile, inspect, download, archive — takes me under five minutes and involves no terminal at all. That speed is the point: when refreshing project memory is cheaper than skipping it, I simply never fall back into the trap of asking an AI to describe a server it has never seen.


Where This Connects Next

🟢 WordPress Gutenberg Page Content 🔒 Google OAuth HP-AI-Server-App Compliant