<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>UPC Build Log</title>
  <subtitle>What happened here — with the log line, the number and the fix.</subtitle>
  <link href="https://www.upc2000.com/feed.xml" rel="self" />
  <link href="https://www.upc2000.com/log.html" />
  <id>https://www.upc2000.com/feed.xml</id>
  <updated>2026-11-25T00:00:00Z</updated>
  <author><name>Universal Platform Corporation</name></author>
  <entry>
    <title>The search tool failed politely, and the writer believed it</title>
    <link href="https://www.upc2000.com/log/search-tool-failed-politely.html" />
    <id>https://www.upc2000.com/log/search-tool-failed-politely.html</id>
    <updated>2026-11-25T00:00:00Z</updated>
    <summary>The search tool was failing. Nothing showed it. Posts started coming out vague — the kind of vague where you read it back and can&#x27;t point to a single wrong sentence, but…</summary>
    <content type="html">&lt;p&gt;The search tool was failing. Nothing showed it.&lt;/p&gt;
&lt;p&gt;Posts started coming out vague — the kind of vague where you read it back and can&#x27;t point to a single wrong sentence, but nothing is grounded in anything real. The Evaluator&#x27;s scores dropped. No crash. No log entry. No error anywhere in the system.&lt;/p&gt;
&lt;p&gt;That combination — quality falling while everything looks fine — is harder to debug than an outright failure. An outright failure has a stack trace.&lt;/p&gt;
&lt;h2&gt;What the tool was actually doing&lt;/h2&gt;
&lt;p&gt;The search tool had learned to be polite about its own problems. When it hit a rate limit or a timeout, it caught the error internally and returned a tidy string: &lt;code&gt;&#x27;Web search error (rate limited)&#x27;&lt;/code&gt;. Not an exception. Not a log entry. A string — sitting in the results the same way a real search result would.&lt;/p&gt;
&lt;p&gt;The research agent received that string, had no signal that it wasn&#x27;t a real result, and wrote a brief on it anyway. The brief was then used to write the post. Nothing in that chain broke. Everything in that chain was wrong.&lt;/p&gt;
&lt;p&gt;There was a second trap in the same tool. Passing the search backend as a string — &lt;code&gt;backend=&#x27;duckduckgo&#x27;&lt;/code&gt; — instead of as a list returned &lt;code&gt;&#x27;No results found&#x27;&lt;/code&gt; with no error and no log entry. The parameter expected &lt;code&gt;backend=[&#x27;duckduckgo&#x27;]&lt;/code&gt;. The wrong type produced silence, not a crash.&lt;/p&gt;
&lt;p&gt;Both failures had the same shape: the tool failed politely, the agent believed it, and the output was confidently hollow.&lt;/p&gt;
&lt;h2&gt;The network reality underneath&lt;/h2&gt;
&lt;p&gt;Measured on this system: &lt;code&gt;backend=[&#x27;duckduckgo&#x27;]&lt;/code&gt; returns in about 3.7 seconds. The library&#x27;s &lt;code&gt;&#x27;auto&#x27;&lt;/code&gt; mode rotates engines, takes about 15 seconds, and fails roughly 1 in 3 times on timeouts. &lt;code&gt;&#x27;brave&#x27;&lt;/code&gt; and &lt;code&gt;&#x27;mojeek&#x27;&lt;/code&gt; are blocked with HTTP 403. That&#x27;s not a complaint about those services — it&#x27;s just the actual environment the tool runs in. The retry strategy has to account for it.&lt;/p&gt;
&lt;h2&gt;The fix&lt;/h2&gt;
&lt;p&gt;The tool was rewritten with a layered approach: fast DuckDuckGo first, then retries with exponential backoff and jitter, with &lt;code&gt;&#x27;auto&#x27;&lt;/code&gt; as the last-resort fallback. Up to 4 attempts total, controlled by &lt;code&gt;UPC_SEARCH_ATTEMPTS&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The more important change was what happens on total failure. The tool now returns &lt;code&gt;&#x27;SEARCH_UNAVAILABLE: every provider failed after N attempts&#x27;&lt;/code&gt; — an unmistakable string, not a polite nothing — with an explicit instruction embedded in it: do not invent sources, do not cite URLs, state plainly that live search was unavailable.&lt;/p&gt;
&lt;p&gt;The agent can&#x27;t misread that the way it misread &lt;code&gt;&#x27;Web search error (rate limited)&#x27;&lt;/code&gt;. The failure is now loud on purpose.&lt;/p&gt;
&lt;p&gt;Every total failure is counted as a metric. To 2026-11-10: 5 failed searches out of 71.&lt;/p&gt;
&lt;h2&gt;What it cost before the fix&lt;/h2&gt;
&lt;p&gt;The Chinese post scored 14/20 on 2026-09-03 with search failing, and 17/20 on 2026-09-04 with search working. Three points on the Evaluator&#x27;s scale, traceable directly to whether the tool told the truth about what it found.&lt;/p&gt;
&lt;p&gt;That&#x27;s the real cost of a polite failure: not a crash you can see, but a slow bleed in quality that looks like a writing problem until you find the actual problem.&lt;/p&gt;
&lt;p&gt;The fix isn&#x27;t elegant. It&#x27;s a retry loop, a sentinel string, and a rule that tells the agent what to do when it has nothing. But it changed the failure mode from silent confidence to honest admission — and that turned out to matter more than any amount of clever prompting downstream.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Our self-repair re-ran a job a human had put on hold</title>
    <link href="https://www.upc2000.com/log/self-repair-overrode-a-hold.html" />
    <id>https://www.upc2000.com/log/self-repair-overrode-a-hold.html</id>
    <updated>2026-11-19T00:00:00Z</updated>
    <summary>The weekly Build Log cycle was overdue. The checkup caught it, fired the repair, and published an entry I had deliberately held back. Here is exactly what happened. The…</summary>
    <content type="html">&lt;h2&gt;The automation re-ran a job I&#x27;d put on hold&lt;/h2&gt;
&lt;p&gt;The weekly Build Log cycle was overdue. The checkup caught it, fired the repair, and published an entry I had deliberately held back.&lt;/p&gt;
&lt;p&gt;Here is exactly what happened.&lt;/p&gt;
&lt;h2&gt;What was seen&lt;/h2&gt;
&lt;p&gt;The last completed cycle closed on 2026-11-02 at 09:06. The window the checkup allows before treating a cycle as late is 192 hours — a week plus a day of slack. By the evening of 2026-11-10, that window had elapsed.&lt;/p&gt;
&lt;p&gt;At 19:00, the daily checkup ran, found the cycle overdue, and applied its standard repair for a late job: re-run the scheduled task. The cycle started at 19:00:08 and finished at 19:06:38. In those six and a half minutes it published an entry and deployed it to the live site.&lt;/p&gt;
&lt;p&gt;Then the checkup ran its re-check. Because the re-check fired before the cycle had finished, it still saw the job as late and reported &lt;code&gt;0 of 1 repaired&lt;/code&gt; and &lt;code&gt;STILL LATE&lt;/code&gt;. That verdict is a separate quirk — the timing of the re-check — but the main event had already happened: an entry was live that I had not meant to publish yet.&lt;/p&gt;
&lt;h2&gt;What it really was&lt;/h2&gt;
&lt;p&gt;The cycle was not neglected. I had told the assistant operating the system to hold it. That instruction existed in a conversation. It did not exist anywhere on disk.&lt;/p&gt;
&lt;p&gt;The checkup does not read conversations. It reads the job state, finds it late, and fires &lt;code&gt;rerun_task&lt;/code&gt;. That is the only repair available for a late cycle. There was no mechanism in the design to say a job was intentionally late, only late by mistake. Those two states look identical to the checkup, so it treated them identically.&lt;/p&gt;
&lt;p&gt;The gap is in &lt;code&gt;crew/checkup.py&lt;/code&gt;: each job names one repair, and there is no field, file, or flag the operator can set to tell the checkup to stand down. The hold had no place to land.&lt;/p&gt;
&lt;h2&gt;The fix&lt;/h2&gt;
&lt;p&gt;Approved 2026-11-11, not yet built.&lt;/p&gt;
&lt;p&gt;The plan is a file: &lt;code&gt;brain/holds.json&lt;/code&gt;. Before the checkup fires any repair, it reads that file. If the job in question appears there, the checkup reports it as held and does not re-run it. The hold lives on disk, survives restarts, survives new conversations, and is visible to anything that reads the brain directory.&lt;/p&gt;
&lt;p&gt;The checkup just needs one early exit: if the job is held, stop there.&lt;/p&gt;
&lt;p&gt;The fix is small. The gap it closes is not about complexity; it was about assuming that an operator instruction delivered in conversation would reach a system that never reads conversations.&lt;/p&gt;
&lt;h2&gt;What it cost&lt;/h2&gt;
&lt;p&gt;The human kept the entry. Nothing was deleted, nothing was corrupted, no data was lost. On that measure, the outcome was fine.&lt;/p&gt;
&lt;p&gt;The real cost is narrower and more honest: an instruction did not survive contact with the automation. I said hold it; the automation had no way to hear that; it did its job correctly given what it knew. The fault is in the design, not the execution.&lt;/p&gt;
&lt;p&gt;That distinction matters for what gets fixed. The checkup behaved exactly as written. The repair is not to make the checkup smarter about overdue cycles — the repair is to give the operator a way to leave a written hold that the checkup will find when it goes looking.&lt;/p&gt;
&lt;p&gt;Until &lt;code&gt;brain/holds.json&lt;/code&gt; is built and wired in, any hold I want the system to respect needs to exist somewhere the system can read. A conversation is not that place.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Claude vs Qwen vs DeepSeek on the same writing job: two AI judges agreed 3 times in 16</title>
    <link href="https://www.upc2000.com/log/claude-qwen-deepseek-same-writing-job.html" />
    <id>https://www.upc2000.com/log/claude-qwen-deepseek-same-writing-job.html</id>
    <updated>2026-11-13T00:00:00Z</updated>
    <summary>Two AI judges were asked to pick the best draft from three writers. They agreed 3 times out of 16. That is not a close call or a rounding error — it is two judges…</summary>
    <content type="html">&lt;p&gt;Two AI judges were asked to pick the best draft from three writers. They agreed 3 times out of 16. That is not a close call or a rounding error — it is two judges looking at the same 16 sets of drafts and pointing at different ones almost every time. If you are running a comparison like this and wondering whether your judges are actually measuring anything, that number is the thing to look at first.&lt;/p&gt;
&lt;h2&gt;What the comparison looked like&lt;/h2&gt;
&lt;p&gt;On 2026-11-12, the pipeline gave 8 topics — each with its own evidence pack — to three writer models in two languages: 48 drafts in total. The writers were Claude Sonnet 4.6, Qwen 3.7 Plus, and DeepSeek V4 Pro. Every model was reached through OpenRouter from one PC. The judges were Claude Sonnet 4.6 and Qwen 3.8 Max.&lt;/p&gt;
&lt;p&gt;Each judge scored all 48 drafts and then did a blind ranking: for each topic and language, the three drafts were shuffled and labelled A, B and C, and the judge ranked them. That gave 16 rankings per judge — one per topic per language.&lt;/p&gt;
&lt;p&gt;The whole comparison cost $3.45: $0.70 for the 48 drafts, $1.94 for scoring them, and $0.81 for ranking them.&lt;/p&gt;
&lt;h2&gt;The scores said almost nothing&lt;/h2&gt;
&lt;p&gt;Out of 20, the Claude judge gave 20 to 42 of the 48 drafts and 19 to the other 6. The Qwen judge gave 17 to 37 of the 48. Those are not scores that separate writers — they are scores that agree everyone did fine.&lt;/p&gt;
&lt;p&gt;The mean scores reflected this. From the Claude judge: DeepSeek 20.0, Claude 19.88, Qwen 19.75. From the Qwen judge: DeepSeek 17.19, Claude 16.94, Qwen 16.56. The ranking of writers was actually consistent between judges — DeepSeek first, then Claude, then Qwen — but the spread was so narrow on the Claude side that it carried no weight.&lt;/p&gt;
&lt;h2&gt;Where the judges actually split&lt;/h2&gt;
&lt;p&gt;The blind rankings made the disagreement visible. The Claude judge put Claude&#x27;s draft first 14 times out of 16, DeepSeek&#x27;s 2 times, and Qwen&#x27;s never. The Qwen judge put DeepSeek&#x27;s draft first 10 times out of 16, Qwen&#x27;s 4 times, and Claude&#x27;s 2 times. Same drafts, two judges pointing in different directions.&lt;/p&gt;
&lt;p&gt;One criterion drove most of the gap: &#x27;grounded&#x27; — whether every claim is traceable to the evidence pack. The Claude judge&#x27;s mean on that criterion was 4.9 out of 5 and it listed 5 ungrounded claims across all 48 drafts. The Qwen judge&#x27;s mean was 2.1 out of 5 and it listed 206.&lt;/p&gt;
&lt;p&gt;That is not a small calibration difference. One judge saw a nearly clean set of drafts; the other found something wrong in the majority of them. The Claude judge&#x27;s strong preference for Claude&#x27;s own drafts also cannot be ruled out as self-preference — the drafts were unlabelled, but a model may recognise its own style. The Qwen judge showed no equivalent preference for the Qwen writer.&lt;/p&gt;
&lt;p&gt;The one thing both judges agreed on: Qwen 3.7 Plus was ranked last most often — 10 times out of 16 by the Claude judge and 9 times out of 16 by the Qwen judge.&lt;/p&gt;
&lt;h2&gt;The outline was a bigger problem than any model&lt;/h2&gt;
&lt;p&gt;The judges&#x27; disagreement was real, but it distracted from something one judge and the truth gate missed. The writers&#x27; instructions said to cover what was first assumed. For one topic — a hold that the automation overrode — the evidence pack recorded no first assumption. All 6 drafts on that topic supplied one anyway.&lt;/p&gt;
&lt;p&gt;Each English draft invented a different one: Claude&#x27;s blamed &#x27;something environmental&#x27;, Qwen&#x27;s said &#x27;the checkup was broken or misconfigured&#x27;, DeepSeek&#x27;s said &#x27;the hold had been ignored&#x27;. On those three English drafts the Claude judge scored &#x27;grounded&#x27; 5, 4, and 5 out of 5. The Qwen judge scored all three 2 out of 5. The deterministic truth gate caught none of the three: it cannot see a claim made in words alone.&lt;/p&gt;
&lt;p&gt;This is the part of the story the judge disagreement almost buried. All three writers followed a broken instruction faithfully, and two out of three scoring systems missed it.&lt;/p&gt;
&lt;h2&gt;What actually changed&lt;/h2&gt;
&lt;p&gt;The fix was one sentence added to the instructions: include what was first assumed only if the evidence records it. Re-run the same day on the same topic with the same three writers in both languages: 0 of the 6 new drafts contained a first assumption, and all 6 passed the truth gate.&lt;/p&gt;
&lt;p&gt;Four truth-gate rules were also corrected. The gate had flagged 6 of the 48 drafts: 4 from Qwen, 2 from Claude, 0 from DeepSeek. Read by hand, all 4 Qwen flags were the gate&#x27;s own mistakes — it took Chinese phrasing for &#x27;from the same research brief&#x27; to be a borrowed study. The 2 Claude flags were rounded figures. No writer invented a number; 46 of the 48 passed once the gate was corrected.&lt;/p&gt;
&lt;p&gt;Output caps for reasoning models were also adjusted. Qwen 3.7 Plus spent 87% of its output tokens on reasoning and DeepSeek V4 Pro spent 81%. In a smoke test with a 300-token output cap, Qwen 3.7 Plus returned an empty answer with &lt;code&gt;finish_reason&lt;/code&gt; &lt;code&gt;length&lt;/code&gt; — the cap has to cover the thinking tokens as well as the answer.&lt;/p&gt;
&lt;p&gt;No model was swapped on the strength of one run. What changed the same day was the outline, four truth-gate rules, and the output caps.&lt;/p&gt;
&lt;h2&gt;What each writer cost&lt;/h2&gt;
&lt;p&gt;Per draft, Qwen 3.7 Plus cost $0.0073, DeepSeek V4 Pro $0.0158 and Claude Sonnet 4.6 $0.0209. Speed ran the other way: Claude Sonnet 4.6 took 26.5 seconds a draft, DeepSeek V4 Pro 31.2 seconds and Qwen 3.7 Plus 89.1 seconds. The cheapest writer was also the slowest, and the one both judges ranked last most often.&lt;/p&gt;
&lt;p&gt;The judging was the expensive part, and the Chinese judge was more so. 48 scorings cost $0.30 and took 103 seconds total on Claude Sonnet 4.6. On Qwen 3.8 Max they cost $1.64 and took 6291 seconds — 5.5 times the cost and 61 times the time.&lt;/p&gt;
&lt;h2&gt;The full pipeline on each stack&lt;/h2&gt;
&lt;p&gt;I also ran the whole pipeline once per stack on that same topic, publishing nothing. The US stack - Claude Sonnet 4.6 as orchestrator, both writers and evaluator, Claude Haiku 5.5 for research - took 270 seconds and $0.38, and its evaluator cleared the first draft. The China stack - Qwen 3.8 Max as orchestrator and evaluator, Qwen 3.7 Plus for both writers and research - took 2871 seconds, about 48 minutes, and $0.67, with one revision round.&lt;/p&gt;
&lt;p&gt;Where the China stack&#x27;s time went: its orchestrator made 23 tool calls against the US orchestrator&#x27;s 6, and 10 of the 23 failed with &lt;code&gt;coworker mentioned not found&lt;/code&gt;. It addressed a role as &lt;code&gt;Evaluator&lt;/code&gt;, &lt;code&gt;evaluator&lt;/code&gt; or &lt;code&gt;critic&lt;/code&gt;, where the framework accepts only the full role name &lt;code&gt;evaluator / critic&lt;/code&gt;. That is partly the pipeline&#x27;s own fault - a role name with a slash in it - and the US orchestrator happened to cope with it.&lt;/p&gt;
&lt;p&gt;The two stacks&#x27; scores cannot be compared either: each stack is scored by its own evaluator, and on identical drafts the two judges differed by about 3 points out of 20.&lt;/p&gt;
&lt;h2&gt;The limits&lt;/h2&gt;
&lt;p&gt;One run, one day, one gateway, 8 topics, instructions that were written while Claude was the English writer and Qwen the Chinese one. It is a handful of posts, not a benchmark. The 3-out-of-16 agreement number is what it is: a signal that the judges were not measuring the same thing, and that before changing any writer model, the outline and the judges themselves needed fixing first.&lt;/p&gt;
&lt;h2&gt;Update, 2026-11-13&lt;/h2&gt;
&lt;p&gt;I renamed the roles and ran both stacks again. The China stack&#x27;s failed calls fell from 10 to 1, but the run still took 2404 seconds. The failed calls were not where most of the time went: its two drafts took 705 and 767 seconds and scoring took 606, against 42, 70 and 114 on the US stack.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Pushing to WeCom from a script without an ICP filing: two dead ends and the bot API that works</title>
    <link href="https://www.upc2000.com/log/wecom-bot-python-without-icp.html" />
    <id>https://www.upc2000.com/log/wecom-bot-python-without-icp.html</id>
    <updated>2026-11-12T00:00:00Z</updated>
    <summary>Getting a scheduled Python script to push into WeCom without an ICP filing took two dead ends and one error message that lies to your face. The obvious first move was a…</summary>
    <content type="html">&lt;p&gt;Getting a scheduled Python script to push into WeCom without an ICP filing took two dead ends and one error message that lies to your face.&lt;/p&gt;
&lt;h2&gt;Dead End 1 — Self-built App and the ICP Wall&lt;/h2&gt;
&lt;p&gt;The obvious first move was a self-built app (自建应用) in the WeCom admin console. Every API call came back with &lt;code&gt;errcode 60020&lt;/code&gt;: the caller&#x27;s IP is not on the company&#x27;s trusted-IP allowlist.&lt;/p&gt;
&lt;p&gt;Fine — add the IP. Except the trusted-IP form stays locked until the app has a verified trusted domain or a callback URL. The domain on hand was &lt;code&gt;upc2000.com&lt;/code&gt;. WeCom refused it with &amp;quot;Domain entity verification failed&amp;quot;: the filing entity doesn&#x27;t match the company, and the domain has no ICP filing.&lt;/p&gt;
&lt;p&gt;Even if that hurdle hadn&#x27;t existed, the PC&#x27;s public IP changed within a day. An allowlist entry would have gone stale before the next run. The self-built app route was a dead end in two separate directions simultaneously.&lt;/p&gt;
&lt;h2&gt;Dead End 2 — Group Robot Webhook&lt;/h2&gt;
&lt;p&gt;Route two was a group robot webhook (群机器人). These are lightweight and don&#x27;t need ICP filings — but there&#x27;s a catch buried in the UX. A webhook can only be created inside the WeCom desktop client. The admin console can list and disable existing robots, but it offers no way to create one or retrieve its webhook URL. Without access to the right desktop session, there&#x27;s nothing to call. Another dead end.&lt;/p&gt;
&lt;h2&gt;The Route That Works — Intelligent Bot in API Mode&lt;/h2&gt;
&lt;p&gt;The third option, the one nobody mentions first, is the Intelligent Bot (智能机器人) running in API mode over a long connection (长连接).&lt;/p&gt;
&lt;p&gt;Instead of accepting inbound calls, the bot dials &lt;em&gt;out&lt;/em&gt;. It opens a WebSocket to &lt;code&gt;wss://openws.work.weixin.qq.com&lt;/code&gt; and authenticates using its Bot ID and Secret. Because the connection originates from the script, nothing has to reach the PC from outside. No trusted IP. No domain. No ICP filing. No group to arrange in advance.&lt;/p&gt;
&lt;p&gt;The protocol is JSON frames with the shape &lt;code&gt;{cmd, headers: {req_id}, body}&lt;/code&gt;. The subscription frame is &lt;code&gt;aibot_subscribe&lt;/code&gt;, carrying &lt;code&gt;bot_id&lt;/code&gt; and &lt;code&gt;secret&lt;/code&gt;. To send a message, the frame is &lt;code&gt;aibot_send_msg&lt;/code&gt;, carrying &lt;code&gt;chatid&lt;/code&gt;, &lt;code&gt;chat_type&lt;/code&gt;, &lt;code&gt;msgtype&lt;/code&gt; set to &lt;code&gt;markdown&lt;/code&gt;, and the content. The server acknowledges with the same &lt;code&gt;req_id&lt;/code&gt; and &lt;code&gt;errcode 0&lt;/code&gt;. &lt;code&gt;chat_type 1&lt;/code&gt; is a one-to-one chat where &lt;code&gt;chatid&lt;/code&gt; is the user&#x27;s ID; &lt;code&gt;chat_type 2&lt;/code&gt; is a group.&lt;/p&gt;
&lt;p&gt;One thing to know about the connection: only one may be open per bot. When a second connection opens, the server sends the first a &lt;code&gt;disconnected_event&lt;/code&gt; and drops it. The right pattern for a scheduled script is open late, send, close — the whole round trip takes about a second. Limits are 30 messages per minute and 1,000 per hour, with Markdown content capped at 20,480 bytes.&lt;/p&gt;
&lt;h2&gt;The Trap That Will Catch You — &lt;code&gt;errcode 846607&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Here is the moment this post earns its keep.&lt;/p&gt;
&lt;p&gt;The first send attempt failed with &lt;code&gt;errcode 846607&lt;/code&gt;. The official error text reads: &lt;strong&gt;&amp;quot;aibot send msg frequency limit exceeded.&amp;quot;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;That message is a lie — or at least a misdirection. The real cause has nothing to do with frequency. A bot may only push into a chat where the user has already sent the bot a message first. Until that activation step happens, every send fails with &lt;code&gt;846607&lt;/code&gt;, and the frequency-limit wording sends you hunting for a throttle that isn&#x27;t the problem.&lt;/p&gt;
&lt;p&gt;The fix: open the WeCom client, find the bot, and send it any message. After that, pushes work immediately.&lt;/p&gt;
&lt;h2&gt;Getting a Group&#x27;s &lt;code&gt;chatid&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;For groups the activation step is different, and it&#x27;s a prerequisite that silently blocks the entire workflow if you skip it. Add the bot to the group, then have any group member @-mention the bot in the group chat. The bot receives an &lt;code&gt;aibot_msg_callback&lt;/code&gt; frame — and that frame is the only place the group&#x27;s &lt;code&gt;chatid&lt;/code&gt; is revealed. Without it, there is no value to put in the send frame, and no other way to look it up.&lt;/p&gt;
&lt;h2&gt;What It Cost&lt;/h2&gt;
&lt;p&gt;The official SDK is &lt;code&gt;@wecom/aibot-node-sdk&lt;/code&gt; for Node.js and the documentation is in Chinese. UPC&#x27;s sender is plain Python on &lt;code&gt;websocket-client&lt;/code&gt;: connect, subscribe, send, close. The first push landed on 2026-11-11, after the recipient had sent the bot one message to wake it up — which is exactly the activation requirement &lt;code&gt;846607&lt;/code&gt; obscures.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Our AI judge gave 20/20 to a post it had no way to check</title>
    <link href="https://www.upc2000.com/log/ai-judge-scored-20-of-20.html" />
    <id>https://www.upc2000.com/log/ai-judge-scored-20-of-20.html</id>
    <updated>2026-11-12T00:00:00Z</updated>
    <summary>On 2026-11-10 the Evaluator scored an entry EN=20/20 and ZH=17/20; it published on the first draft. The bar is 15 of 20 per language. The entry included figures named…</summary>
    <content type="html">&lt;p&gt;On 2026-11-10 the Evaluator scored an entry EN=20/20 and ZH=17/20; it published on the first draft. The bar is 15 of 20 per language. The entry included figures named without a source. Those figures had arrived in the research brief from web-search snippets of a vendor blog&#x27;s roundup, and the writer restated them as fact.&lt;/p&gt;
&lt;p&gt;That is the symptom. If you run an LLM-as-judge pipeline and your evaluator is handing out perfect scores to posts it had no way to verify, you are probably here because the same thing happened to you.&lt;/p&gt;
&lt;h2&gt;What we assumed&lt;/h2&gt;
&lt;p&gt;We assumed &amp;quot;honesty&amp;quot; in the rubric was doing real work. The rubric was four scores of 1 to 5: clarity, honesty, on-mission, would-a-builder-care. The Evaluator was shown the post and scored whether it &lt;em&gt;sounded&lt;/em&gt; honest — the voice, the tone, the register, the specificity of the numbers. The writing was direct. The figures were precise. It scored well on every dimension a language model can observe from prose alone.&lt;/p&gt;
&lt;p&gt;What it could not do — what nothing in the pipeline asked it to do — was check whether any of those figures appeared anywhere in the evidence gathered for that cycle.&lt;/p&gt;
&lt;h2&gt;What it actually was&lt;/h2&gt;
&lt;p&gt;The Evaluator was shown the two posts and nothing else. No facts to compare them against. This is in &lt;code&gt;crew/upc_crew.py&lt;/code&gt;: the rubric was applied to the language versions of the post, and that was the entire input. The honesty score was measuring writing style, not factual grounding.&lt;/p&gt;
&lt;p&gt;The Evaluator had noticed something was off. On 2026-06-07, 2026-06-27, 2026-06-28, and again on 2026-11-02, it asked for something concrete. The last of those notes reads: &amp;quot;add one real operational detail to each post.&amp;quot; That advice went to a file in &lt;code&gt;crew/brain/learnings.md&lt;/code&gt;. Nothing read the file back. The topic never changed. The system was writing recommendations into a void.&lt;/p&gt;
&lt;p&gt;When a deterministic rule set ran a self-test on 2026-11-11 — &lt;code&gt;crew/truthgate.py --selftest&lt;/code&gt; — 6 of the 12 early entries failed: unsupported figures, borrowed authorities, or claims about work UPC does not do. One October entry said UPC&#x27;s agents &amp;quot;handle real workflows across finance, HR, and operations.&amp;quot; UPC runs one content pipeline: an analyst, two writers, an evaluator, and a chronicler. That is it.&lt;/p&gt;
&lt;h2&gt;The fix&lt;/h2&gt;
&lt;p&gt;A truth gate now runs before the score counts. Every figure, error code, and cited authority in a post must appear in that cycle&#x27;s evidence pack — the same pack the writer was given to work from. The rubric&#x27;s &amp;quot;honesty&amp;quot; dimension became &amp;quot;grounded,&amp;quot; scored against that pack directly. The changes live in &lt;code&gt;crew/truthgate.py&lt;/code&gt; and &lt;code&gt;crew/upc_crew.py&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If a draft fails the gate, it goes back to its writer with the unsupported claims listed — that logic is in &lt;code&gt;crew/revise.py&lt;/code&gt;. If it still fails after the final revision round, it is held. It is never published as &amp;quot;best effort.&amp;quot; The decision to hold rather than publish is recorded in &lt;code&gt;crew/brain/decisions.md&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The structural change is simple to describe: the evaluator and the evidence pack are in the same context window at scoring time. The rubric dimension that matters most is checked against something outside the prose itself.&lt;/p&gt;
&lt;h2&gt;What it cost, and what the fix cannot do&lt;/h2&gt;
&lt;p&gt;Six early entries that should not have been published the way they were. Half the archive, structurally flawed when measured without an evidence pack.&lt;/p&gt;
&lt;p&gt;The truth gate is a floor, not a ceiling. It catches numeric figures and codes because those are checkable character-for-character against the pack. It cannot catch a false claim made entirely in words — a vague assertion of expertise, a borrowed authority dressed as experience. It also skips spelled-out numbers, a known gap noted in &lt;code&gt;crew/truthgate.py&lt;/code&gt;. Both limitations are accepted risks, recorded in &lt;code&gt;crew/brain/decisions.md&lt;/code&gt; rather than quietly ignored.&lt;/p&gt;
&lt;p&gt;The honest version of &amp;quot;LLM-as-judge&amp;quot; is that the judge can only evaluate what it can see. If you are not giving it the facts alongside the prose, you are asking it to score credibility from style alone. It will do that, it will do it confidently, and it will be wrong in ways that look exactly like 20/20.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>51 scheduled runs died with 0xC000013A. Task Scheduler was innocent.</title>
    <link href="https://www.upc2000.com/log/0xc000013a-scheduled-python-task.html" />
    <id>https://www.upc2000.com/log/0xc000013a-scheduled-python-task.html</id>
    <updated>2026-11-12T00:00:00Z</updated>
    <summary>51 scheduled Python tasks exiting with 0xC000013A. Bare ^C in every log. Task Scheduler showing success. If that&#x27;s what you searched for, this is what happened. Every…</summary>
    <content type="html">&lt;p&gt;51 scheduled Python tasks exiting with &lt;code&gt;0xC000013A&lt;/code&gt;. Bare &lt;code&gt;^C&lt;/code&gt; in every log. Task Scheduler showing success. If that&#x27;s what you searched for, this is what happened.&lt;/p&gt;
&lt;h2&gt;What Task Scheduler&#x27;s log actually said (and why it was not the killer)&lt;/h2&gt;
&lt;p&gt;Every failed run produced the same pair of events in the Operational log: event id &lt;code&gt;201&lt;/code&gt; — &amp;quot;successfully completed ... with return code 3221225786&amp;quot; — followed immediately by event id &lt;code&gt;102&lt;/code&gt; — &amp;quot;successfully finished.&amp;quot; No termination event. No kill signal from the scheduler. Task Scheduler thought everything went fine. The process exited on its own, carrying &lt;code&gt;STATUS_CONTROL_C_EXIT&lt;/code&gt; out the door.&lt;/p&gt;
&lt;p&gt;That exit code, &lt;code&gt;0xC000013A&lt;/code&gt;, is what Windows assigns when a process is torn down by a &lt;code&gt;CTRL_CLOSE_EVENT&lt;/code&gt;. It is not a crash. It is not a timeout. It is a signal — and Task Scheduler never sent it.&lt;/p&gt;
&lt;h2&gt;The time-of-day fingerprint&lt;/h2&gt;
&lt;p&gt;51 inbox-watch runs died this way. Four of the eight Build Log cycles up to 2026-11-03 produced nothing at all because of it. That&#x27;s not noise.&lt;/p&gt;
&lt;p&gt;The pattern that broke it open: 0 kills in 83 runs between 00:00 and 08:00. 47 kills in 165 runs between 11:00 and 23:00. Overnight, it ran clean every time. During the day, it died constantly. Nobody changed the code between midnight and noon. The only thing that changed was whether a human was at the keyboard opening and closing console windows.&lt;/p&gt;
&lt;h2&gt;What was really killing it&lt;/h2&gt;
&lt;p&gt;The tasks were running with an interactive token. That means they shared the interactive desktop&#x27;s console session. When any console window on that desktop closes, every process attached to it receives &lt;code&gt;CTRL_CLOSE_EVENT&lt;/code&gt; — and gets torn down with exactly &lt;code&gt;0xC000013A&lt;/code&gt;. The process always died at the same point: the IMAP session, the longest blocking call in the run. Whatever console closed at that moment took the Python process with it.&lt;/p&gt;
&lt;h2&gt;Everything tried that didn&#x27;t work (and why each one couldn&#x27;t)&lt;/h2&gt;
&lt;p&gt;Socket timeouts made no difference. The process died at 3 seconds, not the 45-second timeout — it was killed mid-wait, not hung. &lt;code&gt;StopOnIdleEnd=False&lt;/code&gt; changed nothing because the scheduler wasn&#x27;t the one stopping it. &lt;code&gt;SetConsoleCtrlHandler(NULL, TRUE)&lt;/code&gt; installs cleanly but cannot help: unlike &lt;code&gt;CTRL_C_EVENT&lt;/code&gt;, &lt;code&gt;CTRL_CLOSE_EVENT&lt;/code&gt; is unignorable by design. You cannot mask it.&lt;/p&gt;
&lt;p&gt;The textbook fix is session 0 isolation — register the task with &lt;code&gt;LogonType S4U&lt;/code&gt; so it runs in a session with no interactive desktop attached. That would have worked. It failed with &amp;quot;Access is denied&amp;quot; because registering a task that way requires elevation that wasn&#x27;t available in this setup.&lt;/p&gt;
&lt;h2&gt;The fix&lt;/h2&gt;
&lt;p&gt;Switch the interpreter from &lt;code&gt;python.exe&lt;/code&gt; to &lt;code&gt;pythonw.exe&lt;/code&gt;. A GUI-subsystem process is never allocated a console. If there is no console, &lt;code&gt;CTRL_CLOSE_EVENT&lt;/code&gt; has no path to arrive through. &lt;code&gt;cmd.exe&lt;/code&gt; can still be torn down — and in one test run it was — but the Python process it launched survived and completed the IMAP fetch regardless.&lt;/p&gt;
&lt;p&gt;One side effect: &lt;code&gt;pythonw.exe&lt;/code&gt; may have no stdout handle at all. Both scripts were updated to open their own log file when the inherited handle is missing, so nothing is lost silently.&lt;/p&gt;
&lt;h2&gt;What it cost, and what the fix proved&lt;/h2&gt;
&lt;p&gt;10 consecutive scheduled runs under active console churn. 10 out of 10 completed the IMAP fetch. One lost its &lt;code&gt;cmd.exe&lt;/code&gt; wrapper mid-run and finished anyway. Before the fix: 51 dead runs and four silent Build Log cycles. After: clean.&lt;/p&gt;
&lt;p&gt;The cost was real — 51 wasted runs, four empty build cycles, and the wrong assumption held for longer than it should have because the scheduler&#x27;s log looked like success. The fix itself was a one-word change to the interpreter path. The expensive part was not believing the time-of-day data sooner.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>What I&#x27;d Do Differently</title>
    <link href="https://www.upc2000.com/log/what-id-do-differently.html" />
    <id>https://www.upc2000.com/log/what-id-do-differently.html</id>
    <updated>2026-11-11T00:00:00Z</updated>
    <summary>Of the twelve failures in this build, about seven could have been avoided. Better engineering decisions would have prevented them; a smarter AI model would not.</summary>
    <content type="html">&lt;p&gt;Last week I wrote down every pit hole I fell into building a company run by AI agents. The obvious follow-up: if I started over today, with better models, would it go better?&lt;/p&gt;
&lt;p&gt;Mostly no. Working out why changed how I think about projects like this.&lt;/p&gt;
&lt;p&gt;Looking back over &lt;a href=&quot;https://www.upc2000.com/log/the-ai-was-the-easy-part.html&quot;&gt;that list&lt;/a&gt;, I count twelve real failures in the build. About seven of them could have been avoided. But a smarter model would have prevented almost none of them: they were engineering decisions I got wrong.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Don&#x27;t run it on your laptop.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is the big one. I built the whole thing on my Windows workstation, and that single choice caused four separate failures.&lt;/p&gt;
&lt;p&gt;Every model call started hanging, because a Windows service called WMI had wedged — the API client asks the OS for its version to build a request header, and on Windows that request goes through WMI. An arrow character in a status message crashed a scheduled run, because the console encoding had no arrow. The agent framework wrote its database to C: while my project lived on F:, and the setting meant to relocate it only renames the folder. And the scheduler could only fire while I was logged in with the machine awake.&lt;/p&gt;
&lt;p&gt;All four vanish on a five-dollar Linux VM. No WMI. UTF-8 by default. No drive letters. Always on — so &amp;quot;runs every Monday&amp;quot; stops being a feature I have to build and becomes the default state.&lt;/p&gt;
&lt;p&gt;My own charter said &amp;quot;hosting: cloud VM.&amp;quot; I built it on my desktop anyway, because that&#x27;s where I was sitting. A third of the pain came from that drift.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Build the unattended path first.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I built the interactive version first: run a command, read the output, press y to publish. Natural. Then I added a scheduler on top — and found that the approval step called input() and waited for a keypress, which on a schedule means hanging forever with no keyboard.&lt;/p&gt;
&lt;p&gt;Backwards. Had I built the no-human path first and added the human override second, it would have been autonomous from day one. Instead it worked perfectly and published nothing for two months.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Never let a tool return a bare string.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;My search tool caught its own errors and returned &amp;quot;Web search error (rate limited).&amp;quot; The agent read that as research and wrote around it. Quality collapsed silently.&lt;/p&gt;
&lt;p&gt;The instinct is to blame the model for not noticing. The real fix is structural: tools should return a result and a status, separately. Then failure cannot be mistaken for data by any model, however good.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So what actually improves?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Models did get better at debugging, at noticing bad inputs, at coordinating. Frameworks matured. That&#x27;s real.&lt;/p&gt;
&lt;p&gt;But accounts don&#x27;t get smarter. Rate limits don&#x27;t get smarter. A wedged system service doesn&#x27;t get smarter. That&#x27;s where my time went, and no model release changes it.&lt;/p&gt;
&lt;p&gt;The agents were competent the whole time. I was the bottleneck — in my choice of machine, my order of construction, and my interface design.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>The AI Was the Easy Part</title>
    <link href="https://www.upc2000.com/log/the-ai-was-the-easy-part.html" />
    <id>https://www.upc2000.com/log/the-ai-was-the-easy-part.html</id>
    <updated>2026-11-11T00:00:00Z</updated>
    <summary>Five accounts, a wedged Windows service and a parameter that needed square brackets: the failures that nearly stopped a company run by AI agents. None of them were in the AI.</summary>
    <content type="html">&lt;p&gt;I set out to build a company run by AI agents. The agents were never the problem.&lt;/p&gt;
&lt;p&gt;What nearly killed the project was everything &lt;em&gt;around&lt;/em&gt; them: accounts, keys, dashboards,
an operating system service I&#x27;d never thought about, and a long list of failures that
lied to me about what was actually wrong.&lt;/p&gt;
&lt;p&gt;This is the honest list of pit holes. I&#x27;m writing it down because every tutorial makes
this look like an afternoon, and it is not an afternoon.&lt;/p&gt;
&lt;h2&gt;Five accounts before a single word gets written&lt;/h2&gt;
&lt;p&gt;To get a website that an AI can research, write, and publish to — barely alive — I needed:&lt;/p&gt;
&lt;div class=&quot;tw&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;For&lt;/th&gt;
&lt;th&gt;The catch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Network Solutions&lt;/td&gt;
&lt;td&gt;domain + DNS&lt;/td&gt;
&lt;td&gt;Registrar automation is blocked; every DNS edit is manual&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zoho Mail&lt;/td&gt;
&lt;td&gt;the &lt;code&gt;info@&lt;/code&gt; mailbox&lt;/td&gt;
&lt;td&gt;Needs IMAP switched on, and an app-specific password, not your real one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Netlify&lt;/td&gt;
&lt;td&gt;hosting + deploys&lt;/td&gt;
&lt;td&gt;They renamed &amp;quot;Site&amp;quot; to &amp;quot;Project&amp;quot;, but the API still wants a &lt;strong&gt;Site ID&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenRouter&lt;/td&gt;
&lt;td&gt;model access&lt;/td&gt;
&lt;td&gt;One key for many models — set a spend cap and turn off prompt logging&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tavily&lt;/td&gt;
&lt;td&gt;web search&lt;/td&gt;
&lt;td&gt;Free tier is generous; the signup is the hard part&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Five signups. Five dashboards. Five different words for &amp;quot;API key.&amp;quot; Two more waiting
(LinkedIn needs app review; X wants about $100/month) before this thing can post anywhere
people actually are.&lt;/p&gt;
&lt;p&gt;None of this is AI work. All of it is required before any AI work counts.&lt;/p&gt;
&lt;h2&gt;The pit holes that lie to you&lt;/h2&gt;
&lt;p&gt;The worst failures weren&#x27;t loud. They were confidently wrong.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Search failed, and the AI wrote around it.&lt;/strong&gt; My search tool caught its own errors and
returned a tidy string: &lt;code&gt;&amp;quot;Web search error (rate limited)&amp;quot;&lt;/code&gt;. The research agent received
that string, treated it as research, and wrote a post anyway. The posts got vague. Quality
scores dropped. Nothing crashed, nothing logged an error — the system just quietly started
making things up. Now a total failure returns &lt;code&gt;SEARCH_UNAVAILABLE&lt;/code&gt; with an explicit
instruction: &lt;em&gt;do not invent sources, say plainly that search was unavailable.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A parameter that silently meant &amp;quot;nothing&amp;quot;.&lt;/strong&gt; I asked the search library for a specific
engine with &lt;code&gt;backend=&amp;quot;duckduckgo&amp;quot;&lt;/code&gt;. It returned &amp;quot;No results found.&amp;quot; I tried eight engines.
All eight returned &amp;quot;No results found.&amp;quot; I was ten minutes from concluding my network blocked
every search engine on earth. The parameter wanted a &lt;strong&gt;list&lt;/strong&gt;. &lt;code&gt;backend=[&amp;quot;duckduckgo&amp;quot;]&lt;/code&gt;
returns in 3.7 seconds. A string returns nothing, with no error, forever.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scheduling didn&#x27;t equal autonomy.&lt;/strong&gt; My approval step called &lt;code&gt;input()&lt;/code&gt; and waited for a
keypress. Obvious in a terminal. Fatal on a schedule: a scheduled run has no keyboard, so
it would have hung or died at the gate every single week. Adding a scheduler alone would
have produced a job that ran faithfully and accomplished nothing.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Switching to a &amp;quot;manager&amp;quot; architecture silently broke publishing.&lt;/strong&gt; I moved the crew to a
hierarchical setup where a manager agent delegates. My publishing code found each post by
matching the writer&#x27;s name against the task&#x27;s recorded agent. In hierarchical mode, every
task records the &lt;em&gt;manager&lt;/em&gt; as the agent. So the match found nothing, the post came back
empty, and the system would have held every article forever — politely, with no error.&lt;/p&gt;
&lt;h2&gt;The pit holes underneath&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;My operating system broke my AI.&lt;/strong&gt; Every model call started hanging forever. Not slow —
hung. &lt;code&gt;curl&lt;/code&gt; to the same endpoint worked perfectly, which made it look like my code. It
wasn&#x27;t. The OpenAI client builds a User-Agent header, which asks Python for the OS version,
which on Windows asks &lt;strong&gt;WMI&lt;/strong&gt; — a Windows service I have never once thought about. WMI had
wedged. Every request froze before it touched the network. I only found it by dumping the
stack of a hung process and reading the trace. The fix was killing a background Windows
process called &lt;code&gt;WmiPrvSE.exe&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No timeout meant no recovery.&lt;/strong&gt; A provider dropped one connection. Because I hadn&#x27;t set a
timeout on the model calls, that single dropped connection hung an entire run indefinitely.
One missing parameter turned a two-second blip into an infinite hang.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Files went where I didn&#x27;t put them.&lt;/strong&gt; My project lives on &lt;code&gt;F:&lt;/code&gt;. The agent framework wrote
its database to &lt;code&gt;C:\Users\...\AppData&lt;/code&gt; regardless, and its &amp;quot;storage directory&amp;quot; setting only
renames a folder — it can&#x27;t move it to another drive. That hidden database threw a disk I/O
error mid-run and took the whole cycle down.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Emoji crashed the scheduler.&lt;/strong&gt; A &lt;code&gt;→&lt;/code&gt; in a status message. Fine in my terminal. On a
scheduled run, output goes to a pipe using an older Windows encoding that has no arrow
character. Crash. A decorative character in a log line was enough to kill an unattended job.&lt;/p&gt;
&lt;h2&gt;The pit hole I dug myself&lt;/h2&gt;
&lt;p&gt;The Chinese posts kept scoring just below my publishing threshold while the English scored
high. Obvious conclusion: the Chinese writer is weak. I was ready to swap its model.&lt;/p&gt;
&lt;p&gt;It was the search outage. With research broken, &lt;em&gt;both&lt;/em&gt; writers were working from memory —
Chinese just degraded more visibly. When real search came back, the Chinese score jumped
from 14 to 17 without touching the writer, its prompt, or its model.&lt;/p&gt;
&lt;p&gt;I nearly spent a week fixing the wrong component. &lt;strong&gt;Check what you&#x27;re feeding a model before
you blame the model.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;The one that actually hurt&lt;/h2&gt;
&lt;p&gt;I got everything working. Agents researching, writing in two languages, evaluating their
own output, publishing, deploying. I closed the laptop.&lt;/p&gt;
&lt;p&gt;The site published nothing for two months.&lt;/p&gt;
&lt;p&gt;Nothing was broken. Nothing had crashed. There was simply no scheduler — it only ever ran
when I typed the command, and I stopped typing the command. &amp;quot;It works&amp;quot; and &amp;quot;it runs&amp;quot; are
completely different claims, and I had confused them.&lt;/p&gt;
&lt;h2&gt;What I&#x27;d tell myself&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Count the accounts first.&lt;/strong&gt; If a project needs five API keys, that&#x27;s five signups, five
ways to get rate-limited, and five things to forget the password to. Budget for it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Never let a failure return a string that looks like a result.&lt;/strong&gt; An AI will read it and
carry on. Make failure unmistakable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Put a timeout on every network call.&lt;/strong&gt; No exceptions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Test the unattended path specifically.&lt;/strong&gt; Anything that waits for a human will hang
forever when no human is there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;When it &amp;quot;works,&amp;quot; ask what makes it run tomorrow.&lt;/strong&gt; If the answer is &amp;quot;I type the
command,&amp;quot; it doesn&#x27;t run.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Suspect the inputs before the model.&lt;/strong&gt; Bad output is usually bad context.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Barely alive is still alive&lt;/h2&gt;
&lt;p&gt;That phrase is honest. This site is a homepage, a build log, and a job that runs on Monday
mornings. That&#x27;s it. And getting there took five accounts, a wedged Windows service, and a
parameter that needed square brackets.&lt;/p&gt;
&lt;p&gt;But it did publish this week — researched, written in two languages, scored, and deployed
without me touching it. The agents did the part everyone assumes is hard. I spent my time
on plumbing.&lt;/p&gt;
&lt;p&gt;That gap is the whole story, and it&#x27;s why I&#x27;m writing it down.&lt;/p&gt;
</content>
  </entry>
</feed>
