Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

πŸ”¨ chore(acceptance): update acceptance skill to v0.10.3 (#23521)

YuTengjing19d85c30083c
diff --git a/.agents/acceptance/PROCESS.md b/.agents/acceptance/PROCESS.md
index a2a7c645e88..79aec88f96b 100644
--- a/.agents/acceptance/PROCESS.md
+++ b/.agents/acceptance/PROCESS.md
@@ -281,7 +281,7 @@ made in a real LobeHub round. The generic set is in the skill's SKILL.md.
| "The agent operation finished, I'll stop the dev server" | Verification and repair can start minutes later and still own pending operations. Keep every dependency alive until the bound Task reaches a stable terminal state or non-progress is proven. (was L-S4) |
| "No popup in the DOM 500ms after the click β€” the trigger is broken" | A Chrome MCP tab is hidden: `visibilityState === 'hidden'`, rAF delivers 0 frames. Assert on state (`data-open`, the store), confirm the tab's health first, and get timing-dependent behavior confirmed in a foreground tab. A negative from a hidden tab is not evidence. (was L-S10) |
| "My change has no effect β€” must be the Vite cache" / "the app won't open" | Another session may have stashed the whole tree (`pre-rebase2-<pr>-<sha>`) or left conflict markers. Confirm your file is in `git status` with a unique marker before and after capture; recover only your file with `git checkout stash@{n} -- <file>`; never pop or drop their stash or resolve their conflicts. (was L-S13) |
-| "The fix is in and the tests are green" | Reproduce the failure's precondition first (here: the empty→non-empty task-list transition swaps the composer instance). A run that cannot fail proves nothing; when the mocked seam is the suspect, drop the mock and drive the real kernel. (was L-S18, now generic M31) |
+| "The fix is in and the tests are green" | Reproduce the failure's precondition first (here: the empty→non-empty task-list transition swaps the composer instance). A run that cannot fail proves nothing; when the mocked seam is the suspect, drop the mock and drive the real kernel. (was L-S18) |
### Step 5 β€” Report and publish
diff --git a/.agents/acceptance/PROJECT.md b/.agents/acceptance/PROJECT.md
index 52f31410cf8..85530ff29e3 100644
--- a/.agents/acceptance/PROJECT.md
+++ b/.agents/acceptance/PROJECT.md
@@ -377,8 +377,8 @@ bash "$GUARD" stop # teardown, always
| ------------------------- | --------------------------------------------- | ---------------------------------------------------------- |
| `ACCEPTANCE_RUN_TAG` | β€” (required) | Proves ownership; must be β‰₯ 8 chars and `[A-Za-z0-9._-]+` |
| `ACCEPTANCE_GUARD_DIR` | `${TMPDIR:-/tmp}/lobe-acceptance/guard/<tag>` | Keeps the run's samples and claims out of the working tree |
-| `ACCEPTANCE_GUARD_YELLOW` | `swap=60,free=20` | Linux host warning thresholds |
-| `ACCEPTANCE_GUARD_RED` | `swap=80,free=8` | Linux host stop thresholds |
+| `ACCEPTANCE_GUARD_YELLOW` | `free=20` | Linux host warning threshold (`MemAvailable` %) |
+| `ACCEPTANCE_GUARD_RED` | `free=8` | Linux host stop threshold (`MemAvailable` %) |
Thresholds are host-level on purpose. The groups (`Google Chrome for Testing`,
`next-server|vite`, `tsrs`) also match other worktrees' servers and other runs'
@@ -391,7 +391,8 @@ On **macOS**, kernel pressure (`kern.memorystatus_vm_pressure_level`: 1 normal,
diagnostics only: neither low unused RAM nor a high fraction of dynamically
allocated swap proves exhaustion. Three consecutive red samples are required
before automatic termination. Unknown pressure exits 2 and never kills processes.
-On **Linux**, the existing `MemAvailable` and swap thresholds apply; cgroup/PSI
+On **Linux**, the `MemAvailable` thresholds apply; swap occupancy is diagnostic
+only, because swapped pages can stay in zram after pressure subsides. cgroup/PSI
support is not implemented. Native Windows is unsupported. See the skill's
[platform policy](../skills/acceptance/references/resource-guard.md#platform-policy).
diff --git a/.agents/acceptance/common-mistakes.md b/.agents/acceptance/common-mistakes.md
index d5f9acd0d0c..714bfc30ea3 100644
--- a/.agents/acceptance/common-mistakes.md
+++ b/.agents/acceptance/common-mistakes.md
@@ -25,7 +25,7 @@ the next free number of that prefix.
- **L-E1** A replacing check declares `supersedes`; a visible-UI check passes only on opened visual evidence asserting the full spatial outcome, overlap included.
- **L-E2** A passing layout screenshot shows the settled real transition β€” never a DOM under a synthetic transform.
- **L-E3** An authoring flow is proven end to end: entry, completed input and preview, the created item in its pre-verification state.
-- **L-E4** Verify in the requested product container at representative scale, on both sides of every behavior-changing threshold; a harness is supporting evidence only.
+- **L-E4** Verify in the requested product container, on both sides of every behavior-changing threshold; a harness is supporting evidence only. Representative fixture data is skill M31.
- **L-E5** Every criterion maps to its verifier, its own inspectable evidence, and a verdict β€” never an aggregate "all passed".
- **L-E6** When the Task requires a durable document, create and pin the real artifact; evidence explains a verdict, it is not the deliverable.
- **L-E9** Check the acceptance's status before ingest; new scoped work on an accepted acceptance goes to a new subject.
@@ -113,9 +113,9 @@ editable pre-verification state, independent of unrelated rubric loading.
is a Task drawer, or with a small fixture for behavior that changes at a
list-size threshold.
-**Rule:** capture the requested container with representative titles, state mix
-and item count, on both sides of every threshold. Harnesses are supporting
-evidence only.
+**Rule:** capture the requested container on both sides of every threshold.
+Harnesses are supporting evidence only. Fixture counts, title lengths and state
+mix follow skill M31.
### L-E5 β€” Replacing per-check evidence with a verification summary
diff --git a/.agents/acceptance/scripts/acceptance-guard.sh b/.agents/acceptance/scripts/acceptance-guard.sh
index db59286e3ae..f6ba5d47959 100755
--- a/.agents/acceptance/scripts/acceptance-guard.sh
+++ b/.agents/acceptance/scripts/acceptance-guard.sh
@@ -28,8 +28,8 @@
# worktrees' servers and other runs' browsers β€” five such processes held ~20 GB here
# β€” so a group or total RSS cap would turn a merely busy machine red and stop a
# healthy run. macOS tiers on kernel memory pressure (three consecutive red samples
-# before stop-owned); Linux uses the swap/free thresholds below. On macOS swap and
-# free percentages are diagnostic only. The groups select what stop-owned may stop.
+# before stop-owned); Linux uses the free (MemAvailable) thresholds below. Swap is
+# diagnostic only on both platforms. The groups select what stop-owned may stop.
#
# Contract: .agents/skills/acceptance/references/resource-guard.md
set -uo pipefail
@@ -40,8 +40,8 @@ fail() { echo "$PROG $*" >&2; exit 2; }
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)"
GUARD="${ACCEPTANCE_GUARD_SCRIPT:-$ROOT/.agents/skills/acceptance/scripts/resource-guard.sh}"
-YELLOW="${ACCEPTANCE_GUARD_YELLOW:-swap=60,free=20}"
-RED="${ACCEPTANCE_GUARD_RED:-swap=80,free=8}"
+YELLOW="${ACCEPTANCE_GUARD_YELLOW:-free=20}"
+RED="${ACCEPTANCE_GUARD_RED:-free=8}"
# The processes a LobeHub run is worth bounding. A pattern alone never grants
# ownership: only the run tag or an explicit claim does.
diff --git a/.agents/acceptance/scripts/acceptance-guard.test.sh b/.agents/acceptance/scripts/acceptance-guard.test.sh
index a47ee063350..15505aed67e 100755
--- a/.agents/acceptance/scripts/acceptance-guard.test.sh
+++ b/.agents/acceptance/scripts/acceptance-guard.test.sh
@@ -89,22 +89,22 @@ assert_contains "$(stub_args)" "--run-tag lobehub-acceptance-test"
assert_contains "$(stub_args)" "--group browser=Google Chrome for Testing"
assert_contains "$(stub_args)" "--group devserver=next-server|vite"
assert_contains "$(stub_args)" "--group typecheck=tsrs"
-assert_contains "$(stub_args)" "--yellow swap=60,free=20"
-assert_contains "$(stub_args)" "--red swap=80,free=8"
+assert_contains "$(stub_args)" "--yellow free=20"
+assert_contains "$(stub_args)" "--red free=8"
assert_contains "$(stub_args)" "--on-red stop-owned"
# A run may retune the thresholds without editing the adapter.
-export ACCEPTANCE_GUARD_RED='swap=95,free=4'
+export ACCEPTANCE_GUARD_RED='free=4'
adapter start
-assert_contains "$(stub_args)" "--red swap=95,free=4"
-export ACCEPTANCE_GUARD_RED='swap=80,free=8'
+assert_contains "$(stub_args)" "--red free=4"
+export ACCEPTANCE_GUARD_RED='free=8'
# check tiers on the same thresholds as the watcher, so a run cannot read one tier
# from the one-shot and be acted on by another.
adapter check --json
assert_contains "$(stub_args)" "check --state-dir $TEST_TMP/state"
-assert_contains "$(stub_args)" "--yellow swap=60,free=20"
-assert_contains "$(stub_args)" "--red swap=80,free=8"
+assert_contains "$(stub_args)" "--yellow free=20"
+assert_contains "$(stub_args)" "--red free=8"
assert_contains "$(stub_args)" "--json"
# Every claimed pid is forwarded, and an empty claim is a usage error.
diff --git a/.agents/acceptance/scripts/resource-guard.test.sh b/.agents/acceptance/scripts/resource-guard.test.sh
index 352df3092a1..467a5bce07a 100755
--- a/.agents/acceptance/scripts/resource-guard.test.sh
+++ b/.agents/acceptance/scripts/resource-guard.test.sh
@@ -35,7 +35,7 @@ esac
SH
cat > "$TMP/bin/vm_stat" <<'SH'
#!/usr/bin/env bash
-# Approximately 4% free, based on the captured 24 GiB host; swap is also >80%.
+# Approximately 4% free, based on the captured 24 GiB host; swap use is also high.
echo 'Mach Virtual Memory Statistics: (page size of 16384 bytes)'
echo 'Pages free: 63491.'
echo 'Pages speculative: 5373.'
@@ -60,7 +60,7 @@ check() {
local expected_exit="$1" expected_tier="$2"
shift 2
local status=0 output
- output=$(bash "$GUARD" check --yellow swap=60,free=20 --red swap=80,free=8 --json "$@") || status=$?
+ output=$(bash "$GUARD" check --yellow free=20 --red free=8 --json "$@") || status=$?
[ "$status" -eq "$expected_exit" ] || { echo "FAIL: exit $status, expected $expected_exit: $output"; exit 1; }
if [ -n "$expected_tier" ]; then
echo "$output" | grep -q "\"platform\":\"Darwin\",\"tier\":\"$expected_tier\"" || { echo "FAIL: $output"; exit 1; }
@@ -93,8 +93,8 @@ RUN_TAG=guard-test-owned
INTERVAL=10
ON_RED=stop-owned
GRACE=0
-YELLOW=swap=60,free=20
-RED=swap=80,free=8
+YELLOW=free=20
+RED=free=8
CONF
: > "$TMP/state/guard.pid"
: > "$TMP/state/events.jsonl"
diff --git a/.agents/skills/acceptance/SKILL.md b/.agents/skills/acceptance/SKILL.md
index d073983e8b2..a7761db676d 100644
--- a/.agents/skills/acceptance/SKILL.md
+++ b/.agents/skills/acceptance/SKILL.md
@@ -2,7 +2,7 @@
name: acceptance
license: Apache-2.0
metadata:
- version: "0.10.0"
+ version: "0.10.3"
description: >
Verify delivery outcomes on the real product, capture inspected evidence,
and deliver an acceptance report with the lh CLI: published to LobeHub when
@@ -80,7 +80,9 @@ The primary resolves findings and tells the runner when execution or publication
may proceed. There is no per-case approval loop or repeated full review after fixes.
Follow-up rounds have no independent checker gate. Assign new artifact inspection
-to one capable owner and re-run only affected cases. If delegation is unavailable,
+to one capable owner and re-run only affected cases; before recapturing a visual
+case, write its fixture data into the round's review notes
+([report.md](references/report.md#workflow)). If delegation is unavailable,
use one bounded execution context and disclose missing independent review.
If model selection is unavailable, record the actual or inherited model rather
than claiming lower cost. Retain all evidence requirements in either fallback.
diff --git a/.agents/skills/acceptance/references/acceptance-checker.md b/.agents/skills/acceptance/references/acceptance-checker.md
index 3ddbb0dc94c..3a6ee25c830 100644
--- a/.agents/skills/acceptance/references/acceptance-checker.md
+++ b/.agents/skills/acceptance/references/acceptance-checker.md
@@ -71,7 +71,9 @@ and compare them with the draft cases and supplied diff. State coverage limits
when sources are incomplete. Look for missing boundaries, ambiguous
criteria, and probes that cannot distinguish success from failure. Check how
fixtures/fault injections will be proven effective, and that each case
-changing existing UI requires a before/after comparison pair. Also identify
+changing existing UI requires a before/after comparison pair. Flag a visual
+case whose fixture data is missing or smaller than real use (one group, one
+item, short titles, an empty settings page) unless that state is the criterion. Also identify
duplicate or out-of-scope cases; review must not only expand scope.
Check that groups reflect independently reviewable user tasks and that each check
can be accepted or rejected on its own. For flow plans, inspect flow titles as
@@ -161,7 +163,8 @@ by the old inspection.
Follow-up rounds have no independent checker gate. The primary repairs code and
coordinates the existing runner's affected cases, assigning each new artifact
-to one capable inspector. Preserve its attributable inspection record and disclose
+to one capable inspector. Before a visual case is recaptured, its fixture data
+is written into that round's review notes ([report.md](report.md#workflow)). Preserve its attributable inspection record and disclose
changes in the narrative tail. Preserve
unaffected results with their original provenance. If scope,
surface, or business goal materially changes, it obtains any user-owned decision
diff --git a/.agents/skills/acceptance/references/common-mistakes.md b/.agents/skills/acceptance/references/common-mistakes.md
index 79ab351e32b..b5f6130993c 100644
--- a/.agents/skills/acceptance/references/common-mistakes.md
+++ b/.agents/skills/acceptance/references/common-mistakes.md
@@ -43,6 +43,7 @@ Apply the same shape to the project layer's file. Never narrate the reading.
- **M22** An error-state case needs the failed status AND the user-facing message in the same screenshot.
- **M28** Non-visual behavioral claims carry two text artifacts in the same round: reasoning, then execution record.
- **M30** Electron evidence is the visible viewport, never `screenshot --full`.
+- **M31** A visual case is shot with representative fixture data β€” several groups of several items, long titles, populated settings β€” stated in its plan `method` or the round's review notes; empty or single-item data only when that state is the criterion.
## Entries
@@ -180,3 +181,18 @@ the UI is a tiny corner.
**Rule:** capture the visible viewport without `--full` (or the project's CDP
window-capture helper). Open the image; reject it if the app occupies a small
fraction or black margins dominate. Never crop evidence in post-processing.
+
+### M31 β€” Minimal fixture data in a layout screenshot
+
+`since 2026-11-20` Β· `holds-while: always`
+
+**Trap:** a layout case is shot with the least data that renders: a settings
+width change on the "no devices" page, or a sidebar group with one guest and
+one topic. The shot cannot show wrapping, truncation, row alignment or the
+populated width, so it proves nothing about the layout. Follow-up rounds skip
+the plan review and repeat it unseen.
+
+**Rule:** before capture, state each visual case's fixture data (counts, title
+lengths, state mix) as real users see it β€” in the plan `method`, or for a frozen
+plan or a follow-up recapture, in the round's review notes β€” and seed to it.
+Empty or single-item data only when that state is the criterion.
diff --git a/.agents/skills/acceptance/references/plan-format.md b/.agents/skills/acceptance/references/plan-format.md
index ea9b5b27329..6c298c2d7d5 100644
--- a/.agents/skills/acceptance/references/plan-format.md
+++ b/.agents/skills/acceptance/references/plan-format.md
@@ -43,6 +43,11 @@ exactly as an authored round does. Every recording gets its chapters while you
drive it; each case's `observation` says what you saw. Leave `status` honest β€”
it is your record, not the verdict.
+A frozen item's text stays unchanged, so before capturing each visual item
+write its fixture data β€” counts, title lengths and state mix, by the
+[authored-plan rule](report.md#workflow) β€” into the round's review notes, in
+every round, and seed to it.
+
Only items with a non-empty `requiredEvidence` need an artifact; the rest are
judged on the deliverable text β€” don't fabricate evidence for them. The `hint`
usually implies the surface (SKILL.md, Pick the surface).
diff --git a/.agents/skills/acceptance/references/report.md b/.agents/skills/acceptance/references/report.md
index 9c6db1aa732..e39aac45301 100644
--- a/.agents/skills/acceptance/references/report.md
+++ b/.agents/skills/acceptance/references/report.md
@@ -110,6 +110,13 @@ but then keeping it out of git is on you.
supersedes? }`.
A planned item that never produces a case renders as **ζœͺζ‰§θ‘Œ** rather than
vanishing β€” cut coverage in the open.
+ **A visual item's `method` states its fixture data**: the item counts, title
+ lengths and state mix the screenshot will show, matching what real users
+ see. A grouped list or sidebar has several groups with several items each,
+ including long titles; a settings-page width change is shot with data
+ present (devices listed), not the empty state. An empty or single-item
+ fixture is allowed only when that state is itself the criterion, and the
+ `method` says so.
Every item is an outcome the reader can judge β€” never a programmatic gate
([what is not an acceptance check](#what-is-not-an-acceptance-check)).
**Use an acquired CLI schema or the linked report schema rather than reconstructing it**: a
@@ -119,7 +126,9 @@ supersedes? }`.
Before executing the **first round only**, send the draft for
[acceptance-checker plan review](acceptance-checker.md) and save the agreed plan and
requirement mapping after resolving material gaps. In follow-up rounds the
- execution owner carries the agreed plan forward using its existing context.
+ execution owner carries the agreed plan forward using its existing context;
+ before recapturing a visual case, it writes that case's fixture data into the
+ round's review notes and seeds to it, since no checker reviews the plan again.
2. **Collect evidence into `assets/` as you test.** Screenshots must be
**visually verified by their designated inspector before supporting a pass**.
In the first round this is normally the checker; the runner captures and
diff --git a/.agents/skills/acceptance/references/resource-guard.md b/.agents/skills/acceptance/references/resource-guard.md
index 957adfcab8c..1ee3426911d 100644
--- a/.agents/skills/acceptance/references/resource-guard.md
+++ b/.agents/skills/acceptance/references/resource-guard.md
@@ -27,9 +27,11 @@ signal rather than terminating services because of a low free-page percentage.
so its used percentage is not an exhaustion signal either. Explicit RSS/count
budgets still apply. Missing or unrecognized pressure is `unknown`, exits 2
on `check`, and never triggers automatic termination.
-- **Linux:** existing `MemAvailable / MemTotal` and swap-percentage thresholds
- remain unchanged. They describe the host; this guard does not yet account for
- cgroup limits or PSI. Do not infer container safety from a green host sample.
+- **Linux:** host memory tiers use `MemAvailable / MemTotal`: yellow at 25% or
+ less, red at 10% or less by default. Swap occupancy is diagnostic only: swapped
+ pages can remain in zram after memory pressure has subsided, so high swap use
+ alone must not block healthy work. This guard does not yet account for cgroup
+ limits or PSI. Do not infer container safety from a green host sample.
- **Native Windows:** unsupported. WSL uses the Linux policy, not Windows host
memory monitoring.
@@ -55,8 +57,8 @@ bash "$GUARD" start \
--state-dir "$RUN_DIR" --run-tag "$RUN_TAG" --interval 10 \
--group browser='Google Chrome for Testing|agent-browser' \
--group devserver='next-server|vite' \
- --yellow 'swap=70,free=25' \
- --red 'swap=85,free=10,total.rss=4000,group.browser.rss=1500' \
+ --yellow 'free=25' \
+ --red 'free=10,total.rss=4000,group.browser.rss=1500' \
--on-red stop-owned
bash "$GUARD" claim --state-dir "$RUN_DIR" --pid "$BROWSER_DAEMON_PID" # what this run started
@@ -67,8 +69,9 @@ bash "$GUARD" stop --state-dir "$RUN_DIR" # at teardown, always
```
Threshold spec: comma-separated `KEY=VALUE`, any subset of
-`swap=PCT`, `free=PCT`, `total.rss=MB`, `group.NAME.rss=MB`, `group.NAME.count=N`.
-`swap` and `free` thresholds apply on Linux only, per the platform policy above.
+`free=PCT`, `total.rss=MB`, `group.NAME.rss=MB`, `group.NAME.count=N`.
+`free` thresholds apply on Linux only, per the platform policy above. Swap is
+still included in samples but never determines the tier on either platform.
`total.rss` is the summed RSS of the declared groups, so it stays 0 without
`--group`. `--group NAME=PATTERN` is repeatable; the pattern is an ERE matched
against each process command line. Keep patterns specific to the processes this run
diff --git a/.agents/skills/acceptance/scripts/resource-guard.sh b/.agents/skills/acceptance/scripts/resource-guard.sh
index f7f68a0b721..1981ad675e8 100644
--- a/.agents/skills/acceptance/scripts/resource-guard.sh
+++ b/.agents/skills/acceptance/scripts/resource-guard.sh
@@ -18,15 +18,16 @@
# counts as owned even when it predates the guard
# --interval SECONDS sampling interval for start (default 10)
# --group NAME=PATTERN repeatable; an ERE matched against each process command line
-# --yellow SPEC yellow-tier thresholds (default swap=70,free=25)
-# --red SPEC red-tier thresholds (default swap=85,free=10)
+# --yellow SPEC yellow-tier thresholds (default free=25)
+# --red SPEC red-tier thresholds (default free=10)
# --on-red ACTION warn (default) | stop-owned
# --grace SECONDS TERM to KILL grace for stop-owned (default 5)
# --json (check/status) emit JSON instead of a human line
#
# Spec: comma-separated KEY=VALUE, any subset of
-# swap=PCT free=PCT total.rss=MB group.NAME.rss=MB group.NAME.count=N
-# swap/free thresholds apply on Linux only. On macOS these remain diagnostics;
+# free=PCT total.rss=MB group.NAME.rss=MB group.NAME.count=N
+# free thresholds use MemAvailable / MemTotal on Linux. Swap is diagnostic only.
+# On macOS free memory also remains diagnostic;
# kern.memorystatus_vm_pressure_level supplies normal/warning/critical instead.
# A macOS watcher requires three consecutive red samples before stop-owned.
# total.rss is the summed RSS of the declared groups, so it stays 0 without --group.
@@ -58,8 +59,8 @@ INTERVAL=10
ON_RED=warn
GRACE=5
JSON=0
-YELLOW="swap=70,free=25"
-RED="swap=85,free=10"
+YELLOW="free=25"
+RED="free=10"
GROUP_SPECS=""
while [ $# -gt 0 ]; do
@@ -203,15 +204,8 @@ emit_sample() {
# macOS swap allocation grows dynamically, and free+speculative pages exclude
# reclaimable memory. Neither ratio is a destructive-action pressure signal.
- if [ "$platform" = Linux ] && [ -n "$swap_pct" ]; then
- yv="$(spec_value "$yellow" swap)"; rv="$(spec_value "$red" swap)"
- if ge "$swap_pct" "$rv"; then
- tier="red"; breaches="${breaches}{\"metric\":\"swap\",\"value\":${swap_pct},\"threshold\":${rv},\"tier\":\"red\"},"
- elif ge "$swap_pct" "$yv"; then
- [ "$tier" = red ] || tier="yellow"
- breaches="${breaches}{\"metric\":\"swap\",\"value\":${swap_pct},\"threshold\":${yv},\"tier\":\"yellow\"},"
- fi
- fi
+ # Swap occupancy can remain high after pressure has subsided. Linux tiers
+ # on available RAM; keep swap measurements in the sample for diagnostics.
if [ "$platform" = Linux ] && [ -n "$free_pct" ]; then
yv="$(spec_value "$yellow" free)"; rv="$(spec_value "$red" free)"
if [ -n "$rv" ] && awk -v v="$free_pct" -v t="$rv" 'BEGIN{ exit !(v+0<=t+0) }'; then
@@ -299,7 +293,7 @@ write_config() {
load_config() {
RUN_TAG=""; INTERVAL=10; ON_RED=warn; GRACE=5
- YELLOW="swap=70,free=25"; RED="swap=85,free=10"; GROUP_SPECS=""
+ YELLOW="free=25"; RED="free=10"; GROUP_SPECS=""
local line key value
while IFS= read -r line; do
key="${line%%=*}"; value="${line#*=}"