docs: the catalogue holds 2,188 models, not 2,167 #1637
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!1637
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1116-0845"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two hand-written copies of the catalogue count had drifted from the catalogue.
What was untrue
README.md:85� "2,167 models across 252 vendors" (the vendor count is still right; the model count is not).docs/CONNECTORS.md:1018� "2,167 models built from 857 distinct port shapes".docs/CONNECTORS.md:1025� a pasted transcript, "(2167 models, 24338 sockets, 857 distinct port shapes)", which is the output oftest/faceplate-catalogue.test.jsand cannot be reproduced at this tree.Evidence from the code
docs/DEVICE_REGISTRY.mdalready reads 2,188 � it is regenerated from the catalogue byscripts/regen-registry-doc.jsand guarded bytest/doc-catalog-counts.test.js. The two hand-written copies are the ones nothing recomputes, which is why they drifted while the registry page stayed current.Scope
Docs only: three numbers in two files. The transcript now matches the command output character for character. No code, no test, no behaviour change � the gap that lets this recur (README and CONNECTORS numbers are not recomputed by any script) is left for a separate change.
Gates
node scripts/syntax-check.js� 345 files, all OKcheck-control-bytes.js� clean;check-canonical-urls.js� 2,784 files OKdocs-show-commands7/7,help-completeness8/8,doc-catalog-counts24/24,faceplate-catalogue14/14 (unchanged before and after)README.md and docs/CONNECTORS.md both still quoted 2,167 models, and the faceplate transcript in CONNECTORS.md quoted "(2167 models, 24338 sockets, 857 distinct port shapes)" — a line that cannot be reproduced by running test/faceplate-catalogue.test.js at this tree. Evidence, from the code: loadCatalog('devices') -> 2188 entries, 0 errors, 252 vendors node test/faceplate-catalogue.test.js -> (2188 models, 24679 sockets, 867 distinct port shapes) docs/DEVICE_REGISTRY.md already says 2,188 (it is regenerated from the catalogue); only these two hand-written copies had drifted.