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

@@ -95,11 +95,11 @@ main() {
print_warning "BZZZ directory not found - skipping"
fi
# SLURP API
if [ -d "modules/slurp/hcfs-python" ]; then
build_and_push "slurp-api" "modules/slurp/hcfs-python"
# SLURP Curator
if [ -d "modules/slurp" ]; then
build_and_push "slurp-curator" "modules/slurp"
else
print_warning "SLURP API directory not found - skipping"
print_warning "SLURP Curator directory not found - skipping"
fi
# SLURP RL Tuner
@@ -123,7 +123,7 @@ main() {
echo " - $REGISTRY/tony/chorus-whoosh-backend:$TAG"
echo " - $REGISTRY/tony/chorus-whoosh-frontend:$TAG"
echo " - $REGISTRY/tony/chorus-bzzz-coordinator:$TAG"
echo " - $REGISTRY/tony/chorus-slurp-api:$TAG"
echo " - $REGISTRY/tony/chorus-slurp-curator:$TAG"
echo " - $REGISTRY/tony/chorus-slurp-rl-tuner:$TAG"
echo " - $REGISTRY/tony/chorus-website:$TAG"
}
@@ -145,9 +145,9 @@ case "${1:-}" in
docker_login
build_and_push "bzzz-coordinator" "modules/bzzz"
;;
"slurp-api")
"slurp-curator")
docker_login
build_and_push "slurp-api" "modules/slurp/hcfs-python"
build_and_push "slurp-curator" "modules/slurp"
;;
"slurp-rl-tuner")
docker_login
@@ -168,7 +168,7 @@ case "${1:-}" in
echo " whoosh-backend Build and push WHOOSH backend only"
echo " whoosh-frontend Build and push WHOOSH frontend only"
echo " bzzz Build and push BZZZ coordinator only"
echo " slurp-api Build and push SLURP API only"
echo " slurp-curator Build and push SLURP Curator only"
echo " slurp-rl-tuner Build and push SLURP RL Tuner only"
echo " website Build and push marketing website only"
echo " help Show this help message"