feat(photos): a photo keeps its quality signals, measured once off the event loop

This commit is contained in:
Maurice
2026-10-22 15:50:44 +02:00
parent 92f059f313
commit 18daedecda
23 changed files with 2655 additions and 3 deletions
@@ -53,7 +53,8 @@ import { afterAll, beforeAll, beforeEach, describe, expect, it } from 'vitest';
// assistant_messages: id, thread_id, role, parts; assistant_tool_calls: id, thread_id, message_id,
// provider_call_id, tool_name, args, preview; assistant_usage: user_id, day, paid_by (each row is
// written whole by the assistant, which always knows all of them).
const KNOWN_UNINITIALISED_NOT_NULL_SCALARS = 566;
// + trek_photo_signals: id, photo_id, algo (a measurement always names its photo and how it was made).
const KNOWN_UNINITIALISED_NOT_NULL_SCALARS = 569;
describe('entity class fields never carry a NaN initialiser (task-4-review-shape.md, Important 1)', () => {
it('CLASSFIELD-001: new X() has no own property whose value is NaN, across all 133 entities', () => {