|
| 1 | +--- |
| 2 | +'@objectstack/cloud-connection': patch |
| 3 | +--- |
| 4 | + |
| 5 | +docs(cloud-connection): cite the cloud control-plane decisions as `cloud ADR-NNNN` instead of bare numbers that resolve to this repo's own records (#18762) |
| 6 | + |
| 7 | +AGENTS.md Prime Directive 13 is explicit — an ADR "lives in the repository whose |
| 8 | +code it governs", and a cloud decision is cited as `cloud ADR-NNNN`, "never as a |
| 9 | +bare number, which `scripts/check-adr-anchors.mjs` resolves against *this* |
| 10 | +registry (the two number independently)". The rule landed; the stock this |
| 11 | +package already carried was never swept. |
| 12 | + |
| 13 | +Read against this repository's registry, the bare numbers pointed at real but |
| 14 | +unrelated records: |
| 15 | + |
| 16 | +- `ADR-0008` → `docs/adr/0008-metadata-repository-and-change-log.md`, *Metadata |
| 17 | + Repository, Change Log & Subscription (M0 → M4)* — zero occurrences of |
| 18 | + "control plane", "cloud-connection" or "Phase 1"/"Phase 2". |
| 19 | +- `ADR-0007` → `docs/adr/0007-settings-manifest-and-kv-store.md`, *Settings — |
| 20 | + Manifest + K/V Store + Resolver*. The cloud ADR-0007 these lines mean is the |
| 21 | + one this repo's own ADR-0003 status line already names: the decision that |
| 22 | + redefined `sys_package_installation` as management-plane desired state and put |
| 23 | + runtime truth in the `LocalManifestSource` ledger. |
| 24 | +- `ADR-0009` → `docs/adr/0009-execution-pinned-metadata.md`, *Execution-Pinned |
| 25 | + Metadata* — not the marketplace Setup-navigation ownership decision the lines |
| 26 | + describe. |
| 27 | + |
| 28 | +That is worse than citing a number nobody has. A dangling id stops a reader; an |
| 29 | +id that resolves lets them believe they read the right page and walk away with |
| 30 | +the wrong decision. |
| 31 | + |
| 32 | +18 citations now carry the `cloud` qualifier, in the spelling this package |
| 33 | +already used elsewhere for the very same numbers — `cloud ADR-0008` in |
| 34 | +`connection-credential-store.ts`, `cloud ADR-0007 step ⑤` in |
| 35 | +`local-manifest-source.ts`, `cloud ADR-0009 P2a` in `marketplace-ui.ts`'s own |
| 36 | +header. All three numbers already carried both spellings inside this one |
| 37 | +package, and `marketplace-ui.ts` carried both inside a single file — qualified in |
| 38 | +its header on line 4, bare on lines 16 and 43. |
| 39 | + |
| 40 | +What actually reaches a consumer of this package: |
| 41 | + |
| 42 | +- The npm `description` field, which is the sentence shown on the package page. |
| 43 | +- `README.md`, including the closing pointer that already said "in the cloud |
| 44 | + repository" while writing the number bare. |
| 45 | +- The published `.d.ts`, which carries the module and plugin docblocks. |
| 46 | + |
| 47 | +No behaviour moves. No type, export, route, schema or runtime path is touched — |
| 48 | +this is citation spelling and prose only, which is why it ships as a patch rather |
| 49 | +than silently. No ADR record is written or edited. `packages/cloud-connection/CHANGELOG.md` |
| 50 | +is deliberately untouched: it is published history, and a released entry is |
| 51 | +amended in a dedicated docs-only PR, never as a rider on code changes. |
0 commit comments