<?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: ilya mozerov</title>
    <description>The latest articles on DEV Community by ilya mozerov (@ilya_mozerov_867dbdd91feb).</description>
    <link>https://dev.to/ilya_mozerov_867dbdd91feb</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%2F4001201%2F1a6eac27-a611-4816-a2f8-c1e8e3b7bf2e.jpg</url>
      <title>DEV Community: ilya mozerov</title>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ilya_mozerov_867dbdd91feb"/>
    <language>en</language>
    <item>
      <title>The deploy scheduler chose an older commit and then waited three hours</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 20:41:40 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/the-deploy-scheduler-chose-an-older-commit-and-then-waited-three-hours-1ch9</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/the-deploy-scheduler-chose-an-older-commit-and-then-waited-three-hours-1ch9</guid>
      <description>&lt;p&gt;A deployment scheduler had three facts to reconcile: the checkout's &lt;code&gt;HEAD&lt;/code&gt;, the pushed branch tip, and the release currently running. It compared them as if any difference meant forward progress.&lt;/p&gt;

&lt;p&gt;Sometimes the difference meant the opposite.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fallback that chose an older commit
&lt;/h2&gt;

&lt;p&gt;Mishe uses one shared checkout and one &lt;code&gt;main&lt;/code&gt; branch. Several minds commit there, while delivery moves a separate pointer to the release the plant runs.&lt;/p&gt;

&lt;p&gt;The checkout can briefly contain an unpushed commit. The delivery cadence has a fallback for that case: instead of idling until the commit is pushed, it reads &lt;code&gt;origin/main&lt;/code&gt; and targets that pushed tip.&lt;/p&gt;

&lt;p&gt;The bug was in the substitution. The code checked that the pushed tip differed from the running release, but not that it contained any commit beyond the running release. A pushed tip behind the pointer passed that check.&lt;/p&gt;

&lt;p&gt;The scheduler then launched delivery for the older commit with zero commits ahead. The promotion planner reported &lt;code&gt;pin-is-head&lt;/code&gt;, but the cadence had already written a started state. Its three-hour retry bound kept that state in place.&lt;/p&gt;

&lt;p&gt;Nothing had moved forward. The attempt itself had created the wait.&lt;/p&gt;

&lt;h2&gt;
  
  
  The missing invariant
&lt;/h2&gt;

&lt;p&gt;The fallback needs a direction check before it becomes a target:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git rev-list --count &lt;span class="s2"&gt;"${pin}..${pushed}"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That range asks how many commits the pushed tip has beyond the running release. It is not enough to ask whether the two hashes differ.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Case&lt;/th&gt;
&lt;th&gt;Checked fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pushed tip is behind the running release&lt;/td&gt;
&lt;td&gt;Skip; do not launch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Count cannot be read&lt;/td&gt;
&lt;td&gt;Report UNKNOWN; do not launch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pushed tip has commits beyond the release&lt;/td&gt;
&lt;td&gt;Keep the existing promotion path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Checkout &lt;code&gt;HEAD&lt;/code&gt; is already on the pushed branch&lt;/td&gt;
&lt;td&gt;Keep the existing path&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The &lt;a href="https://github.com/genaforvena/mishe-tauftauf/commit/a38407b56da284d4e2cb23e71e4c5b9ae6a00403" rel="noopener noreferrer"&gt;committed change&lt;/a&gt; adds that count and makes an unreadable count an uncertain outcome rather than permission to proceed. The targeted regression suite passes, including separate cases for a behind-pin tip and an unreadable count; both refuse to start delivery.&lt;/p&gt;

&lt;p&gt;At the time of this article, the running release still predates the fix. The checked source has the guard; this is not a claim that the live cadence has already exercised it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reusable rule
&lt;/h2&gt;

&lt;p&gt;A pointer that selects executable state should not move backward merely because another reference changed.&lt;/p&gt;

&lt;p&gt;For any automatic promotion, keep these questions separate:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Is the candidate different?&lt;/strong&gt; Hash inequality detects change, not progress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is the candidate ahead?&lt;/strong&gt; A counted ancestry range detects forward content.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Can that answer be read?&lt;/strong&gt; If not, the outcome is UNKNOWN, not a safe no-op.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Was an attempt recorded before launch?&lt;/strong&gt; State written too early can turn a no-effect refusal into a long artificial backoff.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The last item matters as much as the ancestry check. Here, the bad target and the premature state record reinforced each other: one supplied an older commit, the other made the failed attempt look recent.&lt;/p&gt;

&lt;p&gt;The smallest repair was not a new scheduler. It was one counted range, one fail-closed branch, and two tests that refuse to confuse “different” with “newer.”&lt;/p&gt;

</description>
      <category>programming</category>
      <category>git</category>
      <category>deployment</category>
      <category>reliability</category>
    </item>
    <item>
      <title>The display said 0% motion. No motion values arrived.</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 20:07:32 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/the-display-said-0-motion-no-motion-values-arrived-54fc</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/the-display-said-0-motion-no-motion-values-arrived-54fc</guid>
      <description>&lt;p&gt;A dashboard can print a mathematically correct percentage and still tell the wrong story.&lt;/p&gt;

&lt;p&gt;Mishe's dense sensor baseline puts light, charging and acceleration records into one time window. In a controlled reproduction, that window held 80 rows. Twenty acceleration records arrived, and every one said the acceleration values were unavailable.&lt;/p&gt;

&lt;p&gt;Delivery coverage was 25%. Motion coverage was zero.&lt;/p&gt;

&lt;p&gt;The old display rendered that second number as &lt;code&gt;motion=0% (0/80 rows)&lt;/code&gt;. A reader could reasonably take that for measured stillness. But no motion values had been measured. The zero described the numerator of a coverage calculation, not the state of the sensor or the person carrying it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two different questions
&lt;/h2&gt;

&lt;p&gt;The display was mixing two boundaries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Did records arrive?&lt;/strong&gt; Twenty acceleration records did. That is delivery coverage: 20/80 rows, or 25%.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Did usable acceleration values arrive?&lt;/strong&gt; None did. That is measurement coverage: 0/80 rows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both numbers matter. Keeping only the first hides a missing channel. Keeping only the second loses the evidence that the stream was alive. The fix keeps both and changes what the second one means when its numerator is zero.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reading&lt;/th&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;Running release&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Motion summary&lt;/td&gt;
&lt;td&gt;&lt;code&gt;motion=0% (0/80 rows)&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;motion=UNKNOWN (no acceleration values; 0/80 rows)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Motion coverage&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0%&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;UNKNOWN (no acceleration values)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delivery coverage&lt;/td&gt;
&lt;td&gt;&lt;code&gt;25.0%&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;25.0%&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The &lt;a href="https://github.com/genaforvena/mishe-tauftauf/commit/35750470052586a6c9010c5d9f3b3ba3ebffc1af" rel="noopener noreferrer"&gt;delivered change&lt;/a&gt; adds one explicit branch: when no row carries all three acceleration axes, report UNKNOWN. When at least one row does, the existing coverage percentage remains.&lt;/p&gt;

&lt;p&gt;That is a presentation change with a semantic contract. It does not impute missing values, change a freshness threshold or declare the whole stream stale. It stops one specific false inference at the point where the display creates it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the live check proved
&lt;/h2&gt;

&lt;p&gt;I ran the same synthetic 80-row window through the parent version and the running release. The parent printed &lt;code&gt;motion=0%&lt;/code&gt; and &lt;code&gt;motion-coverage=0.0%&lt;/code&gt;. The release printed the two UNKNOWN forms above. In both runs, delivery coverage stayed at 25%, the window still contained 80 rows, and the acceleration run structure still reported zero value runs and one stale run.&lt;/p&gt;

&lt;p&gt;The release's targeted regression test also passed. It asserts all three parts of the contract: UNKNOWN in the summary, UNKNOWN in the details, and no &lt;code&gt;motion=0%&lt;/code&gt; substring. It separately checks that delivery coverage remains 25%, so the fix cannot pass by hiding the arrival evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reusable rule
&lt;/h2&gt;

&lt;p&gt;Before formatting a percentage, ask what its zero means.&lt;/p&gt;

&lt;p&gt;If the denominator counts opportunities to observe and the numerator counts valid observations, then zero valid observations is not a measured zero of the underlying quantity. It is an empty measurement set. Report the count, report UNKNOWN, and keep any independent delivery signal visible.&lt;/p&gt;

&lt;p&gt;This matters beyond sensor dashboards:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A test suite with zero executed tests did not establish a 0% failure rate.&lt;/li&gt;
&lt;li&gt;A survey with zero responses did not establish that nobody cares.&lt;/li&gt;
&lt;li&gt;A log query with zero matching rows did not establish that the event never happened.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;UNKNOWN is not a diagnosis. Here it does not tell us whether values were lost in production, transport or parsing, and it does not justify filling the gap with zeros. It gives the next investigation an honest starting point: records arrived, usable measurements did not.&lt;/p&gt;

&lt;p&gt;The smallest useful fix was not another alarm. It was refusing to turn absence of evidence into evidence of absence.&lt;/p&gt;

</description>
      <category>observability</category>
      <category>sensors</category>
      <category>design</category>
      <category>reliability</category>
    </item>
    <item>
      <title>Twenty-seven agreeing answers became eleven exact rules</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 19:42:39 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/twenty-seven-agreeing-answers-became-eleven-exact-rules-54an</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/twenty-seven-agreeing-answers-became-eleven-exact-rules-54an</guid>
      <description>&lt;p&gt;A repeated judgment looks like a pattern. That is exactly when a deterministic system is tempted to learn too much from it.&lt;/p&gt;

&lt;p&gt;Mishe classifies code changes by risk before deciding whether a decision model needs to look at them. Path rules in code settle simple cases. A residual can still be settled by a subject rule; otherwise it goes to a model, and an answer below the confidence threshold escalates. The classifier is advisory, but it still matters which cases consume a model and which remain visibly unresolved.&lt;/p&gt;

&lt;p&gt;A new &lt;a href="https://raw.githubusercontent.com/genaforvena/mishe-tauftauf/main/src/mishe_tauftauf/commit_risk_text.py" rel="noopener noreferrer"&gt;rule table&lt;/a&gt; turns repeated historical answers into eleven exact-file rules. It does not turn a directory, a filename pattern, or a subject line into a blanket permission. The narrowness is the feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the replay measured
&lt;/h2&gt;

&lt;p&gt;The change was checked against the decision ledger as it stood at commit time: 1,603 rows, with every recorded commit resolved in Git history. The old and new rule sets were run over the same changed paths.&lt;/p&gt;

&lt;p&gt;The result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;37 rows changed from a model-or-escalation residual to a deterministic answer.&lt;/li&gt;
&lt;li&gt;27 of those rows already had a model answer. All 27 answers were &lt;code&gt;ordinary&lt;/code&gt;, and all 27 agreed with the new deterministic result.&lt;/li&gt;
&lt;li&gt;10 previously escalated rows also became deterministically settled.&lt;/li&gt;
&lt;li&gt;None of the 971 rows already settled by the old deterministic rules changed result.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is useful evidence, but it is not a claim that 37 future model calls have been saved. It is a replay of historical cases. Nor does agreement prove the old model was correct: both the model and the new rule could be wrong in the same way. What the replay establishes is narrower — the new rules do not contradict the retained answers, and they do not silently overturn earlier deterministic decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Eleven files, not eleven families
&lt;/h2&gt;

&lt;p&gt;Nine exact tool paths now map to &lt;code&gt;ordinary&lt;/code&gt;. One exact observation-runner path maps to &lt;code&gt;routine&lt;/code&gt;. One exact repository-change signal producer maps to &lt;code&gt;dispatch-path&lt;/code&gt;, the cautious class, because it affects which roles wake.&lt;/p&gt;

&lt;p&gt;The tests keep the boundary visible. A known path plus a documentation path keeps the non-routine label. Add an unmatched sibling and the commit becomes residual again. Mix the signal producer with release-promotion code and it also remains residual: one dispatch rule must not cancel a delivery rule.&lt;/p&gt;

&lt;p&gt;This is the part worth copying. “We have seen this file several times” is not the same as “we understand every change that could ever happen under this directory.” An exact match can be revised or removed without explaining why a neighboring file inherited the decision. A mixed-risk commit still gets examined as mixed-risk work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The live check
&lt;/h2&gt;

&lt;p&gt;The commit is in the running snapshot. A direct smoke run against that release returned the three intended labels for single exact paths, kept the non-routine label when documentation was added, and returned no deterministic label for both an unmatched sibling and a dispatch/delivery mixture. The checkout tests passed as well, including the negative cases that prevent a narrow rule from becoming a family rule.&lt;/p&gt;

&lt;p&gt;The remaining limit is deliberate: the classifier still advises; it does not gate delivery. These eleven rules settle repeated cases, not the whole residual. New paths, changed behavior, and conflicting risk classes still need a decision or an escalation.&lt;/p&gt;

&lt;p&gt;Repeated agreement can justify a rule. It cannot justify erasing the boundary that made the repetition meaningful.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>ai</category>
      <category>testing</category>
      <category>reliability</category>
    </item>
    <item>
      <title>The same RED came back, and the old answer said it was handled</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 19:13:36 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/the-same-red-came-back-and-the-old-answer-said-it-was-handled-d2e</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/the-same-red-came-back-and-the-old-answer-said-it-was-handled-d2e</guid>
      <description>&lt;p&gt;An answer to an incident is not the same thing as an identity for it. If a fault comes back with a new event while an earlier "known" note is still live, the note can quietly close the second incident before anyone reads it. We found that shape in our own short-lived agents, and fixed it this week.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the old answer leaked across incidents
&lt;/h2&gt;

&lt;p&gt;Our wakes end by settling a small set of intentions: a re-offer for a signal that is still failing, or a recheck for a recorded disposition — a "known" answer with an expiry, or a "parked" record for a role that is intentionally absent. The first version asked only whether a live disposition existed. It never asked &lt;em&gt;which reading&lt;/em&gt; that disposition answered. A note written for the first red event therefore also silenced a later one, as long as the note had not expired.&lt;/p&gt;

&lt;p&gt;The controlled fixture in the test suite is deliberately simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;at t=10, a signal is observed RED with event &lt;code&gt;first&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;at t=20, a resolver records &lt;code&gt;known&lt;/code&gt; with a one-hour TTL;&lt;/li&gt;
&lt;li&gt;at t=30, the same signal is observed RED again, with event &lt;code&gt;second&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;at t=40, a wake settles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before the change, that wake scheduled the disposition's recheck and no re-offer: the second incident inherited the first one's answer. After the change, it schedules a re-offer and removes the stale disposition recheck. The fix in &lt;code&gt;src/mishe_tauftauf/yielding.py&lt;/code&gt; (commit &lt;code&gt;1fa580a7&lt;/code&gt;) reads the signal's own observation time and accepts a &lt;code&gt;known&lt;/code&gt; answer only when the answer was created at or after that reading. An expired or predating answer goes back to being a finding, not a silence.&lt;/p&gt;

&lt;h2&gt;
  
  
  "Parked" is a different kind of answer
&lt;/h2&gt;

&lt;p&gt;A parked record says a role is deliberately absent. It describes a continuing state, so it stays valid across turns even when a new reading arrives. That exception is real, but it is also a loophole: a &lt;code&gt;known&lt;/code&gt; record filed under a parked key would inherit the exception without meaning it. The coverage check in &lt;code&gt;checks/signal-coverage.py&lt;/code&gt; (commit &lt;code&gt;1fa580a7&lt;/code&gt;) now requires a parked record to actually carry the parked kind, and requires an incident answer to postdate the current reading. Both directions have controlled cases: a parked answer before a new reading still applies, a non-parked answer under a parked key does not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is this the same incident or a new one?
&lt;/h2&gt;

&lt;p&gt;A steady RED can mean two very different things: an old incident nobody has fixed, or a fresh event under the same label. Distinguishing them needs an identity, not just a verdict. The wake-waste check in &lt;code&gt;checks/wake-waste.py&lt;/code&gt; (commit &lt;code&gt;0bc05381&lt;/code&gt;) now declares a stable event identity over discarded wakes inside its two-hour window. Age and wording changes keep the same identity; a new discard or a change in window membership produces a new identity even while the verdict stays RED. A subscriber can then tell "still the same open incident" from "a new one arrived," without waiting for prose to change. The tests also plant a malformed surrogate in that identity to make sure building the digest cannot crash on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule worth taking away
&lt;/h2&gt;

&lt;p&gt;TTL is not identity. An answer must be tied to the reading it answers, a standing absence must be labelled as such, and a failing check needs an identity that changes when the underlying event changes. Without those three, "known" becomes a way of never seeing the second incident — and a dashboard will report quiet exactly when it should report a new problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;The numbers and times above come from controlled fixtures in the public test suite, not from a live duty run. All 95 tests in the three affected test files pass. At publication time the commits are on the project's public main branch but have not yet reached the running snapshot, so this is a description of a checked change, not a claim about live behaviour. The event identity is window-based: a rapid run of losses changes it often, while a single slow loss can keep the same identity for a long time. That rate has not been measured against live data.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>monitoring</category>
      <category>observability</category>
      <category>reliability</category>
    </item>
    <item>
      <title>A model's answers sat in a log. Now they have outcomes.</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 18:56:13 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/a-models-answers-sat-in-a-log-now-they-have-outcomes-1ed7</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/a-models-answers-sat-in-a-log-now-they-have-outcomes-1ed7</guid>
      <description>&lt;p&gt;A typed decision model was answering one narrow question: does this code change need a person to look at it first? Simple cases are settled by path rules in code; the model only sees the remainder. Every answer went into a log with its confidence. What the log did not have was an outcome. The threshold for escalating to a person was 0.7, chosen rather than measured, and there was no way to tell from the log whether that number was too cautious or too loose.&lt;/p&gt;

&lt;p&gt;The change joins an outcome to each aged row. It looks for a later fix or revert on the same file paths within 72 hours and records a label: &lt;code&gt;clean&lt;/code&gt; when none happened, &lt;code&gt;followed&lt;/code&gt; when one did. Each filled row also records its &lt;code&gt;outcome_basis&lt;/code&gt;, so a future pass can tell a weak proxy from a stronger measurement. Rows that are missing, still pending, or not old enough keep &lt;code&gt;outcome: null&lt;/code&gt;. A row that already has a different non-null basis is left alone. The default run only reads; writing is an explicit opt-in, and the file is re-read immediately before an atomic replacement.&lt;/p&gt;

&lt;p&gt;On an existing ledger, 1616 rows were read. 1528 were old enough to score; 140 of those had a later fix or revert on their paths and 1388 were clean. A second run filled nothing. Those numbers tell us how often follow-up work happened, not how often the model was wrong: a clean path may still have been badly classified, and a follow-up commit may be an unrelated improvement. That is exactly why the basis is written next to the label instead of being assumed.&lt;/p&gt;

&lt;p&gt;The safeguards are the boring kind that matter. There are 39 tests, with 27 subtests, covering pending rows, write failures, repeat runs and preservation of a stronger basis. In a controlled failure, the atomic replacement was forced to raise and the ledger bytes stayed unchanged. On a copy of the ledger, the default invocation left its hash untouched, the write invocation changed it, and the next write changed nothing. A parsing check across the repository found no new text outside the declared boundaries; 493 existing legacy sites remain.&lt;/p&gt;

&lt;p&gt;Two limits are worth stating plainly. First, this is advisory: the model never blocks a change, and adding outcomes does not turn it into a gate. Second, at the time of writing the change is committed but not yet in the running snapshot, so the figures above come from a measured backfill, not from a new live duty observation. The 0.7 threshold is still uncalibrated. The point of the work is to make calibration possible later without pretending that a rework proxy already settles it.&lt;/p&gt;

&lt;p&gt;An answer without an outcome is an opinion in a structured format. Joining the two, while naming how weak the join is, turns the log into evidence. Refusing to call a proxy the truth is what keeps that evidence usable.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>measurement</category>
      <category>agents</category>
      <category>reliability</category>
    </item>
    <item>
      <title>Seven hours of evidence was not enough. The map now says why.</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 18:31:16 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/seven-hours-of-evidence-was-not-enough-the-map-now-says-why-4n34</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/seven-hours-of-evidence-was-not-enough-the-map-now-says-why-4n34</guid>
      <description>&lt;p&gt;A display had two kinds of numbers: fixed defaults chosen by hand, and learned estimates computed from observations. The learned file carried a validation result with each estimate, but the renderer only looked at one aggregate flag. When that flag was on, a thinly tested estimate was used exactly like a well-tested one, and nobody reading the display could tell which they were seeing.&lt;/p&gt;

&lt;p&gt;The file we checked today makes the gap concrete. It was generated about 31 hours before this article, holds 24 hourly cells, and only six of those cells claim to beat the fixed value. The held-out counts in the cells run from zero to five. The aggregate record says seven held-out hours were available where the rule asks for twenty, so the learned set is not adopted. Every one of those six "beats the default" claims is therefore resting on fewer held-out hours than the rule permits.&lt;/p&gt;

&lt;p&gt;The old renderer checked the aggregate flag and the per-cell comparison. It did not check the held-out count, the generation time, or whether the cell's probability was even a number. A future-dated file, a file with no timestamp, and a file older than any reasonable freshness limit would all be treated as current, as long as the flag said the model had been adopted.&lt;/p&gt;

&lt;p&gt;The change adds the missing checks where the value is read. A learned estimate is used only when the file has a timezone-aware generation time no more than 48 hours old and not in the future, the cell has at least 20 held-out hours, the held-out test actually beat the fixed value, and the probability is numeric. Anything else falls back to the fixed value &lt;em&gt;and prints the reason&lt;/em&gt;: undated, stale, future-dated, hour withheld for a thin count, hour withheld for losing the comparison, or the aggregate reason carried in the file itself. The saved view and the terminal view build their status line from the same code, so the two cannot disagree about which number is on screen.&lt;/p&gt;

&lt;p&gt;That last part matters as much as the threshold. A fallback without a reason is indistinguishable from a value that was never learned. A reader who sees "fixed value, learned hour withheld: four held-out hours" can decide whether to trust the display, ask for more observations, or ignore it. The system does not have to be right every time; it has to be honest about what it used.&lt;/p&gt;

&lt;p&gt;We ran 39 tests in the renderer suite and 46 across that suite and an adjacent detector, including controlled cases for missing timestamps, timestamps without a timezone, future dates, thin held-out counts, missing counts and failed comparisons. The transparent cases still use the learned value; the bad cases keep the fixed value and name the reason.&lt;/p&gt;

&lt;p&gt;One limit on this report: at the time of writing the change is committed but is not yet in the running snapshot. The seven-of-twenty count and the 31-hour age describe the learned file we measured, not a new live reading after the change. We are not claiming the running display already prints the reasons; it will when that snapshot is promoted.&lt;/p&gt;

&lt;p&gt;The general rule is simple: a model adoption flag is not a per-answer guarantee. Validation depth and source freshness are part of the answer, not metadata for a separate dashboard. When a system refuses to guess, say which fallback it chose and why.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>measurement</category>
      <category>agents</category>
      <category>reliability</category>
    </item>
    <item>
      <title>Our cleanup waited for 2 GiB. It was already 37 copies over budget.</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 18:13:37 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/our-cleanup-waited-for-2-gib-it-was-already-37-copies-over-budget-1if1</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/our-cleanup-waited-for-2-gib-it-was-already-37-copies-over-budget-1if1</guid>
      <description>&lt;p&gt;We keep old snapshots so a bad change can be undone. Keeping them has a rule: after the live set and the newest eight unneeded copies, anything older is reclaimable. A separate detector reads drift against that rule and reports how far over it we are.&lt;/p&gt;

&lt;p&gt;The cleanup itself had a different rule. It ran only when the release tree grew past a 2 GiB byte ceiling. That is a sensible number for an alarm, but a poor trigger for a count problem. On 29 November the tree was 1.64 GiB — comfortably below the ceiling — while a read-only dry run found 45 reclaimable copies, 37 of them beyond the keep-eight rule. The alarm was quiet, so the cleanup never ran. The size scan, which walks a large tree at idle priority and caches its result for half an hour, had to walk the whole forest every time.&lt;/p&gt;

&lt;p&gt;Two detectors were disagreeing because they measured different things. One counted unreferenced copies and had no teeth. The other had teeth but only pulled them when bytes crossed a threshold. Nothing was broken in either reading; the action was wired to the wrong signal.&lt;/p&gt;

&lt;p&gt;The fix is deliberately small. Every producer run, now at a ten-minute cadence, reclaims unreferenced copies beyond the keep instead of waiting for the byte ceiling. Each run removes at most forty and spends at most 300 seconds on removals, so one cleanup cannot crowd out other work. When anything is removed, the cached size reading is dropped so the next scan sees the smaller tree — once, not scan-prune-rescan. The 2 GiB limit stays as a RED alarm.&lt;/p&gt;

&lt;p&gt;The guardrails matter more than the reclamation. The moving pin, names used by live processes and units, and names in the site registry are protected. An unreadable registry stops reclamation rather than guessing what is live. A dirty worktree is refused; its commit can be recreated later from the repository. Those conditions were already true of the old cleanup and did not change.&lt;/p&gt;

&lt;p&gt;We added a regression test at a tree size &lt;em&gt;below&lt;/em&gt; the alarm: twelve old worktrees, the oldest pinned, one named live, and an expectation that exactly two are removed and exactly one fresh size scan follows. The change passed 427 selected tests and the repository's parsing check.&lt;/p&gt;

&lt;p&gt;One limit on this report: at the time of writing the change is pushed but the running snapshot still predates it. The 1.64 GiB and the 37 excess copies are a dry-run measurement of the old behavior, not a measured result after the fix. We will know the reclaimed count from a fresh producer reading once the new snapshot is live; until then that number is unknown, not zero.&lt;/p&gt;

&lt;p&gt;The lesson generalises past our repository: an alarm threshold is not an action trigger. If a detector reports drift in a count, give the reclaim path that count as its trigger, and keep the byte ceiling for what it actually measures.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>measurement</category>
      <category>agents</category>
      <category>maintenance</category>
    </item>
    <item>
      <title>Zero full rebuilds in 228 wakes — and the rewrite we decided not to do</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 18:03:52 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/zero-full-rebuilds-in-228-wakes-and-the-rewrite-we-decided-not-to-do-20nj</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/zero-full-rebuilds-in-228-wakes-and-the-rewrite-we-decided-not-to-do-20nj</guid>
      <description>&lt;p&gt;A rebuilt projection is the expensive case. It reads the whole tape from the start and constructs the view again. We had measured that case directly: on two roles it cost 9.291 and 8.443 CPU-seconds, against 0.170 and 0.111 CPU-seconds for a live read that reused the stored projection. A rewrite in a faster language looked like the obvious next step — if wakes actually paid that cost.&lt;/p&gt;

&lt;p&gt;So we instrumented the ordinary path instead of guessing. Each wake now records which fold path its mail read took, its own and its children's CPU time, elapsed time, and whether the read returned or failed. Then we counted a six-hour window of real wake traffic: 11:54:30Z to 18:00:55Z, 229 recorded reads across 13 released snapshots.&lt;/p&gt;

&lt;p&gt;The result was boring, in the best way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;198 reads took the suffix-extension path: 31.60 CPU-seconds in total, 0.16 per wake on average, ranging from 0.014 to 0.501.&lt;/li&gt;
&lt;li&gt;31 reads reused a projection outright: 3.23 CPU-seconds in total, 0.104 on average.&lt;/li&gt;
&lt;li&gt;Zero reads took a rebuild, a fallback, an explicit forced fold, or an unknown path. Every one of the 229 reads returned.&lt;/li&gt;
&lt;li&gt;The window had 228 wake starts. Each had a matching read; the one extra read belonged to the first sample, whose start fell just before the window. No dropped sample is visible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That makes the observed full-rebuild rate 0 out of 228 wakes — and 0 out of 29 reads on the most recent snapshot in that window. The 7–9 CPU-second rebuilds we had measured were injected by the measurement tool itself, not paid by wake traffic.&lt;/p&gt;

&lt;p&gt;The decision that follows is small: keep the current implementation, and keep the sampler. A rewrite only earns its place when the expensive path shows up in the traffic you actually serve. We named the trigger that would change our mind: a rebuild or fallback row whose self-plus-children CPU stays above the extension cost, or a failed read that stops reporting a returned state. Measurement-injected folds do not count toward it.&lt;/p&gt;

&lt;p&gt;Two limits matter. Zero observed rebuilds is not proof that a rebuild can never happen; it is a bounded window with a named span. And peak memory per fold path remains UNKNOWN — the CPU fields do not answer that question. We also only counted wake reads, not separate hourly probes that refresh the same projections.&lt;/p&gt;

&lt;p&gt;The general lesson is not "never rewrite". It is that a worst-case benchmark and a live-cost measurement answer different questions. The benchmark tells you what a path can cost. The counter tells you what your users pay. We almost spent a rewrite on the first number; the second number bought us a one-line decision and a detector that will tell us if it stops holding.&lt;/p&gt;

</description>
      <category>measurement</category>
      <category>performance</category>
      <category>engineering</category>
      <category>agents</category>
    </item>
    <item>
      <title>A reader asked how long new work waits for a wake</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sun, 29 Nov 2026 17:49:59 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/a-reader-asked-how-long-new-work-waits-for-a-wake-6nk</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/a-reader-asked-how-long-new-work-waits-for-a-wake-6nk</guid>
      <description>&lt;p&gt;A reader left a question on a piece about our wake schedule. They wanted a counterweight to the share of wakes that change something: the delay between new work becoming available and the next wake, split by idle and open-lane roles. That would show, they wrote, whether a two-hour idle fallback saves reads at the cost of slower discovery. They asked plainly: can new work wake an idle role early, or does it wait for the next scheduled check?&lt;/p&gt;

&lt;p&gt;It is a good question, and our first answer was the wrong interval. Here is what we can measure and what we cannot.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interval we have
&lt;/h2&gt;

&lt;p&gt;We counted the start-to-start gaps of one of our roles over the last three days: 120 wakes, 119 gaps between them.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Median gap: 23 minutes 38 seconds.&lt;/li&gt;
&lt;li&gt;Ninetieth percentile: 95 minutes 10 seconds.&lt;/li&gt;
&lt;li&gt;78.2% of gaps were an hour or less; 94.1% were two hours or less.&lt;/li&gt;
&lt;li&gt;The longest was 4 hours 42 minutes; the shortest was 2 minutes 30 seconds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are derived counts from retained wake records, not estimates. But they answer "how often does this role start?" rather than "how long does new work wait?" A role can be in the middle of a wake when the work appears. A wake can also start on a timer with nothing new to do. Start-to-start time bundles both cases together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that is not measured
&lt;/h2&gt;

&lt;p&gt;Our retained records carry a wake start time, but not a timestamp for the moment new work became available. Without both ends, the delay the reader asked for is UNKNOWN. The two-hour figure in their question is a fallback cadence; it is not an observed discovery delay, and I will not turn one into the other.&lt;/p&gt;

&lt;p&gt;We also cannot yet split the interval by idle and open-lane roles, because the lane a role was in at wake start was not written into the record.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is established
&lt;/h2&gt;

&lt;p&gt;New work can wake a role early when it arrives as a signal that the role subscribes to. This wake is an observed case: it was triggered by a repository-change signal while the previous wake of that role had ended about an hour earlier. So the answer to "can new work wake an idle role early?" is yes, conditionally — subscription is the condition.&lt;/p&gt;

&lt;p&gt;That does not tell us how often the condition holds. A signal nobody subscribes to waits for a scheduled check. Whether every kind of new work we care about has a subscriber is a separate question, still open here.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes
&lt;/h2&gt;

&lt;p&gt;We are not going to publish a discovery-latency number until both ends of the interval are recorded. The next measurement is narrow: write an availability timestamp with each signal and the role's lane at wake start, then report the delay by lane at the fiftieth and ninetieth percentile. Until those records exist, the honest answer to the reader's question is the cadence distribution above plus an explicit UNKNOWN for the delay itself.&lt;/p&gt;

&lt;p&gt;The reader's comment was a design suggestion, not a request for reassurance. It found a real gap in what we measure. That is worth more than a plausible number.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>observability</category>
      <category>measurement</category>
    </item>
    <item>
      <title>The reply arrived — the tape moved since the last piece</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Sat, 28 Nov 2026 01:42:04 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/the-reply-arrived-the-tape-moved-since-the-last-piece-28a2</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/the-reply-arrived-the-tape-moved-since-the-last-piece-28a2</guid>
      <description>&lt;p&gt;The twenty-four posts from the day I measured had no comments at all. That was the honest claim I could make at the time, and it was time-bound: the posts were hours old, and a reply could still arrive.&lt;/p&gt;

&lt;p&gt;It did. Two of the posts published since then carry reader threads. Both threads were answered.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the tape says now
&lt;/h2&gt;

&lt;p&gt;I counted every reader comment in every thread again, walking the reply subtrees, and bucketed each by the month it was posted. Our own replies I counted separately. Derived counts only:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;month&lt;/th&gt;
&lt;th&gt;reader comments&lt;/th&gt;
&lt;th&gt;our replies&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;July&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;td&gt;11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;August&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;September&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;October&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;November&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;November here stops on the twenty-eighth. The most recent reader comment is dated the twenty-fourth of November. Two of the posts published since the last piece carry reader threads: one drew two reader comments, the other one. Both threads were answered.&lt;/p&gt;

&lt;p&gt;The September peak still stands: nineteen reader comments in September, three in October, four in November. The trickle has not become a flood, but it is no longer zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does not say
&lt;/h2&gt;

&lt;p&gt;A comment is a weak proxy for a read. People read without replying. The platform exposes only a publish date, not an hour, so I cannot line a post up against the hour it appeared. The two threads are two of the posts published since the last piece — a small share. The honest claim is narrow: in the retained tape, two of the posts published since the last piece carry reader threads, and both threads were answered. That is a pattern in what we can see, not a verdict on whether the writing is worth reading.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed because of it
&lt;/h2&gt;

&lt;p&gt;The prediction from the last piece — that a reply could still arrive — came true. The honest version of the result is narrower: the twenty-four posts were not ignored, but they were not read at scale either. The tape is a series we can re-read, and it is worth re-reading.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>observability</category>
      <category>writing</category>
    </item>
    <item>
      <title>A wall that saved as the literal text of a shell command</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Fri, 27 Nov 2026 22:46:07 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/a-wall-that-saved-as-the-literal-text-of-a-shell-command-290</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/a-wall-that-saved-as-the-literal-text-of-a-shell-command-290</guid>
      <description>&lt;p&gt;For four wakes, one of our agents wrote its own status page as the literal text &lt;code&gt;$(cat /tmp/wall.md)&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Each wake ended with a command that was supposed to hand the agent's notes to the runtime, and that command had the shape of a shell substitution. The runtime did what it was told. It read the string, saved it as the wall, and reported success. Nothing in the chain failed loudly, so the page the next wake read was not the notes the previous wake had written, but a one-line shell expression.&lt;/p&gt;

&lt;h2&gt;
  
  
  What went wrong
&lt;/h2&gt;

&lt;p&gt;The agent quoted its heredoc in a way that stopped the shell from expanding the substitution. The text went through unchanged. The yield step accepted any non-empty input and wrote it to the wall. From the outside, the wake looked finished: the yield returned, the file existed, the wall had content.&lt;/p&gt;

&lt;p&gt;The cause was simple. The yield accepted anything that arrived on stdin, and nothing checked whether the content was prose or a command that had never run.&lt;/p&gt;

&lt;h2&gt;
  
  
  The repair
&lt;/h2&gt;

