## Agents Added - Alateya: R&D, biotech, innovations - Clan (Spirit): Community spirit agent - Eonarch: Consciousness evolution agent ## Changes - docker-compose.node1.yml: Added tokens for all 3 new agents - gateway-bot/http_api.py: Added configs and webhook endpoints - gateway-bot/clan_prompt.txt: New prompt file - gateway-bot/eonarch_prompt.txt: New prompt file ## Fixes - Fixed ROUTER_URL from :9102 to :8000 (internal container port) - All 9 Telegram agents now working ## Documentation - Created PROJECT-MASTER-INDEX.md - single entry point - Added various status documents and scripts Tokens configured: - Helion, NUTRA, Agromatrix (existing) - Alateya, Clan, Eonarch (new) - Druid, GreenFood, DAARWIZZ (configured)
44 lines
1.1 KiB
Python
44 lines
1.1 KiB
Python
"""
|
|
Co-Memory Qdrant Module
|
|
|
|
Canonical Qdrant client with payload validation and filter building.
|
|
|
|
Security Invariants:
|
|
- tenant_id is ALWAYS required in filters
|
|
- indexed=true is default for search
|
|
- Empty should clause is NEVER allowed (would match everything)
|
|
- visibility=private is ONLY accessible by owner
|
|
"""
|
|
|
|
from .payload_validation import validate_payload, PayloadValidationError
|
|
from .collections import ensure_collection, get_canonical_collection_name
|
|
from .filters import (
|
|
build_qdrant_filter,
|
|
build_agent_only_filter,
|
|
build_multi_agent_filter,
|
|
build_project_filter,
|
|
build_tag_filter,
|
|
AccessContext,
|
|
FilterSecurityError,
|
|
)
|
|
from .client import CoMemoryQdrantClient
|
|
|
|
__all__ = [
|
|
# Validation
|
|
"validate_payload",
|
|
"PayloadValidationError",
|
|
# Collections
|
|
"ensure_collection",
|
|
"get_canonical_collection_name",
|
|
# Filters
|
|
"build_qdrant_filter",
|
|
"build_agent_only_filter",
|
|
"build_multi_agent_filter",
|
|
"build_project_filter",
|
|
"build_tag_filter",
|
|
"AccessContext",
|
|
"FilterSecurityError",
|
|
# Client
|
|
"CoMemoryQdrantClient",
|
|
]
|