Commit Graph

9 Commits

Author SHA1 Message Date
107cdabe8d feat: implement update backend API and client logic
Add complete update mechanism for client-side updates:
- backend/update.py: Core update logic (check, apply, rollback, status/logs)
- backend/app.py: REST API endpoints (GET /update/status, POST /update/check, POST /update/apply, POST /update/rollback, GET /update/logs)
- backend/models.py: Pydantic models for update API responses
- backend/settings.py: Update config (status/log file paths)
- scripts/rollback_client.sh: Rollback script for failed updates
- scripts/update_client.sh: Enhanced update client script
- CLAUDE.md: Documentation for future Claude Code instances

Complete US_000026-028 and TASK_000027-029:
- US_000026: Client pulls updates from remote service
- US_000027: Client verifies and applies updates atomically
- US_000028: Client reports update status to backend

All endpoints require authentication. Updates run asynchronously.
Documentation updated per SOP (CHANGELOG, PROJECT_STATUS, stories/tasks).

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 11:18:34 +01:00
2fc189a467 docs: start update ui stories 2025-12-29 00:01:22 +01:00
2aa04795b3 docs: start update client stories 2025-12-28 23:32:09 +01:00
c004aeffa7 docs: add update service requirements 2025-12-28 23:20:31 +01:00
2c36744ea8 docs: add update client stories 2025-12-28 23:15:51 +01:00
4809027227 docs: note oidc pr preparation 2025-12-28 13:37:43 +01:00
98d51655ba docs: record oidc validation blocked 2025-12-28 13:32:08 +01:00
a9c57caaf1 docs: add oidc validation runbook 2025-12-28 13:20:59 +01:00
4eb20e2449 docs: add project management structure 2025-12-28 09:16:22 +01:00