Skip to content

fix: retitle threads from Console replies (#1186) - #1294

Draft
Minghan2005 wants to merge 2 commits into
ebibibi:mainfrom
Minghan2005:fix/console-retitle-1186
Draft

Minghan2005 wants to merge 2 commits into
ebibibi:mainfrom
Minghan2005:fix/console-retitle-1186

Conversation

@Minghan2005

@Minghan2005 Minghan2005 commented Nov 9, 2026 •

Copy link
Copy Markdown

Fixes #1186

Summary

  • Schedule the existing retitle hook for human replies delivered through Ebi AI Console.
  • Preserve the raw human reply separately from long-text and attachment instructions added for the agent; generated skill prompts do not trigger retitling.
  • Add regressions for the retitle source and transformed long-text/attachment delivery path.

Verification

  • Red-green regression tests — both focused tests first failed against the old behavior/interface, then passed after the fix.
  • pytest tests/test_console_server.py -q — 24 passed.
  • make check — 429 files formatted; Ruff passed.
  • Full suite pytest tests -q --cov=claude_discord — 4,610 passed, 9 skipped, 3 failed. The same three failures were reproduced on clean base 849afed: test_dry_run_leaves_removable_worktree_on_disk, test_live_cleanup_preserves_work_and_unmerged_branches[clean], and test_the_prompt_keeps_the_latest_messages_and_states_the_time. No changed-file failure.

AI disclosure: prepared with OpenAI Codex. No human review is claimed.

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.

Auto re-title never fires for replies sent from Ebi AI Console

1 participant