Skip to content

feat(vana): read approved data through enclave jobs - #1

Open
Kahtaf wants to merge 27 commits into
mainfrom
feat/enclave-jobs-read
Open

feat(vana): read approved data through enclave jobs#1
Kahtaf wants to merge 27 commits into
mainfrom
feat/enclave-jobs-read

Conversation

@Kahtaf

@Kahtaf Kahtaf commented Sep 4, 2026

Copy link
Copy Markdown
Member

Why

Prove the Personal Server enclave path from a real builder app: DCR → owner approval in the Vana web app → owner-signed grant → raw_read job on the Gateway → data rendered by the app.

What

  • vana-sdk 3.22.0-pr.210.0a5d07b (jobs client).
  • VANA_ACCESS_REQUEST_BASE_URL / VANA_APPROVAL_APP_BASE_URL overrides for the DCR endpoints (unset = today's SDK defaults).
  • VANA_READ_MODE=enclave + VANA_GATEWAY_URL: the read leg uses createJobsClient().readRaw instead of the direct Personal Server read + escrow; typed jobs errors surface in the existing UI.
  • pnpm enclave:read CLI (scripts/enclave-read.ts) for a UI-free check.

Verified 2026-09-04

Against the dp-rpc-moksha preview with a TEE node: DCR created from the UI, owner approved in local web, grant minted; pnpm enclave:read returned the owner's spotify.profile through the TEE Personal Server (13 s). With unity-surfaces fix/web-enclave-dcr-complete (enclave delivery skips the browser-PS probe) the UI flow completes end to end: DCR → approval → grant → job → portrait rendered from the TEE Personal Server.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PxPMhmcBptiGgaJBoVyH1

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
lorebook Ready Ready Preview Sep 9, 2026 8:09pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant