Correct current facts and preferred contact details #101
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
#113 Remove selected local data with an explicit scope
dev/people-mind-mcp
#98 Accept or edit an enrichment suggestion from an MCP card
dev/people-mind-mcp
Reference
dev/people-mind-mcp#101
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
Correct structured facts, supersede an old title/employer and choose preferred contact details while retaining history.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#101 correct-current-facts-and-preferred-contact-details
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:
20261106T063830Z-6ee564a5Held because: CLEAN but 8 open risk(s) (1 sequencing · 2 verification · 5 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
726d113, PR #132), but the issue state could not be read in this sandbox because gh is denied. The drain must confirm #98 is closed before dispatch. [sequencing — blocked by dev/people-mind-mcp#98]grep -c Kelp pm.dbmust return 0, and undo_records must hold no rows for those Actions. [verification]Change: Fact Actions write only local
fieldsrows (source='action', source_record=action id), in the shape of assert_field and create_person (graph.py:1201-1286). Schema 16 adds four columns to fields: revision, state (current/superseded/corrected), effective_from and effective_until. It adds handles.preference and a fields_status partial index. These go through the multi-statement UPGRADES entry pattern (store.py:28-37), and SCHEMA_VERSION becomes 16. A row whose state is superseded or corrected is a status row keyed by content (Person, name, value). It hides every asserted or derived row with that value, so it survives the re-sync rewrite at graph.py:928-945. One ACTIVE_ASSERTED predicate is applied at every reader: ASSERTED_FIELD, DERIVED_FIELD, MEMBERSHIPS, FIELDS/_card_fields and embed.FIELDS. ASSERTED_FIELD keeps its ordering by source='action', id, as Am.4 r4 requires. PRIMARY_HANDLE puts preferred first and obsolete last. Identity lookup is untouched. The new FACT_KINDS apply and undo branches in graph._apply_action follow the NOTE_KINDS branches (graph.py:1676-1733, 1867-1887). Undo checks the content the Action left. Forget gains a.field_ids undo-record purge beside the.note_id purge (graph.py:1052-1056). The people_fact tool and the app-only people_card_fact follow people_note/_note (server.py:607-683). The App view adds factItem, handleItem and submitFact, following noteItem and submitNote (card.html:119-195). people_card gains history=true. Five design forks (D1-D5) are left for the architect to rule.Files:
src/people_mind_mcp/store.py·src/people_mind_mcp/actions.py·src/people_mind_mcp/graph.py·src/people_mind_mcp/views.py·src/people_mind_mcp/embed.py·src/people_mind_mcp/server.py·src/people_mind_mcp/card.html·README.md·tests/test_facts.py·tests/test_actions.py·tests/test_card_app.py·tests/test_shared.pyDecision: accept the 8 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-correct-current-facts-and-preferred-contact-details.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-06-correct-current-facts-and-preferred-contact-details.mdspec-verify-dispatch Half B for dev/people-mind-mcp#101 correct-current-facts-and-preferred-contact-details completed integration verify.
5a970f17facodex-svd ship --run-id 20261106T160650Z-8e0f6211 --confirm-merge)spec-verify-dispatch Half B for dev/people-mind-mcp#101 correct-current-facts-and-preferred-contact-details completed integration verify.
cfcbc91672codex-svd ship --run-id 20261106T204829Z-dd430f42 --confirm-merge)SVD gate and ship record: #101 (einfari gate 2026-11-07, merge 08:20 AEDT)
Measured facts
20261106T063830Z-6ee564a5: CLEAN, 0 blocking defects, classsubstrate, 12 Primary Files, base556ec32. Schema 16 is additive.20261106T160650Z-8e0f6211oncodex/gpt-6.1-sol(PR #145) was ready by integrate after one rework round. The gate held it on an unfixed self-review defect and reproduced it at5a970f1. A vCard rewrite re-inserts its fields, SQLite reuses the ids at revision 1, and a stalefact.correctmeant for "Builder" applied to the new imported value "Principal". PR #145 is closed.20261106T204829Z-dd430f42oncodex/gpt-6.1-solcommittedcfcbc91and opened PR #146.readyForMergetrue, verified head equal to the dispatch commit, 0 rework rounds, CIci/woodpecker/pr/validationpass.cfcbc91:make checkgave 719 passed, 5 skipped, 0 failed. The base gave 679 passed..gitor pytest cache.card.htmladds noinnerHTML, nohttp(s)://and noeval(.c1a5db5. ADR 0005 Amendment 6 (PR #144) merged after it as9535f60.Buckets
Already decided:
Decided at this gate (operator "1-5 accept leans", "Accept", "accept"):
seen, a value digest that the worker checks with the revision.people_factandpeople_card_fact, fororganisationandtitleonly.YYYY,YYYY-MMorYYYY-MM-DDeffective dates.These are recorded as ADR 0005 Amendment 6.
Verification (post-merge operator checks):
Ruling
seendigest together. A missingseenanswersinvalid-argumentfor correct, supersede and retract, and queues no Action.test_stale_fact_correct_on_reused_id_conflictsasserts that the id really is reused at revision 1 before it expectsconflict.Drafted line
codex-svd ship --run-id 20261106T204829Z-dd430f42 --confirm-merge(run, exit 0).Delegation
"this session is an einfari. you merge through 19:00", extended by "Extend grant through 14:00aedt" (gate,
svd:goand merge). "Sol" (dispatch model). "accept" (add the value check). "Merge 144 after 101 ships".Spec:
2026-11-06-correct-current-facts-and-preferred-contact-details.md, Agent Adjustments. Ledger:2026-W45-arch.