Skip to content

Research: Investigate Hermes agent's "soul" implementation #14

Closed

Description

@JAORMX

Overview

Research spike to understand how the Hermes agent implements its "soul" concept and evaluate whether it could be applied to mecatl.

Goals

  • Study Hermes agent's "soul" architecture and implementation
  • Document key concepts and patterns
  • Assess feasibility and desirability for mecatl
  • Propose integration approach if applicable

Type

Spike / Research

Activity

  1. JAORMX commented on Jun 4, 2026

    @JAORMX
    ContributorAuthor

    Done — researched and implemented end-to-end (pushed to main).

    The framing finding: Hermes's "soul" (SOUL.md) is a static, agent-read-only identity anchor — the agent has no write path to it. The "self-improving / deepening model of you" is a separate concern (memory / USER.md / skills). "Who the agent is" (static) vs "what it knows" (the learning loop). Full writeup + the SOUL.md-ecosystem survey + security/governance threat model: docs/design/SOUL-SPIKE.md.

    Shipped for mecatl:

    • Phase 1 (1a3772e) — user-scoped, agent-read-only persona at ~/.config/mecatl/soul.md, injected via a SoulAssembler (bounded read, injection scan, fence reject, fail-soft, never in the cache-stable prefix). Also extracted internal/adapter/xdgconfig.
    • Phase 2 (48b7af5) — the user-model learning loop: a cross-project user-scoped store of facts about the operator (RememberUser/RecallUser/SearchUserModel, default-on) + an opt-in Stop-time background-review fork + consolidation (off by default). Facts, never rules.
    • Phase 3 — drift detection + integrity baseline (2577088), trust-gated project/imported soul via --trust-project, fail-closed (e474805), and /soul + /usermodel read-only TUI inspection (4ebbea8).
    • Permission posture (00ebf09) — memory ops and soul application are pre-approved but explicit (ScopeBuiltinDefault Allow rules: auditable + overridable to Ask/Deny), keeping the deny-dominant / Ask-floor invariants for real tools intact.

    Recorded non-goals (decisions, not deferrals — SOUL-SPIKE.md §8): external dialectic modeling (Honcho-style) — contradicts mecatl's local-first posture; per-user multi-tenant keying — speculative, no multi-user surface exists. Each becomes in-scope only via its own RFC / when that surface lands.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions