Repository navigation
v0.1.0
RELEASE: v0.1.0 — decentralized AI model distribution network with ComfyUI & CMM sync
🚀 What's New in v0.1.0
RenegadeSwarm is an open-source, decentralized P2P model distribution engine engineered specifically for 50GB+ AI weights (Checkpoints, LoRAs, UNets, GGUFs, VAEs, Text Encoders) with automatic ComfyUI directory organization and seamless RenegadeCMM database integration.
🔑 Key Features & Protocol Capabilities
- Decentralized Model Distribution:
- BitTorrent BEP 3 wire protocol framing with memory-safe piece chunking (2MB–32MB).
- BEP 19 Web Seed fallbacks (Hugging Face & CivitAI direct HTTP/HTTPS endpoints).
- BEP 42 Sybil defense with IP-derived DHT Node ID verification and query rate limiting (<5 KB/s).
- Token Bucket bandwidth scheduler with configurable seeding ratio governor (auto-halt at ratio cap).
- Strict Opt-In Model Privacy & Seeding Governance:
- Default policy set to Opt-In Only (`autoSeedDownloads: false`).
- Automatic blacklist filters for `/private/`, `/drafts/`, `/wip/`, `/client/`, and `private_*` prefixes.
- Manifest builder sanitizes local paths via `path.basename()` to prevent username or disk leaks.
- Local transmission JSON-RPC adapter strictly bound to loopback `127.0.0.1`.
- Zero-Trust Security & Quarantine Isolation:
- Quarantine lifecycle state machine (`Quarantine → Validating → Queued → Active → Completed → Verified`).
- Pre-write in-memory SHA256 piece validation dropping corrupted or poisoned chunks before disk write.
- Multi-pass magic byte inspector for SafeTensors, GGUF, ONNX, and PyTorch headers.
- Strict Anti-Polyglot defense rejecting ZIP containers (`PK\x03\x04`) and executable binaries (PE `MZ`, ELF `\x7fELF`, Mach-O, scripts).
- Dual-layer full-file SHA256 digest validation before promotion to model folders.
- Ed25519 digital signatures binding model metadata to the BitTorrent `infoHash`.
- Atomic RenegadeCMM & ComfyUI Synchronization:
- Direct SQLite `ATTACH DATABASE '...renegadecmm.sqlite' AS cmm;` for zero-lag catalog updates.
- Path traversal protection with canonical CMM filename formatting (`model_author.extension`).
- Automatic folder routing into `checkpoints/`, `loras/`, `vae/`, `text_encoders/`, `unet/`, and `configs/`.
- Cross-Platform Packaging & CI/CD:
- Multi-platform build matrix generating Windows NSIS installer + Portable `.exe`, Linux `AppImage` + `.tar.gz`, and macOS `.dmg` + `.zip`.
- Automated GitHub Actions release pipeline triggered on version tags.
🛡️ Audits & Verified Standards
- Test Suite: 16 test suites / 67 unit & integration tests passing (100% success rate).
- Security Audits: Passed AI-Generated Code Audit, Senior SecOps Review, and Penetration Threat Modeling.
- Legal Compliance: Standardized GNU General Public License v3.0 headers across all 48 source files, Betamax non-liability safe-harbor notice, and GitHub-compliant SECURITY.md policy.
📬 Official Contact Channels
- Bug Reports: bug-report@renegadeinc.net
- General Inquiries: contact-us@renegadeinc.net
- Security Disclosures: security@renegadeinc.net
- Legal & Licensing: legal@renegadeinc.net"