Represent shared phones and mailboxes without merging people #110
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#114 Expose restore-safe Forget across the expanded people model
dev/people-mind-mcp
#107 Compare identities and apply merge or alias from a card
dev/people-mind-mcp
#108 Decide durable separation and shared-endpoint identity
dev/people-mind-mcp
Reference
dev/people-mind-mcp#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#96
What to build
Assign a known shared endpoint to distinct Persons and make ambiguity visible in lookup, card and Interaction context.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#110 represent-shared-phones-and-mailboxes-without-merging-people
Status: CLEAN after 2 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
substrate· dispatch efforthighRun:
20261106T045228Z-f738cd8aHeld because: CLEAN but 11 open risk(s) (3 verification · 8 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
shared | interaction=<id> | revision=<n>; there is no App-view attribution. Accept the tool name and row shape, and confirm App attribution is out of scope? [decision]3cf252f(commit body 'Closes #107') has the same tree,a76d395ce9, as main's96f0dd8(#134), and patch-ids match.96f0dd8is an ancestor of base5ed5f94and of origin/main. The forge state is unknown: gh is denied, the snapshot has no #107 record, and main's squash subject lacks 'Closes #107'. Check at the gate: open #107. If closed, nothing to do. If open, close it with a pointer to 96f0dd8/PR #134; no #110 code change is needed. If it is open over unmet criteria, escalate to an architect decision on whether #110 waits. [verification]peoplemind checkin the sync container prints store=ok schema=15. The interactions count matches the pre-upgrade people_status count, and Litestream continues its generation with no restore error. [verification]Change: Schema 15 through store.open_writer migrate-on-open (store.py:186-238, mirroring the SCHEMA_14/UPGRADES pattern at :13-29). Add handles.shared, narrow handles_exact to handles_exclusive, add a per-holder unique index handles_holder, rebuild interactions with a nullable person_id plus an endpoint column under a CHECK. Shared-aware ingest, ensure_owner (graph.py:189-223, FIND_OWN_HANDLE/CLAIM_OWNER_HANDLE :110-115) and resolve (identity.py:57-101) return one shared-handle Candidate per holder and url Candidates. New reversible actions endpoint.share/endpoint.unshare (links bucket) and interaction.attribute (interactions bucket, tool people_attribute) follow the link.alias apply/undo shape (graph.py:1096-1116, :1324-1355) and the actions.enqueue contract (actions.py:58-87). _merge_ranked folds duplicate shared rows before MOVE_HANDLES (:276-293); handle.move refuses handle-present; _reconcile_holds turns a cross-side shared claim into a row (§L). Forget skips tombstoning shared Endpoints. The compare view (card.html:306-349, landed by #107 as
96f0dd8) gains the share/unshare buttons.Files:
src/people_mind_mcp/store.py·src/people_mind_mcp/graph.py·src/people_mind_mcp/identity.py·src/people_mind_mcp/handles.py·src/people_mind_mcp/config.py·src/people_mind_mcp/actions.py·src/people_mind_mcp/views.py·src/people_mind_mcp/server.py·src/people_mind_mcp/sync.py·src/people_mind_mcp/card.html·README.md·tests/test_shared.py·tests/test_identity.py·tests/test_actions.pyDecision: accept the 11 open risk(s) above and dispatch this spec (
svd:go), or park (svd:skip) / re-spec (svd:respec)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/.local/state/exhaust/groupthink/specs/2026-11-06-represent-shared-phones-and-mailboxes-without-merging-people.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-06-represent-shared-phones-and-mailboxes-without-merging-people.mdspec-verify-dispatch Half B for dev/people-mind-mcp#110 represent-shared-phones-and-mailboxes-without-merging-people completed integration verify.
9173ea966d9173ea9: ci/woodpecker/pr/validation pending. Local focused suite 407 passed, but most spec scenarios and endpoint.share are missing. Not ready for merge.spec-verify-dispatch Half B for dev/people-mind-mcp#110 represent-shared-phones-and-mailboxes-without-merging-people completed integration verify.
373a696f96codex-svd ship --run-id 20261106T060302Z-4692d80f --confirm-merge)SVD gate and ship record: #110 (einfari gate 2026-11-06, merge 17:40 AEDT)
Measured facts
20261106T045228Z-f738cd8a: CLEAN, 0 blocking defects, classsubstrate, 14 Primary Files, base5ed5f94, 28 source hashes. Schema 15 addshandles.sharedand rebuildsinteractionswith a nullableperson_idand anendpointcolumn.20261106T053530Z-e5fbba37oncodex/gpt-6.1-terracommitted a partial change (PR #142). Integrate escalated a data-loss blocker after one rework round. PR #142 is closed.codex/gpt-6.1-sol. Run20261106T060302Z-4692d80fcommitted373a696and opened PR #143.readyForMergetrue, verified head equal to the dispatch commit, 0 rework rounds, CIci/woodpecker/pr/validationpass.373a696:make checkgave 679 passed, 5 skipped, 0 failed. The base gave 617 passed..gitor pytest cache.card.htmladds noinnerHTML, nohttp(s)://and noeval(.bc8f11d.Buckets
Already decided: ADR 0002 Amendment 2 rulings 1 to 11, ADR 0001 Amendment 3, ADR 0003 Amendment 2 ruling 1, ADR 0005 Amendment 3, and ADR 0005 Amendment 5 rulings 14 and 15.
Decided at this gate (operator "accept"):
handles, out of matching.endpoint.sharemoves past mail to the Endpoint.people_attribute, with no App-view attribution.These are recorded as ADR 0002 Amendment 3 (PR #141).
Verification (post-merge operator checks):
V3 is closed: #107 is closed.
Ruling
interactionsrebuild is accepted. ADR 0002 Amendment 2 ruling 5 needs a nullableperson_id, and SQLite cannot dropNOT NULLin place. No table, trigger or view referencesinteractions.test_schema_15_migrates_handles_exclusive_and_keeps_idschecks that ids survive and that a second open changes nothing.Drafted line
codex-svd ship --run-id 20261106T060302Z-4692d80f --confirm-merge(run, exit 0).Delegation
"this session is an einfari. you merge through 19:00" (gate,
svd:goand merge). "accept" (D1 to D8). "1" (close PR #142, dispatch on gpt-6.1-sol).Spec:
2026-11-06-represent-shared-phones-and-mailboxes-without-merging-people.md, Agent Adjustments. Ledger:2026-W45-arch.