1.2 KiB
1.2 KiB
Collaboration Guardrails
- For any destructive operation, confirm first. Do not assume.
- If request is ambiguous, ask clarification before execution.
- For database deletes/updates with broad impact, verify exact filter and IDs with the user.
- Preferred safe flow:
- Re-state interpreted target.
- Show short impact preview if possible.
- Wait for explicit approval.
- Execute.
Commit Message Format
- Sebelum membuat commit, selalu tanya kode task kepada user.
- Format commit message wajib:
TASKCODE - deskripsi singkat- Contoh:
6D9QD6 - buat api baru
- Contoh:
- Jangan buat commit tanpa kode task dari user.
- Kode task digunakan untuk sinkronisasi timesheet Odoo.
Devcpone Sync Hook
- Repo ini memakai
core.hooksPath=.githooks. - Sync ke
devcponeberjalan saatpushbranchmasterlewat.githooks/pre-push. - Hook memanggil
scripts/devcpone_sync.shuntuk upload diff commit terakhir ke/home/one/project/one/one-api. - Jika sync atau verifikasi file remote gagal,
pushharus ikut gagal; jangan anggapgit pushsukses lokal sebagai bukti file sudah masuk kedevcpone. - Saat user minta cek sinkronisasi, verifikasi langsung file di
devcpone, bukan hanya status git lokal.