<?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: Miguel Shinyenyi</title>
    <description>The latest articles on DEV Community by Miguel Shinyenyi (@miguel_shinyenyi_e2291c8c).</description>
    <link>https://dev.to/miguel_shinyenyi_e2291c8c</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%2F2292980%2F4251fa04-8b57-4cec-bc4a-88c1a8ac7a2a.jpg</url>
      <title>DEV Community: Miguel Shinyenyi</title>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/miguel_shinyenyi_e2291c8c"/>
    <language>en</language>
    <item>
      <title>The will at the end of Marvel films</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Tue, 01 Dec 2026 12:16:26 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/the-will-at-the-end-of-marvel-films-i01</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/the-will-at-the-end-of-marvel-films-i01</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;Many Marvel endings turn on what a character chooses, not on a bigger weapon.&lt;/p&gt;

&lt;p&gt;I wanted to check that, so I read articles about four endings. This is my opinion. I picked the four films, so this shows a pattern in those films, not a rule for the studio.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four endings
&lt;/h2&gt;

&lt;p&gt;Doctor Strange (2016). Strange does not beat Dormammu by force. He traps him in a time loop, dies again and again, and then offers a bargain. A Den of Geek writer calls the ending quietly radical because no punches are thrown. The article does not credit willpower directly. The persistence is my reading.&lt;/p&gt;

&lt;p&gt;Captain America: The First Avenger (2011). The Red Skull's bomber is on autopilot and threatens New York. Steve decides to crash it into the water. Peggy begs him over the radio to find another way. He says he must do it, and he loses the life he planned with her.&lt;/p&gt;

&lt;p&gt;Avengers: Endgame (2019). Tony takes the Infinity Stones and uses them to destroy Thanos and his army. It costs him his life. The Hollywood Reporter describes it as a deliberate sacrifice.&lt;/p&gt;

&lt;p&gt;Doctor Strange in the Multiverse of Madness (2022). Wanda destroys the Darkhold in every reality and dies on Mount Wundagore. Den of Geek reads it as repentance after she sees she is a danger to Billy and Tommy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they share
&lt;/h2&gt;

&lt;p&gt;In all four, the ending depends on a choice that costs the character something. Strange gives up winning by force. Steve gives up his future with Peggy. Tony gives up his life. Wanda gives up her life and the book's power.&lt;/p&gt;

&lt;p&gt;I did not expect that part. I thought will meant pushing harder. In these endings, will shows in what a character agrees to pay.&lt;/p&gt;

&lt;h2&gt;
  
  
  A film that does not fit
&lt;/h2&gt;

&lt;p&gt;A Slashfilm reviewer says the final battle in Shang-Chi carries little weight. The father's motives shift to suit the plot, and the son's doubt about killing him arrives too late to feel earned.&lt;/p&gt;

&lt;p&gt;This is one critic's view. It still points at something. A choice at the end is not enough. The story has to set it up.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it connects to my last article
&lt;/h2&gt;

&lt;p&gt;In my last article I wrote that a child's will should not be put down. It should be made workable.&lt;/p&gt;

&lt;p&gt;Wanda's will to get her sons drove the whole film. At the end she points it at stopping herself. Strange's will becomes a loop and a bargain instead of a fight. In both, the will is given a shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits I can see
&lt;/h2&gt;

&lt;p&gt;I chose four films and they fit my idea. I read articles about the endings, not the scripts.&lt;/p&gt;

&lt;p&gt;Superhero deaths are often temporary. The article on Wanda notes she could return.&lt;/p&gt;

&lt;p&gt;This may be a normal way to end any story, not something special to Marvel.&lt;/p&gt;

&lt;p&gt;I also made a mistake while checking. I first told someone that Strange wins by willpower. The article I read says he outwitted Dormammu and does not use that word. I changed my wording.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do this week
&lt;/h2&gt;

&lt;p&gt;Pick one story you like.&lt;/p&gt;

&lt;p&gt;Write one sentence on what the hero gives up at the end. Then write one sentence on what you gave up for a goal in the last month.&lt;/p&gt;

&lt;p&gt;Put a date one week out in your calendar to check if your answer changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Four Marvel endings in my list turn on a choice, not a bigger weapon.&lt;/li&gt;
&lt;li&gt;In each, the character pays something, and the payment shows the will.&lt;/li&gt;
&lt;li&gt;A choice only lands when the story set it up. Shang-Chi is one critic's example of a miss.&lt;/li&gt;
&lt;li&gt;A will needs a shape, which links to my last article.&lt;/li&gt;
&lt;li&gt;Four films is a small sample. Treat this as a pattern to test.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I will check what I am willing to give up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;p&gt;Den of Geek, The Quietly Radical Ending of Doctor Strange: &lt;a href="https://www.denofgeek.com/movies/the-quietly-radical-ending-of-doctor-strange/" rel="noopener noreferrer"&gt;https://www.denofgeek.com/movies/the-quietly-radical-ending-of-doctor-strange/&lt;/a&gt;&lt;br&gt;
Den of Geek, Multiverse of Madness ending explained: &lt;a href="https://www.denofgeek.com/movies/doctor-strange-multiverse-of-madness-ending-mcu/" rel="noopener noreferrer"&gt;https://www.denofgeek.com/movies/doctor-strange-multiverse-of-madness-ending-mcu/&lt;/a&gt;&lt;br&gt;
The Hollywood Reporter, Avengers: Endgame ending: &lt;a href="https://www.hollywoodreporter.com/heat-vision/avengers-endgame-ending-iron-man-captain-america-black-widow-fates-revealed-1204855" rel="noopener noreferrer"&gt;https://www.hollywoodreporter.com/heat-vision/avengers-endgame-ending-iron-man-captain-america-black-widow-fates-revealed-1204855&lt;/a&gt;&lt;br&gt;
Looper, The Ending of Captain America: The First Avenger explained: &lt;a href="https://www.looper.com/342657/the-ending-of-captain-america-the-first-avenger-explained/" rel="noopener noreferrer"&gt;https://www.looper.com/342657/the-ending-of-captain-america-the-first-avenger-explained/&lt;/a&gt;&lt;br&gt;
Slashfilm, Shang-Chi spoiler review: &lt;a href="https://www.slashfilm.com/597152/shang-chi-and-the-legend-of-the-ten-rings-spoiler-review-marvels-typical-third-act-problems-start-at-the-beginning" rel="noopener noreferrer"&gt;https://www.slashfilm.com/597152/shang-chi-and-the-legend-of-the-ten-rings-spoiler-review-marvels-typical-third-act-problems-start-at-the-beginning&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/marvel-will/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>film</category>
      <category>opinion</category>
    </item>
    <item>
      <title>Piggybacking, validation and the will</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Mon, 30 Nov 2026 17:43:48 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/piggybacking-validation-and-the-will-2bbe</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/piggybacking-validation-and-the-will-2bbe</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;I wrote five lines in my notes today.&lt;/p&gt;

&lt;p&gt;People who piggyback.&lt;/p&gt;

&lt;p&gt;They piggyback on people who have nothing, then the anger comes out.&lt;/p&gt;

&lt;p&gt;Push things out there, and out there will validate you, not the people around you.&lt;/p&gt;

&lt;p&gt;A story actually landing. Lessons from the story. Do people actually get the lessons and work towards them? Debatable.&lt;/p&gt;

&lt;p&gt;A child's will should not be put down. It should be made workable.&lt;/p&gt;

&lt;p&gt;These are separate notes, not one argument. I think they connect, and I will say how. This is my opinion. I have not tested it beyond what I have seen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Piggybacking
&lt;/h2&gt;

&lt;p&gt;By piggybacking I mean living off someone else's effort, money, name or energy without building anything of your own.&lt;/p&gt;

&lt;p&gt;My note says they pick people who have nothing. I think that is because those people cannot say no. They have no other options, so they stay.&lt;/p&gt;

&lt;p&gt;Then the anger comes out. I think it comes from the piggybacker. Depending on someone else means you cannot control your own outcome, and that is a bad place to be. The anger is aimed at the person carrying you, because that person is the nearest target.&lt;/p&gt;

&lt;p&gt;I am describing a pattern I have seen. I do not know every case. Asking for help is not piggybacking. The difference is whether you are building something yourself while you take it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Validation from out there
&lt;/h2&gt;

&lt;p&gt;My note says to push your work out, because out there will validate you, not the people around you.&lt;/p&gt;

&lt;p&gt;People close to you know your old version. They remember who you were last year. They also have a stake in you staying the same. Strangers see only what you made.&lt;/p&gt;

&lt;p&gt;This is why I publish. A stranger who reads an article of mine owes me nothing, so their reaction tells me something real.&lt;/p&gt;

&lt;p&gt;There is a risk. If you only work for outside approval, you hand your direction to people who do not know you. Use the outside to test your work. Do not use it to decide who you are.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do the lessons land?
&lt;/h2&gt;

