package elderagent import ( _ "embed" "strings" ) //go:embed prompts/event_time.txt var eventTimeGuidance string // Apply at preparation so both existing and newly provisioned bots receive the // same guidance without modifying their saved persona or prior call snapshot. func withEventTimeGuidance(role string) string { guidance := strings.TrimSpace(eventTimeGuidance) if strings.Contains(role, guidance) { return role } return strings.TrimSpace(role) + "\n" + guidance }