fix: persist LLM predictions without stable ID shadowing #54

Merged
MrSphay merged 2 commits from codex/issue-53-prediction-stable-id into codex/production-intelligence-terminal 2026-07-04 10:29:44 +00:00
Showing only changes of commit 84b2c9ebc9 - Show all commits

View File

@@ -40,5 +40,5 @@ test('records LLM ideas as stable predictions', async (t) => {
assert.equal(result.available, true); assert.equal(result.available, true);
assert.equal(result.predictions.length, 1); assert.equal(result.predictions.length, 1);
assert.equal(result.predictions[0].title, 'Gold safe-haven hedge'); assert.equal(result.predictions[0].title, 'Gold safe-haven hedge');
assert.match(result.predictions[0].stable_id, /^prediction-/); assert.match(result.predictions[0].stable_id, /^[a-f0-9]{24}$/);
}); });