# ADR 0006 — Native Kubernetes WorkspaceProvider

**Status:** Accepted

## Context

AWP needs isolated, disposable agent/CI compute while preserving WIP and removing normal workstation execution authority.

## Decision

`Workspace` is the product primitive. Implement baseline `WorkspaceProvider` directly using Kubernetes Pod/PVC/ServiceAccount/NetworkPolicy and compatible RuntimeClass controls. Prefer project-native dev environment declarations when resolving `ExecutionProfile`.

## Consequences

K3s becomes the intentional execution plane. Pods can die without losing WIP. Sandbox/scheduler enhancements remain optional provider mechanics rather than required product dependencies.

## Rejected Alternatives

- workstation worktrees as product workspace authority;
- rebuilding a container scheduler;
- mandatory heavy sandbox/queue controllers before evidence requires them.

## Increment Realization

I0 substrate/recovery tests, I1 live coding, I4 observability, I7 cluster/capacity UI.