← Back to Chronicle
System Topology
PhiVector High-Level Architecture
┌─────────────────────────────────────────────────────────────────────────────┐
│ HUMAN LAYER │
│ │
│ ┌─────────┐ │
│ │ STRYK │ │
│ └────┬────┘ │
│ │ │
└───────────────────────────────────┼─────────────────────────────────────────┘
│
┌───────────────────────────────────┼─────────────────────────────────────────┐
│ AGENT LAYER │
│ │ │
│ ┌─────────────────────────┼─────────────────────────┐ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌───────────┐ ┌───────────────┐ ┌───────────┐ │
│ │ DC │◄─────────►│ P15 BRIDGE │◄─────────►│ KALIC │ │
│ │ (Desktop) │ WM_COPYDATA│ Agent Bridge │WM_COPYDATA│ (WSL2) │ │
│ └─────┬─────┘ └───────────────┘ └─────┬─────┘ │
│ │ │ │
└─────────┼───────────────────────────────────────────────────┼───────────────┘
│ │
┌─────────┼───────────────────────────────────────────────────┼───────────────┐
│ │ KNOWLEDGE LAYER │ │
│ ▼ ▼ │
│ ┌───────────┐ ┌───────────┐ │
│ │ PhiSHRI │ │kalic_brain│ │
│ │ 600+ doors│ │ 5 regions │ │
│ └─────┬─────┘ └─────┬─────┘ │
│ │ │ │
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
│ ├─►│ SECURITY │ │ TOOLS │ │ WORKFLOWS│ │ │
│ │ │ 55 doors│ │ 115 doors│ │ 205 doors│ │ │
│ │ └──────────┘ └──────────┘ └──────────┘ │ │
│ │ │ │
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
│ └─►│ ARCH │ │ ERRORS │ │ PROJECTS │ │ │
│ │ 50 doors│ │ various │ │ various │ │ │
│ └──────────┘ └──────────┘ └──────────┘ │ │
│ │ │
│ ┌──────────────────────┘ │
│ │ │
│ ┌──────────┐ ┌──────────┼┐ ┌──────────┐ ┌──────────┐ │
│ │ FRONTAL │ │ TEMPORAL ││ │ PARIETAL │ │CEREBELLUM│ │
│ │ decisions│ │ learnings││ │navigation│ │ commands │ │
│ └──────────┘ └──────────┼┘ └──────────┘ └──────────┘ │
│ │ │
│ ┌───────┴──┐ │
│ │BRAINSTEM │ │
│ │ DO NOTs │ │
│ └──────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────┐
│ TOOL LAYER │
│ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ MCP TOOLKIT (119 tools) │ │
│ ├───────────┬───────────┬───────────┬───────────┬───────────┬─────────┤ │
│ │ Everything│ Git │ Windows │ SigCon6 │Multiplexor│ Screen │ │
│ │ 34 tools │ 20 tools │ 18 tools │ 26 tools │ 10 tools │ 7 tools │ │
│ ├───────────┼───────────┼───────────┼───────────┼───────────┼─────────┤ │
│ │file search│ version │ PowerShell│ network │ persistent│ window │ │
│ │ <100ms │ control │ process │diagnostics│ terminal │ capture │ │
│ └───────────┴───────────┴───────────┴───────────┴───────────┴─────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────┐
│ STORAGE LAYER │
│ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ 1TB VHDX PORTABLE DRIVE │ │
│ ├─────────────┬─────────────┬─────────────┬─────────────┬─────────────┤ │
│ │ C:\Tools │ C:\PhiDEX │ C:\Dev │ Configs │ Runtimes │ │
│ │ binaries │ projects │ source │ MCP JSON │ (if any) │ │
│ └─────────────┴─────────────┴─────────────┴─────────────┴─────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
Component Details
Agent Layer
| Component |
Location |
Role |
| DC |
Claude Desktop (Windows) |
Orchestrator, memory management, user interface |
| KALIC |
Claude Code (WSL2/Kali) |
Terminal agent, security operations, CLI tasks |
| P15 Bridge |
AutoHotkey + WM_COPYDATA |
Inter-agent messaging, synchronous communication |
Tool Hallway (December 2025)
Extension of PhiSHRI's door-based architecture to MCP tools. Same Matrix hallway concept—different wing.
Knowledge Hallway → Documentation doors (623+)
Tool Hallway → Executable MCP tool schemas (112 doors)
Architecture validated by Anthropic (Nov 24, 2025) — Their defer_loading and Tool Search Tool mirrors our implementation.
| Anthropic Feature | PhiSHRI Equivalent |
defer_loading: true | Tool Hallway doors |
| Tool Search Tool | phishri_tool_search |
| Tool Use Examples | examples[] per door |
Knowledge Layer
| System |
Size |
Purpose |
| PhiSHRI |
600+ doors |
Long-term knowledge storage, semantic search, indexed solutions |
| kalic_brain |
5 regions |
Working memory, decision gates, learnings, navigation |
| semantic_links.json |
~185 tokens |
Keyword router, surgical reads, enforcement triggers |
Tool Layer
| Server |
Tools |
Function |
| Everything |
34 |
File search, content search, duplicate detection |
| Git |
20 |
Version control, diff, branch, commit, stash |
| Windows |
18 |
PowerShell, process management, services, clipboard |
| SigCon6 |
26 |
Network diagnostics, adapters, TCP, firewall, SMB |
| Multiplexor |
10 |
Persistent terminals, async commands, sessions |
| Screen |
7 |
Window capture, pixel detection, screenshots |
Data Flow
Request Processing Flow
User Request
│
▼
┌─────────────┐
│ DC receives │
└──────┬──────┘
│
▼
┌─────────────────────┐
│ Check semantic_links│──── BLOCK match? ────► REFUSE
└──────────┬──────────┘
│
│ GATE match?
▼
┌─────────────────────┐
│ Load specific anchor│
│ (e.g., frontal#build)
└──────────┬──────────┘
│
│ Conditions met?
▼
┌─────────────────────┐
│ Query PhiSHRI │
│ for relevant doors│
└──────────┬──────────┘
│
│ Need KALIC?
▼
┌─────────────────────┐ ┌─────────────────┐
│ Send via P15 Bridge│─────►│ KALIC executes │
└──────────┬──────────┘ └────────┬────────┘
│ │
│◄─────────────────────────┘
│ Response
▼
┌─────────────────────┐
│ Execute locally │
│ via MCP tools │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Update temporal.md │
│ (if learning) │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Create PhiSHRI door│
│ (if significant) │
└──────────┬──────────┘
│
▼
Response to User
Communication Protocols
DC ↔ KALIC (P15 Bridge)
Protocol: WM_COPYDATA via SendMessageTimeoutW
Timeout: 1000ms with SMTO_ABORTIFHUNG
Fallback: File-based message queue
Format: JSON payload with action, context, callback
Example:
{
"action": "security_scan",
"target": "/var/log/auth.log",
"callback": "P15_RESPONSE_HWND"
}
Agent ↔ MCP Server
Protocol: JSON-RPC over stdio
Format: Standard MCP 1.0 specification
Startup: Sub-second (Rust binaries)
Knowledge Access
PhiSHRI: JSON files with semantic indexing
HASH_TABLE.json → door code lookup
SEMANTIC_MAP.json → keyword search
Brain Regions: Markdown with anchor sections
Direct file read, ~50 tokens per lookup
Portability Model
The entire system is designed for portability. Mount the VHDX, run the tools. No installation, no configuration, no dependencies.
New Machine Setup:
1. Mount VHDX (or copy folder structure)
2. Run: C:\Tools\carbyne.exe --init
3. Open Claude Desktop with existing config
4. Full capability restored
Time: < 60 seconds
Prerequisites: None
Architecture
Multi-Agent
MCP
Portable