🛸

[Project 4c] Hermes Control Plane

Treating AI Agent Identity, Skills, and Deployment as Versioned Infrastructure
notion image
👉🏻
Executive Summary
Hermes Control Plane is the versioned operational layer for a personal AI agent fleet. It is not an application — it stores no business logic and runs no user-facing features. Instead, it is the source of truth for agent identity, skills, deployment configuration, policies, and runbooks across seven distinct profiles. Treating agent configuration as code — version-controlled, deployable, and governed by explicit policies — turns what is typically implicit and fragile (how an AI agent behaves, what it can access, what it is allowed to do) into something auditable, reproducible, and safe to evolve. The control plane pattern separates the work of defining agent behavior from the work of running it, and it makes the difference between operating an AI fleet and hoping one behaves correctly.
  • Type: 🧭 Personal AI Operations Infrastructure (Non-Commercial)
  • Context: Operational layer coordinating seven agent profiles across a 5-repo PM intelligence stack running on iMac + MacBook
  • Focus: How agent identity, skills, and deployment policies are version-controlled and deployed as first-class infrastructure

🎯 Objective

When you operate more than one AI agent — each with a distinct role, a different set of allowed tools, and a different behavioral contract — the questions multiply quickly. What exactly does this agent know about itself? Which files is it allowed to read? Which tools require explicit approval? What happens if a skill changes — how do you push that change safely without disrupting a live agent? What is the source of truth for agent behavior?
Without a dedicated control plane, these questions don't have clean answers. Agent configuration lives in scattered files. Behavior is defined implicitly by model defaults. Deployments are manual and untracked. There is no audit trail for who changed what, or when.
This project was built to give those questions precise answers — by applying infrastructure principles to AI agent operations. Agent identity is declared in a versioned file. Skills are code-reviewed before deployment. Policies are explicit and scoped per profile. Deployment is a reproducible make command. The result is an AI fleet that can be operated, audited, and evolved with the same discipline as a software service.

⚙️ Control Plane Design Pattern

A control plane, in infrastructure terms, is the layer that governs how a system behaves — separate from the data plane that does the actual work. Hermes Control Plane applies this pattern to AI agent operations.
This repo stores no application code. It stores:
File
Purpose
SOUL.md
Agent identity, behavioral stance, and hard limits
SKILL.md
Structured definition of each skill the agent can invoke
config.template.yaml
Paths, access grants, cron definitions, MCP sources
policies/
Path allowlists, tool approval rules, secret handling guidelines
docs/hermes/runbooks.md
Step-by-step operational procedures
The distributions/<profile>/ directory is the source of truth for each agent profile. Deploying means copying these files into the agent's live profile home — the running agent reads from its profile home, never from this repo directly. MEMORY.md in the live runtime is never overwritten by deploy: it is the agent's persistent log, owned by the running agent, not the control plane.

🤖 Agent Fleet — Profile Design

Eight profiles, each with a distinct operational identity declared in a versioned SOUL.md:
Name
Role
Iris (ops)
PM pipeline operations — gate bridging, wiki sync
Jax (avatar)
Jack's PM judgment proxy — read-only recommendations at Gates 1, 2 and 3; it advises, never executes
Vega (eval)
Daily evaluator — system health digest, drift detection, never alters what it observes
Cleo (interview-ops)
Interview preparation engine — backlog management, wiki-grounded evidence retrieval, answer compilation
Juno (career-ops)
Opportunity scout — reads the market for openings and drafts the approach to each
Orin (domain-ops)
Domain tutor — teaches what the postings asked for and the evidence did not cover, then quizzes it
Quill (publisher)
Portfolio publishing — Notion page updates via project-publisher CLI
Wren (writer)
Thought-leadership posts in Jack's voice — owns the full lifecycle from draft to the Notion publish
Each profile is defined by its SOUL.md — a structured text file that declares the agent's identity, behavioral stance, and hard limits. This is the most deliberate design decision in the project: agent identity is explicit, human-readable, and version-controlled. It is not implied by the model, not embedded in code, and not invisible until something goes wrong.
Skills are defined as SKILL.md files scoped to each profile — the equivalent of function definitions in natural language. The ops profile carries the most skills, reflecting its role as the always-on pipeline operator:
Skill
Purpose
gate0-signal-intake
Read historical Gate 0 intake records; no new intake or run starts
signal-brief
Show the S2 insight memo to the PM when Gate 1 opens; optionally archive a curated signal brief to the wiki after PM confirmation
wiki-export
Poll completed/killed runs and sync S7 reports to wiki raw layer
compiled-copy-review
Resync the two wiki-compiled copies in pm-decision-context (00-pm-identity and 17-judgment-patterns), with human approval
hermes-ops-control-plane
Gate 2/3 polling, approval relay, run status monitoring
The publisher profile uses a dedicated CLI tool (project-publisher) rather than direct API calls for all Notion operations — enforcing page targeting and maintaining an audit trail of every write. The design rationale behind this CLI approach is covered in Project 4d: Agentic AI System Integration.

