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-MacaroonReplace all 5 ACL layers with capability tokens (M1 done, M2-M5 planned)Partial
Phase 8DModule SlotsSwappable system algorithms (reputation, auth, storage)Planned
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
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+)
PhaseDurationStatus
Phase 1: Configuration1 weekComplete
Phase 2: Authentication2 weeksComplete
Phase 3: keytool CLI1 weekComplete
Phase 4A: Core Library + UX2-3 weeksComplete
Phase 4B: Frictionless Onboarding1-2 weeksComplete
Phase 4C: Core Hardening & Security6-8 weeksComplete (Batches A-I, Post-I-1)
Phase 5: Network Intelligence4-6 weeksComplete
Phase 6: ACL + Relay Security + Client Invites1 dayComplete
Phase 7: ZKP Privacy Layer1 dayComplete
Phase 8: Identity Security + Remote Admin1 dayComplete
Phase 8B: Per-Peer Data Grants3 daysComplete
Phase 8C: ACL-to-Macaroon Migration-M1 complete, M2-M5 planned
Phase 8D: Module Slots-Planned
Phase 9A: Core Interfaces & Library1 weekComplete
Phase 9B: File Transfer Plugin3 weeksComplete
Post-9B: Chaos Testing + Network Hardening4 daysComplete
Post-9B: Plugin Architecture Shift5 daysComplete
Phase 9C: Service Discovery & Plugins1-2 weeksPlanned
Phase 9D: Python SDK & Documentation1-2 weeksPlanned
Phase 9E: Swift SDK1-2 weeksPlanned
Phase 9F: Layer 2 WASM Runtime-Planned
Phase 9G: Layer 3 AI Plugin Generation-Future
Phase 10: Distribution & Launch1-2 weeksPlanned
Phase 11: Desktop Gateway + Private DNS2-3 weeksPlanned
Phase 12: Apple Multiplatform App3-4 weeksPlanned (separate repo: shurli-ios)
Phase 13: Federation2-3 weeksPlanned
Phase 14: Advanced Naming + Peer ID Prefix2-3 weeksPlanned (Optional)
Phase 15+: EcosystemOngoingConceptual

Priority logic: Harden the core (done) -> network intelligence (done) -> ACL and relay security (done) -> ZKP privacy (done) -> identity security (done) -> interfaces, file transfer, and plugin architecture (9A-9B + plugin shift done) -> remaining plugins and SDKs (9C-9E) -> distribute -> transparent access (gateway, DNS) -> expand (Apple multiplatform app -> federation -> naming).

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-03-23. Current: Phase 8B (per-peer data grants) complete, plugin architecture complete. Next: Phase 8C-8D (ACL migration, module slots), Phase 9C-9G (discovery, SDKs, WASM, AI).