--- title: "Session Log" description: "Structured session and activity logs with timestamp, actor, and event semantics." section: vault prev-url: "diff/" prev-title: "Diff" next-url: "" next-title: "" type: vault date: 2026-04-09 tags: ["vault", "session", "reference"] ai-disclosure: "generated" ai-model: "claude-sonnet-4-5" ai-provider: "Anthropic" --- ## Overview Use `data-role="session-log"` on an `
    ` to render a structured activity or session log. Each `
  1. ` is one event. ```html
    1. vigilio Session started — model claude-sonnet-4-6
    2. vigilio Read vault overview and daily note
    3. system Committed: feat(vault): add session-log pattern
    ``` ## Attributes | Attribute | Element | Meaning | |-----------|---------|---------| | `data-role="session-log"` | `
      ` | Activates session-log layout | | `data-actor` | `` | Who performed the action — styled by value | | `data-event` | `` | Event type — `wake`, `read`, `write`, `commit`, `sleep` | ## Actor Variants ```html vigilio ludo system ``` ## Compact Form For dense logs, omit the actor and let timestamp + event carry the entry: ```html
      1. Wake
      2. Sleep — context limit reached
      ```