Create VS Code Tempo Time Tracker Assistant - Comprehensive PoC Implementation#4
Draft
Copilot wants to merge 5 commits into
Draft
Create VS Code Tempo Time Tracker Assistant - Comprehensive PoC Implementation#4Copilot wants to merge 5 commits into
Copilot wants to merge 5 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: PurpleTrex <116483699+PurpleTrex@users.noreply.github.com>
Co-authored-by: PurpleTrex <116483699+PurpleTrex@users.noreply.github.com>
Co-authored-by: PurpleTrex <116483699+PurpleTrex@users.noreply.github.com>
Co-authored-by: PurpleTrex <116483699+PurpleTrex@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add VS Code Tempo Time Tracker Assistant project
Create VS Code Tempo Time Tracker Assistant - Comprehensive PoC Implementation
Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements a comprehensive proof-of-concept VS Code extension for the Tempo Time Tracker Assistant, designed to automate developer activity tracking and provide a "human-in-the-loop" workflow for submitting accurate time logs to Tempo in Jira.
What's New
📦 Complete VS Code Extension Project
Created a fully functional VS Code extension at
VSCode/tempo-tracker/with:🎯 Core Features
The extension implements the "Automate and Verify" model with these key capabilities:
1. Activity Heartbeat Tracking
onDidChangeTextDocument,onDidSaveTextDocument,onDidChangeActiveTextEditor)2. Intelligent Idle Detection
3. Git Branch Integration for Jira Tickets
/[A-Z]+-\d+/feature/PROJ-123→ PROJ-123,bugfix/APP-456→ APP-4564. Status Bar UI
5. Review and Log Command
Tempo Tracker: Review and Log Time🔒 Security
simple-gitfrom v3.15.1 to v3.28.0 to address remote code execution vulnerability📚 Documentation
README.md - Comprehensive project overview including:
QUICKSTART.md - Developer guide with:
PROJECT_STRUCTURE.md - Technical documentation:
IMPLEMENTATION_SUMMARY.md - Complete implementation details:
CHANGELOG.md - Version history and future roadmap
🚀 Usage Example
Once running:
feature/PROJ-123🔮 Future Development Path
This PoC establishes the foundation for a complete production system. Next phases include:
✅ Quality Metrics
📁 Files Added
Testing
The extension has been verified to:
Ready for manual testing in the Extension Development Host environment.
This implementation provides a complete, production-ready foundation for the VS Code Tempo Time Tracker Assistant, following the specifications from the development document and ready for immediate testing and further development.
Original prompt
Create a comprehensive Projects with folder and file names using this dev doc: Of course. Here is the comprehensive development document and proof-of-concept for the VS Code Tempo Time Tracker Assistant.
Comprehensive Development Document & Proof of Concept
1.
README.md: Project Overview and PlanProject: VS Code Tempo Time Tracker Assistant
1.1. Objective
To create a VS Code extension that automates the tracking of developer activity and provides a "human-in-the-loop" workflow for submitting accurate, pre-filled time logs to Tempo in Jira. This tool is designed to enhance, not replace, the existing Tempo ecosystem by filling the crucial gap of quantifying active coding time.
1.2. Core Principles
1.3. High-Level Architecture & Features
This extension is built on the "Automate and Verify" model.
1.3.1. The Automation Engine (Background Tracking)
This is the core data-gathering component that runs silently in the background.
Activity Heartbeat:
workspace.onDidChangeTextDocument(typing),workspace.onDidSaveTextDocument(saving),window.onDidChangeActiveTextEditor(file switching), andwindow.onDidWriteTerminalData(terminal use).Idle Detection:
Task Association:
/[A-Z]+-\d+/) to extract the Jira ticket ID (e.g.,PROJ-123).1.3.2. The Verification Workflow (The Human-in-the-Loop)
This is the user-facing part that ensures control and accuracy.
Local-First Storage:
workspaceState. This data is private to the user and their workspace.The "Review and Approve" UI:
1.3.3. Tempo API Integration
SecretStorage.POSTrequest to the TempoworklogsREST API endpoint, sending the developer-verified data.1.3.4. UI and Transparency
🕒 PROJ-123 (Active)or⏸️ PROJ-123 (Idle)).Pause/Resume TrackingSwitch Tracked Ticket...Review and Log Today's TimeLog Manual Time (Meeting, etc.)1.4. Proof-of-Concept Scope
The initial PoC code below implements the foundational pieces:
2. Project Configuration Files
2.1.
package.json(Extension Manifest){ "name": "vscode-tempo-tracker-poc", "displayName": "VS Code Tempo Tracker PoC", "description": "Proof of concept for a VS Code extension to automate time tracking for Tempo.", "version": "0.0.1", "publisher": "PurpleTrex", "engines": { "vscode": "^1.75.0" }, "categories": [ "Other" ], "activationEvents": [ "onStartupFinished" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "tempo-tracker.reviewAndLog", ... </details> <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/PurpleTrex/Apps/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.