9 check-ins that include changes to files matching 'test/fuzz/*'
|
2026-11-19
| ||
| 01:39 |
Land stage 4: any model
A model registry, a provider-neutral journal, and adapters for the Messages API, Chat Completions (OpenAI, OpenRouter and compatible servers) and OpenAI Responses, with conversations moving between them. check-in: aca81cd9e3 user: dmestas tags: trunk | |
| 01:08 |
Add the OpenAI Responses adapter
Output items are kept whole, so reasoning items with encrypted_content go back verbatim to the same model under store:false; the final output list is authoritative and fills in late encrypted_content. The neutral form follows Pi: reasoning to thinking, messages to text, function calls to tool calls with call_id|item_id ids. Requests send input items, function_call_output under the call ids, flat tools, and reasoning effort with encrypted reasoning for reasoning models. Recorded streams, a fuzz target and fake server cases cover it, including conversations moving between the Messages API and Responses both ways. check-in: dd694d986b user: dmestas tags: stage-4 | |
| 00:56 |
Add the Chat Completions adapter for OpenAI, OpenRouter and compatibles
A chunk decoder following Pi: text, reasoning from reasoning_content, reasoning or reasoning_text kept under its field, OpenRouter reasoning_details verbatim, tool calls by index, usage, finish_reason, and in-stream errors. Requests follow Pi too: system or developer role, tools as functions, tool messages, stream_options, store and reasoning by dialect. The retry loop and header assembly move into a shared module both adapters use. Recorded streams, a fuzz target and fake server cases cover it, including a conversation moving between the two APIs in both directions. check-in: 55cff08c2c user: dmestas tags: stage-4 | |
| 00:38 |
Journal every reply in two forms and convert across models
Assistant entries keep the provider content verbatim with its origin (provider, api, model) and Pi neutral form; tool calls come from the neutral form, the same for every provider. A turn goes back verbatim to the model that wrote it and is otherwise rebuilt from the neutral form, without thinking and with tool-call ids normalised identically in calls and results. --model resolves through the registry, keys come from the model, and schema 3 journals migrate in place on open. check-in: 3ff8346a3f user: dmestas tags: stage-4 | |
|
2026-11-18
| ||
| 21:20 | Land stages 2 and 3: real provider, Pi tools, context and benchmarks check-in: 6a67cdb25a user: dmestas tags: trunk | |
| 19:37 |
Adopt Pi's default tools: read, write, edit and bash
Tools take Pi's inputs and return Pi's truncation notices and messages. Edit computes the new file first and journals it with started, so a replay after a crash writes the same bytes and edit joins read and write as replay-safe. Bash keeps the tail of its output, saves the full output when it has to cut, and reports Pi's status lines. Results carry a journaled error flag, cancelled calls are skipped with a result, and the schema moves to version 3. check-in: c5ab59d7d7 user: dmestas tags: stage-3 | |
| 17:41 |
Test and fuzz the HTTP response parser
Unit tests cover chunked, length-delimited and close-delimited bodies, interim responses, smuggling guards, chunk framing, truncation and the header cap, whole and bytewise. A libFuzzer target checks that chunking never changes the outcome. check-in: cb38c63312 user: dmestas tags: stage-2 | |
| 17:12 |
Add the SSE framer and Messages API stream decoder
The framer is provider-neutral and pure over bytes. The decoder enforces event order and rebuilds each content block from its start object, so thinking signatures and unknown block types replay verbatim. Eleven recorded streams are decoded whole, bytewise and chunked against frozen summaries, and a libFuzzer target checks chunking independence and that decoded content is a JSON array. check-in: 1d1b0294ce user: dmestas tags: stage-2 | |
| 11:58 |
Record S0/S1 qualification groundwork before product code
Contract maps and pinned Pi reference, local C qualification fixtures, MC/DC and Fil-C remote lifecycle tooling, and the context transaction substrate probe. No product harness code yet. check-in: 11f47eadde user: dmestas tags: trunk | |