Recollect.Conflicts (recollect v0.5.1)

Copy Markdown View Source

Conflict management for contradictory memories.

List open conflicts, resolve them by keeping one entry and weakening the other, or delete the losing entry entirely.

Summary

Functions

Get a single conflict by ID.

List open conflicts for a scope.

List all conflicts for a scope (including resolved).

Persist new conflicts to the database.

Resolve a conflict by keeping one entry and weakening the other. The loser's half-life is halved.

Resolve a conflict by deleting the losing entry.

Functions

get(conflict_id)

Get a single conflict by ID.

list(scope_id)

List open conflicts for a scope.

list_all(scope_id)

List all conflicts for a scope (including resolved).

persist(scope_id, owner_id, conflicts)

Persist new conflicts to the database.

resolve(conflict_id, keep_entry_id)

Resolve a conflict by keeping one entry and weakening the other. The loser's half-life is halved.

resolve_and_forget(conflict_id, keep_entry_id)

Resolve a conflict by deleting the losing entry.