feat: implement daily worktime tracking and cost distribution system (issue #122)

- Add comprehensive WorktimeTracker service with worktime estimation and cost distribution
- Implement full CLI interface with log, list, daily, estimate, distribute, report, delete, update commands
- Support flexible duration parsing (90, 1h30m, 2.5h) and time tracking with start/end times
- Add worktime estimation with equal and activity-based distribution methods
- Implement proportional cost distribution based on actual time spent on issues
- Create worktime database schema with entries, summaries, and cost distribution logging
- Add 24 comprehensive test cases covering all functionality with integration tests
- Support multiple output formats (table/JSON) and comprehensive reporting features
- Enable precise cost allocation per minute with audit trail for financial tracking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-04 03:25:14 +02:00
parent d49fa8e9fb
commit 458f9e6414
4 changed files with 1980 additions and 0 deletions

View File

@@ -6382,6 +6382,10 @@ cli.add_command(issues_group)
from markitect.issues.activity_commands import activity as activity_group
cli.add_command(activity_group)
# Register worktime tracking commands
from markitect.finance.worktime_commands import worktime as worktime_group
cli.add_command(worktime_group)
# Query Paradigm Commands - Issue #62
@click.group()