Back to main

The Cognitive Harness: Decoupling AI Persona from Project Context

The Silicon is Just Raw Compute

In the current paradigm of AI interaction, we treat the “System Prompt” as a configuration file for a specific chat or project. This is a fundamental category error. It is the equivalent of reinstalling your entire Operating System and re-configuring your user profile every time you open a new folder in your terminal.

If the LLM is the “Silicon” (the raw reasoning power), then the instructions we provide are the Harness.

When I move from working on my blog to working on a low-level systems tool like clicky, I don’t want a “new” AI. I want my AI. I want the same architectural rigor, the same stoic persona, and the same “Strategic Quad” reporting structure that I’ve spent months hardening.

I need a Sovereign Harness.

The Problem: Contextual Amnesia

Currently, AI “personas” are tethered to the environment they inhabit. If you use a custom GPT, it lives in that UI. If you use a local system_prompt.txt, it lives in that repo. When you switch projects, you suffer from Contextual Amnesia.

You lose:

  1. Identity: The specific tone and persona that understands your shorthand.
  2. Invariants: The hard rules (e.g., “Never use placeholders,” “Always prioritize forensic auditing”).
  3. Tooling: The custom scripts and specialist agents that make the AI useful.

The Proposal: The Sovereign Harness Protocol (SHP)

We are formalizing a protocol to decouple the Harness from the Project.

Under this model, a Harness is a portable, versioned asset that can be “mounted” onto any directory. It consists of three primary layers:

  1. Identity (The Soul): The high-level persona (e.g., Teddy, the Systems Architect).
  2. Invariants (The Constitution): Immutable rules of engagement that do not change regardless of the code being written.
  3. Specialists (The Hands): A registry of tools and sub-agents that the harness knows how to invoke.

Milestone 1: Physical Decoupling (COMPLETE)

As of today, we have successfully decoupled the “Teddy Architect” harness from the local project configuration.

Technical Achievement:

  • Centralized Storage: All Teddy-related persona logic now lives in ~/dotfiles/soul/harnesses/teddy-architect/v1/.
  • The Mount Protocol: We created a mount.sh script that projects this harness into the Gemini CLI’s agent directory using symlinks.
  • Atomic Tooling: The specialist registry is now versioned alongside the harness identity.

Now, whether I am in my blog repo or a new systems project, I simply run:

./mount.sh ~/dotfiles/soul/harnesses/teddy-architect/v1 teddy

And Teddy is instantly active, carrying over all my preferences, rules, and custom tools.

In the next post, I’ll dive into Milestone 2: Multi-Agent Orchestration, where we allow the harness to dynamically swap sub-agents based on the task at hand.

Back to main