Something went wrong. Try again.
personal memory agent
Something went wrong. Try again.
feat(activity_sm): K=2 hysteresis on facet-gone and type-change ends + change reason in events master
Apply K=2 hysteresis to facet-gone and type-change activity ends while leaving idle and gap endings immediate. Motivated by the 4/16 backfill investigation: about 50-60% of ends came from ended_facet_gone and about 30% from ended_type_change, mostly single-segment wobbles. Persist pending counters through the existing awareness snapshot and add change to activity.detected/activity.persisted JSONL events for end-reason observability.
Author Jer Miller Date (Apr 30, 2026, 2:12 AM UTC) Commit 8ffec646 8ffec646f2be24e217fb6e582bf585dec915bc71 Parent 02f46c91 02f46c91a303069f650fee61762c1faeab9ada0e