Link an external follow-up task or calendar item to a Person #119
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.
Depends on
#100 Write context notes and stated personal preferences
dev/people-mind-mcp
Reference
dev/people-mind-mcp#119
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
Store an attributed reference to an externally managed follow-up in Person context without introducing a scheduler.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#119 link-an-external-follow-up-task-or-calendar-item-to-a-person
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:
20261107T215718Z-71c2b202Held because: CLEAN but 9 open risk(s) (3 verification · 6 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
followupslocal item with type ∈ {task, calendar}, label ≤200, ref = absolute URI ≤2048, and no due date, status or reminder field. Question: confirm the fields and type names (wouldeventbe better thancalendar, which clashes with the Source channel name in ADR 0004), and confirm that no date field ships. [decision]followup.correct(revision-checked, notes bucket, undoable, the corrector becomes the Author) because the issue requires correction with ordinary revisions. Question: approve extending the ADR 0005 Am.1 inventory row (:38, today only followup.link/unlink), or rule that correction is unlink then link, as Preferences do (Am.5 r3). [decision]followup-present. Question: deny-list vs allow-list vs no check, and keep the duplicate refusal? [decision]people_card followups=true; the App view always shows them; the split preview labels them by type only. Question: confirm, or fold follow-ups under the existingnotes=trueflag. [decision]d9e4df2, PR #138), but the sandbox cannot read issue state. Check: the dev/people-mind-mcp#100 issue page on git.groupthink.asia shows state closed. [verification]make checkand the focused pytest command on pristine6aaedf9before the first edit. After the change, both pass with an unchanged failure set apart from the new tests. [verification]Change: Add a separate additive
followupstable at schema 21: store.py TABLES/INDEXES, SCHEMA_21 at :19/:363, SCHEMA_VERSION=21 at :211. Do not reusenotes: its kind CHECK at :166 would need a rebuild, and a rebuild loses the AUTOINCREMENT high-water mark. Add three notes-bucket kinds, followup.link (a pure addition that follows the redirect), followup.correct and followup.unlink (both revision-checked), to actions.py KIND_BUCKET/UNDOABLE, with FOLLOWUP_TYPES=(task, calendar) and afollowup_refvalidator. The validator follows the shape of event_date at actions.py:136-154: absolute URI, ≤2048 characters, javascript/vbscript/data/file/blob refused. In graph.py, add_apply_followup/_undo_followupmirroring_relation_digest/_apply_relation/_undo_relation(graph.py:1623-1736). Undo checks the content digest and Author, never the revision. Dispatch after the FACT_KINDS line (:2608-2609), before the undo fall-through at :2729; the undo branch goes after :2819-2822. CONV-23 hooks: MOVE_FOLLOWUPS after MOVE_NOTES in _merge_ranked (:439); link_merge record (:1192) and unmerge (:1276-1280); a split_plan loop labelled by type (:610-614); carve items and tables (:799, :802); the _move_allocation revision tuple (:758); the forget $.followup_id undo purge (:1108-1112); the create-undo contributions tuple (:2860). server.py: people_followup and app-only people_card_followup mirroring people_note/_note (:943-1009); a people_card followups=true flag; followup_types in people_card_suggestions;followupin the _allocation grammar (:373); build_app registration and visibility. views.py: FOLLOWUPS beside NOTES (:395), rows in card after the notes block (:935-943), and a followups list in card_suggestions. card.html: followupItem/showFollowup/submitFollowup mirroring noteItem/showNote/submitNote (:122-139, :298-325). Open sends ui/open-link only on a click and only when ui/initialize advertises hostCapabilities.openLinks, so host policy decides. README paragraph plus the Schema 21 sentence. Six design forks (D1–D6) are unruled and carried as gate decisions, following the #101/#112 SVD-gate precedent.Files:
src/people_mind_mcp/store.py·src/people_mind_mcp/actions.py·src/people_mind_mcp/graph.py·src/people_mind_mcp/server.py·src/people_mind_mcp/views.py·src/people_mind_mcp/card.html·README.md·tests/test_followups.py·tests/test_actions.py·tests/test_card_app.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-07-link-an-external-follow-up-task-or-calendar-item-to-a-person.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-07-link-an-external-follow-up-task-or-calendar-item-to-a-person.mdspec-verify-dispatch Half B for dev/people-mind-mcp#119 link-an-external-follow-up-task-or-calendar-item-to-a-person completed integration verify.
b1f5ddd0cacodex-svd ship --run-id 20261107T222932Z-c47fdf37 --confirm-merge)