docs(BGP-POLICY): the three cli.js anchors point at the code that holds them again #2015

Merged
jaylouisw merged 1 commit from docs/1118-1816 into main 2026-11-18 18:57:37 +00:00
Owner

docs/BGP-POLICY.md cites cli.js line numbers as the anchors a reader is meant to open. Three of them stopped pointing at the function they name in today�s later cli.js commits:

anchor said actually now
_bgp(tokens) cli.js:2518 cli.js:2610 � 2518 is inside the IPv6 RA handler
this._dnsZone (sticky zone context) cli.js:2587 cli.js:2679 � 2587 is inside the IPv6 ND prefix handler
_help() cli.js:6588 cli.js:6721 � 6588 is inside the DNS-zone printer

Verified against engine/cli.js at this branch: 2610 is _bgp(tokens) {, 2679 is this._dnsZone = z.name;, 6721 is _help() {. The bgp.js, simulator.js and the cli.js:1564-1582 / cli.js:1580 anchors were re-checked and are still exact, so they are untouched.

node scripts/check-doc-citations.js goes from 2 suspects (cli.js:6588 133 lines from _help() at 6721) to none. Docs-only: no code or test changed.

Guards: syntax-check 420 files all OK; docs-show-commands 7, docs-cli-transcript 4, help-completeness 8, no-form-help-key 81, help-key-is-not-a-value 40 � all passed, unchanged.

`docs/BGP-POLICY.md` cites `cli.js` line numbers as the anchors a reader is meant to open. Three of them stopped pointing at the function they name in today�s later `cli.js` commits: | anchor | said | actually now | |---|---|---| | `_bgp(tokens)` | `cli.js:2518` | `cli.js:2610` � 2518 is inside the IPv6 RA handler | | `this._dnsZone` (sticky zone context) | `cli.js:2587` | `cli.js:2679` � 2587 is inside the IPv6 ND prefix handler | | `_help()` | `cli.js:6588` | `cli.js:6721` � 6588 is inside the DNS-zone printer | Verified against `engine/cli.js` at this branch: 2610 is `_bgp(tokens) {`, 2679 is `this._dnsZone = z.name;`, 6721 is `_help() {`. The `bgp.js`, `simulator.js` and the `cli.js:1564-1582` / `cli.js:1580` anchors were re-checked and are still exact, so they are untouched. `node scripts/check-doc-citations.js` goes from 2 suspects (`cli.js:6588` 133 lines from `_help()` at 6721) to none. Docs-only: no code or test changed. Guards: syntax-check 420 files all OK; docs-show-commands 7, docs-cli-transcript 4, help-completeness 8, no-form-help-key 81, help-key-is-not-a-value 40 � all passed, unchanged.
docs(BGP-POLICY): the three cli.js anchors point at the code that holds them again
Some checks failed
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 6s
CI / Server smoke test (pull_request) Successful in 8s
CI / Docker build (pull_request) Successful in 19s
CI / Test (Node 20) (pull_request) Successful in 48s
CI / Test (Node 18) (pull_request) Failing after 52s
CI / Test (Node 22) (pull_request) Successful in 50s
CI / Arm auto-merge (pull_request) Successful in 2s
10cf8162b4
forgejo-actions force-pushed docs/1118-1816 from 10cf8162b4
Some checks failed
CI / Classify the change (pull_request) Successful in 6s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 6s
CI / Server smoke test (pull_request) Successful in 8s
CI / Docker build (pull_request) Successful in 19s
CI / Test (Node 20) (pull_request) Successful in 48s
CI / Test (Node 18) (pull_request) Failing after 52s
CI / Test (Node 22) (pull_request) Successful in 50s
CI / Arm auto-merge (pull_request) Successful in 2s
to 76d9db0917
Some checks failed
CI / Classify the change (pull_request) Successful in 7s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 9s
CI / Server smoke test (pull_request) Successful in 11s
CI / Test (Node 20) (pull_request) Failing after 56s
CI / Test (Node 22) (pull_request) Failing after 59s
CI / Test (Node 18) (pull_request) Successful in 1m4s
CI / Docker build (pull_request) Successful in 58s
CI / Arm auto-merge (pull_request) Successful in 2s
2026-11-18 18:40:42 +00:00
Compare
forgejo-actions force-pushed docs/1118-1816 from 76d9db0917
Some checks failed
CI / Classify the change (pull_request) Successful in 7s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 9s
CI / Server smoke test (pull_request) Successful in 11s
CI / Test (Node 20) (pull_request) Failing after 56s
CI / Test (Node 22) (pull_request) Failing after 59s
CI / Test (Node 18) (pull_request) Successful in 1m4s
CI / Docker build (pull_request) Successful in 58s
CI / Arm auto-merge (pull_request) Successful in 2s
to 14b859efac
All checks were successful
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 6s
CI / Classify the change (pull_request) Successful in 6s
CI / Server smoke test (pull_request) Has been skipped
CI / Docker build (pull_request) Has been skipped
CI / Test (Node 20) (pull_request) Successful in 57s
CI / Test (Node 22) (pull_request) Successful in 1m0s
CI / Test (Node 18) (pull_request) Successful in 1m3s
CI / Arm auto-merge (pull_request) Successful in 32s
2026-11-18 18:52:39 +00:00
Compare
jaylouisw deleted branch docs/1118-1816 2026-11-18 18:57:39 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!2015
No description provided.