Skip to content

feat: prepend *Claw:* header to all replies - #72

Merged
IceRhymers merged 2 commits into
masterfrom
issue-71-reply-header
Mar 31, 2026
Merged

feat: prepend *Claw:* header to all replies#72
IceRhymers merged 2 commits into
masterfrom
issue-71-reply-header

Conversation

@IceRhymers

Copy link
Copy Markdown
Owner

Closes #71

Summary

• Adds CLAW_REPLY_HEADER: bool = True to AppConfig — controls whether the bold *Claw:* attribution header is prepended to agent replies
• In _run_response_loop, conditionally prepends *Claw:*\n to full_response before calling reply_to_thread
• Two new tests: header present when enabled, absent when disabled

Test plan

• RED phase confirmed test_reply_has_claw_header_when_enabled fails before implementation
• GREEN phase: both new tests pass
• Full suite: 284 passed, 0 failures

🤖 Generated with Claude Code

IceRhymers and others added 2 commits March 31, 2026 10:01
Add CLAW_REPLY_HEADER config flag (default True) and prepend bold
attribution header to agent replies in _run_response_loop when enabled.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@IceRhymers
IceRhymers merged commit d0b1e82 into master Mar 31, 2026
1 check passed
@IceRhymers
IceRhymers deleted the issue-71-reply-header branch April 3, 2026 14:37
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.

feat: message attribution header — prepend *Claw:* to all replies

1 participant