Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 12 additions & 18 deletions .bot/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Engineer-bot task config for databricks-sql-kernel. Loaded by
# databricks_bot_engine.engineer_bot.bot_config.load_bot. The reviewer needs NO
# .bot/config.yaml (its prompts are engine-owned + the optional additive
# .bot/prompts/review/system.md); only the engineer-bot is config-driven.
# databricks_bot_engine.engineer_bot.bot_config.load_bot. Reviewer prompts are
# engine-owned; the retrospective settings also route lessons to both bots.
name: databricks_sql_kernel_bugfix
marker_namespace: engineer-bot-kernel
bot_login_prefix: peco-engineer-bot
Expand Down Expand Up @@ -77,11 +76,6 @@ author:
issue_url: ISSUE_URL
context_files:
- issue_body.txt # {{issue_body}}
# Close the loop: the author phase reads this log back so fixes benefit from
# what the retrospective has learned. MUST match `retrospective.log_path` below
# — the retrospective WRITES that path; the author only READS it if the two
# agree. (Set together, they connect learning → application.)
knowledge_log: .claude/knowledge/learning-log.md

# Engine orchestration for the author phase. `bug-fix` runs the plan → author_tests
# → fix pipeline (write a failing test → fix the code → re-run to green) and forces
Expand All @@ -90,15 +84,15 @@ author:
# layout, live-E2E discipline) live in prompts/engineer/system.md, not here.
flow: bug-fix

# Daily learning extraction (retrospective flow). Run by engineer-bot-learning.yml
# via `python -m databricks_bot_engine.engineer_bot.retrospective`: over an adaptive
# look-back window it sweeps every merged PR (diff + review comments, which the
# engine gathers ITSELF per PR) plus engineer-bot author runs, and if the model
# finds a durable, reusable learning, opens/updates a single rolling PR appending a
# dated section to log_path. Human-gated — never commits the canonical log directly.
# Omitting this block makes the retrospective a no-op.
# Daily journal extraction and distillation. Both bots receive matching lessons;
# the old log is a frozen archive. The engine supplies the extraction prompt.
retrospective:
system_prompt: prompts/retrospective_system.md
log_path: .claude/knowledge/learning-log.md # author.knowledge_log matches this
branch_prefix: ai/learning-pr-
log_mode: distill
log_path: .claude/knowledge/learning-log.md
journal_dir: .claude/knowledge/journal
lessons_path: .claude/knowledge/lessons.md
auto_merge_learning_pr: false
author_workflow: engineer-bot.yml
# Keep the legacy append-mode PR (#251) on its original rolling branch.
branch_prefix: ai/learning-distill-pr-
pr_label: engineer-bot-learning
51 changes: 0 additions & 51 deletions .bot/prompts/retrospective_system.md

This file was deleted.

Loading
Loading