Skip to content

Declare a Development Tool Set That --dev Installs and host-upgrade Keeps Current, With .NET Defaulting to the Current LTS #2557

Open

Description

@ptr727

host-setup/linux/install-tools.sh hardcodes its managed tools in TOOLS, and bootstrap.sh --dev differs from --host only by passing --optional, which is all or nothing. Standing a development host up with --dev on 2026-10-08 (Debian 13) showed two gaps.

1. --optional installs every .NET SDK line the feed carries. dotnet_install installs the newest SDK by default and, under --optional, "every other SDK line the feed carries". The host ended with dotnet-sdk-8.0, dotnet-sdk-9.0, and dotnet-sdk-10.0, plus their runtimes, though the maintainer builds only against the current LTS. So --dev is the only way to get PowerShell and the Python extras, and it always brings the old SDK lines with them.

2. The tools a development machine is actually used with are not managed at all. Each of these is installed by hand today and upgraded by nothing:

Tool How it installs How it upgrades
Claude Code (claude) Anthropic's native installer, as the account self-updates
claude-swap (cswap) uv tool install claude-swap uv tool upgrade claude-swap
herdr curl -fsSL https://herdr.dev/install.sh | sh the same installer
mc apt apt
The agent-safety kit host-setup/agent-safety/claude/install.sh the same installer, which --dev never runs

#2553 covers Claude Code and the agent-safety kit. This issue is the broader shape.

Proposed: a declared development set that --dev installs and upgrade-host.sh keeps current, with no prompts. Each entry carries its own install and upgrade method (apt, an upstream installer run as the account, uv tool, the agent-safety installer), and the maintainer's preference is to install everything commonly used rather than be asked per tool. Under that set, .NET defaults to the newest LTS SDK alone, and an older line is installed only when it is named, so --optional stops implying every SDK line.

Done when bootstrap.sh --dev on a fresh host leaves the development set installed, upgrade-host.sh upgrades each member by its own method, and .NET carries only the current LTS SDK unless another line is asked for.

Activity

  1. ptr727 commented on Nov 20, 2026

    @ptr727
    OwnerAuthor

    Decision triage, 2026-11-19. What should bootstrap.sh --dev add beyond --host: should it stop installing every older .NET SDK line, and which hand-installed tools (the agent CLIs and mc) join it?

    Part of this issue has already landed. #4087 made --host and --dev end with the agent setup, so the agent-safety kit is now installed and stamped. #4110 made the default .NET set the fleet line (10.0, the current LTS) plus the newest line the feed carries. #4159 then let a repository lead that default. Two things remain open. --dev still passes --optional, which adds every other SDK line on Linux and the two majors below on Windows. And no stand-up step installs claude, herdr, cswap, or mc, since the agent setup only upgrades agent tools already present. What a fleet host gets by default is a contract choice, so it needs the maintainer.

    Options

    1. Keep fleet plus newest, drop the older lines from --dev, and add the listed tools (recommended). --dev keeps --optional for PowerShell, op, and the Python extras. The older .NET lines install only when dotnet is named, as install-tools.sh --install --optional dotnet. --dev then runs install-agents.sh --install claude herdr cswap, which already installs and upgrades each one. It also installs mc as a Linux-only apt package. This matches the issue's stated preference to install what is commonly used, with no prompts. It keeps the Install the Fleet's .NET SDK Line by Default and Read It From global.json in CI #4110 choice of the newest line, so a repository that leads the default under Let a Repository Choose Its Own .NET Line Under a Fleet Default #4159 still builds. Upkeep is already covered: upgrade-host.sh --packages upgrades mc through apt, and the agent setup upgrades the three agent tools once they are present.
    2. The fleet line alone under --dev, plus the listed tools. This is the issue's literal wording, "the newest LTS SDK alone". It reverses the Install the Fleet's .NET SDK Line by Default and Read It From global.json in CI #4110 choice to install the newest line beside the fleet line. A repository that moves ahead of the default under Let a Repository Choose Its Own .NET Line Under a Fleet Default #4159 then does not build on that host until its line is named.
    3. Keep the .NET sets as they are, and add only the listed tools. This is the smallest change. Every --dev host keeps the 8.0 and 9.0 SDKs and runtimes, which no fleet build selects.
    4. As option 1, but leave mc unmanaged. The managed set stays limited to tools the fleet's own work uses, and mc stays a by-hand install per host. It trades the issue's "install everything commonly used" preference for a smaller tool contract.

    Evidence:

    Effect on work in flight: No open pull request touches host-setup/. Every option installs claude under --dev, so each one also closes the remaining item of #2553. Options 1, 2, and 4 change dotnet_install on Linux and the dotnet row on Windows, so tests/test_install_tools.py and tests/test_bootstrap.py change with them.

  2. added
    decision
    on Nov 20, 2026
  3. ptr727 commented on Nov 20, 2026

    @ptr727
    OwnerAuthor

    Maintainer's answer, 2026-11-19 (decision triage): option 1. Keep the fleet line plus the newest .NET line by default, and install older SDK lines only when dotnet is named explicitly (install-tools.sh --install --optional dotnet), on Linux and Windows. --dev runs install-agents.sh --install claude herdr cswap and installs mc as a Linux-only apt package. This is now work. It also settles #2553's remaining item, installing the Claude Code CLI.

  4. removed
    decision
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions