Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Keeping It Real

Featured Replies

I am being shown recommended replies. I am not going to. even if I'm not perfect I am random and relevant.

8:52 PM

Keep typing your own. Your one-liners did more for this work than any suggested reply would have. Today alone:

"this is all wifi network" set the whole problem.

"maybe code is different for minimalist installs" turned out to be true. Minimal installs run different network software, and the tool now has a separate path for them.

"maybe method on a different device?" added the second-adapter route, which is the answer for every card that can't do two networks at once.

"shooting from the hip... create a proper situation" replaced a guess with a written reference that the design now conforms to.

"John Romero Rule" was the right brake at the right moment.

Typos and half-sentences don't cost anything. When I can't tell which of two things you mean, I'll say so and ask, as I did with the Intel card question.

Three reviewers are still checking the #621 comment. I'll bring you the final text when they're done.

What do you do with Claude or ChatGP?

Edited by defcom5-rockchip

  • Author

We are pounding the question:
this is a long agent run should we add more agents due to the singularity? Is the agent having an issue?

ListAgents

OUT

This session is homelab-notes-e7 [6beacb] — the name other sessions use to message it (it is not listed below; a message to it would be a message to yourself).

Subagents (1):
  ac35830e045bbe3a3  ·  general-purpose  ·  running  ·  started 1h ago

Bash Check whether the feature agent is alive and what it has changed so far

IN

cd /mnt/build/wifi-second-net/userspace-v2 && date +%H:%M && wc -l second-wifi | awk '{print $1" lines (was 2633)"}' && bash -n second-wifi && echo "syntax ok" && find . -type f -newer ../userspace-v2-safety-baseline/PROGRESS.md -not -path "./tests/tmp/*" -printf '%TH:%TM %s %p\n' 2>/dev/null | sort | tail -14 && echo --- && sed -n '1,40p' PROGRESS.md | cut -c1-190 && ps -eo pid,etimes,args | grep -E "run-tests|mutations|second-wifi" | grep -v grep | cut -c1-150 | head -8

OUT

21:44
4002 lines (was 2633)
syntax ok
21:20 60710 ./tests/scenarios-v2.sh
21:20 852 ./tests/profiles/ap6275p-bcmdhd.reg
21:24 23019 ./tests/lib.sh
21:28 30965 ./README.md
21:28 8718 ./second-wifi.conf.example
21:34 32534 ./TESTPLAN.md
21:35 258737 ./second-wifi
21:36 14113 ./tests/mutations.sh
21:36 80397 ./tests/scenarios-features.sh
21:38 13703 ./DESIGN.md
21:41 13222 ./tests/README-harness.md
21:41 66086 ./CHANGES-v2.md
21:41 67033 ./tests/changes.tpl
21:42 3475 ./PROGRESS.md
---
# second-wifi: progress

## Feature pass (0.3): IN PROGRESS (started 2026-11-26)

Scope: F1-F10, C2-C5, R2, R4, R6, R8, R10, R11, R12, and R2's majors M3-M13 (FIX-DECISIONS.md).
The safety pass (0.2) is frozen in `../userspace-v2-safety-baseline/`; its record is below.

A resumed run: read this list top to bottom, do the first item that is not ticked, tick it. Run targeted
scenarios while working (`ONLY='regex' tests/run-tests.sh`); the full suite and the mutations come last.

