Store, config, identity model and the vCard Source #3
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.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp#3
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: #1. Records: ADR 0001, 0002, 0003, 0004 and GLOSSARY.md.
What to build
The foundation every other Phase A slice sits on. A Python 3.12 package with FastMCP 3.x pinned,
mypy --strict, ruff withS, line length 120, mirroring mailmind's conventions.[owner], the flagged Owner Person),default_regionfor E.164, the field list for the default row, the confidence threshold (default 0.7), and one block per Source. No env-var credentials.p_ids, Organisations witho_ids, Handles (email, phone, URL, plus-tag aware), asserted and derived fields with author, Source, evidence reference, confidence and time, Relations from the closed set plus a free label, Tags, Interactions as rows with channel and direction, Tombstones with salted SHA-256 hashes, a change log ofadd,update,merge,delevents, and Consumer positions.default_region; Organisations derived from non-public domains only.peoplemind check(config and store health, offline),peoplemind sync --oncefor the vCard Source.Acceptance criteria
asserted.python3 -m pytestand a--basetempundermktemp -d, never inside the worktree.Blocked by
Filed under: operator word "go. compelling public-facing README.md as A0" sha256:3f9e946994fa
⏸ SVD architect gate: dev/peoplemind-mcp#3 store-config-identity-model-and-the-vcard-source
Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
substrate· dispatch efforthighRun:
20261101T020828Z-e88ed999Held because: CLEAN but 5 open risk(s) (2 verification · 3 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
uv locksucceeds,uv tree --depth 1 | grep fastmcpshows a 3.x version, anduv lock --checkpasses. If no 3.x release resolves, halt and report rather than pin 2.x. [verification]uv run python3 -m pytest tests/test_identity.py -k phone --basetemp "$(mktemp -d)/pt"passes. The make_cards fixture asserts is_valid_number on every number, so an invalid fixture number fails loudly. [verification]Change: Greenfield: the repo at
d1bdf43holds only the glossary and the ADRs, so there is no in-tree pattern to mirror, and mailmind was EPERM in the sandbox (no mailmind line was cited). The lean follows the ADRs read this session: ADR 0002 lines 11-18 (identity, merge, resolution tiers), ADR 0003 lines 11-18 (provenance, confidence, log discipline, Forget and Tombstones) and ADR 0004 lines 11-12 (Source protocol, field vocabulary). Layout: store.py (one SQLite file; open_writer migrates by user_version, open_reader is mode=ro and query_only) → handles.py (the single normaliser: lowercased email with a plus-stripped candidate form, E.164 via phonenumbers with raw-unmatchable fallback, HMAC-SHA256 tombstone hash, public-domain list) → graph.py (the only writer: ensure_owner, ingest_record with tombstone/owner/unchanged short-circuits and per-(source, source_record) row replacement, derived Organisation at 0.75 or 0.9, merge_persons with the survivor rule and a flattened redirect, forget with confirm/owner refusals and a cascade delete) → identity.py (resolve: tiers 1-5, Exact short-circuit, ranked Candidates with reasons; canonical_id follows redirects) → sources/{init,vcard}.py (SourceRecord protocol; vobject parsing with group/CATEGORIES mapped to source-prefixed Tags) → cli.py (argparsecheckoffline andsync --once, key=value counts-only output) → config.py (pydantic v2 extra=forbid, secrets as file paths, errors without input echo).Files:
pyproject.toml·uv.lock·src/peoplemind/__init__.py·src/peoplemind/config.py·src/peoplemind/store.py·src/peoplemind/handles.py·src/peoplemind/identity.py·src/peoplemind/graph.py·src/peoplemind/sources/__init__.py·src/peoplemind/sources/vcard.py·src/peoplemind/cli.py·tests/conftest.py·tests/test_identity.py·tests/test_vcard_sync.py·tests/test_config_cli.pyDerived artifacts:
uv.lock(unattested — exists claim failed)Decision: accept the 5 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-01-store-config-identity-model-and-the-vcard-source.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-01-store-config-identity-model-and-the-vcard-source.mdspec-verify-dispatch Half B for dev/peoplemind-mcp#3 store-config-identity-model-and-the-vcard-source completed integration verify.
15663e389e15663e3: no commit statuses, no required checks (none to report). Local: 53 pytest passed, mypy --strict clean, ruff check and format clean.15663e3and the repo has no required checks, so remote CI is absent and not evidence either way.codex-svd ship --run-id 20261101T022918Z-334c8ca4 --confirm-merge)