From 309dd7a0bb0c3e800ae385c125677b60d59e356a Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Sat, 21 Nov 2026 14:52:40 -0500 Subject: [PATCH 1/2] chore: remove unnecessary comments under ADR 0110 Refs: melodic-software/control-hub#12 --- .cursor/install.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.cursor/install.sh b/.cursor/install.sh index c3bc5de..4bab629 100755 --- a/.cursor/install.sh +++ b/.cursor/install.sh @@ -1,15 +1,4 @@ #!/usr/bin/env bash -# Cloud Agent environment install for agent-plugins. -# -# Installs the repository's hygiene toolchain — the linters/checkers that the -# committed root configs drive — so every Cloud Agent can run them out of the -# box: -# markdownlint-cli2 -> .markdownlint-cli2.jsonc -# editorconfig-checker -> .editorconfig-checker.json -# typos -> _typos.toml -# lychee -> lychee.toml -# gitleaks -> .gitleaks.toml -# # Design: # * Idempotent and safe to re-run. Skip a tool only when the binary this # script installs ($BIN_DIR/) reports the expected version AND @@ -56,10 +45,6 @@ semver_token() { # Official version invocations: # markdownlint-cli2 — `--version` is a glob (DavidAnson/markdownlint-cli2#289); # `--help` prints "markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)" and exits. -# editorconfig-checker — `--version` -# typos — `--version` (prints "typos-cli X.Y.Z") -# lychee — `--version` -# gitleaks — `version` subcommand (README "Available Commands") tool_report() { local bin="$1" name="$2" out case "$name" in @@ -126,7 +111,6 @@ if [[ "$arch" != "x86_64" ]]; then log "WARNING: this script targets x86_64 Linux; detected '${arch}'. Release URLs may not match." fi -# install an executable into BIN_DIR, escalating with sudo only when required. place() { local src="$1" name="$2" [[ -n "$src" && -f "$src" ]] || { @@ -140,7 +124,6 @@ place() { fi } -# symlink a target into BIN_DIR, escalating with sudo only when required. link() { local target="$1" name="$2" if [[ -w "$BIN_DIR" ]]; then @@ -158,13 +141,10 @@ ensure_work() { fi } -# Download over an HTTPS-pinned redirect chain; a couple of retries absorb -# transient network blips during setup. fetch() { curl -fsSL --retry 3 --retry-delay 2 --proto '=https' --proto-redir '=https' "$1" -o "$2" } -# extract_first -> path to the extracted file. # Release tarballs differ in layout (flat vs. nested dir), so locate by name. extract_first() { local tarball="$1" dest="$2" name="$3" found From f96e241d1c8f9f2518ae9e46db7fee4be1a97c9a Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Sat, 21 Nov 2026 14:59:50 -0500 Subject: [PATCH 2/2] chore: restore install.sh purpose header and tool-to-config mapping --- .cursor/install.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.cursor/install.sh b/.cursor/install.sh index 4bab629..a76d4e5 100755 --- a/.cursor/install.sh +++ b/.cursor/install.sh @@ -1,4 +1,15 @@ #!/usr/bin/env bash +# Cloud Agent environment install for agent-plugins. +# +# Installs the repository's hygiene toolchain — the linters/checkers that the +# committed root configs drive — so every Cloud Agent can run them out of the +# box: +# markdownlint-cli2 -> .markdownlint-cli2.jsonc +# editorconfig-checker -> .editorconfig-checker.json +# typos -> _typos.toml +# lychee -> lychee.toml +# gitleaks -> .gitleaks.toml +# # Design: # * Idempotent and safe to re-run. Skip a tool only when the binary this # script installs ($BIN_DIR/) reports the expected version AND