Skip to main content

registry-authoring

Load when defining or changing a pgxsinkit sync registry with @pgxsinkit/contracts — defineSyncRegistry/defineSyncTable, sync modes, managed fields, conflict policy, filters, RLS. Teaches the rules that throw or fail closed: every readwrite table needs a server-version managed field plus a conflictPolicy (no default), authClaim/nowMicroseconds fields are server-assigned and rejected in client payloads, a read filter is a predicate AST from the p.* builders over Drizzle columns (one restricting nothing is refused) deriving from the RLS policy's own predicate, and the apply function comes from the pgxsinkit-generate CLI as a drizzle-kit migration. Covers per-client mode projection (asReadonly + assertReadContractPreserved) and Event-stream registration (ADR-0053): defineEventStream, name limits, claimPath identity stamping, compatible-only payload evolution, and streams riding the lock/diff but never the fingerprint. Load before authoring a registry, adding a table, registering an Event stream, or wiring RLS.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
pgxsinkit/pgxsinkit
آخر نشاط في المصدر
٢٤ أغسطس ٢٠٢٦ في ٠٥:٤٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤
التفرعات
١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.