bluememo

Forget

Deletes what a person asked to forget, and asks when the request is ambiguous.

func (store *Store) Forget(ctx context.Context, target string) (ForgetOutcome, error)
func (store *Store) ForgetMemories(ctx context.Context, memoryIDs []string, requestPhrase string) ([]Memory, error)

Forget resolves the phrase in order: an exact memory identifier, then an exact sentence, then a phrase exactly one live memory contains. A single match is deleted. Several matches, or none, come back as Candidates and nothing is deleted; the caller shows them to the person and passes the chosen identifiers to ForgetMemories. Every deletion leaves a tombstone that records the phrase.