Chat: real system prompt template for Archie (identity, tools, env) #921

Closed
opened 2026-10-27 13:38:18 +00:00 by sam · 0 comments
Owner

The chat agent's system prompt is the four-sentence static string in gateway.DefaultPersonas(). It carries no tool inventory, no environment/date block, and no instruction precedence, so the model invents its own capabilities -- it told Sam it 'only has the memory editing tool' and then offered to walk him through installing software it cannot install.

Take the shape from tau: /work/apps/tau/internal/agent/templates/agent.md.tpl renders an agent body plus , , <project_context> and blocks, and /work/apps/tau/internal/agent/spec/templates/tau.agent.md supplies identity, instruction precedence, core rules, communication rules and confirmation boundaries.

Keep the existing PersonaRegistry as the style layer; the template is the substrate it renders into.


Imported from beads archie-core-1786637500110-393-7a04f121 · GitHub #414 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-08

The chat agent's system prompt is the four-sentence static string in gateway.DefaultPersonas(). It carries no tool inventory, no environment/date block, and no instruction precedence, so the model invents its own capabilities -- it told Sam it 'only has the memory editing tool' and then offered to walk him through installing software it cannot install. Take the shape from tau: /work/apps/tau/internal/agent/templates/agent.md.tpl renders an agent body plus <tools>, <guidelines>, <project_context> and <env> blocks, and /work/apps/tau/internal/agent/spec/templates/tau.agent.md supplies identity, instruction precedence, core rules, communication rules and confirmation boundaries. Keep the existing PersonaRegistry as the style layer; the template is the substrate it renders into. --- _Imported from beads `archie-core-1786637500110-393-7a04f121` · GitHub #414 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-08_
sam added the mediumfeature labels 2026-10-27 13:38:18 +00:00
sam self-assigned this 2026-10-27 13:38:18 +00:00
sam closed this issue 2026-10-27 13:38:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#921