Habit formation engine — spaced repetition, lock-in tracking & retention curves #81
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#81
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?
Summary
Add a habit formation engine to Kin that uses spaced repetition cadences, habit lock-in tracking, and retention/decay curves to help users build consistent relationship-maintenance patterns and see when relationships are cooling off.
This is a cross-cutting feature that enhances existing Kin surfaces (goals, overdue alerts, Priority Today, dashboards) with scientifically-informed timing rather than flat intervals.
P1: Spaced repetition cadence engine
Replace flat intervals with expanding-interval scheduling, similar to Anki/SM-2.
{ ideal_interval, history_of_on_time_actions }, produce the next nudge delaynext_interval = prev_interval * factorwherefactordepends on on-time consistency (e.g., 2.0 for perfect, 1.5 for good, 0.5 for missed){ current_interval, last_action_date, consistency_score, next_nudge_date }getNextNudgeDate(personId)andrecordAction(personId)in the storeP2: Habit lock-in tracking
Show how cemented a behavior pattern is, not just streak length.
P3: Retention/decay curves
Flag relationships that are atrophying, regardless of explicit goals.
P4: Calendar-spanning visualization
Let users see their relationship cadence mapped across time.
P5: Integration with existing Kin surfaces
Wire the engine into the app's existing UI.
Tech notes
@neuroflux/spaced-repetitionnpm package exists and implements SM-2 — worth evaluatingThis issue has been decomposed into the following sub-issues:
Each sub-issue has been labeled with
needs-triageand will be evaluated by the triage pipeline before queue routing.