[task] Expire and withdraw answers when Discord evidence changes

Open
#455 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, devops

Research direction

Start with design #332 and the Discord retrieval proposal in PR #347, whose review has requested changes; this task is blocked by #454 and depends on resolution of that design review. The work spans durable source metadata, reconciliation after edits or access changes, restart recovery, retryable cleanup, and pilot operations. Done means affected replies can be withdrawn and cleanup status exposed without logging message content, with limits documented before the pilot.

Written by the indexing model from the issue text.

Description

area/bot area/deployment blocked type/feature
Blocked by

#454

What

Operate the lifecycle of pilot answers after publication, including retries and restart recovery.

Why

Copies of an answer can outlive edited messages, removed sources or revoked access.

Area

bot, deployment

Done looks like
  • Keep minimal durable reply-to-source metadata with an agreed expiry. Reconcile edits, deletion, lost permissions and unenrollment, including after restart.
  • Withdraw affected replies, retry cleanup failures, and expose outstanding work without logging message content. Disabling the feature cancels in-flight work and preserves pending cleanup.
  • Document limits on removing already seen content. Run the bounded pilot only after notice, operating limits and the cleanup path are in place.
Design notes

Part of #451. Design #332 and the Discord retrieval proposal. The PR is open with changes requested. The four tasks track the proposed pilot pending resolution of that design review.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.