Habit formation engine — spaced repetition, lock-in tracking & retention curves — Phase 5: Integration with existing Kin surfaces #98

Closed
opened 2026-06-09 06:15:22 +00:00 by Mark · 0 comments
Owner

Phase 5: Integration with existing Kin surfaces

Wire the engine into the app's existing UI.

  • Priority Today: show spaced-repetition nudges ("Call Sarah — interval stretches to 10 days if you do")
  • Interaction log: after logging, show next expected window ("Next check-in: ~7 days")
  • Weekly digest: "You maintained contact with 6/10 key relationships this week — 3 habits locked in"
  • Notification: spaced-repetition nudge when next window opens

Tech notes

  • @neuroflux/spaced-repetition npm package exists and implements SM-2 — worth evaluating
  • The engine is stateless per-person (just interval + history) — easy to persist in existing IndexedDB
  • Lock-in scoring is pure computation over interaction timestamps — no new data needed
  • Cadence data lives alongside the existing person data in the Dexie store
  • All computation is on-device, same offline-first philosophy

Decomposed from kimi_agent_kin_app_sync#81

## Phase 5: Integration with existing Kin surfaces Wire the engine into the app's existing UI. - [ ] Priority Today: show spaced-repetition nudges ("Call Sarah — interval stretches to 10 days if you do") - [ ] Interaction log: after logging, show next expected window ("Next check-in: ~7 days") - [ ] Weekly digest: "You maintained contact with 6/10 key relationships this week — 3 habits locked in" - [ ] Notification: spaced-repetition nudge when next window opens ## Tech notes - `@neuroflux/spaced-repetition` npm package exists and implements SM-2 — worth evaluating - The engine is stateless per-person (just interval + history) — easy to persist in existing IndexedDB - Lock-in scoring is pure computation over interaction timestamps — no new data needed - Cadence data lives alongside the existing person data in the Dexie store - All computation is on-device, same offline-first philosophy --- _Decomposed from [kimi_agent_kin_app_sync#81](https://forgejo.tail018ac4.ts.net/Mark/kimi_agent_kin_app_sync/issues/81)_
Mark 2026-06-10 14:20:54 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/kimi_agent_kin_app_sync#98
No description provided.