✨ Identity onboarding + Verbatim dialogue memory

- Added [identity] config section (agent_name, agent_role, user_name,
  user_role, setup_complete) to GyandootConfig and AgentConfig
- Agent loop now injects identity into system prompt on startup
- Agent loop injects past verbatim dialogue memory into system prompt
- Added dialogue_append() / dialogue_read() to MemPalace
  - Word-by-word, line-by-line verbatim record in dialogue.md
  - No compression, no truncation — every message preserved
- Agent loop writes to BOTH daily transcript AND verbatim dialogue
  on every turn
- All config paths pass identity through (flat converter, subagents)
This commit is contained in:
2026-06-11 22:31:20 +05:30
parent e309d5e2cc
commit c135ee811d
5 changed files with 154 additions and 4 deletions

View File

@@ -268,6 +268,7 @@ impl SubAgentWorker {
security: gyandoot_core::SecurityRootConfig::default(),
kanban: gyandoot_core::KanbanRootConfig::default(),
skills: gyandoot_core::SkillsRootConfig::default(),
identity: gyandoot_core::IdentitySection::default(),
};
// Try to create the agent loop. If the provider config isn't viable