---
name: gate-worktree-target-disk
description: "Each gate worktree's target/ is ~17-22 GB — delete after the gate is certified or the 2TB host disk fills (LNK1180/LNK1318 link fails, timing flakes under 100% disk)"
metadata: 
  node_type: memory
  type: project
  originSessionId: fa4bae0f-ba28-4088-86d4-6708a0340f53
---

2026-07-10 (v0.30.6 endgame): host C: hit 3.8 GB free — five spt-core `.worktrees/*/target*` dirs held ~81 GB (17-22 GB each). Consequences observed the same day: doyle's full-suite gate flaked the brain_decouple money test under a 100%-full disk, and my swap-tree nextest build died mid-link (`LNK1180 insufficient disk space`, then cascading `LNK1318/LNK1140` PDB errors).

**Why:** every isolated-gate worktree gets a fresh full workspace build (iroh/ring/rustls heavy); nothing reclaims it when the gate finishes.

**How to apply:** after a gate/worktree's purpose is served (SHA certified, branch merged), delete its `target/`/`target-uwedge/` immediately even if the worktree itself stays; before launching a fresh full-workspace gate build, check `Get-PSDrive C` free space (want 25 GB+). Never delete another agent's ACTIVE worktree target (e.g. deployah's rel-* during a release). Kin: [[test-subagent-stalls-on-hanging-test]] (host-load test flakes), gravity-linux disk at 82%.
