@@ -2386,6 +2386,23 @@ jobs:
23862386 - name : CLI command-id literals resolve
23872387 run : pnpm check:cli-command-ids
23882388
2389+ # #15393. `os package publish` ships its example set TWICE — the oclif
2390+ # `examples` array in packages/cli/src/commands/package/publish.ts, printed
2391+ # verbatim under `EXAMPLES`, and a fenced block under
2392+ # `#### os package publish` in content/docs/deployment/cli.mdx. Two
2393+ # hand-maintained copies, and they drifted: the CLI line pointed at a
2394+ # directory deleted from this repo while the docs line for the same example
2395+ # was correct, for as long as it took a customer-simulation run to notice.
2396+ # ⛔ NOT an extension of check:cli-command-ids above — that gate's recorded
2397+ # refusal to reach into prose stands, and its population is 811 `os ...`
2398+ # mentions with no delimiter. This one's population is a TABLE: one fenced
2399+ # block under one exact heading against one named `examples` array. It
2400+ # compares the SET of invocations modulo the `$ ` prompt, trailing comments,
2401+ # whitespace and ORDER — the two voices may differ, the invocations may not.
2402+ # Reads two source files; no build, no install.
2403+ - name : CLI examples match the documented block
2404+ run : pnpm check:cli-examples-parity
2405+
23892406 # #4093 follow-up. Discovery tells a consumer an absent capability is
23902407 # absent AND what to install. The first half has been carefully honest
23912408 # since #2462/#4000; the second was invented from the slot name, so ten
0 commit comments