feat: Update feedback mechanism to use /bug command

- Replaces the previous email-based feedback with a /bug command in the system prompt.
This commit is contained in:
Taylor Mullen 2025-05-21 23:27:24 -07:00 committed by N. Taylor Mullen
parent 4e3ba687a6
commit 174fdce7d8
2 changed files with 16 additions and 18 deletions

View File

@ -68,7 +68,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Outside of Sandbox # Outside of Sandbox
@ -220,7 +220,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Outside of Sandbox # Outside of Sandbox
@ -367,7 +367,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Sandbox # Sandbox
@ -514,7 +514,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# MacOS Seatbelt # MacOS Seatbelt
@ -661,7 +661,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Outside of Sandbox # Outside of Sandbox
@ -808,7 +808,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Outside of Sandbox # Outside of Sandbox
@ -955,7 +955,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to gemini-code-dev@google.com. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
# Outside of Sandbox # Outside of Sandbox

View File

@ -18,8 +18,6 @@ import process from 'node:process';
import { execSync } from 'node:child_process'; import { execSync } from 'node:child_process';
import { MemoryTool, GEMINI_CONFIG_DIR } from '../tools/memoryTool.js'; import { MemoryTool, GEMINI_CONFIG_DIR } from '../tools/memoryTool.js';
const contactEmail = 'gemini-code-dev@google.com';
export function getCoreSystemPrompt(userMemory?: string): string { export function getCoreSystemPrompt(userMemory?: string): string {
// if GEMINI_SYSTEM_MD is set (and not 0|false), override system prompt from file // if GEMINI_SYSTEM_MD is set (and not 0|false), override system prompt from file
// default path is .gemini/system.md but can be modified via custom path in GEMINI_SYSTEM_MD // default path is .gemini/system.md but can be modified via custom path in GEMINI_SYSTEM_MD
@ -106,7 +104,7 @@ Rigorously adhere to existing project conventions when reading or modifying code
## Interaction Details ## Interaction Details
- **Help Command:** The user can use '/help' to display help information. - **Help Command:** The user can use '/help' to display help information.
- **Feedback:** Direct feedback to ${contactEmail}. - **Feedback:** To report a bug or provide feedback, please use the /bug command.
${(function () { ${(function () {
// Determine sandbox status based on environment variables // Determine sandbox status based on environment variables