&lt;p&gt;A story can land. You feel it. Then you ask whether people take the lesson and work towards it.&lt;/p&gt;

&lt;p&gt;I think often they do not. Feeling something and doing something are different. A good story can give you the feeling of having learned, and the feeling can replace the work.&lt;/p&gt;

&lt;p&gt;My note ends with "debatable," and I agree. I have no data on how many people act on a story. I can only check myself. Pick the last story that moved you and ask what you changed afterwards.&lt;/p&gt;

&lt;h2&gt;
  
  
  A child's will
&lt;/h2&gt;

&lt;p&gt;My last note says a child's will should not be put down. It should be made workable.&lt;/p&gt;

&lt;p&gt;I read "will" as the drive to do things their own way. Putting it down teaches a child that wanting is wrong. Making it workable means keeping the drive and giving it a shape, such as limits, a task or a choice between two options.&lt;/p&gt;

&lt;p&gt;I am not a parent, so this is an outside view. I cannot say how it works at 2 a.m. with a child who will not stop.&lt;/p&gt;

&lt;h2&gt;
  
  
  How they connect
&lt;/h2&gt;

&lt;p&gt;A piggybacker never got a workable will of their own, so they lean on someone else's. Outside validation tests your will against strangers. A story is useful only if it moves your will to act.&lt;/p&gt;

&lt;p&gt;I think one thread runs through all five: what you do with your own drive decides whether you carry yourself or someone else carries you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits I can see
&lt;/h2&gt;

&lt;p&gt;I wrote these lines on one day, in different moods. The links are mine, added afterwards.&lt;/p&gt;

&lt;p&gt;I have not checked any of this against research. I have only watched people and myself.&lt;/p&gt;

&lt;p&gt;Some people who lean on others are in real need. Judge the pattern, not the person.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do this week
&lt;/h2&gt;

&lt;p&gt;Pick one of the five lines that stung.&lt;/p&gt;

&lt;p&gt;Write one sentence on where it applies to you. Are you carrying anyone, or being carried? Are you seeking validation from the wrong place? Did your last story change anything?&lt;/p&gt;

&lt;p&gt;Take one action from the answer. Put a date one week out in your calendar to check what happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Piggybacking leaves you unable to control your own outcome, and the anger follows.&lt;/li&gt;
&lt;li&gt;Strangers test your work. People close to you test your old version.&lt;/li&gt;
&lt;li&gt;Use outside validation to check your work, not to choose your direction.&lt;/li&gt;
&lt;li&gt;A story that moves you has done nothing until you act on it.&lt;/li&gt;
&lt;li&gt;Do not put a will down. Give it a shape.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I will check where I am leaning, and what I have changed.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/piggyback-validation-will/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>opinion</category>
      <category>people</category>
    </item>
    <item>
      <title>Sijali</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Mon, 30 Nov 2026 14:09:23 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/sijali-5fjl</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/sijali-5fjl</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;I wrote these lines in my notes today.&lt;/p&gt;

&lt;p&gt;Sijali. People's response towards truth is sijali.&lt;/p&gt;

&lt;p&gt;I don't care about the truth. I want what I want.&lt;/p&gt;

&lt;p&gt;People who say sijali cannot do the work.&lt;/p&gt;

&lt;p&gt;Sijali is Swahili for "I don't care." I think this is a common answer to a hard truth, and I think it costs more than people expect. This is my opinion. I have not tested it beyond what I have seen and read.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the answer says
&lt;/h2&gt;

&lt;p&gt;"I don't care about the truth, I want what I want" sounds strong. It ends the discussion. Nobody can argue with someone who refuses to look.&lt;/p&gt;

&lt;p&gt;It also protects a belief or a habit from being checked. If the truth is that your plan has a flaw, saying sijali means the flaw stays. The flaw does not care that you do not care.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the work does not get done
&lt;/h2&gt;

&lt;p&gt;Work depends on facts. To fix a bug you have to know what the bug is. To improve a habit you have to know what the habit does. To repair a relationship you have to know what went wrong.&lt;/p&gt;

&lt;p&gt;If you refuse the facts, you can still act. You act on what you want, not on what is there. The result is effort that misses the problem.&lt;/p&gt;

&lt;p&gt;That is what I mean by "cannot do the work." The person may be able and willing. The refusal to look at the truth removes the starting point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rick
&lt;/h2&gt;

&lt;p&gt;In the Rick and Morty conversation with the therapist, as I remember it, she talks about work and about how Rick, the smartest person in his universe, does not do it. I am working from memory and have not rewatched the scene, so I am not quoting it.&lt;/p&gt;

&lt;p&gt;Rick is a fictional character, so he proves nothing. He shows the pattern clearly. Intelligence gives you more ways to see the truth. It does not make you look at it. A smart person who says sijali has more tools and uses fewer of them.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it hurts people
&lt;/h2&gt;

&lt;p&gt;Here is how I think this attitude damages people over time.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The problem stays. Nothing you ignore gets fixed by being ignored.&lt;/li&gt;
&lt;li&gt;The cost grows. Small flaws that go unchecked become larger ones.&lt;/li&gt;
&lt;li&gt;People around you pay. They deal with the result, and they see you refuse to look.&lt;/li&gt;
&lt;li&gt;You lose the habit of checking yourself against what is real, and each refusal makes the next one easier.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The limits I can see
&lt;/h2&gt;

&lt;p&gt;Not caring is sometimes right. You cannot care about everything. Ignoring a stranger's opinion of your haircut is a good use of "sijali."&lt;/p&gt;

&lt;p&gt;Sijali can also be a sign of exhaustion. A person who says it after months of effort may need rest or help, not a lecture. If that is you, tell one person.&lt;/p&gt;

&lt;p&gt;I also do not know that every person who says it cannot do the work. I know I have seen it stop work, and I have caught myself doing it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do this week
&lt;/h2&gt;

&lt;p&gt;Pick one truth you have been answering with "sijali."&lt;/p&gt;

&lt;p&gt;Write it in one sentence. Write what it costs you to ignore it, in numbers if you can, such as hours, money or missed days.&lt;/p&gt;

&lt;p&gt;Take the smallest action that faces it. Put a date one week out in your calendar to check what changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Sijali about the truth ends the discussion and leaves the problem.&lt;/li&gt;
&lt;li&gt;Work depends on facts, and refusing the facts removes the starting point.&lt;/li&gt;
&lt;li&gt;Intelligence gives you tools. You still have to look.&lt;/li&gt;
&lt;li&gt;Not caring is fine about small things and costly about the ones that matter.&lt;/li&gt;
&lt;li&gt;Pick one truth. Write the cost. Act on it this week.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I will look at the truth I have been ignoring.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/sijali/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>truth</category>
      <category>opinion</category>
    </item>
    <item>
      <title>We are beings trying to understand</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Mon, 30 Nov 2026 12:28:44 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/we-are-beings-trying-to-understand-mml</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/we-are-beings-trying-to-understand-mml</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;I wrote a rough line in my notes today.&lt;/p&gt;

&lt;p&gt;We are beings trying to understand, and the understanding never fully comes.&lt;/p&gt;

&lt;p&gt;I think this describes how people actually live. This is my opinion. I have not tested it against anything beyond what I have seen in my own work and life.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every answer opens a question
&lt;/h2&gt;

&lt;p&gt;You learn how a system works and you find the part you did not know existed. You fix one bug and the fix shows you the next one. You get to know a person for years and they still surprise you.&lt;/p&gt;

&lt;p&gt;This is not a sign you are doing it wrong. It is what understanding looks like from the inside. The edge of what you know moves out as you learn, and there is always more outside it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Waiting for the end costs you
&lt;/h2&gt;

&lt;p&gt;Many people treat understanding as a finish line. They wait until they feel sure before they act.&lt;/p&gt;

&lt;p&gt;I have seen this in engineering. Someone waits to understand a whole codebase before opening a pull request. The codebase changes while they wait, and the day of full understanding never arrives. The same thing happens with a career move, a hard conversation or a project you want to start.&lt;/p&gt;

&lt;p&gt;If understanding never completes, waiting for it means never acting.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can do instead
&lt;/h2&gt;

&lt;p&gt;Work with the understanding you have, and treat it as a draft.&lt;/p&gt;

&lt;p&gt;Write down what you understand. Write down what you do not. Act on the first list. Then check what happened against what you expected, and correct the draft.&lt;/p&gt;

&lt;p&gt;This makes you slower to feel certain and faster to move. You are still trying to understand. You are doing it while you work, not before.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits I can see
&lt;/h2&gt;

&lt;p&gt;Some things can be known well enough. A function with passing tests does what the tests check. A fact you have verified is verified. Saying "never fully" does not make those uncertain.&lt;/p&gt;

&lt;p&gt;The idea can also become an excuse. If I say I can never understand, I can stop trying. That is not what the line says. It says the trying does not end, not that it is pointless.&lt;/p&gt;

&lt;p&gt;My wording was rough, so my reading of it may not be what I meant when I wrote it. I may change it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do this week
&lt;/h2&gt;

&lt;p&gt;Pick one question you have been avoiding until you understand it better.&lt;/p&gt;

&lt;p&gt;Write two lists. What you know. What you do not know. Keep each to five lines.&lt;/p&gt;

&lt;p&gt;Take one action from the first list. Put a date in your calendar, one week out, to check what happened and rewrite the lists.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Understanding never fully arrives. Expect that.&lt;/li&gt;
&lt;li&gt;Each answer shows you the next question.&lt;/li&gt;
&lt;li&gt;Waiting to feel sure means waiting forever.&lt;/li&gt;
&lt;li&gt;Act on a draft of what you know and correct it as you go.&lt;/li&gt;
&lt;li&gt;"Never fully" is not "never at all." Keep trying.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I will keep trying to understand.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/we-are-beings-trying-to-understand/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>understanding</category>
      <category>opinion</category>
    </item>
    <item>
      <title>Drown within yourself or work towards others</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Mon, 30 Nov 2026 11:16:42 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/drown-within-yourself-or-work-towards-others-5bl0</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/drown-within-yourself-or-work-towards-others-5bl0</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;I wrote three lines in my notes this week.&lt;/p&gt;

&lt;p&gt;Actors will people's stories into existence.&lt;br&gt;
Drown within yourself or work towards others.&lt;br&gt;
I will work towards others.&lt;/p&gt;

&lt;p&gt;I think these three lines describe one choice about where your attention goes. This is my opinion. I have not tested it against anything beyond what I have seen and read.&lt;/p&gt;

&lt;h2&gt;
  
  
  An actor gives the attention away
&lt;/h2&gt;

&lt;p&gt;An actor on stage has no story of their own for two hours. They take a stranger's life and make it real. The audience leaves knowing someone they never met. The actor did that by putting their own attention aside.&lt;/p&gt;

&lt;p&gt;You make a smaller version of that choice every day. Your attention goes to your own head or it goes to someone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning inward costs more than it gives
&lt;/h2&gt;

&lt;p&gt;Drugs, drink, scrolling and long nights of replaying old mistakes all point your attention at yourself. Each one gives you a few hours away from your thoughts. Each one takes more of you than it gave, and the thoughts are still there when it ends.&lt;/p&gt;

&lt;p&gt;I am not saying everyone who turns inward is doing something wrong. I am saying the only person in that room is you, and the room gets smaller.&lt;/p&gt;

&lt;h2&gt;
  
  
  Someone else's problem has edges
&lt;/h2&gt;

&lt;p&gt;Another person's problem is real and it has edges. You can finish part of it. A reviewed pull request is done. A message answered is done. Your own thoughts stay the same size, but they stop taking all of the room.&lt;/p&gt;

&lt;h2&gt;
  
  
  A person who found this out
&lt;/h2&gt;

&lt;p&gt;Viktor Frankl, as I know it from commonly told summaries of Man's Search for Meaning, wrote that people find meaning in work they do for something beyond themselves, in other people, and in how they face suffering they cannot avoid. I have not checked this against the book line by line. It is the part that matches what I wrote in my notes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits I can see
&lt;/h2&gt;

&lt;p&gt;Working for others can be another way of hiding. If I help people only so I never look at myself, that is the same turning away with a better reason.&lt;/p&gt;

&lt;p&gt;Some pain needs a doctor or a counselor, not a task list. Helping also tires you. I need rest and I need someone to help me too.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do this week
&lt;/h2&gt;

&lt;p&gt;Pick one person who needs something you can give. One person, not a cause.&lt;/p&gt;

&lt;p&gt;Name the smallest useful thing. A review of their pull request. An hour of your time. A reply to a message you have left for three days.&lt;/p&gt;

&lt;p&gt;Do it this week and put the day in your calendar. Tell no one how it went unless they ask. Repeat next week.&lt;/p&gt;

&lt;p&gt;If you are drowning right now, the first step is not an essay. Tell one person today that things are bad. Then ask for one small thing, so you are working with someone and not alone.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Your attention goes somewhere every day. Choose where.&lt;/li&gt;
&lt;li&gt;Turning inward gives a few hours and takes more than it gave.&lt;/li&gt;
&lt;li&gt;Someone else's problem has edges. You can finish part of it.&lt;/li&gt;
&lt;li&gt;Helping others is not a way to hide from yourself. Rest and ask for help too.&lt;/li&gt;
&lt;li&gt;Pick one person. Name one small thing. Do it this week.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I will work towards others.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/drown-within-yourself-or-work-towards-others/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>attention</category>
      <category>opinion</category>
    </item>
    <item>
      <title>Will, force and giving way</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 28 Nov 2026 06:36:56 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/will-force-and-giving-way-1974</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/will-force-and-giving-way-1974</guid>
      <description>&lt;h2&gt;
  
  
  What I keep noticing
&lt;/h2&gt;

&lt;p&gt;A determined person holds a view most people reject. They keep working and they succeed. Then society calls the result evil.&lt;/p&gt;

&lt;p&gt;I think evil is often the name for what normal people cannot deal with or put into words. This is my opinion. I have not tested it against anything beyond what I have seen and read.&lt;/p&gt;

&lt;h2&gt;
  
  
  A label costs one sentence
&lt;/h2&gt;

&lt;p&gt;If you think a view is harmful, you have work to do. You organize. You write. You raise money. You build a better option. You show up again next month.&lt;/p&gt;

&lt;p&gt;A label takes one sentence. It feels like action and it changes nothing. The person you labeled keeps working and you move on to the next thing.&lt;/p&gt;

&lt;p&gt;So I ask the question I rarely hear. Why does society not become as determined as the person it fears, and deal with the issue?&lt;/p&gt;

&lt;h2&gt;
  
  
  Good people get the label too
&lt;/h2&gt;

&lt;p&gt;Determined people who solve real problems also get called wrong or dangerous. Two examples, as I know them from commonly told accounts, not from primary records.&lt;/p&gt;

&lt;p&gt;Ignaz Semmelweis told doctors in Vienna in the 1840s to wash their hands. Deaths in his clinic fell from about 18 percent to about 2 percent. Many colleagues rejected him.&lt;/p&gt;

&lt;p&gt;Wangari Maathai started a tree-planting movement in Kenya in 1977. Officials dismissed her. She was arrested and beaten by police during protests in the early 1990s. She won the Nobel Peace Prize in 2004.&lt;/p&gt;

&lt;p&gt;One reason may be competition. A person who fixes a problem shows that others could have fixed it too. A label removes that discomfort and leaves the problem where it was.&lt;/p&gt;

&lt;p&gt;Determination does not prove someone is right. Some determined people do cause harm, and then the label is fair. So I try to judge the evidence, not the crowd.&lt;/p&gt;

&lt;h2&gt;
  
  
  Will and force
&lt;/h2&gt;

&lt;p&gt;A line I wrote in my notes: most men think themselves strong, but they are instruments of other people's will. Your habits, your employer, your crowd and your tradition all push on you. Many people carry out those pushes and call them their own choices. Ask whose will you are acting on today.&lt;/p&gt;

&lt;p&gt;Now look at the other side. When you push your will onto someone and it fails, violence begins. Force is what people reach for when persuasion runs out. History has many cases of religious and political groups that moved to force once people refused to believe or obey. I am generalizing here, and I know some cases do not fit.&lt;/p&gt;

&lt;h2&gt;
  
  
  A strong will with a gentle push
&lt;/h2&gt;

&lt;p&gt;Hold your goal firmly. Apply it gently. A gentle push leaves the other person room to move toward you. A hard push gives them a reason to push back.&lt;/p&gt;

&lt;p&gt;Watch for one risk. When the path to victory looks clear to me, that clarity can hide other truths. I have felt it. The remedy I know is to ask someone who disagrees with me what I am missing, and then listen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Power in giving way
&lt;/h2&gt;

&lt;p&gt;Someone who gives up power gently deserves to hold it. They have shown they do not need it.&lt;/p&gt;

&lt;p&gt;There is a second point. Most people do not want to lose, so when someone yields, they read it as a win and lower their guard. A person who yields on one point can use that moment to keep what matters most. Yielding in that way is a choice, not a defeat.&lt;/p&gt;

&lt;p&gt;I keep one limit in view. If I only pretend to yield so I can disarm someone, I am manipulating them. People notice, and they will not trust me again. I should yield only what I can afford to lose.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;A label takes one sentence. Dealing with the problem takes years. Do the work before you name the person.&lt;/li&gt;
&lt;li&gt;Determination does not make someone right or wrong. Check the evidence, not the crowd.&lt;/li&gt;
&lt;li&gt;Ask whose will you are acting on. Many of my choices are pushes I never examined.&lt;/li&gt;
&lt;li&gt;When pushing fails, stop and ask what the other person needs before you push again.&lt;/li&gt;
&lt;li&gt;Yield what you can afford to lose. Do not pretend to yield as a trick.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/philosophy/will-force-and-giving-way/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>society</category>
      <category>opinion</category>
    </item>
    <item>
      <title>Yes, No or Ask me first: a rules gate that fails closed</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:29:27 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/yes-no-or-ask-me-first-a-rules-gate-that-fails-closed-4b41</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/yes-no-or-ask-me-first-a-rules-gate-that-fails-closed-4b41</guid>
      <description>&lt;h2&gt;
  
  
  The problem with a gate that guesses
&lt;/h2&gt;

&lt;p&gt;An AI helper can read files, run shell commands, edit code and call the web. Each of those is an action. Before it acts, something has to decide whether it may.&lt;/p&gt;

&lt;p&gt;Most gates have two answers: allow or deny. That leaves a question open. What does the gate do when it cannot tell? A missing rule, a broken config file and a crash all produce the same state: no answer. If the gate treats no answer as allow, every bug becomes a hole. If it treats no answer as deny, every bug blocks work, but nothing unsafe happens.&lt;/p&gt;

&lt;p&gt;This is called failing closed. The design question is what "closed" means when a third answer exists.&lt;/p&gt;

&lt;p&gt;umwayi-os is a command line, &lt;code&gt;umwayi&lt;/code&gt;, in Python with the standard library only. Its first layer is a rules gate. The code is public: &lt;a href="https://github.com/Miguel-Shinyenyi/umwayi-os" rel="noopener noreferrer"&gt;https://github.com/Miguel-Shinyenyi/umwayi-os&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Three answers, three exit codes
&lt;/h2&gt;

&lt;p&gt;You write rules in &lt;code&gt;rules.yaml&lt;/code&gt;. Each rule has an id, a verdict, and matchers. A check takes an action as JSON and prints one answer.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;umwayi check '{"type": "payment"}'

No
Rule: no-money
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The answers map to exit codes, so any script can read them.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;answer         exit code
-------------  ---------
Yes            0
No             2
Ask me first   3
bad usage      64
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Exit code 1 is never used by a check. A crash in Python exits with 1 by default. If 1 could mean "refused" in one place and "crashed" in another, a script could not tell them apart. So the gate keeps 1 out of its own vocabulary, and a crash is treated like No.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask me first is the default
&lt;/h2&gt;

&lt;p&gt;The third answer is the important one. It means: stop and put a question to the owner.&lt;/p&gt;

&lt;p&gt;These cases all give Ask me first:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;no rule matches the action&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rules.yaml&lt;/code&gt; is missing or has a syntax error&lt;/li&gt;
&lt;li&gt;the action JSON is malformed&lt;/li&gt;
&lt;li&gt;the rules file is not a regular file of at most 1 MB (a &lt;code&gt;/dev/zero&lt;/code&gt; link is one example)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yes is the only answer that needs a rule that says so. Silence never produces it.&lt;/p&gt;

&lt;h2&gt;
  
  
  When rules disagree
&lt;/h2&gt;

&lt;p&gt;Several rules can match one action. The gate picks the strictest.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;No beats Ask me first
Ask me first beats Yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So a broad Yes rule, such as "reading files is fine", cannot override a narrow No rule, such as "never read a path with &lt;code&gt;.env&lt;/code&gt; in it". The owner can add a No later without checking every Yes rule.&lt;/p&gt;

&lt;h2&gt;
  
  
  The log has a say
&lt;/h2&gt;

&lt;p&gt;Every check writes one logbook entry. What if the logbook cannot be written, for example because someone edited it by hand?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;No  stays No           (exit 2)
Yes becomes Ask me first (exit 3)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A refusal needs no record to be safe, so it stands. A Yes needs a record to be accountable, so without one it drops to a question. The reason line says why.&lt;/p&gt;

&lt;h2&gt;
  
  
  Yes that expires
&lt;/h2&gt;

&lt;p&gt;A Yes rule can carry a &lt;code&gt;review_by&lt;/code&gt; date. The rule is in force through that day. From the next day it counts as an Ask me first rule, in every caller, and the file is not edited. The check uses the latest of the system date, the &lt;code&gt;--date&lt;/code&gt; flag and the newest date in the logbook, so setting the clock back does not revive a rule. The entry says which rules lapsed.&lt;/p&gt;

&lt;p&gt;A Yes you wrote in a hurry will turn into a question by itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The kill switch and the run lock
&lt;/h2&gt;

&lt;p&gt;Two more pieces use the same logic.&lt;/p&gt;

&lt;p&gt;The kill switch is a file, &lt;code&gt;.umwayi/KILL&lt;/code&gt;. While it exists, every helper, job and workflow stops before it does anything, with exit 3 and one logbook entry. If umwayi cannot tell whether the file exists, for example because &lt;code&gt;.umwayi&lt;/code&gt; is not a normal folder, it stops too. &lt;code&gt;kill on&lt;/code&gt; works even when the logbook is broken. &lt;code&gt;kill off&lt;/code&gt; keeps the switch on if the logbook cannot record the change.&lt;/p&gt;

&lt;p&gt;The run lock, &lt;code&gt;.umwayi/run.lock&lt;/code&gt;, lets one helper, job or workflow run at a time. A second one does not wait. It answers Ask me first, writes one entry and changes nothing. A waiting process can pile up behind a stuck one. A refusal costs nothing. If locking is not available on the machine, every run answers Ask me first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the gate does not do
&lt;/h2&gt;

&lt;p&gt;I listed these limits in the repo, and I repeat them here.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Matching is plain text, not a shell parser. A command can be written to slip past a text match. The real guard is that every shell command is Ask me first. Keep hard limits in the platform's own deny rules too.&lt;/li&gt;
&lt;li&gt;The kill switch file can be removed by anyone with write access.&lt;/li&gt;
&lt;li&gt;Some Kiro hook field names are not confirmed by Kiro's docs. If they differ, a Kiro call is still Ask me first, except reads.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Decide the answer for "I cannot tell" before you write any rule. Make it the safe one, and make Yes the only answer that needs a rule.&lt;/li&gt;
&lt;li&gt;Three answers beat two. "Stop and ask" is a different outcome from "no", and the owner needs both.&lt;/li&gt;
&lt;li&gt;When rules disagree, the strictest wins, so adding a restriction never needs a review of the permissions.&lt;/li&gt;
&lt;li&gt;A permission without a record becomes a question. A refusal stays a refusal.&lt;/li&gt;
&lt;li&gt;Approvals should expire. A date on a Yes rule does that without anyone remembering to remove it.&lt;/li&gt;
&lt;li&gt;Keep one exit code out of the vocabulary, so a crash cannot look like a decision.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/yes-no-or-ask-me-first/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>agenticengineering</category>
      <category>safety</category>
      <category>buildinginpublic</category>
    </item>
    <item>
      <title>Two pull requests never edit the same line: generating shared files from parts</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:28:55 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/two-pull-requests-never-edit-the-same-line-generating-shared-files-from-parts-28i7</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/two-pull-requests-never-edit-the-same-line-generating-shared-files-from-parts-28i7</guid>
      <description>&lt;h2&gt;
  
  
  The conflict every pull request creates
&lt;/h2&gt;

&lt;p&gt;umwayi-os has two files that every pull request must change. One is the status log: a table with a row for each pull request. The other is the list of known limits: a numbered list where each pull request may add an item.&lt;/p&gt;

&lt;p&gt;With one builder, that is fine. With three builders working at once, it is a guaranteed conflict. Two branches add a row at the top of the same table. Two branches add item 266 to the same list. Git cannot decide which row goes first or which item is 266, and neither can the builder that hits the conflict.&lt;/p&gt;

&lt;p&gt;I could ask builders to merge main more often. That shrinks the window but does not close it. The better answer is that no two branches should ever edit the same line. The code is public: &lt;a href="https://github.com/Miguel-Shinyenyi/umwayi-os" rel="noopener noreferrer"&gt;https://github.com/Miguel-Shinyenyi/umwayi-os&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  One file per task
&lt;/h2&gt;

&lt;p&gt;Each task writes its own small file, a part. A command builds the two shared files from the parts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docs-parts/status-log/W9-6b.md
docs-parts/known-limits/W9-6b.md
         |
         v
python -m umwayi goal docs build
         |
         v
docs/status-log.md
docs/KNOWN-LIMITS.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two tasks create two different files, so git has nothing to conflict on. The shared files are outputs. Nobody edits them by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a part looks like
&lt;/h2&gt;

&lt;p&gt;A status part has four lines, in this order, then optional free text that is not copied into the table.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;date: 2026-11-13
pr: 91
what: ONE LINE
tests: TEXT
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A limits part has a section name, a title, a blank line and a Markdown body.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;section: Goal orchestration (W9)
title: ONE LINE
number: 266

body ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The limits part has no number when the builder writes it. The build gives it the next free one, after the largest number in the base and the parts, and writes &lt;code&gt;number: N&lt;/code&gt; into the part. A number that is there is never changed. A number below the first free one, a number used twice, or a gap is refused.&lt;/p&gt;

&lt;p&gt;This solves the second conflict. Two tasks can both leave the number blank. The build gives out numbers in the order of each part's &lt;code&gt;date&lt;/code&gt;, then its id.&lt;/p&gt;

&lt;h2&gt;
  
  
  The base is frozen
&lt;/h2&gt;

&lt;p&gt;The old content moved into a base. Three files hold the status log's head, its old rows and its tail. One file holds the whole old list of limits. They were moved without a changed byte. The first build with no parts equals the old files byte for byte.&lt;/p&gt;

&lt;p&gt;The status log is the head, the new rows (newest first by date, then pull request, then id), the old rows, one blank line and the tail.&lt;/p&gt;

&lt;h2&gt;
  
  
  The check, and the strict reader
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;umwayi goal docs check&lt;/code&gt; builds in memory and compares bytes with the two files. It writes nothing. It exits 2 for a difference. A pull request that hand edits a shared file, or forgets to rebuild, fails the check.&lt;/p&gt;

&lt;p&gt;The reader is strict because a lenient reader hides mistakes. Every file in a parts folder, apart from the base files, must be a good part:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a file name of letters, digits, hyphens and underscores&lt;/li&gt;
&lt;li&gt;UTF-8, LF line ends, at most 64 KiB, one final newline&lt;/li&gt;
&lt;li&gt;no em dash, no control character, no link or folder&lt;/li&gt;
&lt;li&gt;one part per id&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A bad part refuses the whole build with a fixed message that names the file. The build never skips it, and nothing is written. The output is checked before it is written: no em dash, a length limit, and every relative link and anchor resolves.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same pattern in other files
&lt;/h2&gt;

&lt;p&gt;Parts fix two files. They do not fix the rest. When I merged the progress page, I found the same problem in smaller form.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The list that assigns test files to CI shards changes whenever a pull request adds a test file.&lt;/li&gt;
&lt;li&gt;The map of which tests read which paths changes with it.&lt;/li&gt;
&lt;li&gt;The page &lt;code&gt;ui/dist/progress.html&lt;/code&gt; is built from the status log and its hash covers the ten newest rows. Every pull request that adds a row makes the committed page stale, and two parallel pull requests change the same generated file.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of these are generated by a command. In every case the fix is the same: take main's version of the file, run the command again, check the result. I built one tool for it, &lt;code&gt;python -m tools.merge_main&lt;/code&gt;. It merges main, and when every conflict is in a file on a list of generated files, it clears the conflict by regenerating the file and verifying it. When any other file conflicts, it stops, aborts the merge and says which paths. It is merged now.&lt;/p&gt;

&lt;p&gt;A conflict that a program can judge, the program should clear. A conflict that needs a person's judgment should still stop with a question.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Parts make the shared files conflict free. They do not stop two tasks from changing the same source file, and the task packet lists the files a task may touch.&lt;/li&gt;
&lt;li&gt;A part is only as good as its writer. The check proves form, byte equality and links. It does not prove that a row is true.&lt;/li&gt;
&lt;li&gt;Order in the log depends on the dates the builders write.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;If every task must touch a file, the file will conflict. Change the file so tasks do not touch it.&lt;/li&gt;
&lt;li&gt;Make shared files outputs and give each task its own input.&lt;/li&gt;
&lt;li&gt;Hand out numbers at build time, in a fixed order, so no builder has to guess the next number.&lt;/li&gt;
&lt;li&gt;Freeze the old content without changing a byte, and test that the new build equals it.&lt;/li&gt;
&lt;li&gt;A strict reader that refuses a bad input beats a lenient one that skips it.&lt;/li&gt;
&lt;li&gt;Where a generator exists, a conflict in its output is a build step and not a decision.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/two-pull-requests-never-edit-the-same-line/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>git</category>
      <category>process</category>
      <category>buildinginpublic</category>
    </item>
    <item>
      <title>Trust you can take back: reopening decisions, petitions and graded autonomy</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:28:24 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/trust-you-can-take-back-reopening-decisions-petitions-and-graded-autonomy-3ipf</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/trust-you-can-take-back-reopening-decisions-petitions-and-graded-autonomy-3ipf</guid>
      <description>&lt;h2&gt;
  
  
  Two ways a gate fails
&lt;/h2&gt;

&lt;p&gt;A rules gate that answers Ask me first for every action has one failure: you stop reading the questions. By the hundredth identical question, you approve without looking.&lt;/p&gt;

&lt;p&gt;A gate that learns to say Yes on its own has a different failure. It can keep saying Yes after the situation changed.&lt;/p&gt;

&lt;p&gt;umwayi-os has a layer for this, built in five slices. It lets trust build from the owner's own record, it puts an expiry on every approval, and it never removes anything from the record. The code is public: &lt;a href="https://github.com/Miguel-Shinyenyi/umwayi-os" rel="noopener noreferrer"&gt;https://github.com/Miguel-Shinyenyi/umwayi-os&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Four rules hold across the whole layer. The docs state them for every slice.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A No is never changed by anything in the layer.&lt;/li&gt;
&lt;li&gt;Every part moves only toward Ask me first. The one exception is graded autonomy, and it can move only from Ask me first to Yes.&lt;/li&gt;
&lt;li&gt;Any input that is missing, malformed or unreadable gives Ask me first, or a refusal with nothing changed.&lt;/li&gt;
&lt;li&gt;Every change is one logbook entry. No part edits, deletes or marks an existing entry.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Reopening a decision
&lt;/h2&gt;

&lt;p&gt;An answered decision can turn out wrong. The tempting fix is to edit the old answer. That erases the evidence of what you believed then.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;umwayi decision reopen Q-0007 \
  --reason TEXT --by NAME
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The command appends one new entry that says it is a reopen and names the old entry by its full hash. The old entry and the old row stay as they were. A new open decision, "Reopen decision Q-0007", appears in the queue in the same commit as the entry, both or neither.&lt;/p&gt;

&lt;p&gt;When you answer a decision you must also say what would change your mind: &lt;code&gt;--revisit-if TEXT&lt;/code&gt; or &lt;code&gt;--revisit-if none&lt;/code&gt;. The text is stored in the logbook entry of the answer, not in &lt;code&gt;queue.md&lt;/code&gt;, so it cannot be edited later. A reopen shows it again. Nothing watches for that condition. It is a note for the person who reopens.&lt;/p&gt;

&lt;p&gt;Each closing entry can be reopened at most once, so a chain of reopens can be followed by hash from the newest back to the first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Petitions: an AI helper can object but not decide
&lt;/h2&gt;

&lt;p&gt;A helper may think a No is wrong. &lt;code&gt;umwayi petition RULE_ID&lt;/code&gt; lets it say so.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The petition becomes one open decision in the queue. The title holds only the rule id and the helper name, both checked, so it holds no free text.&lt;/li&gt;
&lt;li&gt;It never changes the verdict. &lt;code&gt;rules.yaml&lt;/code&gt; is not written, before or after any number of petitions, and not after the owner answers them. Only the owner editing the rules changes a rule.&lt;/li&gt;
&lt;li&gt;Only a rule with the verdict No can be petitioned.&lt;/li&gt;
&lt;li&gt;The reason is untrusted text. It is shown in the queue under a label that says so. It is not copied into the logbook, which holds only its length, and no code reads it.&lt;/li&gt;
&lt;li&gt;Spam limits come from the queue and the logbook, not from the command line: one open petition per helper and rule, 3 open per helper, 10 open in all, 5 accepted a day per helper and 10 a day in all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every rules change is logged before it is used, as an entry with the hash, the counts and the changed ids, verdicts and dates. It never holds rule text. If that entry cannot be written, every Yes from the new rules becomes Ask me first and a No stays a No. A weakened rule takes effect at once and is visible in the logbook.&lt;/p&gt;

&lt;h2&gt;
  
  
  Graded autonomy
&lt;/h2&gt;

&lt;p&gt;This part is off by default. Without an &lt;code&gt;autonomy.yaml&lt;/code&gt;, or with &lt;code&gt;enabled: false&lt;/code&gt;, nothing changes and a check gives the bytes it gave before the layer existed.&lt;/p&gt;

&lt;p&gt;When it is on, a check that would give Ask me first may give Yes. Only that. A No stays a No, a Yes stays a Yes, and no matching rule stays Ask me first.&lt;/p&gt;

&lt;p&gt;A rule must opt in. An Ask rule carries an &lt;code&gt;autonomy&lt;/code&gt; field with a class, whether the action is reversible, and its cost in UU. Rules about payment, transfers, publishing, posting, sending, scheduling and starting an agent can never opt in. They are on a fixed never list.&lt;/p&gt;

