Skip to content

Commit d16b566

Browse files
fix(learning): drop retrospective.system_prompt (no prompt file in this repo)
The retrospective block pointed system_prompt at prompts/retrospective_system.md, which does not exist in this repo (only databricks-sql-kernel ships one; the sql-python reference correctly omits the key). The engine treats a set-but-missing system_prompt as a HARD ERROR, so the daily cron would fail every run. Drop the key so the flow uses the engine's built-in base prompt (engineer_prompts.RETRO_SYSTEM_PROMPT) — matching databricks-sql-python and the odbc learning PR. Also corrects the config comment, which wrongly claimed the file was "present in this repo." Caught by peco-review-bot on the sibling PRs. Co-authored-by: Isaac Signed-off-by: eric-wang-1990 <e.wang@databricks.com>
1 parent f064b93 commit d16b566

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.bot/config.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,14 @@ flow: bug-fix
116116
# engine gathers ITSELF per PR) plus engineer-bot author runs, and if the model
117117
# finds a durable, reusable learning, opens/updates a single rolling PR appending a
118118
# dated section to log_path. Human-gated — never commits the canonical log directly.
119-
# Omitting this block makes the retrospective a no-op. The system prompt is the
120-
# engine's built-in base; prompts/retrospective_system.md (present in this repo) is
121-
# appended as additive guidance.
119+
# Omitting this block makes the retrospective a no-op.
120+
#
121+
# `system_prompt` is intentionally OMITTED: this repo ships no
122+
# prompts/retrospective_system.md, so the engine's built-in base prompt is used.
123+
# (A set-but-missing system_prompt file would be a hard error; an UNSET key uses
124+
# the base. Add the key later only if you write a repo-specific additive prompt.)
125+
# The learning log is created on first write — no seed file needed.
122126
retrospective:
123-
system_prompt: prompts/retrospective_system.md
124127
log_path: .claude/knowledge/learning-log.md # MUST match author.knowledge_log above
125128
branch_prefix: ai/learning-pr-
126129
pr_label: engineer-bot-learning

0 commit comments

Comments
 (0)