turbo
52bea749 - feat: Add atomic managed tool installation inventory (#14398)

Commit
48 days ago
feat: Add atomic managed tool installation inventory (#14398) Fixes TURBO-6200 Adds a clone/worktree-local managed installation primitive. It owns `.turbo/tools/manifest.json`, stages full tool trees with adjacent resources and owned shims, and publishes the desired inventory through one atomic manifest replacement. ```text Previous generation stays intact │ ▼ Stage desired tools + owned bin │ ▼ Validate identities, paths, tree hashes and executables │ ▼ Sync staged state → atomically replace manifest.json │ └─ Selected bin contains only desired tools ``` - Reuses unchanged verified local trees and makes an unchanged desired inventory a no-op. - Keeps failed/interrupted staging from replacing the prior valid generation. Old generations remain inactive for the separate cleanup milestone. - Rejects unsafe bookkeeping paths, escaping symlinks, executable collisions, special files and hard-linked tool files. - Keeps exact tool/platform/artifact identities independent of the separate `turbo.lock` schema work. No downloads, installers, tool-specific adapters, CLI provisioning or activation are added. This local inventory is not a trust record: later activation must authorize setup-recorded tools using user state outside the repository. Windows installation is explicitly unsupported pending native qualification.
Author
Parents
Loading