conversations
listlengths
2
2
[ { "from": "human", "value": "How can I refactor loop and bounds handling code while keeping behavior stable when the source example is `strcmp`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful boundary.\n###...
[ { "from": "human", "value": "How should another module call into a loop and bounds handling function safely when the source example is `strcmp`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe relevant ...
[ { "from": "human", "value": "What edge cases matter for loop and bounds handling code in a small C runtime when the source example is `strcmp`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source, `strcmp`...
[ { "from": "human", "value": "What small code pattern helps keep a loop and bounds handling operation easy to audit when the source example is `strcmp`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source around `strc...
[ { "from": "human", "value": "How do I diagnose a regression in a loop and bounds handling path when the source example is `strcmp`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`strcmp` gives a concrete path to inspect...
[ { "from": "human", "value": "How should a loop and bounds handling routine fit into a larger small C runtime subsystem when the source example is `strcmp`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\nThe sourc...
[ { "from": "human", "value": "What should failure handling look like in loop and bounds handling code when the source example is `strcmp`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source example ...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in loop and bounds handling code when the source example is `strcmp`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe source examp...
[ { "from": "human", "value": "How should I reason about a loop and bounds handling routine in small C runtime when the source example is `strcpy`?" }, { "from": "gpt", "value": "`strcpy` is a concrete example of a loop and bounds handling routine: it implements loop and bounds handling in the sma...
[ { "from": "human", "value": "How can I implement a loop and bounds handling helper without breaking nearby small C runtime code when the source example is `strcpy`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second path.\n####\nTh...
[ { "from": "human", "value": "Why can bugs appear in loop and bounds handling code when state is updated in the wrong order and the source example is `strcpy`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe.\n####\n...
[ { "from": "human", "value": "How should I test a loop and bounds handling routine in low-level C code when the source example is `strcpy`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####\nA sourc...
[ { "from": "human", "value": "How can I refactor loop and bounds handling code while keeping behavior stable when the source example is `strcpy`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful boundary.\n###...
[ { "from": "human", "value": "How should another module call into a loop and bounds handling function safely when the source example is `strcpy`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe relevant ...
[ { "from": "human", "value": "What edge cases matter for loop and bounds handling code in a small C runtime when the source example is `strcpy`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source, `strcpy`...
[ { "from": "human", "value": "What small code pattern helps keep a loop and bounds handling operation easy to audit when the source example is `strcpy`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source around `strc...
[ { "from": "human", "value": "How do I diagnose a regression in a loop and bounds handling path when the source example is `strcpy`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`strcpy` gives a concrete path to inspect...
[ { "from": "human", "value": "How should a loop and bounds handling routine fit into a larger small C runtime subsystem when the source example is `strcpy`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\nThe sourc...
[ { "from": "human", "value": "What should failure handling look like in loop and bounds handling code when the source example is `strcpy`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source example ...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in loop and bounds handling code when the source example is `strcpy`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe source examp...
[ { "from": "human", "value": "How should I reason about a instruction arithmetic and flags routine in small C runtime when the source example is `strlen`?" }, { "from": "gpt", "value": "`strlen` is a concrete example of a instruction arithmetic and flags routine: it implements instruction arithme...
[ { "from": "human", "value": "How can I implement a instruction arithmetic and flags helper without breaking nearby small C runtime code when the source example is `strlen`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second path.\n...
[ { "from": "human", "value": "Why can bugs appear in instruction arithmetic and flags code when state is updated in the wrong order and the source example is `strlen`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe....
[ { "from": "human", "value": "How should I test a instruction arithmetic and flags routine in low-level C code when the source example is `strlen`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####\...
[ { "from": "human", "value": "How can I refactor instruction arithmetic and flags code while keeping behavior stable when the source example is `strlen`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful bounda...
[ { "from": "human", "value": "How should another module call into a instruction arithmetic and flags function safely when the source example is `strlen`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe r...
[ { "from": "human", "value": "What edge cases matter for instruction arithmetic and flags code in a small C runtime when the source example is `strlen`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source, ...
[ { "from": "human", "value": "What small code pattern helps keep a instruction arithmetic and flags operation easy to audit when the source example is `strlen`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source arou...
[ { "from": "human", "value": "How do I diagnose a regression in a instruction arithmetic and flags path when the source example is `strlen`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`strlen` gives a concrete path to...
[ { "from": "human", "value": "How should a instruction arithmetic and flags routine fit into a larger small C runtime subsystem when the source example is `strlen`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\nT...
[ { "from": "human", "value": "What should failure handling look like in instruction arithmetic and flags code when the source example is `strlen`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source ...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in instruction arithmetic and flags code when the source example is `strlen`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe sour...
[ { "from": "human", "value": "How should I reason about a I/O and resource ownership routine in filesystem when the source example is `read`?" }, { "from": "gpt", "value": "`read` is a concrete example of a I/O and resource ownership routine: it reads data through the filesystem boundary while ch...
[ { "from": "human", "value": "How can I implement a I/O and resource ownership helper without breaking nearby filesystem code when the source example is `read`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second path.\n####\nThe sou...
[ { "from": "human", "value": "Why can bugs appear in I/O and resource ownership code when state is updated in the wrong order and the source example is `read`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe.\n####\n...
[ { "from": "human", "value": "How should I test a I/O and resource ownership routine in low-level C code when the source example is `read`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####\nA sourc...
[ { "from": "human", "value": "How can I refactor I/O and resource ownership code while keeping behavior stable when the source example is `read`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful boundary.\n###...
[ { "from": "human", "value": "How should another module call into a I/O and resource ownership function safely when the source example is `read`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe relevant ...
[ { "from": "human", "value": "What edge cases matter for I/O and resource ownership code in a filesystem when the source example is `read`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source, `read` reads ...
[ { "from": "human", "value": "What small code pattern helps keep a I/O and resource ownership operation easy to audit when the source example is `read`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source around `read...
[ { "from": "human", "value": "How do I diagnose a regression in a I/O and resource ownership path when the source example is `read`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`read` gives a concrete path to inspect b...
[ { "from": "human", "value": "How should a I/O and resource ownership routine fit into a larger filesystem subsystem when the source example is `read`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\nThe source use...
[ { "from": "human", "value": "What should failure handling look like in I/O and resource ownership code when the source example is `read`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source example ...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in I/O and resource ownership code when the source example is `read`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe source examp...
[ { "from": "human", "value": "How should I reason about a privilege transitions and dispatch routine in syscall layer when the source example is `syscall`?" }, { "from": "gpt", "value": "`syscall` is a concrete example of a privilege transitions and dispatch routine: it implements privilege trans...
[ { "from": "human", "value": "How can I implement a privilege transitions and dispatch helper without breaking nearby syscall layer code when the source example is `syscall`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second path.\...
[ { "from": "human", "value": "Why can bugs appear in privilege transitions and dispatch code when state is updated in the wrong order and the source example is `syscall`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they descri...
[ { "from": "human", "value": "How should I test a privilege transitions and dispatch routine in low-level C code when the source example is `syscall`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n##...
[ { "from": "human", "value": "How can I refactor privilege transitions and dispatch code while keeping behavior stable when the source example is `syscall`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful bou...
[ { "from": "human", "value": "How should another module call into a privilege transitions and dispatch function safely when the source example is `syscall`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nTh...
[ { "from": "human", "value": "What edge cases matter for privilege transitions and dispatch code in a syscall layer when the source example is `syscall`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source,...
[ { "from": "human", "value": "What small code pattern helps keep a privilege transitions and dispatch operation easy to audit when the source example is `syscall`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source a...
[ { "from": "human", "value": "How do I diagnose a regression in a privilege transitions and dispatch path when the source example is `syscall`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`syscall` gives a concrete pat...
[ { "from": "human", "value": "How should a privilege transitions and dispatch routine fit into a larger syscall layer subsystem when the source example is `syscall`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\n...
[ { "from": "human", "value": "What should failure handling look like in privilege transitions and dispatch code when the source example is `syscall`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded sour...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in privilege transitions and dispatch code when the source example is `syscall`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe s...
[ { "from": "human", "value": "How should I reason about a I/O and resource ownership routine in filesystem when the source example is `write`?" }, { "from": "gpt", "value": "`write` is a concrete example of a I/O and resource ownership routine: it writes data through the filesystem boundary while...
[ { "from": "human", "value": "How can I implement a I/O and resource ownership helper without breaking nearby filesystem code when the source example is `write`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second path.\n####\nThe so...
[ { "from": "human", "value": "Why can bugs appear in I/O and resource ownership code when state is updated in the wrong order and the source example is `write`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe.\n####\...
[ { "from": "human", "value": "How should I test a I/O and resource ownership routine in low-level C code when the source example is `write`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####\nA sour...
[ { "from": "human", "value": "How can I refactor I/O and resource ownership code while keeping behavior stable when the source example is `write`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful boundary.\n##...
[ { "from": "human", "value": "How should another module call into a I/O and resource ownership function safely when the source example is `write`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe relevant...
[ { "from": "human", "value": "What edge cases matter for I/O and resource ownership code in a filesystem when the source example is `write`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the source, `write` writ...
[ { "from": "human", "value": "What small code pattern helps keep a I/O and resource ownership operation easy to audit when the source example is `write`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source around `wri...
[ { "from": "human", "value": "How do I diagnose a regression in a I/O and resource ownership path when the source example is `write`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`write` gives a concrete path to inspect...
[ { "from": "human", "value": "How should a I/O and resource ownership routine fit into a larger filesystem subsystem when the source example is `write`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\n####\nThe source us...
[ { "from": "human", "value": "What should failure handling look like in I/O and resource ownership code when the source example is `write`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source example...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in I/O and resource ownership code when the source example is `write`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe source exam...
[ { "from": "human", "value": "How should I reason about a systems-programming control flow routine in small neural-network demo when the source example is `relu`?" }, { "from": "gpt", "value": "`relu` is a concrete example of a systems-programming control flow routine: it implements systems-progr...
[ { "from": "human", "value": "How can I implement a systems-programming control flow helper without breaking nearby small neural-network demo code when the source example is `relu`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a second...
[ { "from": "human", "value": "Why can bugs appear in systems-programming control flow code when state is updated in the wrong order and the source example is `relu`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe.\n...
[ { "from": "human", "value": "How should I test a systems-programming control flow routine in low-level C code when the source example is `relu`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####\nA...
[ { "from": "human", "value": "How can I refactor systems-programming control flow code while keeping behavior stable when the source example is `relu`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful boundary...
[ { "from": "human", "value": "How should another module call into a systems-programming control flow function safely when the source example is `relu`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe rel...
[ { "from": "human", "value": "What edge cases matter for systems-programming control flow code in a small neural-network demo when the source example is `relu`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn the ...
[ { "from": "human", "value": "What small code pattern helps keep a systems-programming control flow operation easy to audit when the source example is `relu`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source around...
[ { "from": "human", "value": "How do I diagnose a regression in a systems-programming control flow path when the source example is `relu`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`relu` gives a concrete path to ins...
[ { "from": "human", "value": "How should a systems-programming control flow routine fit into a larger small neural-network demo subsystem when the source example is `relu`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsystem.\...
[ { "from": "human", "value": "What should failure handling look like in systems-programming control flow code when the source example is `relu`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source ex...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in systems-programming control flow code when the source example is `relu`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe source...
[ { "from": "human", "value": "How should I reason about a instruction arithmetic and flags routine in small neural-network demo when the source example is `forward`?" }, { "from": "gpt", "value": "`forward` is a concrete example of a instruction arithmetic and flags routine: it computes an instru...
[ { "from": "human", "value": "How can I implement a instruction arithmetic and flags helper without breaking nearby small neural-network demo code when the source example is `forward`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a sec...
[ { "from": "human", "value": "Why can bugs appear in instruction arithmetic and flags code when state is updated in the wrong order and the source example is `forward`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe...
[ { "from": "human", "value": "How should I test a instruction arithmetic and flags routine in low-level C code when the source example is `forward`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####...
[ { "from": "human", "value": "How can I refactor instruction arithmetic and flags code while keeping behavior stable when the source example is `forward`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful bound...
[ { "from": "human", "value": "How should another module call into a instruction arithmetic and flags function safely when the source example is `forward`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe ...
[ { "from": "human", "value": "What edge cases matter for instruction arithmetic and flags code in a small neural-network demo when the source example is `forward`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn t...
[ { "from": "human", "value": "What small code pattern helps keep a instruction arithmetic and flags operation easy to audit when the source example is `forward`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source aro...
[ { "from": "human", "value": "How do I diagnose a regression in a instruction arithmetic and flags path when the source example is `forward`?" }, { "from": "gpt", "value": "Trace the inputs, the derived values, and the exact state writes in execution order.\n####\n`forward` gives a concrete path ...
[ { "from": "human", "value": "How should a instruction arithmetic and flags routine fit into a larger small neural-network demo subsystem when the source example is `forward`?" }, { "from": "gpt", "value": "It should expose one clear behavior and leave unrelated policy to the surrounding subsyste...
[ { "from": "human", "value": "What should failure handling look like in instruction arithmetic and flags code when the source example is `forward`?" }, { "from": "gpt", "value": "Failure handling should leave shared state either unchanged or deliberately marked as failed.\n####\nA grounded source...
[ { "from": "human", "value": "How do I avoid off-by-one and bounds errors in instruction arithmetic and flags code when the source example is `forward`?" }, { "from": "gpt", "value": "Compute limits once, check them before memory access, and advance cursors in one consistent place.\n####\nThe sou...
[ { "from": "human", "value": "How should I reason about a I/O and resource ownership routine in small neural-network demo when the source example is `write_outputs`?" }, { "from": "gpt", "value": "`write_outputs` is a concrete example of a I/O and resource ownership routine: it writes data throug...
[ { "from": "human", "value": "How can I implement a I/O and resource ownership helper without breaking nearby small neural-network demo code when the source example is `write_outputs`?" }, { "from": "gpt", "value": "Follow the existing ownership and state-update pattern instead of inventing a sec...
[ { "from": "human", "value": "Why can bugs appear in I/O and resource ownership code when state is updated in the wrong order and the source example is `write_outputs`?" }, { "from": "gpt", "value": "These bugs usually happen when bookkeeping changes are separated from the operation they describe...
[ { "from": "human", "value": "How should I test a I/O and resource ownership routine in low-level C code when the source example is `write_outputs`?" }, { "from": "gpt", "value": "Test the normal path, the boundary path, and the failure path with observable state before and after each call.\n####...
[ { "from": "human", "value": "How can I refactor I/O and resource ownership code while keeping behavior stable when the source example is `write_outputs`?" }, { "from": "gpt", "value": "Separate decoding, validation, state mutation, and reporting only where the source already shows a useful bound...
[ { "from": "human", "value": "How should another module call into a I/O and resource ownership function safely when the source example is `write_outputs`?" }, { "from": "gpt", "value": "Call it only after preparing the state it expects and be ready for its existing failure convention.\n####\nThe ...
[ { "from": "human", "value": "What edge cases matter for I/O and resource ownership code in a small neural-network demo when the source example is `write_outputs`?" }, { "from": "gpt", "value": "The important edge cases are the ones that stress bounds, ownership, and partial progress.\n####\nIn t...
[ { "from": "human", "value": "What small code pattern helps keep a I/O and resource ownership operation easy to audit when the source example is `write_outputs`?" }, { "from": "gpt", "value": "Use a validate-then-mutate shape so all side effects are visible after the checks.\n####\nThe source aro...