# CLI-059 Tasks — Session visibility (memory events + init poller)

Spec: `.agents/spec-docs/active/CLI-059-session-visibility.md`

- [x] T1 (TC-01/02): `formatMemoryEventMessage()` + tracker recordMemoryEvent history append (visible types only) + injected emitMemoryEvent + unit tests
- [x] T2 (TC-03): `memory_event` in IInteractiveSessionEvents + interactive-session emitter wiring + test
- [x] T3 (TC-04): `flows/session-init-poller.ts` pure module (interval/timeout/benign-real split) + fake-timer unit tests
- [x] T4 (TC-05): TuiInteractionChannel — poller adoption (15s), failure surfacing (onError + session-init-error event entry), memory_event subscription + channel test
- [x] T5 (TC-06): SPEC updates (framework events table, transport lifecycle); build/test/typecheck/lint green both packages
- [x] T6: backlog CLI-059/060 evidence recording
