Files
ECC/docs/tr/rules/common/git-workflow.md
T
haelyraandGitHub 569b1d5b32 fix: disable Claude co-author attribution by default (#2758)
* fix: disable Claude co-author attribution by default

* fix: harden default co-author opt-out and correct the docs

Follow-up on the co-author default in this PR.

- Remove the existsSync/writeFileSync race in the installer settings write
  (CodeQL js/file-system-race, high). A single guarded read now covers the
  fresh-install case, and unreadable or non-object settings are left untouched.
- Respect `attribution` as an explicit user choice. It supersedes
  `includeCoAuthoredBy` in Claude Code 2.1.x, so a user who configured it would
  otherwise have had a dead key written into their settings.
- Share one opt-out rule via scripts/lib/claude-commit-attribution.js instead of
  duplicating it across the installer and plugin setup.
- Update the git-workflow rule and its nine mirrors and translations, which
  still told users ECC does not ship this setting.

We keep writing the deprecated `includeCoAuthoredBy` key rather than
`attribution`: unknown keys fail Claude Code settings validation, so writing
`attribution` would break users on older versions.
2026-08-12 00:43:58 -04:00

951 B
Raw Blame History

Git İş Akışı

Commit Mesaj Formatı

<type>: <description>

<optional body>

Types: feat, fix, refactor, docs, test, chore, perf, ci

Not: ECC tarafından yönetilen kurulumlar ~/.claude/settings.json içinde "includeCoAuthoredBy": false ayarlar, bu nedenle commitler varsayılan olarak Co-Authored-By içermez. Claude atfını korumak için "includeCoAuthoredBy": true veya attribution ayarlayın; ECC açık bir tercihin üzerine asla yazmaz.

Pull Request İş Akışı

PR oluştururken:

  1. Tam commit geçmişini analiz et (sadece son commit değil)
  2. Tüm değişiklikleri görmek için git diff [base-branch]...HEAD kullan
  3. Kapsamlı PR özeti taslağı hazırla
  4. TODO'ları içeren test planı ekle
  5. Yeni branch ise -u flag'i ile push et

Git işlemlerinden önce tam geliştirme süreci (planlama, TDD, kod incelemesi) için development-workflow.md dosyasına bakın.