Skip to content

fix(claude-code): preserve quoted channel envelopes - #3129

Open
koriyoshi2041 wants to merge 2 commits into
vectorize-io:mainfrom
koriyoshi2041:fix/3124-anchor-channel-envelope
Open

fix(claude-code): preserve quoted channel envelopes#3129
koriyoshi2041 wants to merge 2 commits into
vectorize-io:mainfrom
koriyoshi2041:fix/3124-anchor-channel-envelope

Conversation

@koriyoshi2041

Copy link
Copy Markdown
Contributor

Summary

  • only unwrap Claude Code channel envelopes when they cover the complete message
  • preserve user text when a channel envelope is quoted inside a larger prompt
  • keep support for transport wrappers with surrounding whitespace

Tests

  • uv run --no-sync pytest tests/test_content.py -q (59 passed)
  • uv run --no-sync ruff check scripts/lib/content.py
  • git diff --check

Closes #3124

@koriyoshi2041

Copy link
Copy Markdown
Contributor Author

The generated-files check found the docs skill OpenAPI copy out of sync with the committed API schema. I regenerated and pushed c5b70ba; the only committed change is skills/hindsight-docs/references/openapi.json. The generation script is stable on a second run and git diff --check passes.

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.

claude-code: strip_channel_envelope matches anywhere in a message, discarding surrounding user text

1 participant