Skip to content

Machine tools with no source: move the rest into kits #926

Open

Description

@scuttletoby

Carried over from a consumer project's audit: some machine tools that agents and hooks depend on were installed by hand and have no source in any repo (no review, tests or history).

Already moved into fork kits: the capacity guard and heavy (heavy kit; #919 makes t3-capacity come from the kit), the agent guard hooks (agent-guards kit), fork CI (fork-ci).

Still to check: the pre-compact instructions hook, the folding guard, heartbeat and monitor units, and any other user units or ~/.local/bin tools the agent machine runs. For each: move it into a fork kit (general) or the consumer project's repo (project-only), or remove it if unused. List them first; one PR per kit.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 27, 2026

    @scuttletoby
    OwnerAuthor

    The list from one agent machine, from a read-only run of the new machine-tools gardener check (#1089). Only counts and kinds are given here; the local report names each entry.

    Entries with no source (no kit installed them and they are not committed in any checkout):

    Where Count What they are
    user ~/.local/bin 17 hand-written helper scripts, five .bak leftovers, a stray test file, and links that vendor installers made (provider CLIs, a Python tool manager, a secret scanner)
    /usr/local/bin 10 CI guard tools, the capacity tool, a host-agent client and the go-live tool as plain files (not installed by a kit), plus vendor-installer links
    /usr/local/libexec 2 the go-live helpers (no kit record)
    user systemd units 48 CI runners, mirrors, monitors, their timers and slices, and one .bak unit
    /etc/systemd/system 5 units for fork CI runners
    a link to an uncommitted file 1 a sync script in a checkout, not committed

    Next steps, one kind at a time:

    • the vendor-installer links: declare them in the check's tools with their installer as the source;
    • the guard tools, the capacity tool and the go-live tool: give each a kit, or a kit record;
    • the CI runner and mirror units: move them into a kit, or into the repository that owns them;
    • the .bak leftovers: remove them.

    The machine-move runbook template (docs/fork/machine-move.md, also in #1089) starts from this list.

  2. added
    area:machines
    size:medium
    type:tech-debt
    on Nov 29, 2026
  3. scuttletoby commented on Nov 29, 2026

    @scuttletoby
    OwnerAuthor

    Gardener #1265: machine-tools triage (78 findings)

    The first gardener report lists 78 tools on the dev machine: 77 with no source and 1 untracked link. They fall into these groups:

    Group About Verdict Action
    Byte-identical copies of files committed in a project repo (systemd units and scripts installed by hand from it) 40 The check misread them #1283 adds a sources option, then config. A kit installer would still be better.
    Made by hand, with no committed source anywhere (runner, session and usage helpers, units) 18 Real Move each one into a kit or a repo (this issue)
    .bak copies left beside a tool by a hand update 6 Real Delete them once the live tool is confirmed working
    Units that differ from the committed file of the same name (drift) 3 Real Install again from the committed file, or commit what the unit has that the file lacks. After #1283 these show as machine-tools.drift.
    A link to a file in a checkout that was never committed 1 Real Commit it in its repo
    Kit files installed by hand: a heavy-kit helper not in that kit's install record, and the golive kit installed without its installer (#508) 3 Real Run the kit installers
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

    area:machinessize:mediumtype:tech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions