Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

review (claude): rename clampNumber temp var for clarity

[._.]/ Adam Eivy07325ad93ae9
diff --git a/client/src/components/pipeline/AutopilotPanel.jsx b/client/src/components/pipeline/AutopilotPanel.jsx
index 31c016d54d..086286b5b2 100644
--- a/client/src/components/pipeline/AutopilotPanel.jsx
+++ b/client/src/components/pipeline/AutopilotPanel.jsx
@@ -47,8 +47,8 @@ const clampNumber = (n, { fallback, min, max }) => {
if (n === '' || n === null || n === undefined) return fallback;
const v = Number(n);
if (!Number.isFinite(v)) return fallback;
- const floored = Math.max(min, Math.round(v));
- return max === null ? floored : Math.min(max, floored);
+ const rounded = Math.max(min, Math.round(v));
+ return max === null ? rounded : Math.min(max, rounded);
};
const clampRound = (n, fallback) => clampNumber(n, { fallback, min: ROUND_MIN, max: ROUND_MAX });
// Pause threshold: blank → 0 (off), non-negative integer, no upper cap.