Skip to content

HUE-027 — Implement repository service and managed worktree lifecycle

Canonical source: docs/roadmap/issues.json · HUE-027

Specification status: TBI · Readiness: agent:blocked

Provide safe isolated repository execution owned by HUE.

  • Git status/branch/diff abstractions
  • Create/reuse/cleanup managed worktrees
  • Detect dirty/conflicting/orphan state
  • Main workspace remains untouched by default
  • Worktree provenance links to run
  • Cleanup never deletes unmerged work silently
  • Restart reconciliation works
  • HUE-010
  • HUE-021
  • None beyond the documented scope.
  • Follow the milestone and repository product contract.
  • Preserve the documented security, project, memory and event boundaries.
  • Add or update automated tests for every observable acceptance criterion.
  • Provide real verification output; do not rely on a worker/agent self-report.
  • Update only the exact documentation sections whose status changed.
  • Include screenshots or a recording for user-interface changes.
  • Include migration, rollback and recovery notes for data/state changes.
  • Link the pull request to this issue with Closes #<issue-number>.