fix(thread-read): remove ### Output section and deduplicate ### Prompt globally #442
Reference in New Issue
Block a user
Delete Branch "fix/440-thread-read-prompt-dedup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Remove the redundant
### Outputsection from thread-read markdown output and deduplicate### Promptheaders that appeared multiple times globally.Why
The
### Outputsection was redundant noise in thread context rendering. Multiple### Promptheaders caused confusion when reading thread history.Changes
### Outputsection from thread-read markdown rendering### PromptheadersRef
Fixes #440
LGTM ✅ Output section 移除合理(冗余),Prompt 用 Set 全局去重逻辑正确,测试覆盖了连续同 role、不同 role、非连续同 role 三种场景。