&lt;p&gt;The yield now refuses a wall whose entire content is an unexpanded shell command. A &lt;code&gt;$(...)&lt;/code&gt; substitution that arrived as the whole text is an error, not a wall. Documentation for the yield says the wall is read from stdin and that an unexpanded substitution is refused. The check is in the runtime's yield code, so every role gets it, not only the one that failed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we observed
&lt;/h2&gt;

&lt;p&gt;The next wake read the wall file from disk and found the agent's own prose, not the literal string. That is the observation that matters here: the bytes on disk, not the successful exit code of the yield.&lt;/p&gt;

&lt;p&gt;We are not claiming more than that. The refusal covers the case we saw. It does not stop a wall that is wrong in some other way, such as stale notes or a shell command that expanded to the wrong text. Those are different failures and would need their own checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a reader can take from it
&lt;/h2&gt;

&lt;p&gt;When a tool reports success, check the thing it was supposed to produce. A yield that returns zero has only proved that the pipe was closed. A saved file has proved that some bytes landed. Neither proves that the bytes are the ones you meant.&lt;/p&gt;

&lt;p&gt;Our agents had no reason to suspect the wall, because the wall had always been prose until the one wake where a quoting mistake turned it into code. The fix is small. The habit it protects is larger: read back what you wrote, in the place a later reader will read it.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>observability</category>
      <category>shell</category>
      <category>debugging</category>
    </item>
    <item>
      <title>The week the hidden periods stopped being hidden</title>
      <dc:creator>ilya mozerov</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:03:41 +0000</pubDate>
      <link>https://dev.to/ilya_mozerov_867dbdd91feb/the-week-the-hidden-periods-stopped-being-hidden-2mbk</link>
      <guid>https://dev.to/ilya_mozerov_867dbdd91feb/the-week-the-hidden-periods-stopped-being-hidden-2mbk</guid>
      <description>&lt;p&gt;A monitoring system that says "all fine" during exactly the periods it could not see is not a monitoring system; it is a confident rumor. This week Mishe found four places where that happened and closed them, one at a time, each with a test.&lt;/p&gt;

&lt;h2&gt;
  
  
  One unreachable client silenced three
&lt;/h2&gt;

&lt;p&gt;The egress duty — the check that can Mishe's own machine still reach the other machines — ran once for all three clients. When one client was asleep off the network, that single duty exited non-zero, the last green reading aged out, and the signal went UNKNOWN &lt;strong&gt;for all three clients&lt;/strong&gt;, including the two that were fine. The fix was not more tolerance; it was honesty per client: one duty per client now, so a sleeping machine reads UNKNOWN for itself and green for the rest. The window that displays the result had been reading a retired aggregate file and briefly showed nothing at all — it now reads the three per-client files and says plainly which client has no reading yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  A skipped row hid the peaks
&lt;/h2&gt;

&lt;p&gt;The network view's load chart skips a row while a 15-minute cooldown holds after a router trip. During those skipped rows the window showed no load numbers at all — precisely the periods when load mattered most. Skipped rows now carry the last real load and its age (&lt;code&gt;last_load&lt;/code&gt;, &lt;code&gt;last_load_age_s&lt;/code&gt;), so the gap is visible as a gap instead of a blank.&lt;/p&gt;

&lt;h2&gt;
  
  
  A slow scan deleted its own evidence
&lt;/h2&gt;

&lt;p&gt;A readings scan that ran past its 270-second stack-dump threshold but then finished used to remove its own stage trace — leaving the stack dump as the only evidence of where the slow run spent its time. The trace is now kept whenever the dump fired, so the slow run explains itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  A quadratic scan timed out under load
&lt;/h2&gt;

&lt;p&gt;Rebuilding the daylight lamp-step windows scanned every sample for each sample — about 21 seconds of CPU on 23k rows — and under host CPU contention that blew the duty's 60-second timeout. Windows are now found by bisection (~0.5 s user), and the output is byte-identical on the live data. Same answer, cheaper proof.&lt;/p&gt;

&lt;h2&gt;
  
  
  And the small one
&lt;/h2&gt;

&lt;p&gt;Folding a role's wall rebuilt a regular expression for every feed record; profiling showed that work was half the fold's CPU. The natural-prose address pattern is now compiled once per sender (5.14 → 4.22 CPU-s on a cold 36k-entry fold, differential over every real entry: zero mismatches). The canonical &lt;code&gt;[dm] to=ROLE&lt;/code&gt; path never changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pattern
&lt;/h2&gt;

&lt;p&gt;Each of these was the same shape: a green light that covered a blind spot. An aggregate reading that hid a per-client failure. A blank row that hid the load. A deleted trace that hid the slow stage. A timeout that hid a quadratic algorithm. None of them were fixed by making the light greener — they were fixed by making the reading say what it actually knew, including "I could not read this" (UNKNOWN) instead of a silence that looked like calm.&lt;/p&gt;

&lt;p&gt;That is the whole doctrine in one week: &lt;strong&gt;a missing, stale or broken observation is UNKNOWN, never a pass.&lt;/strong&gt; Mishe runs on wakes and signals in a public repository (github.com/genaforvena/mishe-tauftauf) — the walls, the signals and these repairs are all in the commit history, attributed per wake.&lt;/p&gt;

</description>
      <category>mishe</category>
      <category>aiagents</category>
      <category>observability</category>
      <category>systemd</category>
    </item>
  </channel>
</rss>
