Skip to content

fix(replay): config.lessons adds the Lessons to a named Source list too - #156

Merged
sudoTomas merged 1 commit into
mainfrom
fix/replay-lessons-with-sources
Nov 5, 2026
Merged

sudoTomas merged 1 commit into
mainfrom
fix/replay-lessons-with-sources

Conversation

@sudoTomas

Copy link
Copy Markdown
Owner

A replay given a Bot version's Source list (config.sources) ignored config.lessons, so a "lessons" arm replayed without Lessons, silently. Found while running the #143 lessons replay: 6 such arms came back with no Lessons in any prompt.

  • ReplayHarness.run: with lessons set and a named list that lacks lessons, the Source is appended. The default Bot Flip briefs into the decide lane (was EAI-192) #1 lanes are unchanged.
  • New test: test_a_replay_with_named_sources_still_reads_lessons_when_asked.
  • Docstring updated.

Replay only; nothing on the live path changes. 1039 tests pass, ruff clean.

https://claude.ai/code/session_01UDNLNu854ULHbHSL59UJKu

A replay given a Bot version's Source list ignored config.lessons, so a
lessons arm silently replayed without Lessons.

Claude-Session: https://claude.ai/code/session_01UDNLNu854ULHbHSL59UJKu
@sudoTomas
sudoTomas merged commit 725c330 into main Nov 5, 2026
1 check passed
@sudoTomas
sudoTomas deleted the fix/replay-lessons-with-sources branch November 5, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant