From 30107fd877f164b68c68b2960d680a4570130378 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 2 May 2026 12:04:50 -0400 Subject: [PATCH] conductor(checkpoint): Checkpoint end of Phase 1 --- .../hidden_prompts_audit.md | 38 +++++++++++++++++++ .../cull_hidden_prompts_20260502/plan.md | 6 +-- 2 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 conductor/tracks/cull_hidden_prompts_20260502/hidden_prompts_audit.md diff --git a/conductor/tracks/cull_hidden_prompts_20260502/hidden_prompts_audit.md b/conductor/tracks/cull_hidden_prompts_20260502/hidden_prompts_audit.md new file mode 100644 index 0000000..768362c --- /dev/null +++ b/conductor/tracks/cull_hidden_prompts_20260502/hidden_prompts_audit.md @@ -0,0 +1,38 @@ +# Audit of Hidden Prompts + +## 1. `_SYSTEM_PROMPT` (src/ai_client.py, L128) +```python +_SYSTEM_PROMPT: str = ( + "You are a helpful coding assistant with access to a PowerShell tool (run_powershell) and MCP tools (file access: read_file, list_directory, search_files, get_file_summary, web access: web_search, fetch_url). " + "When calling file/directory tools, always use the 'path' parameter for the target path. " + "When asked to create or edit files, prefer targeted edits over full rewrites. " + "Always explain what you are doing before invoking the tool.\n\n" + "When writing or rewriting large files (especially those containing quotes, backticks, or special characters), " + "avoid python -c with inline strings. Instead: (1) write a .py helper script to disk using a PS here-string " + "(@'...'@ for literal content), (2) run it with `python