Skip to content

Commit af1f524

Browse files
Kabuki94claude
andcommitted
chore(prose): scrub AI-speak / hedge tells from MiOS-authored files
Targeted edits, no semantic changes: * automation/08-system-files-overlay.sh: "robust against" -> "resists" * automation/11-hardware.sh: "fails gracefully in no-GPU builds" -> "no-op in no-GPU builds" * automation/21-moby-engine.sh: "so we can map users" -> passive voice * automation/lib/agreements-banner.{sh,ps1}: "as a matter of declared policy" -> "as declared policy" * INDEX.md: "clearly namespaced" -> "namespaced" * tools/lib/quote-mios.py: "extensions / names we'll happily touch" -> "extensions / names this script touches" * usr/bin/mios-ai: "under the hood" -> "internally"; "thin opinionated wrapper" -> "thin wrapper" * usr/lib/greenboot/check/required.d/15-composefs-verity.sh: - "we should definitely log it" -> "log it" - "but we can verify that some core files have verity bits" -> "this verifies a few core-binary verity bits" * usr/lib/sysctl.d/90-mios-le9uo.conf: "(BORE scheduler synergy)" -> "(BORE-scheduler-friendly)" * usr/libexec/mios/mios-dashboard.sh: "so we can center as a block" -> "to center it as a block" Vendored upstream files (dracut, NetworkManager, repart.d) and domain terms (Anaconda kickstart, nvidia-smi utilization.gpu) left intact. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent bc2f77d commit af1f524

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

INDEX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All system agents target the local proxy at `http://localhost:8080/v1`,
1616
served by the `mios-ai.container` Quadlet (LocalAI runtime). The
1717
endpoints below follow the OpenAI public API spec
1818
(<https://platform.openai.com/docs/api-reference>) verb-for-verb;
19-
`x-mios.*` rows are MiOS extensions, clearly namespaced so strict
19+
`x-mios.*` rows are MiOS extensions, namespaced so strict
2020
OpenAI clients can ignore them.
2121

2222
| Path | Method | Served by | Spec |

automation/08-system-files-overlay.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fi
7474
# and ends up in /etc/wsl.conf -- WSL2's parser then reports
7575
# "Expected ' ' or '\n' in /etc/wsl.conf:N" at the line just past the
7676
# last LF. Strip CR bytes and any UTF-8 BOM here before installing so
77-
# the build is robust against the working-tree state on the host.
77+
# the build resists the working-tree state on the host.
7878
if [[ -f "${CTX}/etc/wsl.conf" ]]; then
7979
tmp_wsl=$(mktemp)
8080
# Drop UTF-8 BOM (0xEF 0xBB 0xBF) on the first line, strip CR bytes

automation/11-hardware.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if [[ $NVIDIA_PRESENT -eq 0 ]]; then
7575
echo "[11-hardware] sudo akmods --force --kernels \$(uname -r)"
7676
fi
7777

78-
# Regenerate CDI spec if nvidia-ctk is available (fails gracefully in no-GPU builds)
78+
# Regenerate CDI spec if nvidia-ctk is available (no-op in no-GPU builds)
7979
if command -v nvidia-ctk &>/dev/null; then
8080
nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml 2>/dev/null || true
8181
echo "[11-hardware] NVIDIA CDI spec generated (build-time; runtime refresh handled by nvidia-cdi-refresh.path)"

automation/21-moby-engine.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ install_packages "moby"
1616
# Enable the Docker socket to ensure it's available on boot
1717
systemctl enable docker.socket
1818

19-
# Ensure the docker group exists so we can map users to it later via sysusers
19+
# Ensure the docker group exists so users can be mapped to it later via sysusers
2020
groupadd -r docker 2>/dev/null || true

automation/lib/agreements-banner.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ To stop, choose No thanks. The script exits without making changes
146146
(exit code 78, EX_CONFIG). Re-run any time you want to reconsider.
147147
148148
For unattended / CI invocation, set ``$env:MIOS_AGREEMENT_ACK = 'accepted'``
149-
in the environment to bypass this prompt as a matter of declared policy.
149+
in the environment to bypass this prompt as declared policy.
150150
151151
================================================================================
152152
"@

automation/lib/agreements-banner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ To stop, choose No thanks. The script exits without making changes
154154
(exit code 78, EX_CONFIG). Re-run any time you want to reconsider.
155155
156156
For unattended / CI invocation, set MIOS_AGREEMENT_ACK=accepted in
157-
the environment to bypass this prompt as a matter of declared policy.
157+
the environment to bypass this prompt as declared policy.
158158
159159
================================================================================
160160
EOF

tools/lib/quote-mios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
PATTERN = re.compile(rf"(?<!['\w\"/\\]){_LIT}(?![-./\\\w'\"])")
3838
REPLACE = f"'{_LIT}'"
3939

40-
# File extensions / names we'll happily touch. Anything else is skipped.
40+
# File extensions / names this script touches. Anything else is skipped.
4141
ALLOW_EXT = {
4242
".md", ".sh", ".ps1", ".py", ".toml", ".conf", ".service",
4343
".target", ".container", ".preset", ".txt", ".rules", ".cfg",

usr/bin/mios-ai

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# unified AI endpoint (mios.toml [ai].endpoint, LocalAI :8080 by
3131
# default). Picking `mios` as the default tracks whatever mios.toml
3232
# says without the operator having to know whether their host is
33-
# running LocalAI or Ollama under the hood.
33+
# running LocalAI or Ollama internally.
3434
set -euo pipefail
3535

3636
usage() {
@@ -49,7 +49,7 @@ while (( $# > 0 )); do
4949
--) shift; PROMPT_ARGS+=("$@"); break ;;
5050
-*) # Anything else (e.g. -f file.py, --no-stream)
5151
# passes through to aichat unchanged. This
52-
# keeps mios-ai a thin opinionated wrapper
52+
# keeps mios-ai a thin wrapper
5353
# rather than a re-implementation of every
5454
# aichat flag.
5555
PROMPT_ARGS+=("$1"); shift ;;

usr/lib/greenboot/check/required.d/15-composefs-verity.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ if mount | grep "type composefs" >/dev/null; then
1616
else
1717
echo "[greenboot] ERROR: composefs requested but not active"
1818
# Note: we don't exit 1 here yet because it might be the first boot
19-
# but we should definitely log it.
19+
# but log it.
2020
fi
2121

2222
# 3. Quick integrity sample (if composefs-info is present)
2323
if command -v composefs-info >/dev/null; then
2424
# We can't easily find the .cfs image path at runtime without parsing
25-
# ostree metadata, but we can verify that some core files have verity bits.
25+
# ostree metadata, this verifies a few core-binary verity bits.
2626
if fsverity digest /usr/bin/bash >/dev/null 2>&1; then
2727
echo "[greenboot] SUCCESS: fsverity is active on /usr/bin/bash"
2828
else

usr/lib/sysctl.d/90-mios-le9uo.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ vm.watermark_scale_factor = 200
77
vm.watermark_boost_factor = 15000
88
vm.min_free_kbytes = 1048576
99

10-
# Tuning specifically for interactive workloads (BORE scheduler synergy).
10+
# Tuning specifically for interactive workloads (BORE-scheduler-friendly).
1111
# These keys only exist on BORE / le9uo-patched kernels; on vanilla and WSL2
1212
# kernels they don't and systemd-sysctl logs noise. Prefix with "-" so a
1313
# missing key is silently ignored. See sysctl.d(5).

0 commit comments

Comments
 (0)