Repository navigation
docs(postgres-rls): bring main's RLS plan/spec up to the re-cut + mark slice status - #835
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (4)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… status Main carried the original M1-M5 layer-cut plan with nothing marked complete. The project was re-cut (2026-06-10) into four behaviour-named slices and has progressed substantially on #771, but those doc updates were stuck behind the 85-commit code PR. Port the current plan.md + spec.md (and the two specs/ design docs they link to) to main, fix the vestigial "five PRs / M1-M5" line that contradicted the re-cut, and add an at-a-glance status marker to each slice (Slice 1 in progress, 2-4 not started). Co-Authored-By: Claude Opus 4.8 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
…erse status My status-marker edit landed on #771's awkward layout: Slice 1 was orphaned under ## Composition while ## Slices held only 2-4, and a redundant intro line repeated "four slices" (already in At a glance), the M1-M5 re-cut note (already in the blockquote), and the per-slice status (now in the markers). Move ## Slices above Slice 1 so all four sit under it; drop the redundant intro; shorten the Slice 1 status to a marker (the Already-landed / Remaining list carries the detail). Co-Authored-By: Claude Opus 4.8 <[email protected]> Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
62ba06f to
39a85db
Compare
What & why
Main's
projects/postgres-rls/carried the original M1–M5 layer-cut plan with nothing marked complete — out of date. The project was re-cut on 2026-06-10 into four behaviour-named slices and has progressed substantially, but those doc updates were stuck behind #771's 85-commit code PR, so main never saw them. This brings the project tracking on main current, decoupled from the code PR.What changed (docs only)
plan.md→ the current four-slice behaviour-cut (select-policies-dependable,drift-handled-correctly,all-policy-types,typescript-authoring), ported from TML-2868: SELECT RLS policies, dependable end-to-end — authored in PSL, enforced, drift fails verify #771. Plus two edits on top of TML-2868: SELECT RLS policies, dependable end-to-end — authored in PSL, enforced, drift fails verify #771's version:## Slices / The five PRs below correspond to the five slices (M1–M5)line that contradicted the re-cut.spec.md→ the current, trimmed spec (the design-as-five-decisions version), ported from TML-2868: SELECT RLS policies, dependable end-to-end — authored in PSL, enforced, drift fails verify #771.specs/design-rls-authoring-surface.md,specs/reconciliation-2026-06-08.md→ added (the design docs the plan/spec link to; without them those links 404 on main).No code, no slice-execution artifacts (dispatches/, trace.jsonl stay with #771).
Notes for the RLS owner
spec.mdD1 still describes policies registering 'via the sameAuthoringContributions.entityTypesmechanismPostgresEnumTypealready uses'. Since then TML-2853: enum becomes the domain concept — delete the native machinery #817 deletedPostgresEnumTypeand TML-2890: one descriptor per storage entity kind (replaces three parallel registries) #826 (merged) added theEntityKindDescriptorseam for namespaceentrieskinds. I did not rewrite that design rationale — it's your call whetherpolicylands as a namespace-entrieskind viacomposeSqlEntityKinds([policyEntityKind])or on thestorage.typesaxis. Flagging so it gets reconciled when TML-2868: SELECT RLS policies, dependable end-to-end — authored in PSL, enforced, drift fails verify #771 next touches the spec.../cross-contract-refs/spec.mdresolves only once that sibling project merges — unchanged from main's previous plan, not introduced here.🤖 Generated with Claude Code