plan: one capability vocabulary, every token accounted for (#1526) #1546

Merged
jaylouisw merged 1 commit from plan/1115-2110 into main 2026-11-15 21:52:55 +00:00
Owner

Forward plan only — no engine, test or workflow change.

docs/plans/capability-vocabulary.md records the capability contract as it stands: CAPABILITIES at engine/device.js:104-118 (15 tokens, imported not copied by scripts/import-devices.js:20), nine tokens actually honoured via hasCap/_capabilityRefusal/SERVICE_PORTS, six (dhcp-client, firewall, wireless, vlan, lacp, stp) with no reader at all — and now declared by the six Ruijie NBS3100 specs. It also records two ghost tokens (hasCap('route') || hasCap('router') at engine/device.js:476), 824 out-of-vocabulary declarations across 599 specs, and the two-way drift in docs/DEVICE_SCHEMA.md:50-95.

Six ordered steps, S/M each, with a catalogue-wide guard test as the step that stops #1526 recurring; per-token decisions on the inert six are flagged as needing Jay's approval.

Closes (as a plan): #1526.

Forward plan only — no engine, test or workflow change. `docs/plans/capability-vocabulary.md` records the capability contract as it stands: `CAPABILITIES` at `engine/device.js:104-118` (15 tokens, imported not copied by `scripts/import-devices.js:20`), nine tokens actually honoured via `hasCap`/`_capabilityRefusal`/`SERVICE_PORTS`, six (`dhcp-client`, `firewall`, `wireless`, `vlan`, `lacp`, `stp`) with no reader at all — and now declared by the six Ruijie NBS3100 specs. It also records two ghost tokens (`hasCap('route') || hasCap('router')` at `engine/device.js:476`), 824 out-of-vocabulary declarations across 599 specs, and the two-way drift in `docs/DEVICE_SCHEMA.md:50-95`. Six ordered steps, S/M each, with a catalogue-wide guard test as the step that stops #1526 recurring; per-token decisions on the inert six are flagged as needing Jay's approval. Closes (as a plan): #1526.
plan: one capability vocabulary, every token accounted for (#1526)
All checks were successful
CI / Classify the change (pull_request) Successful in 19s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 32s
CI / Test (Node 18) (pull_request) Successful in 3m24s
CI / Test (Node 20) (pull_request) Successful in 3m12s
CI / Server smoke test (pull_request) Successful in 39s
CI / Docker build (pull_request) Successful in 23s
CI / Test (Node 22) (pull_request) Successful in 3m11s
924f1d17ea
jaylouisw scheduled this pull request to auto merge when all checks succeed 2026-11-15 21:51:41 +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!1546
No description provided.