Dev - #9
Merged
Merged
Dev#9
Conversation
…n server actions, and resync rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Deskripsi Perubahan
🌿 Jenis Branch
be/*— Backend (Server Actions, Prisma, lib)fe/*— Frontend (components, pages, styles)dev/*— Integration (merge be + fe)hotfix/*— Hotfix kritisdocs/*— Dokumentasi saja✅ ANF Docs-Sync Law Checklist
Wajib untuk SEMUA PR:
.docs/CHANGELOG.mdsudah diupdate dengan entri barumainJika ada file baru dibuat:
project-manifest.md→ Active InventoryJika ada route baru:
architecture.md→ Section 7 RoutingJika ada perubahan arsitektur/pattern:
architecture.mddiupdate di section yang relevan🔧 Backend (
be/*) Checklist'use server'ada di baris pertama setiap action file{ success, data?, message? }revalidatePath()dipanggil setelah setiap operasi mutasiprisma.*langsung di luaractions/ataulib/verifySession()atauverifySuperAdmin()darilib/safe-action.tsdi awal Server Action administratif untuk autentikasi sesi JWT terpusat🎨 Frontend (
fe/*) Checklistexport const dynamic = "force-dynamic"di setiap page yang mengambil datafetch()langsung ke database dari Client Componentconsole.logyang tertinggal🔐 Security Checklist
scripts/security-validator.jsvia Git pre-commit hook secara lokal (tidak ada kebocoran kredensial)NEXT_PUBLIC_*env var yang berisi data sensitif📸 Screenshot (wajib jika ada perubahan UI)