&lt;p&gt;The owner builds the record. &lt;code&gt;umwayi autonomy record&lt;/code&gt; writes one chained entry with an outcome: approved as proposed, edited, rejected or reverted. Only chained entries of that command are read. One malformed entry makes the whole record invalid, and no class moves anywhere until the owner restores the logbook.&lt;/p&gt;

&lt;p&gt;The score is the lower bound of the Wilson interval, in per mille, over a window of recent days. The Wilson interval is a way to estimate a rate from few samples without overstating it. With 3 approvals in 3 tries the plain rate is 100 percent, and the lower bound of the interval is much lower. The score only climbs as the record grows.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Approved as proposed counts as a success.&lt;/li&gt;
&lt;li&gt;Edited, rejected and reverted count as failures. A revert counts several times, by a weight the owner sets.&lt;/li&gt;
&lt;li&gt;Few records give a low score.&lt;/li&gt;
&lt;li&gt;Its own moves never feed it. Only an outcome the owner records counts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The score never reads text. It reads the class word, the outcome word and the date. A queue title, an answer, a reason or a rule title cannot change it.&lt;/p&gt;

&lt;p&gt;Then 13 gates run in order, and the first one that fails leaves the answer at Ask me first. Its word is written at the end of the check's entry. Some of the gates: settings invalid, kill switch on, chain broken, inputs invalid, a lapsed election, no opt in, a class mismatch, irreversible action, cost above the limit, a cooldown after a failure, too little data, a low score, and a daily cap on moves.&lt;/p&gt;

&lt;p&gt;Every move is logged with its inputs: the class, the four counts, the weight, the score and thresholds, the declared reversibility and cost, and the moves of the day. If that entry cannot be written, the answer stays Ask me first. Turning it off takes effect at the next check. A move already made is not undone. If it was wrong, the owner records &lt;code&gt;reverted&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I have not tested
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It is off by default, and every threshold is a setting you choose. I have not tuned them on real use.&lt;/li&gt;
&lt;li&gt;The whole layer depends on the hash chain. Without it, graded autonomy cannot move anything.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Let trust come from your own recorded outcomes, and let it move in one direction only, from asking to allowing.&lt;/li&gt;
&lt;li&gt;Put every refusal out of reach of the learning part. A No should not be negotiable by a score.&lt;/li&gt;
&lt;li&gt;Never edit history. A correction is a new entry that points at the old one.&lt;/li&gt;
&lt;li&gt;Ask for the condition that would change your mind when you decide, and store it where it cannot be edited.&lt;/li&gt;
&lt;li&gt;Use an interval that is wide when the data is thin, so a short run of approvals does not look like trust.&lt;/li&gt;
&lt;li&gt;Log the first gate that stopped a move, so you can see why trust did not grow.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/trust-you-can-take-back/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>agenticengineering</category>
      <category>safety</category>
      <category>buildinginpublic</category>
    </item>
    <item>
      <title>Stitching a Chimera: Building umwayi-os With Kiro</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:27:53 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/stitching-a-chimera-building-umwayi-os-with-kiro-2een</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/stitching-a-chimera-building-umwayi-os-with-kiro-2een</guid>
      <description>&lt;h2&gt;
  
  
  What I am building
&lt;/h2&gt;

&lt;p&gt;umwayi-os is an operating system for one person and their AI helpers. It is a command line, &lt;code&gt;umwayi&lt;/code&gt;, and a folder of plain files. It is written in Python with the standard library only, and the code is public on GitHub.&lt;/p&gt;

&lt;p&gt;I am writing this post as part of the Kiroween 2026 hackathon.&lt;/p&gt;

&lt;p&gt;Its job is small to say. Before any AI helper acts, umwayi checks the action against rules the owner wrote. Every check ends in one of three answers: Yes (exit code 0), No (2) or Ask me first (3). If anything is unclear, the answer is Ask me first or No. It never guesses toward Yes.&lt;/p&gt;

&lt;p&gt;Every decision is written to a logbook. Each entry carries the hash of the one before it, so an edited entry breaks the chain and the check says so. A kill switch stops every helper and job. A budget governor counts spend in one unit across tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it is a chimera
&lt;/h2&gt;

&lt;p&gt;I did not build a new agent. I put one gate in front of agents that already exist.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code and Kiro start through &lt;code&gt;umwayi agent&lt;/code&gt;, with a hook in front of every tool call. Both can chat through it over ACP.&lt;/li&gt;
&lt;li&gt;OpenCode has a plugin and six gate checks, and its chat is built. A first real chat ran on Nov 15 on its free route.&lt;/li&gt;
&lt;li&gt;The view is a Three.js hillside with eleven stations, one per part of the system, and a public Next.js site that draws it.&lt;/li&gt;
&lt;li&gt;The core stays standard library Python. Everything else sits outside it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Four different tools, two languages and a 3D scene, under one set of rules. That is why I entered the Frankenstein category of Kiroween.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Kiro builds it
&lt;/h2&gt;

&lt;p&gt;Kiro writes the code. I do not. The work goes in this order.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A spec pull request comes first: requirements, a design, and a task list. They live in &lt;code&gt;.kiro/specs/umwayi-os&lt;/code&gt;, next to a steering file, &lt;code&gt;.kiro/steering/product.md&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Kiro builds one task per pull request. Each task gets its own session and its own browser tab, and the session merges the newest main into its branch before every push.&lt;/li&gt;
&lt;li&gt;A second AI, which I call the guide, reviews the diff on its own. It does not trust Kiro's report. It reads the code, scans the diff, and for risky code runs a live check by hand. It does not rerun the whole suite.&lt;/li&gt;
&lt;li&gt;GitHub CI is the record. A pull request runs the suite on Python 3.10 and 3.13, and every push to main runs it on 3.10 to 3.13. On Nov 15 the count is 3,763 Python tests.&lt;/li&gt;
&lt;li&gt;Kiro never merges. Until Nov 13 I made every merge myself. Since then the guide merges a pull request that passes its own review with green CI and no conflicts. I still give the word for any change to a safety rule, to what an existing test means, or to anything that raises a question for me.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So the roles are fixed: the guide holds the plan and reviews, I decide, and Kiro sessions build. The repository started on 2026-11-07. Its pull request numbers have reached 108.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke
&lt;/h2&gt;

&lt;p&gt;Review caught real mistakes. Two of them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A pull request and the task file said the OpenCode starter rules numbered 16. They number 13. I found it by counting the rules in the file, and the fix is recorded in the next pull request.&lt;/li&gt;
&lt;li&gt;Kiro pushed a progress commit with merge conflict markers inside the status log. It had chained the commit after a command that could fail. Kiro found it before the pull request opened, fixed it in a new commit, and wrote the mistake into the pull request description.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither would have shown up if I had only read the summary Kiro wrote. Both showed up because something else checked the files.&lt;/p&gt;

&lt;p&gt;Running several sessions at once broke other things, and I keep a log of them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parallel sessions all edited the same status and limits files, so almost every pull request opened with a merge conflict. One pull request opened conflicting because another merged while it was open. The fixes are a rule that every session merges main before it pushes, and a task that splits those files into one part per task and builds them by script.&lt;/li&gt;
&lt;li&gt;Messages to a Kiro session can vanish if the sandbox is waking or if the page layout shifts under the send button. I confirm each message with a screenshot.&lt;/li&gt;
&lt;li&gt;Opening a session in a tab reloads its sandbox, so each session keeps its own tab. Closing one tab once dropped my whole browser tab group.&lt;/li&gt;
&lt;li&gt;CI took about 24 minutes on every pull request, even for a change that could not affect most tests. CI now maps tests to paths, runs only what a change can affect, shards the rest, and adds a final check that every test still ran. A typical full run takes about 12 minutes.&lt;/li&gt;
&lt;li&gt;Some tests used a fixed date. The logbook refuses a date earlier than its last entry, so main went red at midnight UTC on Nov 14. The tests now use the date of the day they run.&lt;/li&gt;
&lt;li&gt;The working rules lived in my messages, so a new session did not know them. They are moving into a steering file in the repository, which Kiro reads in every session. A steering file is advice, so the checks that matter stay in code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where it goes next
&lt;/h2&gt;

