Archive and restore Persons without losing history #112
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
#98 Accept or edit an enrichment suggestion from an MCP card
dev/people-mind-mcp
#111 Decide archive, scoped removal and lifecycle visibility
dev/people-mind-mcp
Reference
dev/people-mind-mcp#112
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
Hide an old contact from everyday discovery and suggestions, then restore it from an explicit archived view.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#112 archive-and-restore-persons-without-losing-history
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:
20261107T022755Z-07524855Held because: CLEAN but 8 open risk(s) (3 verification · 5 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
4c4776d,726d113,64df4fe), but the sandbox cannot read issue state. Check: the git.groupthink.asia issue pages for dev/people-mind-mcp#98 and #111 both show state closed. [verification]152e4a8before the first edit; after the change, the focused command and make check pass and the failure set is unchanged except for the new passing tests. [verification]Change: Mirror commit
a4a6754(#153) end to end.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_archive.py·tests/test_actions.py·tests/test_card_app.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-07-archive-and-restore-persons-without-losing-history.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-07-archive-and-restore-persons-without-losing-history.mdspec-verify-dispatch Half B for dev/people-mind-mcp#112 archive-and-restore-persons-without-losing-history completed integration verify.
4f89abaa19codex-svd ship --run-id 20261107T024930Z-e3a30dd2 --confirm-merge)SVD gate and ship record: #112 (einfari gate 2026-11-07, merge 14:06 AEDT)
Measured facts
20261107T022755Z-07524855: CLEAN, 0 blocking defects, classsubstrate, 10 Primary Files, base152e4a8, 28 source hashes. Schema 20 is additive:personsgainsarchived_at,archived_byandlifecycle_action_id.20261107T024930Z-e3a30dd2oncodex/gpt-6.1-solcommitted4f89abaand opened PR #156. The dispatch baseline at152e4a8wasmake check783 passed. The agent reported no failing test.readyForMergetrue, verified head equal to the dispatch commit, 0 rework rounds, CIci/woodpecker/pr/validationsuccess.4f89aba:make checkgave 798 passed, 5 skipped, 0 failed. The Python 3.12 import ofpeople_mind_mcp.cliandpeople_mind_mcp.serversucceeds.SCHEMA_VERSION = 20..git.card.htmladds noinnerHTML, nohttp(s)://and noeval(. Before the gate, everyINSERT INTO personsinsrcandtestsalready named its columns, so schema 20 broke no fixture.9964885.Buckets
Archive.conflict.link.splitcopies the archive state.stripped-handle,shared-handleandurlCandidates stay underarchived=exclude, markedarchived.people_recentmarker,links=retiredon the Card person row, and lookups by explicit id that still answer (people_review_queue,people_related).Ruling
test_schema_20_migrates_on_writer_opensetsuser_version=19without the three columns. It asserts that the reader refuses and the writer upgrades tostore.SCHEMA_VERSION.Drafted line
codex-svd ship --run-id 20261107T024930Z-e3a30dd2 --confirm-merge(run, exit 0).Delegation
"this session is an einfari. you merge through 19:00", extended by "extend grant through 19:00" (gate,
svd:goand merge). "accept" (D1 to D5). Standing pick "Throughput is more important than cost" (sol on substrate dispatch).Spec:
2026-11-07-archive-and-restore-persons-without-losing-history.md, Agent Adjustments, riders 1 to 6. Ledger:2026-W45-arch.