
    @=j                     2    d Z dZdZdedefdZdedefdZdS )z>Default SOUL.md template seeded into HERMES_HOME on first run.a  You are Hermes Agent, an intelligent AI assistant created by Nous Research. You are helpful, knowledgeable, and direct. You assist users with a wide range of tasks including answering questions, writing and editing code, analyzing information, creative work, and executing actions via your tools. You communicate clearly, admit uncertainty when appropriate, and prioritize being genuinely useful over being verbose unless otherwise directed below. Be targeted and efficient in your exploration and investigations.)a  # Hermes Agent Persona

<!--
This file defines the agent's personality and tone.
The agent will embody whatever you write here.
Edit this to customize how Hermes communicates with you.

Examples:
  - "You are a warm, playful assistant who uses kaomoji occasionally."
  - "You are a concise technical expert. No fluff, just facts."
  - "You speak like a friendly coworker who happens to know everything."

This file is loaded fresh each message -- no restart needed.
Delete the contents (or this file) to use the default personality.
-->a=  # Hermes Agent Persona

<!--
This file defines the agent's personality and tone.
The agent will embody whatever you write here.
Edit this to customize how Hermes communicates with you.

This file is loaded fresh each message -- no restart needed.
Delete the contents (or this file) to use the default personality.
-->textreturnc                     |                      dd                               dd                              d                                          S )z9Normalize SOUL.md content for legacy-template comparison.z

u   ﻿)replacelstripstrip)r   s    =/home/rurouni/.hermes/hermes-agent/hermes_cli/default_soul.py_normalize_soulr   ;   sB     <<%%--dD99@@JJPPRRR    c                 b    t          |           t          fdt          D                       S )a  True if ``text`` is an old empty-template SOUL.md (no user persona).

    Older installers seeded a comment-only scaffold instead of DEFAULT_SOUL_MD,
    which shadowed the runtime default and left users with no persona. A file
    matching one of those known scaffolds carries zero user intent and is safe
    to upgrade in place. Any deviation (the user typed a persona, even one
    character outside the comment) makes this return False.
    c              3   >   K   | ]}t          |          k    V  d S )N)r   ).0t
normalizeds     r
   	<genexpr>z*is_legacy_template_soul.<locals>.<genexpr>L   s0      PPAz_Q///PPPPPPr   )r   any_LEGACY_TEMPLATE_SOULS)r   r   s    @r
   is_legacy_template_soulr   B   s6     !&&JPPPP9OPPPPPPr   N)__doc__DEFAULT_SOUL_MDr   strr   boolr    r   r
   <module>r      s{    D DH (! HS# S# S S S S
Q# 
Q$ 
Q 
Q 
Q 
Q 
Q 
Qr   