Files
proffesor-for-testing__agen…/scripts/cloud-db-config.json
Profa 30a2dc9137 feat(sync): enable cloud sync and fix tunnel manager reuse
Enable cloud sync to Google Cloud PostgreSQL (IAP tunnel) for
continuous data backup. Fix tunnel manager to detect and reuse
existing external tunnels instead of failing on port conflicts.

- Set AQE_CLOUD_SYNC_ENABLED=true in MCP config
- Enable sync in cloud-db-config.json
- Add external tunnel detection in IAPTunnelManager.start()
- Add gcloud CLI permission to local settings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:09:17 +00:00

43 lines
1.0 KiB
JSON

{
"cloud": {
"project": "${GCP_PROJECT_ID}",
"zone": "us-central1-a",
"instance": "ruvector-postgres",
"database": "aqe_learning",
"user": "ruvector",
"port": 5432,
"access": "iap-tunnel",
"tunnelLocalPort": 15432
},
"local": {
"primaryDb": ".agentic-qe/memory.db",
"description": "Consolidated database - all tables unified (2026-01-30)",
"deprecated": {
"cacheDb": ".agentic-qe/ruvector-cache.db (removed - cache now in memory.db)",
"telemetryDb": ".agentic-qe/aqe-telemetry.db (removed - telemetry in events table)",
"patternsDb": ".agentic-qe/qe-patterns.db (removed - patterns in memory.db)"
}
},
"sync": {
"enabled": true,
"mode": "incremental",
"interval": "5m",
"tables": [
"memory_entries",
"patterns",
"sona_patterns",
"learning_experiences",
"goap_actions",
"goap_plans",
"kv_store",
"events",
"embeddings"
]
},
"security": {
"method": "iap-tunnel",
"publicAccess": false,
"allowedUsers": []
}
}