38a347a82a
CI / detect-changes (push) Successful in 7s
CI / branch-name (push) Has been skipped
CI / guardrail-integrity (push) Has been skipped
CI / secret-scan (push) Has been skipped
CI / dep-audit (push) Has been skipped
CI / sbom-scan (push) Has been skipped
CI / build-sha-integrity (push) Successful in 9s
CI / validate-canonical-controls (push) Successful in 12s
CI / loc-budget (push) Successful in 24s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / nodejs-build (push) Successful in 3m11s
CI / test-go (push) Has been skipped
CI / iace-gt-coverage (push) Has been skipped
CI / test-python-backend (push) Successful in 24s
CI / test-python-document-crawler (push) Has been skipped
CI / test-python-dsms-gateway (push) Has been skipped
AGB v2 (decision_method routing, 71%FP->~0) + DSE v3 (4-layer, recovered from container) + Architektur-Tab into /sdk/agent live path. Incl CI robustness (detect-changes.sh + PR-head checkout) + security (hardcoded Qdrant key removed, gitleaks allowlist). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
29 lines
985 B
Python
29 lines
985 B
Python
"""Delete eu_2023_988 duplicate from production Qdrant."""
|
|
import httpx
|
|
import os
|
|
|
|
PROD_URL = "https://qdrant-dev.breakpilot.ai"
|
|
HEADERS = {"api-key": os.environ.get("QDRANT_API_KEY", "")}
|
|
|
|
# Delete
|
|
resp = httpx.post(
|
|
f"{PROD_URL}/collections/bp_compliance_ce/points/delete",
|
|
json={"filter": {"must": [{"key": "regulation_id", "match": {"value": "eu_2023_988"}}]}},
|
|
headers=HEADERS, timeout=60,
|
|
)
|
|
print(f"Delete status: {resp.json().get('status')}")
|
|
|
|
# Verify
|
|
resp2 = httpx.post(
|
|
f"{PROD_URL}/collections/bp_compliance_ce/points/count",
|
|
json={"filter": {"must": [{"key": "regulation_id", "match": {"value": "eu_2023_988"}}]}, "exact": True},
|
|
headers=HEADERS, timeout=15,
|
|
)
|
|
remaining = resp2.json().get("result", {}).get("count", 0)
|
|
print(f"Remaining: {remaining}")
|
|
|
|
# Total
|
|
resp3 = httpx.get(f"{PROD_URL}/collections/bp_compliance_ce", headers=HEADERS, timeout=10)
|
|
total = resp3.json().get("result", {}).get("points_count", "?")
|
|
print(f"Total points: {total}")
|