diff --git a/app/Commands/SynthesizeCommand.php b/app/Commands/SynthesizeCommand.php index 262cc71..dd6f018 100644 --- a/app/Commands/SynthesizeCommand.php +++ b/app/Commands/SynthesizeCommand.php @@ -193,7 +193,7 @@ private function runDigest(QdrantService $qdrant, bool $dryRun, string $project) 'priority' => 'medium', 'confidence' => 85, 'status' => 'validated', - ], $project); + ], $project, checkDuplicates: false); info("Digest created for {$today}"); diff --git a/tests/Feature/Commands/SynthesizeCommandTest.php b/tests/Feature/Commands/SynthesizeCommandTest.php index 1e9db86..f6f4dc0 100644 --- a/tests/Feature/Commands/SynthesizeCommandTest.php +++ b/tests/Feature/Commands/SynthesizeCommandTest.php @@ -139,7 +139,7 @@ ->once() ->with(Mockery::on(fn ($data): bool => str_contains((string) $data['title'], 'Daily Synthesis - 2026-02-03') && $data['status'] === 'validated' - && in_array('daily-synthesis', $data['tags'])), 'default') + && in_array('daily-synthesis', $data['tags'])), 'default', false) ->andReturn(true); $this->artisan('synthesize', ['--digest' => true]) @@ -307,7 +307,7 @@ $this->qdrantMock->shouldReceive('upsert') ->once() - ->with(Mockery::type('array'), 'homelab') + ->with(Mockery::type('array'), 'homelab', false) ->andReturn(true); $this->qdrantMock->shouldReceive('scroll')