phase a audit

This commit is contained in:
team2
2026-02-22 18:41:08 +01:00
parent 3b2e1bc772
commit 606cbdcb2e
5 changed files with 39 additions and 14 deletions

View File

@@ -18,6 +18,7 @@ final readonly class GuardrailValidator
*/
public function validateOrThrow(): void
{
$this->metaManager->ensureExists();
$this->metaManager->validateAgainstCurrent();
}
}

View File

@@ -26,6 +26,9 @@ final readonly class VectorRebuildService
*/
public function rebuild(?string $logPath = null): void
{
// ✅ Stelle sicher, dass index_meta.json existiert
$this->metaManager->ensureExists();
// 1⃣ Vector Index neu bauen
$this->vectorBuilder->rebuildFromNdjson($logPath);