carlos / platform Public

activity-session-labels

Paul's check of the session audit rows after rootfs Plan 6's dev checklist found they read "Recorded interactive-start", "Recorded interactive-end" and "Recorded interactive-refused", beside run rows that read "Started bin/rails runner puts 6*7 (v4)". The one formatter every audit feed reads through (auditWhatOf) now turns them into sentences, as it does run rows:

  • "Opened a terminal running bin/rails console (v4)"
  • "Terminal session ended with exit code 0 after 2m14s on box-1"
  • "Terminal session ended: <reason>". The reason is one of the box's approved words (idle, limit, hangup, lost, replaced) or the box's own explanation for an interrupted end, such as "the instance was restarted".
  • "No box opened the terminal session", "Terminal session was cancelled before it started", "Terminal session was refused (<why>)", and "Terminal session ended" for an end it does not know. The stored JSON stays under each sentence on the operator pages. A row that does not read keeps today's fallback. interactiveEndDetail also stores the End's Detail, so an interrupted end keeps the box's words. Rows written before this read "Terminal session was interrupted".

Copy RFS-6-C76 to C84 approved unchanged by Paul (copy review 2026-11-01). Console only: no box change, nothing in the root binary. Review: Astra READY (reason mapping, escaping, end-row dedup unchanged).

🤖 Generated with Claude Code

Commits 1
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity