Record and correct calls and meetings #105
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
#104 Decide the manual Interaction contract
dev/people-mind-mcp
Reference
dev/people-mind-mcp#105
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
Log a manual Interaction and optional separately attributed note, then correct or retract it from the same Person context.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#105 record-and-correct-calls-and-meetings
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:
20261106T211923Z-46bc7b34Held because: CLEAN but 9 open risk(s) (1 sequencing · 2 verification · 6 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
eventsentity table (AUTOINCREMENT, revision, Author) plus oneinteractionsrow per participant (ref event:, source 'action', source_record NULL, event_id, copied date, channel and direction). Schema 17 rebuilds interactions (manual channels, nullable direction with a pairing CHECK, AUTOINCREMENT ids) and adds notes.event_id, which needs open_writer to run TABLES before UPGRADES. Question: accept the rebuild, the copied values and the reorder? The alternative is separate tables UNIONed into every reader. [decision]date | channel | direction (empty for meeting and other) | event:<id> | author=<label> | revision=<n>, and mail rows are unchanged; an event note on the Card (notes=true) ends with event=; the text Card gains no events section; the App JSON carries events with revisions. Question: accept this shape? [decision]9535f60:726d113(#132) and64df4fe(#126). Their forge issue states cannot be read here because gh is denied. The drain should confirm both issues are closed before dispatch. [sequencing — blocked by #98, #104]sqlite3 pm.db 'PRAGMA wal_checkpoint(TRUNCATE)'. Thengrep -c Kelp pm.dbmust return 0, the undo_records count for those Actions must be 0, and B's people_recent must still show the event once. [verification]Change: Store each manual event as one
eventsrow (AUTOINCREMENT id, revision, Author), plus oneinteractionsrow per participant. A participant row has refevent:<id>, source 'action', source_record NULL and an event_id. It copies the event's date, channel and direction, so LAST_INTERACTION, RECENT, default_row and people_find read manual events unchanged, and no mail delete reaches them, because every mail path is scoped tomessage:refs and the mail Source name (sync.py:30-46).Schema 17 rebuilds
interactionsthrough a new UPGRADES entry keyed on (interactions, event_id), placed right after the schema-15 rebuild at store.py:55-72 and mirroring it. The rebuild adds the manual channels, a nullable direction with a pairing CHECK, AUTOINCREMENT ids and event_id. Schema 17 also adds theeventstable, anotes.event_idcolumn (with TABLES moved before UPGRADES in open_writer) and an interactions_event index.The new kinds interaction.add, interaction.correct and interaction.retract (interactions bucket, undoable) go through
_apply_interactionand_undo_interaction, which follow the shape of_apply_factand_undo_fact(graph.py:1280-1508) and are dispatched beside FACT_KINDS (graph.py:1965, 2158). An optional note is a normal Note row carrying event_id. Merges fold a duplicate participant link (_fold_eventsin_merge_ranked); link_merge records the folded link and unmerge restores it. Forget sweeps events left with no participant and purges$.participantsundo records, beside the$.holderspurge at graph.py:1089-1094.interaction.attributerefuses a holder already on the event. RECENT joins events, collapses duplicate links and keeps its outer table unaliased so the index-guard test still holds.The tools are
people_interactionand the app-onlypeople_card_interaction, mirroringpeople_noteand_note(server.py:623-689). The App view gains an eventItem, a Log interaction form and submitInteraction, mirroring noteItem and submitFact (card.html:119-238).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/server.py·src/people_mind_mcp/card.html·README.md·tests/test_interactions.py·tests/test_actions.py·tests/test_card_app.py·tests/test_shared.pyDecision: accept the 9 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-record-and-correct-calls-and-meetings.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-06-record-and-correct-calls-and-meetings.mdspec-verify-dispatch Half B for dev/people-mind-mcp#105 record-and-correct-calls-and-meetings completed integration verify.
76238608d7codex-svd ship --run-id 20261106T215502Z-631d40ba --confirm-merge)SVD gate and ship record: #105 (einfari gate 2026-11-07, merge 09:30 AEDT)
Measured facts
20261106T211923Z-46bc7b34: CLEAN, 0 blocking defects, classsubstrate, 11 Primary Files, base9535f60. Schema 17 adds aneventstable andnotes.event_id, and rebuildsinteractionsfor manual channels and a nullable direction.20261106T215010Z-55052ee1oncodex/gpt-6.1-terrastopped after about 2 minutes with no commit.codex/gpt-6.1-sol. Run20261106T215502Z-631d40bacommitted7623860and opened PR #149.readyForMergetrue, verified head equal to the dispatch commit, 0 rework rounds, CIci/woodpecker/pr/validationpass.7623860:make checkgave 754 passed, 5 skipped, 0 failed. The base gave 719 passed. The Python 3.12 import ofpeople_mind_mcp.cliandpeople_mind_mcp.serversucceeds..gitor pytest cache.card.htmladds noinnerHTML, nohttp(s)://and noeval(.b6648e6.Buckets
eventstable with oneinteractionsrow per participant. The rebuild and theopen_writerreorder are accepted, with an id-and-count migration test.people_interactionandpeople_card_interaction, with up to 20 participants and fixed participants on correct.Ruling
test_schema_17_migrates_on_writer_openseeds a mail Interaction, an unattributed and an attributed shared-Endpoint Interaction, a Note and a field. It asserts every row and id after the upgrade, a cleanforeign_key_check, and a no-op second open.Drafted line
codex-svd ship --run-id 20261106T215502Z-631d40ba --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). "Accept" (D1 to D6). "Sol" (dispatch model).Spec:
2026-11-06-record-and-correct-calls-and-meetings.md, Agent Adjustments. Ledger:2026-W45-arch.