Skip to content

Implement basic session ID tracking #142

Description

@vasyafomiuk

Description

Add logic to generate a unique session ID each time the Coding Agent launches, persist it across re-launches, and log session start/stop events to establish a framework for future usage analytics.

Technical Requirements

  • Generate a UUIDv4 session ID on first launch.
  • Persist the session ID to a durable store (e.g., config file).
  • Emit start and stop events with timestamp and session ID.
  • Prepare a mechanism to reset session tracking for debugging/testing.

Background Context

Meeting Source: Discussion on July 23, 2025
Project Context: coding-agent - The team aims to improve telemetry for future analytics.

Acceptance Criteria

  • Consistent session ID persists across restarts.
  • Events logged to telemetry or console output for now.
  • Reset function clears stored ID and creates new on next launch.

Dependencies & Blockers

  • None identified.

Additional Notes

Automatically generated from meeting discussion on 2025-07-23

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions