Repository navigation
targetwarden v0.1.0
Added
- Read-only discovery and status commands (
status,scan) with GiB tables
andschema_version = 1JSON output acrossBuildDirV2(Cargo1.100+),
LegacyV1(1.98–1.99),MixedV1V2, andArtifactsOnlylayouts. - Surgical intra-target sweep (
R2build-unit BFS reachability graph, stale
target/doc/pruning, orphaned V1deps//build/cleanup, empty V2
package directory cleanup, and two-levelR3incremental/pruning) that
preserves hot caches and active builds. - Disk-pressure-aware full target eviction (
R1merged/dead linked worktrees,
R4cooled linked worktrees,R5pressure LRU with APFS GiB hysteresis and
ReclaimHoldStatelocal-snapshot circuit breaker). - Six fail-closed safety barriers (
O_RDONLYFile::try_lock(), bounded NUL
lsof -n -P -F0pcftnwithrust-analyzer-proc-macro-srv.dylib
auto-pinning,/sbin/mountand symlink validation, local Git inspection,
nested--target-dirprotection propagation,pin/unpin/.targetwarden-pin,
and TOCTOU-safe staging rename +rustixfd-anchored safe removal with crash
recovery). - Adaptive background daemon (
watch), gracefulSIGTERM/SIGINTself-pipe
shutdown, rotatingactions.jsonlhistory (history), shell completions
(completions), and macOS LaunchAgent management (install [--dry-run] [--watch-dry-run],
uninstall). - Native macOS release archives (
aarch64-apple-darwin,x86_64-apple-darwin),
SHA256SUMS, build provenance attestations, andinstall.sh.
Install or upgrade
curl -fsSL https://github.com/Dankosik/targetwarden/releases/download/v0.1.0/install.sh | TARGETWARDEN_VERSION=v0.1.0 shArchives are for macOS on Apple Silicon (aarch64-apple-darwin) and Intel (x86_64-apple-darwin); SHA256SUMS lists their checksums. Each archive has a build provenance attestation: gh attestation verify <archive> --repo Dankosik/targetwarden.