Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(daemon): correct the Hermes overlay's skill-less claim (#6703)
Bohan Jiang673104d26e2d
diff --git a/CLI_AND_DAEMON.md b/CLI_AND_DAEMON.mdindex 7a863fe611..592605dc85 100644--- a/CLI_AND_DAEMON.md+++ b/CLI_AND_DAEMON.md@@ -325,7 +325,7 @@ Consequences worth knowing:- **To carry existing local memory in**, copy it into the store once: `cp -R ~/.hermes/memories/. "<profile dir>/hermes-state/<agent-id>/default/"`. To wipe an agent's memory, delete that directory.- **Session history is not covered.** `state.db` and its WAL sidecars stay task-local: sharing a live SQLite database across one agent's concurrent tasks needs lock and consistency handling (plus Windows byte-range locks on `-shm`) that plain memory files do not. The agent remembers accumulated notes, not previous transcripts.- **Concurrent tasks of one agent are last-writer-wins.** Hermes rewrites its memory files whole, so two tasks writing memory at the same time can overwrite each other.-- **A Hermes agent with no skills bound gets no overlay at all** and therefore still runs against the user's real `~/.hermes`, memory included — unchanged behaviour.+- **Every Hermes agent gets the overlay in practice**, so every one of them gets a persistent memory store. The daemon builds the overlay only when a task carries skills, but the server appends Multica's built-in skills to every agent's skill set (`LoadAgentSkillBundles`), so that list is never empty — leaving an agent's own skill list empty does not opt out of the overlay, and is not a way to keep using the host's `~/.hermes/memories`.- `MULTICA_HERMES_TASK_MEMORY=1` on the daemon reverts to the previous behaviour, a fresh task-local `memories/` per task.`MULTICA_CLAUDE_ARGS`, `MULTICA_CODEX_ARGS`, `MULTICA_CODEBUDDY_ARGS`, `MULTICA_QWEN_ARGS`, and `MULTICA_QWENPAW_ARGS` are parsed with POSIX shellword quoting, so values such as `--model "gpt-5.1 codex" --sandbox read-only` are split like a shell command line. Agent arguments are applied in this order: hardcoded Multica defaults, daemon-wide env defaults, then per-agent `custom_args` from the task.diff --git a/server/internal/daemon/execenv/execenv.go b/server/internal/daemon/execenv/execenv.goindex 225f97b024..0bb31b419e 100644--- a/server/internal/daemon/execenv/execenv.go+++ b/server/internal/daemon/execenv/execenv.go@@ -383,6 +383,12 @@ func Prepare(params PrepareParams, logger *slog.Logger) (*Environment, error) {// skills visible — Hermes discovers skills only from its home, so the old// .agent_context/skills/ fallback was never read (issue #5242). See// hermes_home.go.+ //+ // Note this is a local contract, not an observable product behaviour: the+ // server appends the platform's built-in skills to every agent's skill set+ // (service.LoadAgentSkillBundles), so a claimed task's AgentSkills is never+ // empty and the skill-less branch is effectively unreachable in production.+ // Emptying an agent's own skill list is NOT a way to opt out of the overlay.if params.Provider == "hermes" && len(params.Task.AgentSkills) > 0 {hermesHome := filepath.Join(envRoot, "hermes-home")if err := prepareHermesHome(hermesHome, params.HermesSourceHome, params.HermesSourceMustExist, params.Task.AgentSkills, params.HermesEnv, params.HermesMemoryStore, logger); err != nil {