Cbh/seity contacts - #288
Merged
Merged
Conversation
…d record, mood ring A `seity-contacts:v1:<lookupKey><seed>` reference names a registry slot, not a blob, so it stays the same while the profile behind it changes. The drawer now resolves one: read the slot from Seity's registry through raw contract storage (no runtime call), fetch and open the sealed record through the host preimage path, then fetch the avatar the record names as before. A bare `cid#key` reference keeps its existing path. The record's mood is drawn as a ring around the avatar (one WebGL program, static fallback, still under reduced motion) and lapses after its TTL. Pinned by Seity profile-core's contacts vector and by the registry's own storage-layout test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The host page does not own a light client; the protocol worker does, and the host reaches it by request, as name resolution already does. Add `resolveSeitySlot` beside `resolveOwner` (client proxy, iframe and shared worker handlers, request map, timeout) and have the drawer use it. The slot version crosses as a decimal string. Log why a drawer load failed (name and message only; nothing on that path carries the reference), which is how this was found. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ust-core cbh/seity-contacts) Rebuild `vendor/truapi` and `vendor/truapi-host` from host-rust-core `298cf4286` (on #1001): `profile.disclose` / `retract` / `presentContact`, the Chat v2 profile relay, and the `ProfileDisclosure` and `ProfileReferencesReceived` core-storage slots. The web WASM keeps the signing host (`--no-default-features --features wasm-signing-host`); the lock carries the archive, client and WASM hashes of this build. Host storage policy for the two new slots: generation-scoped in private custody, their own local-storage keys (received references per chat product), and encrypted at rest as secret material, since both hold bearer capabilities. `turbo run typecheck lint test`: 39/39. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The vendored host is built from cbh/seity-contacts, which is #1009 (stacked on #1001). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Bundle Size ReportChunks over 500 KB:
All files
Commit: 86199fe |
Contributor
⚡ Performance ReportCold StartOverall: 🟢 improved | p50: 9.87s → 9.24s (-6.4%) | p95: 14.61s → 9.48s (-35.1%) | Mann-Whitney: z=2.71 ✅ significant Phase breakdown
Warm StartOverall: 🔴 regressed | p50: 5.22s → 8.25s (+58.0%) | p95: 6.90s → 9.15s (+32.5%) | Mann-Whitney: z=4.03 ✅ significant Phase breakdown
Lukewarm Start (different site, same session)Overall: 🟢 improved | p50: 11.13s → 10.33s (-7.2%) | p95: 18.18s → 11.29s (-37.9%) | Mann-Whitney: z=2.57 ✅ significant Phase breakdown
Commit: 86199fe | Outliers (>2x best) discarded before stats |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Seity contacts layer on top of #287. Consumes paritytech/host-rust-core#1009
SessionStorestores the new profile slots encryptedTests:
turbo run typecheck lint test39/39, pinned by Seity's contacts vector. Drawn live from a real slot on paseo-next-v2.