This repository contains the initial TMP v3 protocol implementation surface and a Next.js proof-of-concept UI.
ARCHITECTURE.MD: saved TMP v3 architecture specification.AGENTS.md: project agent operating guide..agents/skills/*: foundational local skill packs for TMP work.src/lib/tmp/*: typed protocol models, envelope builders, and encoding helpers.src/app/api/protocol/envelope/route.ts: round-trip encode/decode API endpoint.src/app/page.tsx: protocol dashboard for sample unicast, multicast, and directive events.
Run the development server:
pnpm devOpen http://localhost:3000.
GET /api/protocol/envelopereturns sample TMP envelopes and a Nostr-wrapped event.POST /api/protocol/envelopeaccepts{ "envelope": <TendonEnvelope> }and returns encoded/decoded round-trip data.
Envelopes serialize to Protocol Buffers (proto/tendon.proto) and are Base64-encoded for Nostr content fields. Regenerate bindings after schema edits:
pnpm run proto:gen- Add passkey + Argon2id vault unlock pathways.
- Add OPFS/SQLite worker persistence and Negentropy reconciliation loop.
- Implement gift-wrap unicast and epoch-based multicast key workflows.