Files
kandev/docs/plans/azure-devops-integration/task-11-secure-azure-clone.md
T
2026-07-21 08:40:26 +01:00

1.3 KiB

id, title, status, wave, depends_on, plan, spec
id title status wave depends_on plan spec
11-secure-azure-clone Secure Azure repository materialization done 6
10-remote-repository-contracts
plan.md ../../specs/azure-devops-integration/spec.md

Task 11: Secure Azure Repository Materialization

Acceptance

  • Kandev resolves the active workspace's Azure PAT only inside backend repository materialization.
  • Git receives credentials through an ephemeral mechanism; command arguments, logs, stored URLs, task metadata, and agent environments remain credential-free.
  • Authentication state is removed after success, failure, timeout, and cancellation.
  • GitHub/GitLab clone behavior and separately configured push credentials remain unchanged.

Verification

  • Go tests with a fake Git executable covering credentials, cleanup, cancellation, redaction, and provider isolation.
  • Existing repoclone, orchestrator, and task-service suites.
  • Security-focused review of every new secret-bearing value.

Files Likely Touched

  • apps/backend/internal/repoclone/
  • apps/backend/internal/backendapp/ repository resolver wiring.
  • apps/backend/internal/azuredevops/ credential resolver.
  • Repository materialization interfaces and tests.

Output Contract

Report the credential transport and cleanup guarantees, RED/GREEN commands, security review, and update this task plus its plan checkbox.