Skip to content

Commit c47b345

Browse files
committed
Keep Registry interfaces aligned across networks
1 parent eff443d commit c47b345

5 files changed

Lines changed: 36 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Unreleased
44

5+
- Keep the production and Pudge Testnet Registry websites on one UI contract.
6+
The website gate now builds both environments from the same source, verifies
7+
six shared Registry routes, and requires every generated CSS/JavaScript asset
8+
to be byte-identical. Testnet now ships the LS-IDL route, defaults LS-IDL
9+
lookups and API examples to `testnet`, and no longer preloads production
10+
package records into Manage or artifact-detail fallbacks. Network-specific
11+
origins, chain selection, sandbox expiry, no-index policy, and storage remain
12+
isolated.
513
- Correct the 0.24 website release lineage after the first production build
614
retained stale 0.22 release metadata and Playground assets. The homepage now
715
advertises the official `v0.23.0` stable release and its 2026-08-11 date, the

docs/CELLSCRIPT_GATE_POLICY.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ Node-backed CI uses Node 22. After one checked Registry-data generation pass,
7979
the unified gate and manual website workflow both run
8080
`npm --prefix website run build:ci`; that target owns the complete Registry,
8181
playground, visual, homepage, preference, documentation, dist, deploy, Astro
82-
check, and Astro build regression contract.
82+
check, and Astro build regression contract. It builds both production and
83+
Pudge Testnet Registry outputs, checks the six shared routes in each, and
84+
requires their generated CSS and JavaScript assets to be byte-identical while
85+
allowing only explicit network authority and admitted-data differences.
8386

8487
The 0.23 line also has one edition contract: every package declares
8588
`edition = "2026"`, and all emitted evidence binds the resolved compatibility

docs/releases/CELLSCRIPT_0_24_RELEASE_NOTES.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,21 @@ implements the described decoder correctly, and they are not a security audit.
117117
The full profile and operator boundary are documented in the
118118
[LS-IDL Registry profile](../CELLSCRIPT_LS_IDL_REGISTRY_PROFILE.md).
119119

120+
## Mainnet And Testnet Registry Parity
121+
122+
The production and Pudge Testnet Registry websites now build from one shared
123+
interface contract. Browse, Publish, LS-IDL, API, Manage, and dynamic artifact
124+
detail are present in both outputs and load the same byte-identical generated
125+
CSS and JavaScript. The website CI build produces both environments and rejects
126+
a missing route, divergent asset, or missing shared workflow hook.
127+
128+
Network context remains explicit rather than cosmetically erased. Testnet uses
129+
its own API and object origins, `ckt` address prefix, Pudge chain, expiry policy,
130+
and isolated records. Its LS-IDL form and copied API example default to
131+
`testnet`; Manage and artifact details do not preload or fall back to mainnet
132+
records. Production continues to default to mainnet. The environment control
133+
is the intended visible distinction between otherwise matching interfaces.
134+
120135
## Playground Experience Upgrade
121136

122137
The browser Playground is now a recoverable Cell-oriented workbench rather

roadmap/CELLSCRIPT_0_24_ROADMAP.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ Registry compatibility route. The website names this surface `LS-IDL`
4646
explicitly and aligns it with the full-width Browse surface. This does not
4747
expand the language edition or claim implementation correctness.
4848

49+
The mainnet and Pudge Testnet Registry sites also share one versioned interface
50+
contract. Both builds must expose the same six Registry routes and load the
51+
same byte-identical visual and interactive assets. Only network authority and
52+
network-derived state may differ: API/static origins, address prefix, chain,
53+
sandbox expiry and indexing policy, and the records admitted to each isolated
54+
store. Testnet lookup, API examples, Manage defaults, and artifact fallbacks
55+
must never silently select mainnet.
56+
4957
## Why This Is The Next Boundary
5058

5159
CellScript 0.23 completed an operational distribution and evidence layer:

0 commit comments

Comments
 (0)