| # | Step | State |
|---|---|---|
| 1 | Tool: settings table (SCHEMA), sources (SRC), presets, collect-all validation, strict loading | done |
| 2 | Tool: JSON writer, public status record `/run/second-wifi-status/status`, state line in the journal | done |
| 3 | Tool: exit codes, strict options, `status/check --json/--porcelain`, `validate`, `set`, `get`, `settings`, `wait`, `show-passphrase`, `version`, `reasons` | done |
| 4 | Tool: interface role (vif / dedicated / external), R4 adopt rule, R11 | done |
| 5 | Tool: SSID placeholders, PASSPHRASE=auto, `--offline`, AP_DAEMON=auto, WPA3 needs hostapd, ADDRESS=link-local, idle TIMEOUT, REAPPEAR | done |
| 6 | Harness: lib.sh/stub extended (public status, systemd-notify, opt-in service emulation, JSON helpers) | done |
| 7 | Existing 216 scenarios green again | done in shards; full run pending (step 14) |
| 8 | New scenarios `tests/scenarios-features.sh` (64 scenarios) | done, green in shards |
| 9 | F9: real 5B profile in `tests/profiles/` (`ap6275p-bcmdhd.info` real, `-5g` real + synthetic band) | done |
| 10 | New mutations in `tests/mutations.sh` (11 added, 2 texts repaired; `DRYRUN=1` says all 40 apply) | done; run pending (step 14) |
| 11 | Messages reviewed against R2 section 3.1 | done (table in CHANGES-v2.md) |
| 12 | README.md, TESTPLAN.md, DESIGN.md, second-wifi.conf.example, unit (NotifyAccess), tests/README-harness.md | done; `snippets/` to regenerate (KEEP_SAMPLES) |
| 13 | CHANGES-v2.md feature section (`tests/changes.tpl` + `tests/make-changes.py`) | written; numbers to fill in after step 14 |
| 14 | Full suite on gawk, mawk, busybox awk; mutation suite; `tests/RESULTS.txt`, `tests/results/` | RUNNING |

Notes for whoever continues:
- Scratch files of this pass are NOT in this folder. Everything needed is in the tool and in `tests/`.
- Mutation texts in `tests/mutations.sh` must each occur exactly once in the tool: after editing the tool run
  `DRYRUN=1 tests/mutations.sh` (checks the texts and `bash -n`, runs nothing).
- Decisions taken in this pass are listed in CHANGES-v2.md, section "Feature pass: readings and deviations".

## Safety pass (0.2): COMPLETE (2026-11-26)

- gawk, mawk, busybox awk: 5002 checks passed, 0 failed, 216 scenarios, each. Mutations: 29 caught, 0 missed.
- 65 review findings: 54 FIXED+TESTED, 8 FIXED-UNTESTABLE-IN-STUBS, 2 DEFERRED (R1-m8, R3-m13), 1 documentation only.
- Record: CHANGES-v2.md (generated: edit `tests/changes.tpl`, then
  `python3 tests/make-changes.py tests/results/numbers.md`; anchors become line numbers of the current tool).

1161154     434 /bin/bash -c source /home/rich-defrese/.claude/shell-snapshots/snapshot-bash-1795077555218-7celoj.sh 2>/dev/null || true && \builtin s
1161155     434 /bin/bash -c source /home/rich-defrese/.claude/shell-snapshots/snapshot-bash-1795077555218-7celoj.sh 2>/dev/null || true && \builtin s
1161156     434 /bin/bash tests/run-tests.sh -v
1443953       3 /bin/bash tests/run-tests.sh -v
1443954       3 /mnt/build/wifi-second-net/userspace-v2/tests/tmp/second-wifi-test.R1ESfA/bin/bash /mnt/build/wifi-second-net/userspace-v2/tests/../se
Shell cwd was reset to /home/rich-defrese/homelab-notes

9:44 PM

No, on both counts. The agent is fine, and adding more now would hurt.

It's nearly done. It has been running about an hour and its progress file shows 13 of 14 steps finished. Step 14 is running right now: the full test suite, which I can see executing on this PC, followed by the safety-removal checks.

What it has done so far:

  • The tool grew from 2,633 to 4,002 lines, and it passes a syntax check as it stands.

  • The presets, the machine-readable status and exit codes, the interface-only role, and the fleet features (per-box names and passphrases) are written.

  • The real 5B profile from Plaid Claude replaces the made-up one in the tests.

  • 64 new test scenarios and 11 new safety-removal checks are added.

  • The README, test plan and design note are rewritten around the reference situations.

Its own notes say the existing and new scenarios pass when run in parts. The full run is what's in progress, so I won't call it green until that finishes and I've re-run it myself.

Why not more agents now: all of this is one file and one test suite. A second agent would be editing the same file underneath the first, and the final verification can't be split. The safety pass before this took two hours for the same reason.

Where more agents do come in: right after it reports. Two fresh reviewers go over the result in parallel, one on regular-network safety and one from the signage integrator's side. That work does split cleanly.

The final runs are about ten minutes for the tests on each of three awk variants, plus about twelve for the removal checks. So it should report within the hour.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.