Skip to content

docs: Move the escrow example off the package versioning page - #27912

Open
jessiemongeon1 wants to merge 2 commits into
MystenLabs:mainfrom
jessiemongeon1:jessiemongeon1/docs/move-escrow-example
Open

docs: Move the escrow example off the package versioning page#27912
jessiemongeon1 wants to merge 2 commits into
MystenLabs:mainfrom
jessiemongeon1:jessiemongeon1/docs/move-escrow-example

Conversation

@jessiemongeon1

@jessiemongeon1 jessiemongeon1 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description

develop/publish-upgrade-packages/versioning.mdx states its goal as "Reader understands versioning provides the ability to upgrade packages on the Sui network."

Lines 1–75 delivered that: user package versions, framework package versions, manifest versions.

Lines 76–231 were an escrow swap example comparing address-owned objects against a shared object, under headings Fastpath: address-owned objects and Consensus: shared object. It never mentioned packages, versions, or upgrades, and the page ended without returning to the subject. 67% of a page about package versioning was about something else.

Moved it to develop/objects/escrow-example.mdx, next to the other Using Objects pages, retitled Owned Compared With Shared Objects after what it actually teaches. Nothing linked to that section, so no inbound links break. develop/objects/versioning.mdx covers the same ownership distinction conceptually, so the example now sits with its subject.

Test plan

  • All 6 ImportContent sources on the new page resolve.
  • sidebars.js parses, new page added under Using Objects.
  • Style guide: no em dashes, numerals for counts.

Package Versioning states its goal as "Reader understands versioning
provides the ability to upgrade packages on the Sui network". Lines 1 to
75 did that: user package versions, framework package versions, manifest
versions. Lines 76 to 231 were an escrow swap example comparing
address-owned objects against a shared object, which never mentioned
packages, versions, or upgrades, and the page ended without returning to
the subject. 67% of the page was about something else.

Moved it to develop/objects/escrow-example.mdx, next to the other Using
Objects pages, retitled "Owned Compared With Shared Objects" after what
it actually teaches. Nothing links to the section, so no inbound links
break.

Two fixes that fall out of the split:

The ### headings on both pages had no ## parent, which breaks the table
of contents nesting. Each page's sections are now ##.

The versioning intro said package inputs "are always loaded at their
latest version". The User packages section directly below it says the
opposite, that all versions "remain callable, including v1 even after v3
exists". The claim also produced a wrong sentence on upgrade.mdx earlier
in this audit, which review caught. It now says inputs are referenced by
ID alone with no separate version number, and the 2 subsections explain
what that means for user and framework packages.

Also repointed the lock.move link, which used a pinned SHA against
examples/move/escrow, a path that has since moved to
examples/trading/contracts/escrow.
@jessiemongeon1
jessiemongeon1 deployed to sui-typescript-aws-kms-test-env September 8, 2026 19:21 — with GitHub Actions Active
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sui-docs Ready Ready Preview Sep 8, 2026 9:14pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
multisig-toolkit Ignored Ignored Preview Sep 8, 2026 9:14pm UTC
sui-kiosk Ignored Ignored Preview Sep 8, 2026 9:14pm UTC

Request Review

@github-actions github-actions Bot added the Type: Documentation Improvements or additions to documentation label Sep 8, 2026
@jessiemongeon1 jessiemongeon1 changed the title Move the escrow example off the package versioning page docs: Move the escrow example off the package versioning page Sep 8, 2026
@jessiemongeon1
jessiemongeon1 marked this pull request as ready for review September 8, 2026 19:24
@jessiemongeon1
jessiemongeon1 deployed to sui-typescript-aws-kms-test-env September 8, 2026 19:24 — with GitHub Actions Active
@jessiemongeon1

jessiemongeon1 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Style Guide Audit

All 2 file(s) pass the style guide audit.

Line 48 was genuinely passive. Gave it a subject rather than taking the
suggested wording, because "inputs use ID alone" reads oddly: an input
does not use an ID, a transaction identifies it by one. It now reads "A
transaction references a package input by ID alone", which also matches
how MystenLabs#27910 phrases the same idea on upgrade.mdx.

Line 64 is not passive. "Their IDs must remain stable" uses remain as a
linking verb, and the suggested "must stay stable" is equally active, so
the swap changes register rather than voice. Took it anyway, as "stay the
same", since it costs nothing and reads slightly plainer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants