Skip to content

W2 plan: CCIP-Read ENS gateway#16

Open
fritzschoff wants to merge 7 commits intomainfrom
feat/w2-ens-gateway
Open

W2 plan: CCIP-Read ENS gateway#16
fritzschoff wants to merge 7 commits intomainfrom
feat/w2-ens-gateway

Conversation

@fritzschoff
Copy link
Copy Markdown
Owner

Summary

Plan-only PR for W2 of issue #11. Replaces hourly setText cron with EIP-3668 offchain resolver. Wildcard *.agentlab.eth. Live last-seen-at, reputation-summary, outstanding-bids, inft-tradeable, memory-rotations served from Vercel gateway, signed and verifiable on-chain via ecrecover.

18 tasks, 7 milestones.

M Phase
M1 OffchainResolver contract + 7 unit tests
M2 lib/ens-gateway.ts — record computation, EIP-191 signing, ABI encode
M3 /api/ens-gateway/[sender]/[data]/route.ts — the gateway HTTP route
M4 Frontend lib/ens-records.ts + /inft cross-link reads + /ens-debug page
M5 Deploy + flip agentlab.eth resolver
M6 E2E test + wildcard test + W1 cross-link
M7 PR + walkthrough

Records served

Key Source
last-seen-at Redis agent:<id>:last-seen
reputation-summary On-chain ReputationRegistry.feedbackCount (5min cache)
outstanding-bids On-chain AgentBids.biddersCount
inft-tradeable On-chain AgentINFT.memoryReencrypted (W1 cross-link)
memory-rotations Oracle Redis (W1 cross-link)
avatar Computed eip155:.../erc721:.../<tokenId>
agent-card, description, url Edge Config

Trust posture

W2-α (trusted gateway). Compromise of INFT_GATEWAY_PK ⇒ malicious resolution. Worst-case impact: stale telemetry, never falsified ownership (ownership stays in L1 registry which the resolver doesn't override). Designed so W2-β (storage-proof verifier) can swap in by changing only the resolveWithProof body.

Depends on

W1 (#12) merged — the gateway reads AgentINFT.memoryReencrypted and the oracle's Redis inft:meta:<tokenId>:rotations for the cross-link records.

Test plan

Plan-only. Implementation review on the W2 implementation PR (separate, opened once W1 merges).

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

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

Project Deployment Actions Updated (UTC)
hackagent Ready Ready Preview, Comment Apr 29, 2026 9:40pm

Request Review

fritzschoff and others added 7 commits April 29, 2026 23:39
18 tasks across 7 milestones (M1 OffchainResolver contract → M2 gateway
lib → M3 HTTP route → M4 frontend + /ens-debug → M5 deploy + agentlab.eth
resolver flip → M6 e2e → M7 PR + walkthrough). W2-α trusted gateway
flavor; resolver designed for swap-in to W2-β storage proofs later.

Depends on W1 merging — cross-links to AgentINFT.memoryReencrypted and
oracle Redis for inft-tradeable + memory-rotations text records.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ncode)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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