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

address review (claude): clarify per-app swarm-off comment (sanitizer keeps explicit 0)

[._.]/ Adam Eivy9eb7f5db39bc
diff --git a/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx b/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
index 67535294a9..43fde6a6b1 100644
--- a/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
+++ b/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
@@ -59,8 +59,11 @@ const AppOverrideRow = memo(function AppOverrideRow({ app, taskType, globalInter
};
// claim-issue per-app swarm override. '' = inherit the global default; '0'
- // = explicit off; 2..6 = swarm with that many agents. Sent as a Number so the
- // server's integer-range check keeps it (0 collapses to off and is dropped).
+ // = explicit off; 2..6 = swarm with that many agents. Sent as a Number: the
+ // server's sanitizer KEEPS an explicit 0 (it's how a per-app override turns
+ // swarm off even when the global default has it on) and 2..6; only 1 /
+ // out-of-range / non-integer are dropped. Inherit is the absent key (deleted
+ // above), distinct from a stored 0.
const handleSwarmCountChange = async (raw) => {
setUpdating(true);
const next = { ...(override?.taskMetadata || {}) };