Skip to content

Add session ID tracking framework #134

Description

@vasyafomiuk

Description

Create a mechanism that generates a unique session ID whenever the Coding Agent launches, logs that ID at startup and shutdown, and associates it with repository context to begin collecting basic usage analytics.

Technical Requirements

  • Generate a ULID-based or UUIDv7 session ID on each launch.
  • Log the session ID at startup and shutdown with timestamp.
  • Include repository path or identifier in log entry to differentiate environments.
  • Provide a way to aggregate logs to analyze usage over multiple relaunches.
  • Ensure minimal performance impact and privacy-friendly data collection.

Background Context

Meeting Source: Coding Agent Enhancement discussion on July 23, 2025
Project Context: coding-agent – Improving usability analytics.

Acceptance Criteria

  • Session ID generated and logged at startup/shutdown.
  • Log includes session ID and timestamp.
  • Developer can correlate multiple runs via session ID.
  • Unit tests validate ID generation and logging.

Dependencies & Blockers

  • None identified

Additional Notes

Consider using existing logging framework and appending to existing log file.


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