[Phase 1] Task 4: Create core/services.py — Business logic #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task 4: Create core/services.py — Business logic
Labels: phase-1, core
Dependency: Task 1 (#5), Task 2 (#6), Task 3 (#7)
Goal
Implement pure business logic services that use storage ports. No Telegram types, no file I/O.
Files to create
core/services.pyServices to implement
Key Design Decisions
Update,ContextTypes, etc.)ValueErrorfor not found,PermissionErrorfor unauthorizedAcceptance Criteria
PermissionErrorraised when non-creator tries to edit/deleteValueErrorraised when bounty not found