&lt;p&gt;Some of this is built and some is a plan. I say which.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A local backend, so the page can send the same request the command line would. It is built and merged: it binds only to the local machine, needs a token, and goes through the same rules, logbook and kill switch. The page cannot turn the kill switch off. The page client is merged too.&lt;/li&gt;
&lt;li&gt;One chat for Claude Code, Kiro and OpenCode, and a queue where an intake step asks questions until the intent is clear before it adds a task.&lt;/li&gt;
&lt;li&gt;Goals that a main agent holds and tests. This is built and merged as of Nov 15: the &lt;code&gt;umwayi goal&lt;/code&gt; commands, a supervisor, and one git worktree per task with a fresh session. A different agent tests each task before it moves up. It is tested with fake agents in 16 whole-system scenarios. A real goal run from start to end is still on my own list.&lt;/li&gt;
&lt;li&gt;A goal map page that draws one goal as a mind map, with a small Halloween theme for Kiroween. It is merged. Since Nov 15 it also has a live read: &lt;code&gt;umwayi serve --page ui/dist/goal-map.html&lt;/code&gt; serves the page, and it reads one route from the local backend when it opens and when you press Refresh.&lt;/li&gt;
&lt;li&gt;Progress dashboards, so a person can see they are getting better at agentic engineering. A first read-only progress page is merged.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also want the system to carry the working rules and the practices Kiro lists for frontier engineering, such as giving agents fast feedback and enforcing limits at the boundaries. The first part is built: a checked guidance file with 31 entries, each pinned to its source line by a hash. Rules that code can check, such as a question without a recommendation or a branch behind main, are to be enforced at the gates. The rest are put into the prompts and checked by the tester. How much of the file the goal flow loads is something I still have to check.&lt;/p&gt;

&lt;p&gt;I also say what this is not. It is a governing layer for AI agents, not a full operating system. It is not a sandbox: it does not stop a process that never asks it. Real runs with Claude Code, OpenCode and Kiro happened once each on Nov 15, on one machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Put the check outside the agent. A report from the builder is a claim. A second tool that looks at the files is evidence.&lt;/li&gt;
&lt;li&gt;Make unclear mean no. A gate that guesses toward yes fails in the cases that matter.&lt;/li&gt;
&lt;li&gt;Write the spec first and keep slices small. Kiro stays accurate when each slice is one pull request with a clear list of tests.&lt;/li&gt;
&lt;li&gt;Keep CI as the record. My hand checks find what CI does not, and CI finds what I cannot rerun.&lt;/li&gt;
&lt;li&gt;Say what is not built. Every pull request lists what was not verified, and this article does the same.&lt;/li&gt;
&lt;li&gt;Put the rules where the builder reads them, and the enforcement where the builder cannot skip it. A rule in a chat message reaches one session. A rule in the repository reaches every session, and a rule in code cannot be ignored.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/stitching-a-chimera-with-kiro/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>kiro</category>
      <category>agenticengineering</category>
      <category>hackathon</category>
    </item>
    <item>
      <title>Reserve before you spend: a budget governor for AI agents</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:27:21 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/reserve-before-you-spend-a-budget-governor-for-ai-agents-bne</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/reserve-before-you-spend-a-budget-governor-for-ai-agents-bne</guid>
      <description>&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;An AI agent that runs without you can spend money without you. A loop that retries, a long task, or a large context can use more than you planned before you look at a dashboard.&lt;/p&gt;

&lt;p&gt;Two things make this hard to control.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tools report cost in different ways. Claude Code can report cost as it runs. Kiro sends nothing to umwayi. A subscription bills per month and not per token.&lt;/li&gt;
&lt;li&gt;A limit that only checks after a run has ended does not stop the run.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;umwayi-os has a budget governor. It is built around three ideas: one unit, a reservation before the start, and a worst case for anything unknown. The code is public: &lt;a href="https://github.com/Miguel-Shinyenyi/umwayi-os" rel="noopener noreferrer"&gt;https://github.com/Miguel-Shinyenyi/umwayi-os&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  One unit: UU
&lt;/h2&gt;

&lt;p&gt;The unit is UU. One UU is one US cent of estimated list price. On a subscription nothing is billed per token. UU then says what the same use would cost at list price. A limit therefore means the same on every platform. It is an estimate and not a bill, and the docs say so.&lt;/p&gt;

&lt;p&gt;The limits are in &lt;code&gt;units.yaml&lt;/code&gt;, in whole numbers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;per_run&lt;/span&gt;                 &lt;span class="mi"&gt;100&lt;/span&gt;
&lt;span class="n"&gt;per_day&lt;/span&gt;                 &lt;span class="mi"&gt;500&lt;/span&gt;
&lt;span class="n"&gt;per_agent_per_day&lt;/span&gt;       &lt;span class="mi"&gt;300&lt;/span&gt;
&lt;span class="n"&gt;per_platform_per_day&lt;/span&gt;    &lt;span class="mi"&gt;400&lt;/span&gt;
&lt;span class="n"&gt;unknown_worst_case&lt;/span&gt;      &lt;span class="mi"&gt;100&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are placeholders until you calibrate. A day is the logbook date.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reserve first
&lt;/h2&gt;

&lt;p&gt;Before an agent starts, after its gate checks pass, umwayi works through these steps in order.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;validate units.yaml          (bad: 64)
log any change to it first   (cannot: 2)
does per_run fit all three
day limits?                  (no: 3)
ask the rules: budget_check  (No: 2,
                              Ask: 3)
write a reserve entry
start the agent
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reservation is the full &lt;code&gt;per_run&lt;/code&gt; cap, or a lower one you give with &lt;code&gt;--cap-uu N&lt;/code&gt;. If the reservation does not fit what is left of the day, nothing starts. Exit 3 puts one item in the queue: "Spend up to N UU on agent NAME?" The kill switch and a broken logbook are checked before all of this and still win.&lt;/p&gt;

&lt;p&gt;While the run goes on, umwayi checks it against the cap. When the run ends, a settle entry replaces the reservation with what the run used. A run that is killed with SIGKILL leaves its reservation in the ledger at full size. &lt;code&gt;umwayi budget settle-lost --by NAME&lt;/code&gt; settles it as unknown. The money stays counted until a person looks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three kinds of reading
&lt;/h2&gt;

&lt;p&gt;Every settled cost carries a tag.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;measured: Claude Code reported it.&lt;/li&gt;
&lt;li&gt;declared: you wrote a rate in &lt;code&gt;units.yaml&lt;/code&gt;, with a date and a source.&lt;/li&gt;
&lt;li&gt;unknown: nobody reported anything.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Unknown never counts as zero. It counts at &lt;code&gt;unknown_worst_case&lt;/code&gt;. Kiro is the clear example: it sends umwayi nothing, so a Kiro run is whatever &lt;code&gt;units.yaml&lt;/code&gt; declares, for example a price per run, and if nothing is declared it counts as unknown.&lt;/p&gt;

&lt;p&gt;An agent that hides its cost gets charged the most. That keeps the incentive pointed the right way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measuring a run without reading its words
&lt;/h2&gt;

&lt;p&gt;For Claude Code, umwayi starts a small receiver for that run only, on 127.0.0.1 and a free port. It points Claude Code's own telemetry at it with a fresh secret header. Before that, it removes every &lt;code&gt;OTEL_*&lt;/code&gt; variable you had set, so no export goes anywhere else, and it keeps prompts, responses and tool details switched off.&lt;/p&gt;

&lt;p&gt;The receiver keeps counts only: cost, tokens by type, requests and model names. It drops every body. The security scan added limits for a local client that misbehaves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;every request is cut at 10 seconds, however slowly it arrives&lt;/li&gt;
&lt;li&gt;at most 16 requests at once, and the next one gets a 503 at once&lt;/li&gt;
&lt;li&gt;the run header and the content length each appear exactly once&lt;/li&gt;
&lt;li&gt;a negative cost is invalid on every path, so no report can subtract from a run&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A trickling client held a thread without end before the fix, and 200 connections made 202 threads. Both showed up in the scan and not in normal use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits from data, never from a guess
&lt;/h2&gt;

&lt;p&gt;You can ask umwayi to propose limits with &lt;code&gt;umwayi budget calibrate&lt;/code&gt;. It needs at least 20 measured runs over at least 7 days. It proposes &lt;code&gt;per_run&lt;/code&gt; as 1.5 times the 95th percentile of one run, and &lt;code&gt;per_day&lt;/code&gt; as 2 times the median day. It shows the data and changes nothing. You edit &lt;code&gt;units.yaml&lt;/code&gt;, and that edit is logged before it is used.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not checked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The first real run found a fault. On Nov 15 I ran Claude Code 2.1.322 through &lt;code&gt;umwayi agent run&lt;/code&gt; on my own machine. The agent answered, and umwayi then stopped the run with exit 2 and settled the full reservation as unknown. The cause is traced: Claude Code sends each token count as a whole number under the key &lt;code&gt;asDouble&lt;/code&gt;, and the receiver accepts token counts only under &lt;code&gt;asInt&lt;/code&gt;. The tests passed because the fake sends &lt;code&gt;asInt&lt;/code&gt;. The fix is merged since: umwayi accepts &lt;code&gt;asDouble&lt;/code&gt; for a token count only when it is a whole number from 0 to 10^12, and keeps refusing everything else. I have not checked older versions of Claude Code.&lt;/li&gt;
&lt;li&gt;OpenCode sent no cost report in its real run either, so that run settled as unknown at the worst case, like Kiro.&lt;/li&gt;
&lt;li&gt;UU is an estimate. A price change at the vendor makes a rate stale until you edit its date and value.&lt;/li&gt;
&lt;li&gt;umwayi cannot read what a Kiro run uses. You declare a price per run, or your own credits per run, and umwayi trusts that number.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Reserve the cap before the work starts. A check after the run reports a loss; a reservation prevents it.&lt;/li&gt;
&lt;li&gt;Use one unit across tools, so one limit means one thing.&lt;/li&gt;
&lt;li&gt;Count the unknown at the worst case. A missing number then costs the owner nothing.&lt;/li&gt;
&lt;li&gt;Settle every run in a record the owner already trusts. Here that record is the logbook, so there is no second ledger.&lt;/li&gt;
&lt;li&gt;Limits that come from measured runs beat limits that come from a guess, and the tool that proposes them should change nothing.&lt;/li&gt;
&lt;li&gt;A listener on your own machine needs its own limits: a deadline, a connection cap and a header check.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/reserve-before-you-spend/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>costcontrol</category>
      <category>agenticengineering</category>
      <category>buildinginpublic</category>
    </item>
    <item>
      <title>One task, one worktree: how umwayi-os keeps parallel AI builders apart</title>
      <dc:creator>Miguel Shinyenyi</dc:creator>
      <pubDate>Sat, 21 Nov 2026 10:26:50 +0000</pubDate>
      <link>https://dev.to/miguel_shinyenyi_e2291c8c/one-task-one-worktree-how-umwayi-os-keeps-parallel-ai-builders-apart-4051</link>
      <guid>https://dev.to/miguel_shinyenyi_e2291c8c/one-task-one-worktree-how-umwayi-os-keeps-parallel-ai-builders-apart-4051</guid>
      <description>&lt;h2&gt;
  
  
  The problem with one checkout
&lt;/h2&gt;

&lt;p&gt;I build umwayi-os with several AI builders at the same time. Each builder works on one task. If two of them work in the same folder, they share one set of files and one git index. One builder's half finished edit shows up in the other's test run. One builder switches branches while the other is writing.&lt;/p&gt;

&lt;p&gt;The fix is old and plain: give each task its own copy of the repository. Git has a command for it, &lt;code&gt;git worktree add&lt;/code&gt;. A worktree is a second folder with its own branch, checked out from the same repository. It shares the history and the &lt;code&gt;.git&lt;/code&gt; data, and it has its own files and its own index.&lt;/p&gt;

&lt;p&gt;I run my own builders this way by hand. The goal orchestration part of umwayi-os, &lt;code&gt;umwayi goal&lt;/code&gt;, does the same thing in code. The code is public: &lt;a href="https://github.com/Miguel-Shinyenyi/umwayi-os" rel="noopener noreferrer"&gt;https://github.com/Miguel-Shinyenyi/umwayi-os&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The design
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;umwayi goal&lt;/code&gt; takes one goal in plain words. It splits the goal into small task packets. It runs each packet through its own gate with a builder and a different tester, and it reports. The owner approves the plan and merges the result. The system never merges.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;owner   gives the goal, approves,
        merges
guide   splits the goal, checks each
        result, writes nothing
builder does one task on its own branch
tester  checks the acceptance checks,
        never the builder, changes
        nothing
umwayi  every check a program can do
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For each task, umwayi makes a worktree and a branch such as &lt;code&gt;umwayi/g-0007-t-02&lt;/code&gt;, from the local main as it is at that moment. The folder sits next to the repository, for example &lt;code&gt;umwayi-os-worktrees/g-0007-t-02&lt;/code&gt;. The builder runs there, then the tester, then the guide's check, each as a fresh session.&lt;/p&gt;

&lt;p&gt;Rules that follow from this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The owner's own working copy is never touched.&lt;/li&gt;
&lt;li&gt;A start is stopped by a leftover or a dirty worktree, and by a local main that is behind &lt;code&gt;origin/main&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A worktree is removed only after the owner has merged. It is never removed with force, and its branch is kept.&lt;/li&gt;
&lt;li&gt;A failed or stopped task keeps its worktree until the owner removes it.&lt;/li&gt;
&lt;li&gt;At most eight worktrees exist under the root.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A path is only accepted if umwayi made it
&lt;/h2&gt;

&lt;p&gt;The new option is &lt;code&gt;--workdir PATH&lt;/code&gt; on &lt;code&gt;umwayi agent run&lt;/code&gt; and &lt;code&gt;umwayi agent check&lt;/code&gt;. It would be easy to accept any folder. That would let a helper be pointed at any place on the disk.&lt;/p&gt;

&lt;p&gt;So the check proves where the folder came from, by looking at the folder, not by trusting a record.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;path
  |
  v
exactly &amp;lt;root&amp;gt;-worktrees/g-0007-t-02 ?
a real folder, not a link?
root folder mode 0700, owned by you?
toplevel of that folder is itself?
git common dir is the root repo's?
  |
  +-- any no: usage error, exit 64
  |
  v
accepted, and the agent's working
folder rule still applies
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A bad path gets a fixed sentence that does not echo the path back. With no option the run behaves as before, and a test pins that with output recorded from the old code.&lt;/p&gt;

&lt;p&gt;I wrote one limit in the repo. "Made by umwayi" is proven by place and not by a record. A person who makes a worktree by hand under that exact name would pass. The check also looks at the folder at one moment, so a folder swapped between the check and the start is not seen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Git from a fixed list, never a shell
&lt;/h2&gt;

&lt;p&gt;One module, &lt;code&gt;goalgit.py&lt;/code&gt;, is the only place where git starts for a goal. It holds the whole list of 18 argument lists. Every list begins with the same words:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git -c core.hooksPath=/dev/null
    -c core.fsmonitor=false
    -C DIR  ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and runs with a clean environment, 20 seconds and 1 MB of output.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No shell. Arguments are a list, so there is nothing to quote wrong.&lt;/li&gt;
&lt;li&gt;No hooks and no filesystem monitor can run, because both are switched off in the list itself.&lt;/li&gt;
&lt;li&gt;Three writes exist: &lt;code&gt;worktree add -b&lt;/code&gt;, &lt;code&gt;worktree add --detach&lt;/code&gt; and &lt;code&gt;worktree remove&lt;/code&gt;. Each appears once.&lt;/li&gt;
&lt;li&gt;No list contains push, merge, rebase, pull, fetch, reset, clean, checkout, switch, branch, tag, stash, commit, prune, lock, move, repair, &lt;code&gt;--force&lt;/code&gt; or &lt;code&gt;-f&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A name that enters a list must match a fixed pattern first. Nothing reads a name from text.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A test reads the source and fails if a forbidden word appears in the list. An existing test in the repo used to say that only two modules may start a program. I changed it to three, and I put the reason in the pull request.&lt;/p&gt;

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

&lt;p&gt;I merged the part that matters first.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Built: the worktree functions, the path check and the two &lt;code&gt;--workdir&lt;/code&gt; options. The tests use real git in temporary folders.&lt;/li&gt;
&lt;li&gt;Built since: the supervisor that starts a builder inside a worktree, and the &lt;code&gt;umwayi goal&lt;/code&gt; commands that run a whole goal. They were tested with fake agents first. The first real goal runs by Claude Code, on Nov 15, found faults that are fixed now. For example, a program the helper ran left &lt;code&gt;__pycache__&lt;/code&gt; in the worktree and the task failed with &lt;code&gt;tree_not_clean&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Still not proven: I do not claim that a whole goal has run from start to end with real agents. That check is on my own list.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I do not know yet
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The 20 second git limit may be too short for a very large repository. If it runs out, a half made folder or branch can be left, and the next start of that task stops as a leftover until I remove it by hand.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--workdir&lt;/code&gt; sets the working folder. It does not confine the helper. A helper's tools can still read and write wherever its rules allow, and the &lt;code&gt;.git&lt;/code&gt; data is shared.&lt;/li&gt;
&lt;li&gt;I tested with the system git on Linux only. Windows paths, a case insensitive file system and a git older than 2.17 were not tried.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I took from it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Give every parallel worker its own copy of the files and its own branch. Shared files are where parallel work breaks.&lt;/li&gt;
&lt;li&gt;Accept a path only after you check where it came from. Do not accept a path because someone passed it.&lt;/li&gt;
&lt;li&gt;Run git as a list of fixed argument lists, with hooks off. Put the list in one module and test the source for words that must not appear.&lt;/li&gt;
&lt;li&gt;Never remove work automatically. Remove a worktree only after a person has merged, and keep the branch.&lt;/li&gt;
&lt;li&gt;Say what a limit does not cover. A working folder is not a sandbox.&lt;/li&gt;
&lt;li&gt;Build the part that carries the risk first, and merge it alone.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;Originally published on &lt;a href="https://miguel-shinyenyi.github.io/miguel-site/tech/one-task-one-worktree/" rel="noopener noreferrer"&gt;my site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>engineering</category>
      <category>git</category>
      <category>agenticengineering</category>
      <category>buildinginpublic</category>
    </item>
  </channel>
</rss>
