--- name: commit-convention description: Conventional Commits format and version-bump rules for this repo (Bahasa Indonesia commit style). Use when creating a git commit in zesdex. --- # Commit Convention Gunakan **Conventional Commits** untuk semua commit. Format: ``` (): ``` **Type & efek ke versi:** | Type | Bump | Kapan pakai | |-------------|-------|------------------------------------------| | `feat` | minor | Fitur baru | | `fix` | patch | Perbaikan bug | | `chore` | patch | Maintenance, update deps, dll | | `docs` | patch | Perubahan dokumentasi/comment | | `refactor` | patch | Refactor kode tanpa perubahan fungsional | | `test` | patch | Nambah/ubah test | | `style` | patch | Formatting, whitespace, lint | | `perf` | patch | Optimasi performa | | `ci` | patch | Perubahan CI/CD | **Catatan:** - **Semua type menghasilkan release** (patch minimal). Tidak ada commit yang "skip release". - Tambahkan `BREAKING CHANGE:` di body commit untuk bump **major**. - **Scope** opsional, tapi direkomendasikan (misal `feat(agent):`, `fix(ipc):`). ### Contoh ``` feat(tool): add batch file delete chore: bump reqwest to 0.12 refactor(harness): flatten guard pipeline fix(ipc): reconnect loop on socket timeout docs: add architecture diagram to README BREAKING CHANGE: IPC frame header changed from 4-byte to 8-byte length ```