Repository navigation
Conversation
A fact superseded on the same topic (the owner approved another version, or answered Orbi's question on it) kept up to three verbatim quotes of the owner's sent mail for the life of the workspace, unreviewed candidates included, and every new sent-mail reading merged fresh quotes into it. The owner could not erase them: a superseded fact can no longer be rejected. The privacy page only covered quotes of rejected facts. - supersedeTopic clears quotes, as rejection already does - planCandidate never merges into a superseded fact; a statement that is only superseded is skipped (not proposed again) - migration 018 clears quotes stored on superseded rows (FORCE RLS lifted for that one UPDATE inside the migration transaction, then restored) - privacy page and company-brain.md describe the new rule Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks done
Caezarr
pushed a commit
that referenced
this pull request
Nov 22, 2026
…e stack Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CZ7dAv3xTf6CYftM9V5NuT
This branch was successfully deployed
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.
Stacked on #107 (merge order: #94 → #95 → #104 → #107 → this; #91 and #93 are independent).
Problem (review of 20/11, GDPR / data minimization)
A company-sheet fact that gets replaced (
superseded: the owner approves another version of the same topic, or answers Orbi's question on it) kept up to 3 verbatim quotes (≤ 240 chars each) of the owner's sent mail for the life of the workspace — including candidates the owner never reviewed. Each new sent-mail reading also merged fresh quotes into it (same-statement dedup). The owner could not erase them: a superseded fact can no longer be rejected (409). The privacy page only said quotes of a rejected fact are erased.Fix
supersedeTopicclearsquotes, like rejection already does.planCandidatenever merges into a superseded fact; a statement that only exists as superseded is skipped (superseded_before), not proposed again.018-superseded-fact-quotes.sqlclears quotes already stored on superseded rows.brain_factshas FORCE RLS, so the owner lifts it for this one UPDATE inside the migration transaction and restores it.docs/product/company-brain.mdupdated.Verification
[], the candidate keeps its quote,relforcerowsecurityis back to true.tsc --noEmit,pnpm test(1171 tests),pnpm lint(1 known warning in the landing),next build --webpackOK.Ops: migration 018 must be run on Supabase prod (with 016/017 still pending there).
Generated by Claude Code