Skip to content

Extract update/version routes and helpers from app.py #45

Description

@raychrisgdp

Goal

Move local dashboard update/version endpoints and helper functions out of app.py into a dedicated module.

Candidate Scope

  • /api/app-version
  • /api/update
  • Git command helpers used only by update/version behavior
  • Localhost/header guard helpers if they are update-specific

Constraints

  • Preserve current safety checks for local-only update actions.
  • Keep dirty-worktree and fast-forward behavior unchanged.
  • Avoid mixing this with dashboard data route refactors.

Verification

  • Existing update/version tests continue to pass.
  • scripts/review.sh passes from a worktree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions