mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
Itemized changes:
1. knoe-auth: New cluster-internal KDC and SSO gateway service
- Created etc/init_knoe_auth.sh based on init_kdc.sh with knoe-auth naming
- Namespace defaults to SERVICE_NAMESPACE (knoe-system)
- ConfigMap: knoe-auth-kdc-config, Secret: knoe-auth-secrets
- Legacy cleanup removes old auth/dog/authority deployments
2. Orchestration: knoe-auth initializes before CloudNativePG
- Updated prole.sh to insert init_knoe_auth.sh as step 2 (before CNPG)
- Renumbered all subsequent initialization steps
3. Kong routing: Updated init_kong.sh to route to knoe-auth in SERVICE_NAMESPACE
4. Comment/reference updates for knoe-auth
- Updated init_common_services.sh, init_service_layer.sh, init_kerberos.sh
5. prole-db renamed to knoe-db across the entire codebase
- Renamed prole-db/ directory to knoe-db/
- Renamed all prole-db Kubernetes manifests (deploy/opentofu, k8s/)
- Renamed scripts: docker-root-knoe-db.sh, docker-run-knoe-db.sh, test-cnpg-knoe-db.sh
- Renamed etc/init_prole-db-reset.sh to etc/init_knoe-db-reset.sh
- Renamed etc/prole-db-passwwd.sh to etc/knoe-db-passwwd.sh
- Renamed mock_val counterparts accordingly
- Renamed tests/etc/test_init_prole-db-reset.sh to test_init_knoe-db-reset.sh
- Renamed docs/prole-db-documentation-mcp-architecture.md to knoe-db variant
- Renamed modes/k3d/prole-db/ to modes/k3d/knoe-db/
- Renamed prole-db.iml to knoe-db.iml
6. Configuration updates
- Updated conf/dev, conf/prod, conf/test, conf/service prole.cfg files
- Updated conf/port-mapping.cfg
- Updated etc/prole_cfg.sh and mock_val/prole_cfg.sh
- Updated service/prole.cfg
7. Kubernetes manifests and deploy configuration
- Updated deploy/opentofu/k3s ArgoCD application YAMLs
- Updated kong-configmap.yaml and kustomization.yaml
- Updated k3s/kong-config.yml and prole-resources.yaml
- Updated prole-mssql-db deployment YAMLs
- Updated supabase helm render and deploy scripts
8. Infrastructure and GCP Terraform
- Updated deploy/gcp/terraform: folders, groups, IAM, service-projects
9. Python/installer code updates
- Updated knoe/core: actions, build_context, controller, env, milestones
- Updated knoe/milestone.py
- Updated knoe/ui/screens: cfg, database, database_options, deploy, docker,
navigation, security, services, validate
- Updated knoe.spec, status.py
10. Shell script updates
- Updated etc/: build_db, init_cloudnative_pg, init_cnpg_backup,
init_db_manager, init_forgejo, init_gitlab, init_monitoring, init_openbao,
init_port_forwards, init_postgrest, init_supabase_ports, status
- Updated mock_val/ counterparts for all above scripts
- Updated prole-net/init-prole-dns.sh
- Updated bin/prole-kpf.sh, gitea/deploy.sh, supabase/deploy.sh
11. Test updates
- Updated tests/etc/: test_init_cloudnative_pg*, test_init_cnpg_backup*,
test_init_kdc*, test_init_kerberos*, test_init_kong*, test_prole_cfg*
- Updated tests/installer/: test_actions_helpers, test_cfg_save_kubecontext,
test_controller, test_core_classes, test_milestones, test_milestones_extended,
test_namespace_propagation
- Updated tests/: test_database_options, test_navigation,
test_render_supabase_hostname, test_docker_build_fix,
test_all_prole_home_fixes, silent_install_test, final_test
12. Documentation updates
- Updated docs/: DOCKER-BUILD-FIX, PROLE-CFG-SECRETS, PROLE-HOME-DIRECTORY,
build-system, patent
- Updated scan/network_description.txt
- Updated pom.xml
13. Miscellaneous script updates
- Updated root-level: _adopt_replica_pvcs, _fix_replica_merlin, _import_pi,
_patch_cluster, _prebind_pvcs, _rebind_d002, _rebind_d002b, test_resolve
- Updated scripts/generate_spec.py
Co-authored-by: Junie <junie@jetbrains.com>
71 lines
4.3 KiB
Plaintext
71 lines
4.3 KiB
Plaintext
>>> """
|
||
... produce a one page summary, with some gravitas, describing the system architecture, suitable for a patent filing. We love this idea, it needs protecting so that everyone can use it
|
||
... We're creating "Prole" organization to hold the patent once it's granted, in a private foundation with the goal of access and scale. We now work for Prole organization. A key component of this new
|
||
... system is distributed processing. Prole org will host a service that registers sleep cycle work requests. A p2p sharing functionality will be part of the knoe-db and a pub/sub system to Prole or
|
||
... g. The compression level, type of LLM to do the processing. A sub from a worker initiates an receive request to prole which triggers a fresh encryption key and exchange between to pub and sub. wor
|
||
... k request is a 'shp' the processed request is an 'eshp'; Philip K Dick. When the 'eshp', electric sheep, work is done, it's p2p published and confirmed to be received and repeated by at least 2 nei
|
||
... ghbors, the sheep herder can consider task complete.
|
||
... eshpHerder will be the name of p2p agent process running on knoe-db
|
||
... """
|
||
# PROLE-DATABASE SYSTEM ARCHITECTURE
|
||
|
||
## Abstract
|
||
|
||
A revolutionary distributed memory system for storing and processing conversational data through intelligent compression cycles, enabling scalable long-term memory retention while maintaining
|
||
semantic integrity across distributed computing networks.
|
||
|
||
## System Overview
|
||
|
||
The Prole Database System ("Prole-DB") represents a paradigm shift in conversational memory management, incorporating temporal compression cycles, distributed processing, and secure peer-to-peer
|
||
sharing mechanisms. This system establishes a comprehensive framework for storing, compressing, and retrieving conversational data across extended time periods while leveraging distributed
|
||
computing resources.
|
||
|
||
## Core Components
|
||
|
||
### **Shp (Sheep) Architecture**
|
||
Each conversational record is encapsulated as a "shp" (pronounced "sheep") - a compressed, indexed data structure containing full conversational detail. Shps are generated through real-time
|
||
processing and stored in compressed format with configurable dream cycles.
|
||
|
||
### **Dream Cycle Compression**
|
||
Shps undergo progressive compression over time:
|
||
- **0-32 days**: Full detail retention
|
||
- **32-day cycle**: Progressive compression based on temporal decay
|
||
- **Compression formula**: 100 × (32 - age_days)/32 percent size reduction
|
||
|
||
### **Distributed Processing Framework**
|
||
The system operates through a peer-to-peer network utilizing libp2p or similar protocols for work distribution and processing. The "eshpHerder" agent process coordinates distributed computation
|
||
tasks across the network.
|
||
|
||
## Processing Workflow
|
||
|
||
### **Work Distribution**
|
||
1. **Request Registration**: Prole-DB service registers sleep cycle work requests
|
||
2. **Task Allocation**: Distributed processing requests initiated through peer network
|
||
3. **Encryption Protocol**: Fresh encryption keys generated for each transaction
|
||
4. **Peer-to-Peer Exchange**: Secure communication between publisher and subscriber nodes
|
||
|
||
### **Completion Verification**
|
||
Processed tasks result in "eshp" (electric sheep) outputs, which are:
|
||
- P2P published to distributed network
|
||
- Confirmed receipt by at least two neighboring nodes
|
||
- Verified completion through distributed consensus mechanism
|
||
|
||
## Security and Distribution
|
||
|
||
### **Encryption Framework**
|
||
All shps and eshp data undergo end-to-end encryption with dynamic key exchange protocols ensuring data integrity and privacy across distributed nodes.
|
||
|
||
### **Network Architecture**
|
||
- **P2P Sharing**: Integrated distributed file system for data propagation
|
||
- **Pub/Sub System**: Prole-DB service coordination through publish-subscribe messaging
|
||
- **Neighbor Verification**: Distributed consensus requiring minimum two-node confirmation
|
||
|
||
## Intellectual Property Protection
|
||
|
||
This system architecture establishes novel methods for distributed conversational memory management, temporal compression algorithms, and peer-to-peer processing frameworks. The Prole
|
||
Organization, established as a private foundation, will safeguard these innovations for public benefit while enabling scalable access and implementation across diverse computational
|
||
environments.
|
||
|
||
**Patent Application Filed: [Date]**
|
||
**Prole Organization - Distributed Conversational Memory System**
|