🔧 Deployment Model

Hermes Control Plane separates versioned definitions from live runtime state. Each profile is authored under distributions/<profile>/ as the source of truth, then deployed into the corresponding ~/.hermes/profiles/<profile> home that the running agent actually reads from. The operational entry point is the repo’s machine-aware make interface: ~/.hermes/role declares the host role, and a value of ops enables ops-host-only deploy targets such as make ops-deploy and make avatar-deploy. Those targets copy updated profile assets into the live home and reload the gateway service in one step; on a dev host, the guard fails fast instead. The same Makefile also handles host-sensitive status checks, health checks, smoke tests, and repo sync. One important implementation detail is that deploys are additive, not destructive: they refresh the versioned assets but do not overwrite live MEMORY.md state or automatically remove runtime residue that the agent created after earlier deploys. That makes deployment predictable, but it also means profile maintenance includes periodic cleanup and verification of live-only files that no longer belong in the control plane.

⏱️ Cron & Automation Model

Scheduled work is treated as a controlled operating surface rather than an ad hoc collection of background scripts. The control plane documents a fleet of Hermes-owned cron jobs for gate watching, Gate 0 intake, wiki export, publisher drift reporting, writer and interview nudges, repo sync, provider-auth monitoring, and system-health watchdogs. The default pattern is deliberately conservative: jobs run as deterministic --no-agent scripts, and only a small subset use a detect → compose flow that wakes an LLM-backed skill when there is real work to do. Cron declarations are installed from versioned shell installers into each profile’s runtime store, but they are created paused by default, making enablement a separate operational decision rather than a side effect of deploy. The repo also codifies supporting rules that matter in production — reconcile instead of blindly recreating jobs, write state atomically, route self-notifying jobs through their own delivery path, and log each run so PM Observatory can surface cron health. In practice, this turns automation from “scripts that happen to run” into a governed subsystem with explicit ownership, failure visibility, and repeatable rollout.

🛡️ Policy & Governance Layer

Three policy files define what each agent is allowed to do:
Path allowlists — per-profile filesystem read/write scope. Each profile has an explicit list of directories it can access. Anything outside that list requires explicit human approval.
Tool approval policy — which tools each profile can invoke autonomously vs. which require human approval before execution. Destructive operations are blocked or require approval; network actions to new notification destinations require approval; routine allowlisted work, including ops’ wiki exports and pushes, can proceed without escalation.
Secret handling — how each profile is expected to handle credentials, tokens, and sensitive paths. Agents are prohibited from reading, logging, or transmitting secrets outside defined channels.
These policies are governance declarations read by the agent as part of its operational context — not runtime enforcement by a separate system. Making them explicit, human-readable, and version-controlled is itself the point: implicit policy is no policy.

⚖️ Design Trade-offs & Constraints

The biggest trade-off is explicitness over convenience. Declaring agent identity in SOUL.md, skills in SKILL.md, and policies in separate files means more files to maintain. The alternative — letting agent behavior emerge from model defaults and conversational context — is faster to start but opaque, inconsistent, and hard to audit as the fleet grows.
Externalizing scheduling and operational logic to Hermes rather than embedding it in pm-engine keeps each system's scope clean. pm-engine owns workflow execution; Hermes owns operations. The API contract between them is the boundary. This makes each repo independently deployable and testable, and it means a change to how Hermes harvests signals doesn't require touching the engine.
The make-based ops model adds a small layer of indirection, but every operational action is documented, machine-aware, and reproducible. There is no operational knowledge that lives only in someone's memory.

🧠 PM Learning Outcomes

This project reinforced that operating AI agents at any scale — even personal scale — requires the same infrastructure discipline as operating software services. Version control, deployment scripts, explicit policies, and audit trails are not overkill for a personal AI fleet. They are what makes the fleet safe to evolve without regressions.
It also clarified the value of separation of concerns in an AI context. When agent identity, skills, and configuration are separate files with a clear owner and update cadence, the operational surface becomes manageable. Changing a skill doesn't require touching identity. Updating a path allowlist doesn't require rewriting a prompt. Each change is scoped, reviewable, and deployable independently.
The most practical insight: make the implicit explicit. AI agent behavior that lives in model defaults or conversational context is invisible until it breaks. Behavior that lives in version-controlled files is visible, auditable, and improvable.

🗺️ How This Fits Into the Larger System

  • Project 4c: Hermes Control Plane ← here — the operational layer that keeps both running
Together, these projects show how a PM intelligence stack is not just built, but operated: signals become decisions, decisions become knowledge, and the agent fleet that connects them is governed as infrastructure.