Skip to content

Implement session ID tracking on each agent launch #170

@Aanderson1998

Description

@Aanderson1998

Description

Add functionality to the Coding Agent that generates a unique session ID when the agent starts, logs the ID along with repository context, and records subsequent launches to build a basic framework for usage-session analytics.

Technical Requirements

  • Generate a UUID v4 session ID at every agent startup
  • Persist session IDs with timestamp and repo context (SQLite or JSONL log)
  • On subsequent startup, append new launch info under same session ID until agent termination
  • Provide utility function to query recent sessions for analytics purposes

Background Context

Meeting Source: Coding Agent discussion on July 23, 2025
Project Context: coding-agent - Demo will highlight agent's ability to track usage patterns via sessions.

Acceptance Criteria

  • Session ID generated and logged on every launch
  • Session data includes timestamp and repo name
  • Storage format easy to query programmatically
  • Unit tests ensuring log creation and data integrity

Dependencies & Blockers

  • None identified

Additional Notes

Consider future expansion to send session analytics to external monitoring.


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