feat: correct SLURP/HCFS architecture and complete Docker integration

Major architectural correction based on user clarification:

ARCHITECTURE CHANGES:
- SLURP: Context curator service that processes Hypercore logs, filters by role/triggers, serves via SQL
- HCFS: FUSE filesystem overlay embedded in sandbox Docker images, not a separate service
- Agents access context transparently through filesystem operations via HCFS → SLURP

DOCKER CONFIGURATION:
- Renamed slurp-api → slurp-curator throughout all configurations
- Created proper Dockerfiles for SLURP curator and COOEE RL tuner services
- Updated environment variables to reflect curator service role
- Fixed missing slurp_data volume in docker-compose.yml

UPDATED FILES:
- README.md: Corrected SLURP description from "Context Management" to "Context Curator Service"
- docker-compose.yml: Service rename, environment updates, added missing volume
- docker-compose.swarm.yml: Production deployment with correct service names
- build-and-push.sh: Updated to build slurp-curator service
- chorus.sh: Updated service references and endpoints
- init-db.sql: Database initialization for curator service
- modules/slurp/Dockerfile: New curator service container
- modules/slurp/Dockerfile.rl-tuner: New COOEE RL tuner container

VALIDATION:
- WHOOSH submodule validated: proper Dockerfiles and dependencies present
- BZZZ submodule integrated: build issues identified in original repo (requires separate fix)
- All Docker configurations updated to reflect correct architecture

MEMORY UPDATES:
- project_overview: Updated with correct SLURP/HCFS roles and current project status
- Removed references to deprecated HMMM component

This commit ensures all configuration reflects the correct architectural understanding
where SLURP curates context from logs and HCFS provides transparent filesystem access
to that curated context within agent sandbox environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tony
2025-08-01 10:01:34 +10:00
parent 13364b9e8c
commit b45c9c537e
6 changed files with 48 additions and 37 deletions

View File

@@ -60,7 +60,7 @@ show_usage() {
echo " - whoosh-backend : Orchestration API (port 8087)"
echo " - whoosh-frontend : Web Dashboard (port 3001)"
echo " - bzzz-coordinator : P2P Coordination (port 8080)"
echo " - slurp-api : Context Management (port 8088)"
echo " - slurp-curator : Context Curator Service (port 8088)"
echo " - slurp-rl-tuner : RL Context Tuner (port 8089)"
echo " - postgres : Database (port 5433)"
echo " - redis : Cache (port 6380)"
@@ -116,7 +116,7 @@ start_services() {
echo " - WHOOSH Dashboard: http://localhost:3001"
echo " - WHOOSH API: http://localhost:8087"
echo " - BZZZ Coordinator: http://localhost:8080"
echo " - SLURP API: http://localhost:8088"
echo " - SLURP Curator: http://localhost:8088"
echo " - SLURP RL Tuner: http://localhost:8089"
echo " - Grafana: http://localhost:3002 (admin/chorusadmin)"
echo " - Prometheus: http://localhost:9092"
@@ -161,7 +161,7 @@ deploy_swarm() {
echo ""
print_info "Internal services (*.home.deepblack.cloud):"
echo " - BZZZ Coordinator: https://chorus-bzzz.home.deepblack.cloud"
echo " - SLURP API: https://chorus-slurp.home.deepblack.cloud"
echo " - SLURP Curator: https://slurp.chorus.services"
echo " - COOEE RL Tuner: https://chorus-cooee.home.deepblack.cloud"
echo " - Grafana: https://chorus-grafana.home.deepblack.cloud"
echo " - Prometheus: https://chorus-prometheus.home.deepblack.cloud"
@@ -213,7 +213,7 @@ check_health() {
"http://localhost:8087/health|WHOOSH Backend"
"http://localhost:3001|WHOOSH Frontend"
"http://localhost:8080/health|BZZZ Coordinator"
"http://localhost:8088/health|SLURP API"
"http://localhost:8088/health|SLURP Curator"
"http://localhost:8089/health|SLURP RL Tuner"
"http://localhost:9092/-/healthy|Prometheus"
"http://localhost:3002/api/health|Grafana"