Reject and reconsider suggestions in a persistent review queue #99
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
Reference
dev/people-mind-mcp#99
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
Reject wrong enrichment, revisit it deliberately, and page outstanding work across sessions and clients.
Acceptance criteria
Blocked by
Filed under: operator word "ok" sha256:2689367b205c
⏸ SVD architect gate: dev/people-mind-mcp#99 reject-and-reconsider-suggestions-in-a-persistent-review-que
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:
20261106T002215Z-b3fdfb21Held because: CLEAN but 6 open risk(s) (2 verification · 4 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
Change: Mirror the review branch of graph._apply_action (graph.py:718-759). Keep its shared prefix: not-found, redirected conflict, revision conflict, withdrawn failure. Then branch: review.reject needs state 'open' and sets state='rejected', decided_by, revision+1, plus _change 'update'. review.reconsider needs state 'rejected' and sets state='open', decided_by NULL, revision+1; its undo record keeps the prior decided_by. Split the undo branch (graph.py:787-810). Reject undo requires state 'rejected' and decided_by=target, then reopens. Reconsider undo requires state 'open', then restores the rejection with the original decided_by. Otherwise it answers conflict reason=revision. Rename the tuple to ASSERTING_KINDS and widen REVIEW_KINDS to four kinds. Add both kinds to actions.KIND_BUCKET (notes) and UNDOABLE. Widen the people_review/people_card_review/_review action Literal (server.py:426-476); reject and reconsider take no value. In forget, add a json_extract($.suggestion_id) undo_records delete before DELETE_PERSON. Add views.review_queue and review_queue_text, using _suggestion_items' representative rule (decided first, then lowest id; support != '') across Persons, keyset paging on suggestion id, and filters by person and state. Expose them as a read tool people_review_queue (_READ_ONLY) and an app-only people_card_queue (mirror people_card_suggestions, server.py:252-270). card.html gets Reject and Reconsider buttons in rowItem plus a paged, deduped queue mode. Update README. No schema change: the store.py:41 CHECK already admits 'rejected'.
Files:
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_review_queue.py·tests/test_card_app.py·tests/test_server.py·tests/test_actions.pyDecision: accept the 6 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-reject-and-reconsider-suggestions-in-a-persistent-review-que.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/.local/state/exhaust/groupthink/specs/2026-11-06-reject-and-reconsider-suggestions-in-a-persistent-review-que.mdspec-verify-dispatch Half B for dev/people-mind-mcp#99 reject-and-reconsider-suggestions-in-a-persistent-review-que completed integration verify.
d8d94d21a5d8d94d2: ci/woodpecker/pr/validation green. Local make check: 545 passed, 5 skipped. Focused tests: 88 passed.codex-svd ship --run-id 20261106T003500Z-451120d3 --confirm-merge)SVD gate and ship record: #99 (architect gate 2026-11-06 11:34 AEDT, merge 11:47 AEDT)
Measured facts
20261106T002215Z-b3fdfb21: CLEAN, 0 blocking defects, classsubstrate, 10 primary files, anchored atmain2ba707e.SCHEMA_VERSIONstays 12, because'rejected'is already in the Suggestion CHECK (store.py:41).20261106T003500Z-451120d3: PR #136 atd8d94d2. IntegratereadyForMergetrue, with its head equal to the dispatch commit and no rework. The PR touches only Primary Files. All spec-named tests are present; the tool-count test is renamed to…thirteen…as the spec states.make check533 passed, 5 skipped. After the change: 545 passed, 5 skipped. Both failure sets are empty.297468f;svd:gostripped by ship.Buckets
next_cursor,more,total(ADR 0001). Tool naming is left to each slice (ADR 0005 Amendment 1 ruling 1).rejected; Reconsider returns it toopen; the queue with therejectedfilter lists it; More appends the next page without repeating a row.Ruling
review.reconsiderapplies to rejected Suggestions only.people_review_queue(text) andpeople_card_queue(App only);people_reviewwidensactionwithrejectandreconsider.mainafter this merge, so the overlap resolves there.Drafted line
codex-svd ship --run-id 20261106T003500Z-451120d3 --confirm-merge(run, exit 0).Delegation
"auto-gate" and the einfari queue (gate); "I auth this session T4 merge and svd:go write, through 14:00aedt" (merge and label).
Spec:
2026-11-06-reject-and-reconsider-suggestions-in-a-persistent-review-que.md, Agent Adjustments. Ledger:2026-W45-arch.