Early-stage software. Shurli is experimental and built with AI assistance. It will have bugs. Not recommended for production or safety-critical use. Read the disclaimer.

Roadmap

This document outlines the multi-phase evolution of Shurli from a simple NAT traversal tool to a comprehensive decentralized P2P network infrastructure.

Philosophy

Build for 1-5 years. Make it adaptable. Don’t predict 2074.

  • Modular architecture - Easy to add/swap components
  • Library-first - Core logic reusable in other projects
  • Progressive enhancement - Each phase adds value independently
  • No hard dependencies - Works without optional features (naming, blockchain, etc.)
  • Local-first - Offline-capable, no central services required
  • Self-sovereign - No accounts, no telemetry, no vendor dependency
  • Automation-friendly - Daemon API, headless onboarding, multi-language SDKs

Batch Overview

BatchFocusWhat It DoesStatus
Phase 1ConfigurationYAML config, sample filesDone
Phase 2AuthenticationConnectionGater, authorized_keysDone
Phase 3keytool CLIKey management (now shurli subcommands)Done
Phase 4ACore Librarypkg/sdk/, single binary, init wizardDone
Phase 4BOnboardinginvite/join, QR codes, auth + relay CLIDone
AReliabilityReconnection with backoff, dial timeout, DHT in proxyDone
BCode QualityProxy dedup, log/slog, sentinel errors, version embeddingDone
CSelf-HealingConfig archive/rollback, commit-confirmed, watchdogDone
Dlibp2pAutoNAT v2, QUIC preferred, Identify UserAgentDone
ECapabilitiesshurli status, /healthz, headless invite/joinDone
FDaemonUnix socket API, cookie auth, ping/traceroute/resolveDone
GTesting80.3% coverage, Docker tests, relay merge, websiteDone
HObservabilityPrometheus metrics, audit logging, Grafana dashboardDone
Pre-I-aBuild ToolingMakefile, service install (systemd/launchd)Done
Pre-I-bPAKE InviteEncrypted handshake, token-bound AEADDone
Pre-I-cPrivate DHTNamespace isolation for peer groupsDone
IAdaptive PathInterface discovery, dial racing, STUN, every-peer-relayDone
Post-I-1Relay PairingPairing codes, SAS verification, reachability gradesDone
Post-I-2Peer IntroHMAC group commitment, relay-pushed introductionsDone
Pre-5Hardening8 cross-network fixes, 5 NoDaemon test fixesDone
Phase 5Network IntelligencemDNS, PeerManager, NetIntel presenceDone
5-KmDNSNative DNS-SD LAN discovery (dns_sd.h CGo)Done
5-LPeerManagerBackground reconnection, authorized peer lifecycleDone
5-MNetIntelPresence announcements, gossip forwardingDone
Phase 6ACL + Relay SecurityMacaroon tokens, sealed vault, async invites, rolesDone
Phase 7ZKP PrivacyAnonymous auth, Poseidon2 Merkle tree, range proofsDone
Phase 8Identity SecurityBIP39 seed, encrypted keys, session tokens, remote adminDone
Phase 8BPer-Peer Data GrantsMacaroon grants, token delivery, delegation, notifications, audit logDone
Phase 8CACL-to-MacaroonM1 done (Phase 8B). M2-M5 moved to Phase 16Partial
Phase 8DModule SlotsSwappable system algorithms. Moved to Phase 21Planned
9AInterfaces & LibraryCore interfaces, extension points, library consolidationDone
9BFile TransferChunked P2P transfer, erasure coding, multi-source downloadDone
Post-9BPlugin ArchitecturePlugin framework, file transfer extraction, supervisor, security hardening, physical retestDone
v0.3.0Release (2026-03-26)148 commits. Plugins, grants, receipts, relay-first onboarding, bandwidth budgetsDone
v0.4.0Release (2026-05-01)Streaming protocol, multi-peer, Tail Slayer hedging, LAN 111 MB/s sendDone
go-clatterv0.1.0PQ Noise framework: 5 handshake modes, ML-KEM-768, 233+ tests, 408 interop vectorsDone
go-clatterv0.2.0ML-DSA-65 signing module (FIPS 204), 29 tests, secret zeroingDone
Phase 11PQC Integration/pq-noise/1 transport, ML-DSA-65 signing, docs, blogDone
Phase 12Seed & Recoverygo-bip85, SLIP39 fork+harden, SeedSource interface, SHRL redesignNext
Phase 13PQ Identity AttestationML-DSA-65 handshake, gater enforcement, offline master key, signing agentPlanned
Phase 14Topic-Based Pub/SubGossipSub integration via NetIntel Layer 3 slotPlanned
Phase 15Naming Standards5 identity layers, DID, petnames, resolution pipeline, plugin resolversPlanned
Phase 16ACL-to-MacaroonM2-M5 migration (promoted from 8C)Planned
Phase 17Agent FoundationMCP service templates, identity mgmt APIs, per-identity permissionsPlanned
Phase 18Agent Task ProtocolA2A plugin, Agent Cards, task FSM, MCP bridge, agent authPlanned
Phase 19Discovery + FederationCapability discovery, relay federation protocolPlanned
Phase 20PaymentsMachine + agent payment protocols (HTTP 402)Planned
Phase 21ReputationModule slots, connected identity trustDeferred
Phase 22Apple AppmacOS/iOS/iPadOS/visionOS (separate repo)In Progress
Phase 23Gateway + DNSDesktop gateway, private DNS on relayDeferred
9CDiscovery & PluginsService discovery, service templates, Wake-on-LANPlanned
9DPython SDK & DocsPython SDK (separate repo), SDK documentationPlanned
9ESwift SDKSwift SDK for Apple platforms (separate repo, SPM)Planned
9FLayer 2 WASMThird-party plugins in any language via wazero sandboxPlanned
9GLayer 3 AIAI-driven plugin generation from Skills.md specsFuture

