feat(ADR-058): Phase 3-4 — GGUF engine, Ed25519 signing, IPFS distribution, hot-patch#1252
Merged
feat(ADR-058): Phase 3-4 — GGUF engine, Ed25519 signing, IPFS distribution, hot-patch#1252
Conversation
…ution, hot-patch Phase 3: ruvLLM GGUF inference engine - gguf-engine.ts: Binary GGUF header parser (v2/v3), model metadata extraction, optional node-llama-cpp integration for local inference, RVKV KV-cache persistence format, async token streaming - ruvllm-bridge.ts: Integrated GGUF engine as preferred Tier 2 backend, automatic model metadata enrichment on load Phase 4: Ed25519 code signing + IPFS distribution + hot-patch updates - rvfa-signing.ts: Ed25519 key generation/storage (PEM), two-pass appliance signing (canonical JSON for deterministic digests), signature verification, detached patch/section signing - rvfa-distribution.ts: RVFP binary patch format (magic "RVFP", section-level replacement), Pinata IPFS publishing (multipart upload, no external deps), 11-step atomic patch application with backup + rollback - appliance-advanced.ts: CLI subcommands (sign, publish, update) extracted to keep files under 500 lines Tests: 75 new tests (26 GGUF + 21 signing + 28 distribution), 134 total passing Co-Authored-By: claude-flow <ruv@ruv.net>
- Pass --signer flag through to signAppliance() in CLI command - Auto-detect PEM vs DER key format for cross-module signing interop - mkdir key directory before saving key pair (prevents ENOENT) - Add redirect depth limit (max 5) and 30s timeout on HTTP requests - Use canonical JSON for deterministic patch signature verification - Make RVKV footer hash mandatory (reject truncated cache files) - Use llama.cpp token count when available, else chars/4 heuristic - Remove unused GgufMetadata type import from ruvllm-bridge Co-Authored-By: claude-flow <ruv@ruv.net>
Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New modules (3)
gguf-engine.tsrvfa-signing.tsrvfa-distribution.tsModified (3)
ruvllm-bridge.tsappliance.tsappliance-advanced.tsTest plan
🤖 Generated with claude-flow