Repository navigation
docs(memos): the participant model, consent and the deletion matrix - #1546
Merged
Merged
Conversation
This was referenced Dec 3, 2026
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.
Closes #1411
Refs #1401
Refs #1400
Completes the phase-0 record for call participants. #1412 (PR #1545) fixed the speaker-embedding model and the
voice-profile vector store with measured numbers; this PR writes the half around it: the evidence ladder, the
participant shape, machine matches beside the uploader's choices, the profile row and its consent, separate tracks,
the deletion matrix, the threshold knobs as hypotheses, and the phase-1 handoff.
The file already existed — PR #1545 created it — so this extends it. Its measured half (
## Model,## Vector store,## Probe) is untouched byte for byte; the only edit inside the old text is the issue line gaining #1411. A new## Appendixheading wraps the existing### Probeso it stays the last appendix after the new sections; its contentis unchanged.
Why the shape is what it is
is exact but only for attendance, a voice embedding is probabilistic, and an LLM reading a self-introduction is a
guess. Only the first two may produce a
metadatamatch, only a voice profile may produceauto, and the contextguess may only fill
suggestedUserId.memos.speakersis never written by a machine. Machine answers live inspeaker_matches, so no migration and nore-run can rewrite a person's confirmed choice;
resolveSpeakersstays pure and reads the matches as one moreinput.
VoiceProfilevertex; PG is the consent record and theACL, read before any suggestion. Deletion is vector-first, with the statement feat(memos): call participants 0.2 — embedding provider and vector store evaluation #1412 measured (
DELETE FROM …, neverDELETE VERTEX).can enable or disable the workspace, never enrol or read another person's signature.
1.0(auto off); phase 5 sets themfrom a corpus and the ≤ 1% false-identification budget, or auto never ships.
Divergences from the issues
docs/features/89-call-participants.md(new) because it was writtenbefore 0.2 ran. PR docs(memos): the speaker-embedding model and the voice-profile vector store #1545 created it and its measured half is final; this PR extends it and re-measures nothing.
voice_profiles.embeddingis not a column. feat(memos): call participants phase 2 — opt-in voice enrollment and profiles #1403's row list names one; the merged record puts the vector in theVoiceProfileArcadeDB vertex (feat(memos): call participants 0.2 — embedding provider and vector store evaluation #1412 § Vector store). The row carriesmodelanddimension, which is what makesa stale pair detectable.
NoteParticipantis widened, not replaced. It is{ name: string }today (packages/contracts/src/notes/ index.ts:237); the doc gives it the same optional fields asMemoParticipant. The widening is additive and needsno migration, and an old row reads as one external person.
metadata. feat(memos): call participants phase 3 — match diarized voices to enrolled members #1404's line isconfirmed > remembered > auto > suggested; the doc statesconfirmed > remembered > metadata > auto > suggested, because the ladder puts a track and a named transcript abovevoice. Phase 3 implements the full order.
source; the settled shape calls itevidence. The doc usesevidence: 'track' | 'metadata' | 'voice'throughout, per feat(memos): call participants phase 3 — match diarized voices to enrolled members #1404's shape, so a metadata match and a track match are the samefield with different values.
## Appendixis a structural heading, added so### Proberemains the last appendix after the new sections.Its text is unchanged.
Acceptance — #1401
SpeakerMatch), § Voice profiles (Prisma sketch), § Separate tracks (manifest), § Operations (route sketch); the PR's diff is one.md1.0/1.0(auto off), ≤ 1% false-identification budget, no cosine decided#1411's acceptance is this set without the thresholds row: ladder/storage/consent named with rejected options (met,
same sections), schema and route sketches with no migration (met), six deletion cases (met), reviewer sign-off and
phase 1 unblocked (met, § How phase 1 starts).
Review
Independent review of the committed range against #1411's and #1401's acceptance, #1400's § Decisions assumed and the
merged #1412 text, in fresh contexts before this PR existed. The doc is sliced by section, each slice one fresh
reviewer instructed to read only its slice; an interrupted child is a block, never a pass.
(workspaceId, userId)pair; the section now says enrollment is an upsert that updates the row in place(
1dafc0b0, delta re-reviewed).memos.speaker_matches/notes.speaker_matcheswere attributed to feat(memos): call participants 1.4 — named transcript mapping #1416 / 1.4 alone; theline now names both owners: 1.4 adds the columns and writes the
track/metadatarows (it must, or feat(memos): call participants 1.4 — named transcript mapping #1416 cannotstore its match), and feat(memos): call participants phase 3 — match diarized voices to enrolled members #1404 / 3.2 writes
voiceinto the same array (537536b3, delta re-reviewed).Verification
make verify— exit 0 (350 API test files / 5357 tests, 105 web files / 776 tests; turbo replayed the cached tasks,since docs are not an input to lint, typecheck or test).
git diff --stat origin/dev...HEAD—docs/features/89-call-participants.mdonly, 386 insertions, 1 deletion.git show origin/dev:docs/features/89-call-participants.md | grep -c spkrec-ecapa-voxceleb— 3, unchanged.CLAUDE.mdordocs/README.mdrow(phase 5's docs task owns those).