Timeline Summary

Development timeline showing completed phases (1-4C) and planned phases (5-12+)
PhaseStatus
Phase 1: ConfigurationComplete
Phase 2: AuthenticationComplete
Phase 3: keytool CLIComplete (superseded)
Phase 4A-4B: Core Library + OnboardingComplete
Phase 4C: Core Hardening & SecurityComplete (Batches A-I, Post-I-1/2, Pre-Phase 5)
Phase 5: Network IntelligenceComplete (mDNS, PeerManager, Presence)
Phase 6: ACL + Relay SecurityComplete (Macaroons, vault, 2FA)
Phase 7: ZKP Privacy LayerComplete (gnark PLONK + KZG)
Phase 8: Identity Security + Remote AdminComplete (BIP39, encrypted identity, P2P admin)
Phase 8B: Per-Peer Data GrantsComplete (macaroon grants, delegation, audit)
Grant Receipt ProtocolComplete
Phase 9A-9B: Plugins + File TransferComplete
Plugin Architecture ShiftComplete (framework, extraction, supervisor, 43-vector threat analysis)
E14: Relay-First OnboardingComplete (3 ISP physical test)
FT-Y: Transfer Speed OptimizationComplete (streaming protocol, multi-peer, Tail Slayer, 22 bug fixes)
v0.3.0 Release (2026-03-26)148 commits merged
v0.4.0 Release (2026-05-01)Streaming protocol, hedged racing, LAN 111 MB/s send
go-clatter v0.1.0 (PQ Noise)5 handshake modes, 233+ tests, 408 interop vectors
go-clatter v0.2.0 (ML-DSA-65)FIPS 204 signing, 29 tests, secret zeroing
Phase 10: DistributionPartial (install script, archives done. Homebrew/APT planned)
Phase 11: PQC Integration✅ DONE (11A+11B+11C)
Phase 12: Seed & RecoveryNext
Phase 13: PQ Identity AttestationPlanned
Phase 14: Topic-Based Pub/SubPlanned
Phase 15: Naming Standards (SNR)Planned
Phase 16: ACL-to-Macaroon (M2-M5)Planned
Phase 17: Agent Foundation (MCP)Planned
Phase 18: Agent Task Protocol (A2A)Planned
Phase 19: Agent Discovery + FederationPlanned
Phase 20: PaymentsPlanned
Phase 21: Reputation / Module SlotsDeferred
Phase 22: Apple Multiplatform AppIn Progress (separate repo)
Phase 23: Desktop Gateway + Private DNSDeferred
Phase 9C-9G: SDKs, WASM, AI PluginsPlanned / Future
Phase 24+: EcosystemConceptual

Priority logic: Harden core (done) -> network intelligence (done) -> ACL + relay security (done) -> ZKP (done) -> identity + remote admin (done) -> plugins + file transfer (done) -> speed optimization (done) -> PQC (done) -> seed infrastructure -> PQ identity attestation -> pub/sub -> naming standards -> macaroon migration -> agent foundation -> agent protocol -> discovery + federation -> payments -> reputation -> mobile -> gateway.

Repository strategy: Non-Go SDKs and consumer apps live in separate GitHub repos. The Go SDK (pkg/sdk) stays in this repo.


Contributing

This roadmap is a living document. Phases may be reordered, combined, or adjusted based on:

  • User feedback and demand
  • Technical challenges discovered during implementation
  • Emerging technologies (AI, quantum, blockchain alternatives)
  • Community contributions

Adaptability over perfection. We build for the next 1-5 years, not 50.


Last updated: 2026-05-10. v0.4.0 released. go-clatter v0.2.0 released. Phase 11 DONE (PQ Noise + ML-DSA-65 + docs/blog). go-bip85 v0.1.0, go-slip39 v0.1.0 released. Next: Phase 12 Seed & Recovery (SHRL integration).