Bind mapped CDN bodies to verified paths
This commit is contained in:
parent
15bffc6d8c
commit
682a3e9f8d
4 changed files with 57 additions and 6 deletions
|
|
@ -34,9 +34,11 @@ verifies the complete SHA-256 identity, and atomically publishes
|
|||
implement a second retry, failover, or promotion policy.
|
||||
|
||||
For local consumers, configure `CultMeshVerifiedBodyMappingBroker` and call
|
||||
`FetchMappedBodyAsync`. The resulting descriptor maps only the completed body;
|
||||
mapping failure remains observable and falls back through the equivalent
|
||||
network descriptor without changing logical identity.
|
||||
`FetchMappedContentAsync`. The result binds the transfer owner's verified path
|
||||
to the mapped descriptor, so consumers do not infer cache filenames. The older
|
||||
`FetchMappedBodyAsync` shape delegates to the same owner when only the
|
||||
descriptor is needed. Mapping failure remains observable and falls back through
|
||||
the equivalent network descriptor without changing logical identity.
|
||||
|
||||
The content protocol uses one bounded response per manifest chunk. A snapshot
|
||||
response containing `gamecult.mesh.cdn_artifact_chunk.v1` payload records is a
|
||||
|
|
|
|||
|
|
@ -682,6 +682,8 @@ the equivalent network body descriptor, and a bounded lease.
|
|||
**Outputs:** a read-only file-mapping descriptor for the same logical generation.
|
||||
Multiple consumers map the same completed cache file and therefore share the OS
|
||||
page cache; no process-sized byte array or republished body file is created.
|
||||
`CultMeshMappedContent` binds that descriptor to the exact final path returned
|
||||
by the transfer owner, so runtime lowerers never reconstruct cache layout.
|
||||
|
||||
**Derived state:** opaque capability tokens and their expiry. Tokens are neither
|
||||
content hashes nor paths and do not confer producer authority or content trust.
|
||||
|
|
@ -696,7 +698,9 @@ failure is observed by body negotiation and falls back to that network
|
|||
representation.
|
||||
|
||||
**Cut line:** there is no second CDN publication path. Mapping is granted only
|
||||
after the transfer owner returns its verified final file.
|
||||
after the transfer owner returns its verified final file. The compatibility
|
||||
descriptor-only method delegates to the path-and-descriptor result rather than
|
||||
repeating transfer or cache-path policy.
|
||||
|
||||
### Cut first
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue