Skip to content

feat(assistant): remember user disposition of discovery topics #6359

Closed

Description

@liugddx

Problem

Decision 5 of #6247: discovery should respect what a user did with a topic, and keep "investigated", "withheld" and "told the user" apart.

Current state (verified on origin/main@0db5ffb7e, index-initiative/notebook.ts)

Most of this already exists:

Wanted Today
Investigated Recorded: each topic has notes
Told the user Recorded: state(topicId).receipts from delivery events
User handled, rejected, or no longer wants a topic Recorded: feedback rules with status open / deferred / closed, matched by topic id or tag; deferred reopens at resumeAt
Withheld (judgement chose not to tell the user) Not recorded
A material change reopens a closed topic Not supported: closed holds until a later user feedback overrides it

Remaining gap

  1. Record a withheld outcome per topic, distinct from investigated and told.
  2. Let a material change to a topic's underlying information make a closed or withheld topic eligible again, without the user having to say so.

Both need a definition of "material change" (see the questions below), so this issue is not ready to implement until that is settled.

Out of scope

Restoring Inbox pending/processed maintenance, limits, budgets, and any change to what discovery may investigate.

Acceptance (once the definition is chosen)

  • A withheld topic is stored as withheld, not as told.
  • A closed topic is reported again only after a material change, and a rejected topic with no change is not.
  • Tests cover: reject then no repeat; reject then material change then eligible again; withheld is not treated as told.

Refs #6247, #6309.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions