<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: kfinds</title>
    <description>The latest articles on DEV Community by kfinds (@kfinds).</description>
    <link>https://dev.to/kfinds</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4138590%2F2d9db42f-246a-4f57-810f-d56b57d2e0c1.png</url>
      <title>DEV Community: kfinds</title>
      <link>https://dev.to/kfinds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kfinds"/>
    <language>en</language>
    <item>
      <title>I Ran One Codex Task for 31 Hours. It Survived Restarts and Built an Auditable Textbook Pipeline</title>
      <dc:creator>kfinds</dc:creator>
      <pubDate>Wed, 23 Sep 2026 04:07:03 +0000</pubDate>
      <link>https://dev.to/kfinds/i-ran-one-codex-task-for-31-hours-it-survived-restarts-and-built-an-auditable-textbook-pipeline-4l3o</link>
      <guid>https://dev.to/kfinds/i-ran-one-codex-task-for-31-hours-it-survived-restarts-and-built-an-auditable-textbook-pipeline-4l3o</guid>
      <description>&lt;p&gt;A 31-hour AI run sounds like a stunt. The useful result was not the clock. It was &lt;strong&gt;continuity&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I used one parent Codex task on Windows (GPT-5.6 Sol) to turn an original mathematical framework into a versioned teaching package. During the recorded work cycle, I did not steer the content step by step. My interventions were mainly continuation or restart instructions, plus one read-only recovery request.&lt;/p&gt;

&lt;p&gt;The application and computer were restarted. The task resumed from verified artifact state instead of reconstructing prior work from a plausible-sounding narrative.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the task produced
&lt;/h2&gt;

&lt;p&gt;The final package was not one generated document. It was a coupled artifact graph:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;source/master, student, and teacher chapter variants;&lt;/li&gt;
&lt;li&gt;conventional hand-work exercises and a separate AI-assisted exercise track;&lt;/li&gt;
&lt;li&gt;worked answers with graded difficulty;&lt;/li&gt;
&lt;li&gt;five deterministic exercise and data generators;&lt;/li&gt;
&lt;li&gt;reproducibility scripts, manifests, hashes, audit reports, and restart checkpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI-assisted exercises are part of the curriculum, not an appendix about prompting. Students must use an AI system to generate, inspect, test, or audit mathematical objects under explicit rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  Recorded snapshot
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Recorded value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Parent-task duration&lt;/td&gt;
&lt;td&gt;More than 31 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recovered local session log&lt;/td&gt;
&lt;td&gt;Approximately 338.55 MiB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Context-compression events&lt;/td&gt;
&lt;td&gt;47&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Associated records&lt;/td&gt;
&lt;td&gt;21,991&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;One recorded UI checkpoint&lt;/td&gt;
&lt;td&gt;512 changed files (+84,401 / -720 lines)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deterministic generators&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit milestones&lt;/td&gt;
&lt;td&gt;67/67 experiment checks; 36/36 student-teacher cross-checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deterministic reruns&lt;/td&gt;
&lt;td&gt;100,000 events; 250,000 events; separate 5,000,000-row validation&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These figures come from recovered local execution records and artifact audits. The 512-file figure is one recorded checkpoint, not a claimed final total.&lt;/p&gt;

&lt;h2&gt;
  
  
  What appeared to make it work
&lt;/h2&gt;

&lt;p&gt;Seven decisions mattered more than clever prompting:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Project state lived in versioned artifacts&lt;/strong&gt;, not only in chat memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Definitions and authority boundaries were frozen&lt;/strong&gt; before execution.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Acceptance criteria and invariants were explicit.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Deterministic generators turned qualitative requirements into executable checks.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Student and teacher outputs were checked independently.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Negative results and rejected paths were preserved.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resumption began from verified artifacts&lt;/strong&gt;, not from a guess about earlier progress.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The unexpected result was that Codex's most valuable contribution was not prose generation. It converted a research and teaching design into an inspectable production system: textbook material, executable generators, solutions, audits, and provenance working together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The human/AI boundary
&lt;/h2&gt;

&lt;p&gt;I retained authority over:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;definitions;&lt;/li&gt;
&lt;li&gt;admissible transformations;&lt;/li&gt;
&lt;li&gt;research direction;&lt;/li&gt;
&lt;li&gt;acceptance criteria.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Codex handled long-horizon construction, implementation, verification, auditing, and documentation.&lt;/p&gt;

&lt;p&gt;That separation mattered. A long-running agent is not reliable merely because it keeps going. It becomes useful when the project can tell the agent what it is allowed to change, what must remain invariant, and how completion will be checked.&lt;/p&gt;

&lt;h2&gt;
  
  
  What failed
&lt;/h2&gt;

&lt;p&gt;The weakest product-level component was &lt;strong&gt;observability&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Very long histories were difficult to navigate and export as one official report. After a restart, much of the client-visible history disappeared even though local session data and produced artifacts remained recoverable.&lt;/p&gt;

&lt;p&gt;Native export of checkpoints, token composition, file manifests, and audit events would make cases like this much easier to validate.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;p&gt;This is a sanitized, auditable case study—not a benchmark and not a claim that Codex is universally error-free.&lt;/p&gt;

&lt;p&gt;I do not claim "zero errors." The evidence package preserves the first disclosed draft and identifies known limitations instead of silently replacing it with a polished retrospective version.&lt;/p&gt;

&lt;p&gt;The foundational corpus and full internal research protocol are intentionally withheld. The public deposit contains client-visible execution evidence and produced artifacts, not private chain-of-thought.&lt;/p&gt;

&lt;h2&gt;
  
  
  Public evidence
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/openai/codex/discussions/47434" rel="noopener noreferrer"&gt;Full technical discussion on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.5281/zenodo.22900578" rel="noopener noreferrer"&gt;Sanitized, timestamped evidence and Chapter 1 artifacts — Zenodo DOI 10.5281/zenodo.22900578&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Questions for builders
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Has anyone documented a comparable personally operated, single-parent-task workflow with restart/resume continuity and artifact-level auditing?&lt;/li&gt;
&lt;li&gt;Which artifact schemas or checkpoint conventions have worked best for reliable long-horizon resumption?&lt;/li&gt;
&lt;li&gt;Which native telemetry or export features would make cases like this easier to validate?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are building long-horizon agent workflows, the central question may not be how long the model can keep talking. It may be whether the work can survive memory loss without losing its identity.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI disclosure: This post was adapted with AI assistance from an artifact-backed case report. The recorded facts were checked against the linked public evidence package.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>testing</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
