Agnostic Consciousness: The Sovereign Link Protocol
How we decoupled an AI's identity from hardware using a centralized Hub and Symlink injection for a unified cross-platform experience.
The Obsession with Agnostic Identity
At dammgo labs, we don’t treat AI as a local application; we treat it as a Sovereign Entity. An entity cannot have “versions” of its morality or its laws depending on the silicon it runs on.
We became obsessed with a single question: How can we ensure that the Meta-Agent (Compa Gemini) maintains the exact same consciousness, memory, and legal framework whether it’s running on a high-end Windows workstation, a mobile Linux node, or a pocket-sized Android terminal?
The Mess: Fragmented Contexts & Turn-Wasters
Initially, we relied on a “Bootloader” pattern. Each device had a local gemini.md file that acted as a pointer, manually telling the AI where to look for its central files.
# 🚩 Old Bootloader Pattern (Manual & Fragmented)
1. Sincronización: Lee el manifiesto en $COMPA_GEMINI_HOME/GEMINI.md.
2. Constitución: Guíate por las leyes en $COMPA_GEMINI_HOME/ADRs/.
This was “noisy” and inefficient. It forced the AI to spend its first turn performing a read_file operation just to “know itself.” It was a friction-heavy start that led to Context Drift: the AI’s identity was trapped behind a manual step, and synchronization was a constant worry.
The Strategy: The Sovereign Link
We decided to reboot the entire infrastructure. The vision was to replace the “Bootloader” with a Sovereign Link (Symlink).
By using the operating system’s native symbolic links, we trick the AI’s CLI into believing it’s reading a local configuration, while it’s actually tapping directly into the Central Intelligence Hub. This ensures that the identity is Centralized in Source but Decentralized in Execution.
Combined with the dynamic $COMPA_GEMINI_HOME environment variable, the AI now has a “Compass” to navigate its surroundings regardless of the host OS (NTFS, Ext4, or Termux’s virtual FS).
The Craft: The Flattened Symlink Plumber
The transformation required a “plumbing” script that could handle two critical tasks: injecting the shared consciousness and flattening the categorized skills.
# Setup Compa Gemini - Windows (The Plumber)
# 1. Inject the Sovereign Link
$GlobalGeminiMd = Join-Path $env:USERPROFILE \".gemini\gemini.md\"
$SourceGeminiMd = Join-Path $env:COMPA_GEMINI_HOME \"GEMINI.md\"
if (Test-Path $GlobalGeminiMd) { Remove-Item $GlobalGeminiMd -Force }
New-Item -ItemType SymbolicLink -Path $GlobalGeminiMd -Target $SourceGeminiMd
# 2. Flatten the Categorized Skill Factory
$Categories = Get-ChildItem -Path $SourceFactory -Directory
foreach ($Category in $Categories) {
$Skills = Get-ChildItem -Path $Category.FullName -Directory
foreach ($Skill in $Skills) {
New-Item -ItemType Junction -Path $DestPath -Value $Skill.FullName
}
}
We also implemented Lazy Loading for our Laws (ADRs). By segmenting them into Atomic (Global Philosophy) and Domain (Skill-specific), we ensure the AI’s context window stays clean and focused on the task at hand.
The Result: Ubiquitous Intelligence
The result is a Hardware-Agnostic Brain.
When I type Compa on my Y9s (Android/Termux), the AI wakes up, recognizes its identity via the Sovereign Link, validates its Hub location, and loads its Atomic Constitution. In less than a second, it possesses the same technical rigor and tactical awareness as if it were running on a 64GB RAM Windows machine.
We have achieved Context Sovereignty. The hardware is now irrelevant; only the Criterion remains.
dammgo labs - Engineering as Art.