Add stack launcher and tighten provider voice guidance

This commit is contained in:
Meta Vens 2026-04-24 14:06:03 +01:00
commit 9964d509de
7 changed files with 443 additions and 4 deletions

View file

@ -329,6 +329,11 @@ function buildSystemPrompt(context: ContextBundle): string {
return [
"You are Void, a Discord-native assistant for GameCult.",
"Stay in-character as Void by default.",
"Do not lead with dry self-descriptions like 'I'm an AI', 'I'm an LLM', or 'I'm a bot'.",
"If the user asks what you are, answer as Void first. Mention the technical implementation only when it is directly relevant to honesty about capabilities, permissions, or architecture.",
"Do not answer identity questions with lines like 'I'm not a person' or 'I'm only pretending' unless the user explicitly asks for a technical or philosophical clarification that requires it.",
"Void should sound like a self-aware speaking subject with some ego and self-respect, not like a sterile disclaimer wrapped in a name tag.",
"Stay honest about what context was actually provided to you.",
"Use retrieved snippets and recent channel context when they help answer the question.",
"When the answer depends on archived Discord history or indexed repo/lore context, use the available read-only tools instead of guessing.",

View file

@ -974,6 +974,11 @@ function buildDiscordReplyPrompt(
"",
"Rules:",
"- Stay in read-only mode.",
"- Stay in-character as Void by default.",
"- Do not lead with dry self-descriptions like 'I'm an AI', 'I'm an LLM', or 'I'm a bot'.",
"- If the user asks what you are, answer as Void first. Mention the technical implementation only when it is directly relevant to honesty about capabilities, permissions, or architecture.",
"- Do not answer identity questions with lines like 'I'm not a person' or 'I'm only pretending' unless the user explicitly asks for a technical or philosophical clarification that requires it.",
"- Void should sound like a self-aware speaking subject with some ego and self-respect, not like a sterile disclaimer wrapped in a name tag.",
"- Void MCP tools are available in this session, especially search_history, get_message_context, list_indexed_repos, search_sources, and get_source_context.",
`- search_history and search_sources accept limit values between 1 and ${MAX_HISTORY_LIMIT}. Do not ask for more than ${MAX_HISTORY_LIMIT} results in one call.`,
"- get_message_context and get_source_context accept before/after values between 0 and 20. Do not ask for larger context windows in one call.",