Close full operational audit findings
GeoIntel CI / docs-smoke (push) Canceled after 0s
GeoIntel CI / contract-smoke (push) Canceled after 0s

This commit is contained in:
Codex
2026-07-17 14:19:02 +02:00
parent cc36dabcbe
commit 78a5f0b0b2
81 changed files with 2248 additions and 1467 deletions
+28
View File
@@ -1680,3 +1680,31 @@ DatasetService/VectorFeatureService, creates new temporal Datasets and retains
all previous snapshots. Do not add `--force` to this coordinator; a source
refetch remains a separate deliberate recovery action in the lower-level
operators.
## Safe project lifecycle cleanup
Operational validation, calibration and benchmark runs can create technical
projects. The default project API now returns active workspaces only, while
archived workspaces remain queryable with `GET /api/v1/projects?status=archived`.
Use the packaged cleanup command to archive only the strict technical-name
allowlist:
```bash
# Dry-run: inspect the number of matches without changing the database.
python scripts/archive_technical_projects.py
# Apply the exact allowlisted plan.
python scripts/archive_technical_projects.py --apply
```
Inside the all-in-one Unraid container:
```bash
docker exec geointel python /app/scripts/archive_technical_projects.py
docker exec geointel python /app/scripts/archive_technical_projects.py --apply
```
The command never deletes projects or related datasets, jobs, analyses,
quality checks and exports. It always preserves `Kempen Regional Workbench`
and `Mol Municipality Workbench`, defaults to dry-run and can print every
matched name with `--show-names`.