Skip to content

chore(hooks): full attribution block — Co-Authored-By, Claude-Session, Generated-With (v3.0.12) - #55

Merged
click0 merged 2 commits into
mainfrom
claude/refactor-data-masking-lIcWN
Sep 8, 2026
Merged

click0 merged 2 commits into
mainfrom
claude/refactor-data-masking-lIcWN

Conversation

@click0

@click0 click0 commented Sep 8, 2026

Copy link
Copy Markdown
Owner

v3.0.12 — хук пише повний блок атрибуції

prepare-commit-msg замість одного рядка додає до комітів із сесії Claude Code повний блок (кожен трейлер — лише якщо його ще нема):

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_<id>
Generated-With: Claude Code <version>

URL сесії виводиться з CLAUDE_CODE_REMOTE_SESSION_ID (cse_<id>session_<id>), версія — з CLAUDE_CODE_VERSION. Сам цей коміт зроблено з -m без жодного трейлера — хук додав усі три (див. повідомлення коміту). Задокументовано в .githooks/README.md, docs/INSTALL.md, CLAUDE.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7


Generated by Claude Code

…, Generated-With (v3.0.12)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
Generated-With: Claude Code 2.1.42
…mits instead of squash (v3.0.13)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
Generated-With: Claude Code 2.1.42
@click0
click0 merged commit cff0764 into main Sep 8, 2026
16 checks passed
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.

2 participants