@@ -709,15 +709,13 @@ token = { version = "0.3.0", namespace = "cellscript" }
709709Running ` cellc build ` triggers dependency resolution:
710710
7117111 . Read ` Cell.toml ` ` [dependencies] ` → find ` token ` with ` namespace = "cellscript" ` .
712- 2 . Query ` https://api.registry.cellscript.dev/v1/packages/cellscript/token ` and
713- select the latest version whose public status is eligible for ordinary
714- resolution.
715- 3 . Read the accepted source repository, tag, source hash, Edition, and
716- compatibility-profile identity from that public record.
717- 4 . Clone the source repo at the accepted tag (e.g., ` v0.3.2 ` ).
718- 5 . Read ` registry.json ` from the cloned repo and require its package/version,
719- tag, source hash, Edition, and profile hash to match the accepted record.
720- 6 . Verify the checked-out source tree against ` source_hash ` .
712+ 2 . Query ` https://api.registry.cellscript.dev/v1/artifacts/cellscript/token ` .
713+ 3 . Require the ` cellscript_source ` profile and ` dependency ` consumption mode,
714+ then select an eligible verified release.
715+ 4 . Download its immutable source snapshot from the static Registry origin.
716+ 5 . Verify the snapshot object identity, package coordinate, file hashes,
717+ Edition, compatibility-profile identity, and whole-tree source hash.
718+ 6 . Materialize the verified source into the dependency cache.
7217197 . Parse the dependency's ` Cell.toml ` → resolve transitive dependencies.
7227208 . Write ` Cell.lock ` with resolved versions and git provenance.
723721
@@ -967,7 +965,7 @@ source → build → deployment, all bound by cryptographic hashes in
967965 Public Registry API Source Repository
968966 (accepted status) (github.com/cellscript/amm_pool)
969967 ┌─────────────────┐ ┌──────────────────────────────────┐
970- │ /v1/packages/ │ │ Cell.toml │
968+ │ /v1/artifacts/ │ │ Cell.toml │
971969 │ cellscript/ │──────►│ registry.json ← offline mirror │
972970 │ amm_pool │ │ src/ │
973971 └─────────────────┘ │ Cell.lock ← cellc build │
0 commit comments