Home / Current Issue / Paper 1725899
Code-pulse: Role-Based Work Tracking with Consent-Based Activity Monitoring for Software Teams
Subject area: Science,Engineering and Technology · Area of research: softwear engineering
Abstract
Our experience with most software teams we have worked with is that they track work in 4-5 different places: an attendance sheet, a task board, a chat channel for status updates and a code repository. No one has a full picture unless they piece it together manually. CodePulse is our attempt to provide that picture in one place. It is a Flask + Firestore web application for 3 types of users (Employees, Team Leads, Managers) with work sessions, tasks, daily updates, timesheet corrections and public GitHub activity. Server-side access control with team-level scoping is implemented. For any sensitive change, a single decision is recorded from a Manager. GitHub integration is via OAuth with state + PKCE, but no repository permissions are requested. An employee's activity is only shown to supervisors if they opt-in to share. We also implemented an optional, and admittedly more controversial, Smart Activity module. It is a Windows agent that tracks the type of application running in the foreground. It also takes periodic screenshots. It is only active during a work session and only after the employee provides versioned consent, which can be withdrawn at any time. This paper covers design, data model, security/privacy controls and implementation. The code has 183 automated tests running against an in-memory store. When we deliberately broke the permission code, the tests caught it every time. We haven't yet run CodePulse against live Firestore, a registered GitHub app, a real Windows machine. And we haven't done a user study. So, we're careful about what we claim. Our primary argument is that activity data should be a conversation starter, not a productivity score.
Keywords
work tracking, role-based access control, Flask, Firestore, GitHub OAuth, employee monitoring, privacy by design, timesheet corrections
References
[1] K. Ball, "Workplace surveillance: An overview," Labor History, vol. 51, no. 1, pp. 87–106, 2010.
[2] N. Forsgren, M.-A. Storey, C. Maddila, T. Zimmermann, B. Houck, and J. Butler, "The SPACE of developer productivity: There's more to it than you think," ACM Queue, vol. 19, no. 1, 2021, https://doi.org/10.1145/3454122.3454124.
[3] A. N. Meyer, T. Fritz, G. C. Murphy, and T. Zimmermann, "Software developers' perceptions of productivity," in Proc. 22nd ACM SIGSOFT Int. Symp. Foundations of Software Engineering (FSE 2014), 2014, pp. 19–29.
[4] C. Sadowski and T. Zimmermann, Eds., Rethinking Productivity in Software Engineering. Berkeley, CA, USA: Apress, 2019.
[5] M. Mäntylä, B. Adams, G. Destefanis, D. Graziotin, and M. Ortu, "Mining valence, arousal, and dominance: Possibilities for detecting burnout and productivity?," in Proc. 13th Int. Conf. Mining Software Repositories (MSR '16), Austin, TX, USA, 2016, arXiv:1603.04287.
[6] Hubstaff. [Online]. Available: https://hubstaff.com.
[7] Time Doctor. [Online]. Available: https://www.timedoctor.com.
[8] WakaTime. [Online]. Available: https://wakatime.com.
[9] A. N. Meyer, G. C. Murphy, T. Zimmermann, and T. Fritz, "Design recommendations for self-monitoring in the workplace: Studies in software development," Proc. ACM Hum.-Comput. Interact., vol. 1, no. CSCW, 2017.
[10] OWASP Foundation, "A01:2025 Broken Access Control," OWASP Top 10:2025. [Online]. Available: https://owasp.org/Top10/2025/A01_2025-Broken_Access_Control/.
[11] R. S. Sandhu, E. J. Coyne, H. L. Feinstein, and C. E. Youman, "Role-based access control models," IEEE Computer, vol. 29, no. 2, pp. 38–47, 1996.
[12] D. Hardt, Ed., "The OAuth 2.0 Authorization Framework," IETF RFC 6749, Oct. 2012.
[13] N. Sakimura, J. Bradley, and N. Agarwal, "Proof Key for Code Exchange by OAuth Public Clients," IETF RFC 7636 (Sept 2015).
[14] T. Lodderstedt, J. Bradley, A. Labunets and D. Fett "Best Current Practice for OAuth 2.0 Security," IETF RFC 9700 (Jan 2025).
[15] European Parliament and Council, Regulation (EU) 2016/679 (General Data Protection).
How to cite this paper
@article{1725899,
author = {Akanksha C, Ashitha N M, Ayush Singh, Dr. A Prakash},
title = {Code-pulse: Role-Based Work Tracking with Consent-Based Activity Monitoring for Software Teams},
journal = {Iconic Research And Engineering Journals},
year = {2026},
volume = {10},
number = {5},
pages = {7225-7237},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1725899.pdf},
abstract = {Our experience with most software teams we have worked with is that they track work in 4-5 different places: an attendance sheet, a task board, a chat channel for status updates and a code repository. No one has a full picture unless they piece it together manually. CodePulse is our attempt to provide that picture in one place. It is a Flask + Firestore web application for 3 types of users (Employees, Team Leads, Managers) with work sessions, tasks, daily updates, timesheet corrections and public GitHub activity.
Server-side access control with team-level scoping is implemented. For any sensitive change, a single decision is recorded from a Manager. GitHub integration is via OAuth with state + PKCE, but no repository permissions are requested. An employee's activity is only shown to supervisors if they opt-in to share. We also implemented an optional, and admittedly more controversial, Smart Activity module. It is a Windows agent that tracks the type of application running in the foreground. It also takes periodic screenshots. It is only active during a work session and only after the employee provides versioned consent, which can be withdrawn at any time. This paper covers design, data model, security/privacy controls and implementation. The code has 183 automated tests running against an in-memory store. When we deliberately broke the permission code, the tests caught it every time. We haven't yet run CodePulse against live Firestore, a registered GitHub app, a real Windows machine. And we haven't done a user study. So, we're careful about what we claim. Our primary argument is that activity data should be a conversation starter, not a productivity score.},
keywords = {work tracking, role-based access control, Flask, Firestore, GitHub OAuth, employee monitoring, privacy by design, timesheet corrections},
month = {November},
}