docs: the catalogue holds 2,356 models, not 2,357, after the UDM-Pro rows merged (#2093) #2114

Merged
jaylouisw merged 1 commit from docs/1119-0717 into main 2026-11-19 07:45:48 +00:00
Owner

Three pages still state the catalogue total as 2,357 models (and SIMULATION.md 5.2 still counts 756 firewall-capable specs). The tree holds 2,356.

Evidence, from the code and the catalogue

$ find devices -name '*.json' | wc -l
2356
$ node -e "const {loadCatalog}=require(./devices/registry);const s=loadCatalog(./devices).filter(x=>!x.error);console.log(s.length, new Set(s.map(x=>x.vendor)).size, new Set(s.map(x=>x.category)).size)"
2356 258 25

The drop is #2093 (73ea47f4): devices/ubiquiti/unifi-dream-machine-pro.json was deleted when the UDM-Pro row was rewritten, and the guarded pages (README, DEVICE_REGISTRY, CONNECTORS, wiki/Home, build-wiki.js) were regenerated to 2,356 in that commit. The unguarded prose was not:

  • docs/SIMULATION.md 5.2 (firewall row): 756 of the 2,357 -> 755 of the 2,356. hasCap('firewall') over a Topology of every spec answers 755; 64 firewall category models is still right.
  • docs/SIMULATION.md 11: 2,357 models -> 2,356 (its own pasted node -e command already prints models 2356).
  • docs/CLI.md, show spanning-tree root section: 1,069 of the 2,357 -> 1,069 of the 2,356 (the 1,069 non-bridge count is still correct, measured by !isL2() over all 2,356).
  • docs/plans/mtu-and-fragmentation.md: two 2,357 -> 2,356 (its find devices -name '*.json' | wc -l prints 2356).

Docs-only; no code or catalogue changes.

Guards

  • node scripts/syntax-check.js — 444 files, all OK
  • test/docs-show-commands.test.js — 7 passed, 0 failed (59 forms, 118 commands, 74 refusals — unchanged)
  • test/help-completeness.test.js — 8 passed, 0 failed (102 advertised commands, 19 mechanisms, 16 shows)
  • test/docs-cli-transcript.test.js — 9 passed, 0 failed
  • test/doc-catalog-counts.test.js — 43 passed, 0 failed
  • scripts/check-control-bytes.js clean; scripts/check-doc-citations.js 356 citations, no judged citation >40 lines from its code
Three pages still state the catalogue total as **2,357 models** (and SIMULATION.md 5.2 still counts **756** firewall-capable specs). The tree holds 2,356. ## Evidence, from the code and the catalogue ```bash $ find devices -name '*.json' | wc -l 2356 $ node -e "const {loadCatalog}=require(./devices/registry);const s=loadCatalog(./devices).filter(x=>!x.error);console.log(s.length, new Set(s.map(x=>x.vendor)).size, new Set(s.map(x=>x.category)).size)" 2356 258 25 ``` The drop is #2093 (73ea47f4): `devices/ubiquiti/unifi-dream-machine-pro.json` was deleted when the UDM-Pro row was rewritten, and the guarded pages (README, DEVICE_REGISTRY, CONNECTORS, wiki/Home, build-wiki.js) were regenerated to 2,356 in that commit. The unguarded prose was not: - `docs/SIMULATION.md` 5.2 (firewall row): 756 of the 2,357 -> 755 of the 2,356. `hasCap('firewall')` over a Topology of every spec answers 755; 64 firewall *category* models is still right. - `docs/SIMULATION.md` 11: 2,357 models -> 2,356 (its own pasted `node -e` command already prints `models 2356`). - `docs/CLI.md`, `show spanning-tree` root section: 1,069 of the 2,357 -> 1,069 of the 2,356 (the 1,069 non-bridge count is still correct, measured by `!isL2()` over all 2,356). - `docs/plans/mtu-and-fragmentation.md`: two 2,357 -> 2,356 (its `find devices -name '*.json' | wc -l` prints 2356). Docs-only; no code or catalogue changes. ## Guards - `node scripts/syntax-check.js` — 444 files, all OK - `test/docs-show-commands.test.js` — 7 passed, 0 failed (59 forms, 118 commands, 74 refusals — unchanged) - `test/help-completeness.test.js` — 8 passed, 0 failed (102 advertised commands, 19 mechanisms, 16 shows) - `test/docs-cli-transcript.test.js` — 9 passed, 0 failed - `test/doc-catalog-counts.test.js` — 43 passed, 0 failed - `scripts/check-control-bytes.js` clean; `scripts/check-doc-citations.js` 356 citations, no judged citation >40 lines from its code
docs: the catalogue holds 2,356 models, not 2,357, after the UDM-Pro rows merged (#2093)
All checks were successful
CI / Classify the change (pull_request) Successful in 13s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 8s
CI / Server smoke test (pull_request) Successful in 9s
CI / Test (Node 20) (pull_request) Successful in 53s
CI / Test (Node 22) (pull_request) Successful in 53s
CI / Docker build (pull_request) Successful in 21s
CI / Test (Node 18) (pull_request) Successful in 58s
CI / Arm auto-merge (pull_request) Successful in 4s
55025800cb
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-19 07:22:37 +00:00
jaylouisw deleted branch docs/1119-0717 2026-11-19 07:45:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge!2114
No description provided.