Cl Hive

C 65 completed
Plugin
containerized / python · small
223
Files
101,512
LOC
0
Frameworks
6
Languages

Pipeline State

completed
Run ID
#354869
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
59.67
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #49655
Member of a group with 5 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionDocumentation
Repobility · open methodology · https://repobility.com/research/

AI Prompt

Create a system for a Core Lightning plugin that implements a "Coordination Layer" for multiple independent nodes. This layer needs to enable "Swarm Intelligence" by allowing nodes to share state, optimize topology, and manage liquidity collectively. Key features should include a Secure PKI Handshake, a Shared State mechanism using a gossip protocol, and an Intent Lock Protocol for conflict resolution. Also, implement a Topology Planner that suggests expansions and a Min-Cost Max-Flow Optimization routine for global rebalancing. Finally, include support for Hierarchical Membership and Anticipatory Liquidity Management using pattern detection.
python lightning-protocol coordination swarm-intelligence distributed-systems finance optimization plugin
Generated by gemma4:latest

Catalog Information

The Coordination Layer for Core Lightning Fleets enables 'Swarm Intelligence' across independent nodes, transforming them into a coordinated fleet that shares state, optimizes topology, and manages liquidity collectively.

Description

cl-hive is a Core Lightning plugin that coordinates a group of disparate Lightning nodes. It acts as the 'Diplomat' or 'Chief Strategy Officer', communicating with other nodes in the fleet. The plugin works alongside cl-revenue-ops, which manages local channel profitability and fee policies. Key features include secure PKI handshake, shared state, intent lock protocol, topology planner, hierarchical membership, cooperative fee coordination, no node left behind, coordinated splicing, min-cost max-flow optimization, anticipatory liquidity management, stigmergic markers & pheromone trails, and settlement system.

الوصف

cl-hive هو plugin Core Lightning الذي يتنسيق مجموعة من العقد اللامركزية للنيرفان. يعمل ك"الرئيس التنفيذي" أو "المدير الاستراتيجي"، ويتواصل مع الأعضاء الآخرين في المجموعة. يتم العمل جنبا إلى جنب مع cl-revenue-ops، الذي يدير ربحية القنوات المحلية وتحديد الرسوم. تشمل الميزات الرئيسية handshake PKI الآمن، الحالة المشتركة، protocol قفل المقصود، مخطط التخطيط، عضوية هرمية، تنسيق الرسوم التعاوني، لا يترك أي عقد وراءه، splice التنسيقي، optimization السعر الأدنى تدفق الأعظم، إدارة النقدية المتوقعة، علامات stigmergic & مسارات الفيرومون، نظام التسوية.

Novelty

9/10

Tags

swarm-intelligence lightning-network node-coordination liquidity-management fee-optimization channel-optimization predictive-analytics

Claude Models

claude-opus-4.6

Quality Score

C
65.1/100
Structure
67
Code Quality
52
Documentation
82
Testing
85
Practices
52
Security
57
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (94% test-to-source ratio)
  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • Potential hardcoded secrets in 1 files
  • 9911 duplicate lines detected \u2014 consider DRY refactoring
  • 33 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 308 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

87.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (2)
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/
Unknown
License
5.3%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
92.1%
shell
3.7%
markdown
3.6%
yaml
0.4%
json
0.1%
text
0.0%

Frameworks

None detected

Concepts (2)

All metrics by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/
auto_descriptionProject DescriptionThe Coordination Layer for Core Lightning Fleets.80%
auto_categoryDocumentationdocs70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/78992.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV