项目文件夹

文件
Simon Willison 527f84fd5d DAG phase 6: llm logs surfaces DAG head pointers via calls join
LOGS_SQL and LOGS_SQL_SEARCH left join the calls table on responses.id
(they share ids by construction). --json output now includes
head_input_message_id and head_output_message_id.

Rows that predate the DAG schema — or historical fixtures that only
wrote to responses — get NULL for those columns, so existing tests
are unaffected. Two new tests cover both cases: real prompt round-trip
(fields populated) and legacy-shape rows (fields NULL).

This is the minimum hook from the Deferred list in plans/dag-schema.md.
Union-read (prefer calls over responses, reconstruct prompt/response
from the DAG) is still deferred — a follow-up once there are calls
rows without matching responses rows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 08:34:35 -07:00
..
2024-12-12 14:57:23 -08:00
2026-03-17 11:25:12 -07:00
2024-11-11 09:47:13 -08:00
2026-03-17 11:25:12 -07:00
2026-03-17 11:25:12 -07:00
2026-04-14 08:27:38 -07:00
2026-03-17 11:25:12 -07:00
2026-03-17 11:25:12 -07:00
2026-03-17 11:25:12 -07:00