{"version":"https://jsonfeed.org/version/1.1","title":"Kiran Brahma","home_page_url":"https://cms.kiranbrahma.com/","feed_url":"https://cms.kiranbrahma.com/json/","description":"<p>Welcome to my personal website. I currently run my own business in Manpower services in India. This website serves as my digital archive of my thoughts, ideas, learning and observations. Writing helps in clarifying thoughts in my head. Every article (including those with AI assistance) is written to aid me in my future</p><p><em>I am currently migrating my content across multiple platforms into this website. Certain content (o9x build logs) will be broken. I hope to complete the transition in the next few weeks</em></p>","icon":"https://media.kiranbrahma.com/production/images/channel-5bcd365bba8bb8d04d7f4f7b4b5c9144.jpg","favicon":"https://media.kiranbrahma.com/production/images/channel-5bcd365bba8bb8d04d7f4f7b4b5c9144.jpg","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"language":"en-us","items":[{"id":"1u4OgDVU9qE","title":"The Jobs I May Never Create","url":"https://cms.kiranbrahma.com/i/the-jobs-i-may-never-create/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p><a href=\"https://www.youtube.com/watch?v=N2a1J0UPeL4\" rel=\"noopener noreferrer\" target=\"_blank\">An IISc professor paused his lecture to ask why his students were still attending his lecture</a>. Claude or ChatGPT can teach them patiently. He goes on to question the value of university education and the job prospects for new graduates. While how AI will affect the career opportunities for highly skilled graduates is not clear, I can see AI’s impact on small businesses such as mine.</p><p>I currently run a manpower services business. My business deploys blue-collar workers across India. While AI can’t replace my core service, it has changed how I view hiring within my own company. </p><p>Until 2024, if my office workload increased or an employee quit, I would hire someone. Hiring was the quickest and cheapest way to manage the work. While a lot of my operations depend on SaaS tools, I couldn’t afford an expensive ERP system. Excel and a well trained employee were good enough for me.</p><p>My dad started this business in 2014. He managed his operations with Excel, Tally and six employees. I took over the business in 2019 after my dad’s sudden demise.</p><p>The first covid lock-down hit my business hard. Our revenue fell by 60% within 15 days. My entire business data resided in my locked office. Excluding my field operations, everything else was held up for around 20 days. Luckily 15 days after the lock-down, our business was classified as essential. I could open my office for a few hours to get things moving again. </p><p>As the situation improved, I moved the invoicing from excel and tally to Zoho Books. Employee management and payroll also transitioned from excel to a custom payroll software. Now, my employees could work remotely when required. </p><p>In the same period, I spent 4-5 months reviewing and documenting my entire invoicing and payroll process. This helped me more than I assumed.</p><p>Once the lock-down ended, my business picked up. We grew by 40% (prior to lock-down). The payroll software drastically reduced our calculation errors. My team could complete invoicing on or before 7th. I had no need to hire another person to handle the additional work. </p><p>In Dec 2020, my accountant suffered a stroke. He could no longer work, so he resigned. I knew hiring another senior accountant would take time. However, the new software system allowed me and my team to manage our work without any hassles. The entire migration helped me understand my business in depth. So, I took over cash-flow and cost management responsibilities. </p><p>Zoho Books generates a financial report at the click of a button. I was no longer dependent on anyone else for any financial reports. I never found a need to hire another senior accountant for my business. I hired a junior accountant, who was good enough for my needs. </p><p>Now AI is making this process much faster and easier.</p><p>Whenever my team’s workload increases, I spend an hour with them to understand the changes. I flesh out what can be automated. Then I use Claude Code or Codex to build a prototype, get feedback from my team and get it operational within 2-3 days. </p><p> In the past few months, I automated our compliance audit reports, site audit reports, and customer service requests. I avoid automating one-off customer requests and reports. My team fetches the raw data from Zoho Books or Payroll software. They upload the file to a web based tool and the report is generated in a jiffy.</p><p>After developing a few tools, I felt confident enough to build my own ERP system (O9X), which I started in Nov’25. I am trying to standardise my operations, payroll and compliance reports. I don’t plan to reduce my employee count. I want everything my team does to be consistent across every customer. </p><p>In the past three months, I migrated my field operations to O9X. I get regular feedback on what is working and what is failing. I developed additional features based on my team’s suggestions. </p><p>Building with AI is not easy. Prior to this, I built my company website in Nextjs (used a template). I started using AI to develop small tools. Before starting anything new, I need to think hard on what I need. More than half the things I build fail. Most of my time is spent fixing issues or improving my initial ideas. </p><p>An agency or experienced developer might avoid most of my mistakes. However, coordination consumes a lot of my time and energy. Everyone has their own priorities. When I ask my payroll vendor for a small change, they take around 2-3 days to implement it. I can make such changes within 2-3 hours using AI. </p><p>AI’s rapid improvement allows me to develop my own tools as my business grows. I no longer find the need to purchase costly or complicated software. Now, this is where the employment question becomes interesting. </p><p>Currently, three people oversee accounting, payroll and invoicing across my entire business. My count of field staff has gone up in the past three years, but my office employee count is the same. I hypothesise that I might hire just one more person in an office role even if my business doubles. </p><p>I will keep automating more of my office work with the help of AI, so my office can run with a lower employee count. I could be wrong. I may end up hiring more people if my business doubles. I am not in the business of predicting the future. For now, I am planning on the assumption that I can manage with fewer office employees.</p><p>AI is reducing cost for small businesses such as mine. The lower cost structure might even encourage more people to start their own business. The employment generated by such new business may exceed the jobs that were never created due to AI. How will this play out ? I don’t know.</p><p>In India, small business such as mine (MSME) employ a large number of people. MSME employees are a mix of factory workers, field personnel and office administration. How much AI reduces demand for new employees within MSME is hard to estimate.</p><p>Now, not a lot of small businesses have adopted AI with the same enthusiasm as me. When or how AI will be adopted by other small business owners is hard to predict. </p><p>I review every new customer request by answering three questions: </p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Is it a one-off need or a recurring requirement? If I spend hours automating one-off requests, I may end up wasting my own time. I need to be judicious about where I invest my time.</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>If recurring, can it be automated? </li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>If not, can I automate some other work for my team?</li></ol><p>Hiring another office employee is my last resort. I am not laying off anyone, but neither have I found the need to create a new role as my business and customer demands grow. </p>","content_text":"An IISc professor paused his lecture to ask why his students were still attending his lecture . Claude or ChatGPT can teach them patiently. He goes on to question the value of university education and the job prospects for new graduates. While how AI will affect the career opportunities for highly skilled graduates is not clear, I can see AI’s impact on small businesses such as mine.\nI currently run a manpower services business. My business deploys blue-collar workers across India. While AI can’t replace my core service, it has changed how I view hiring within my own company.\nUntil 2024, if my office workload increased or an employee quit, I would hire someone. Hiring was the quickest and cheapest way to manage the work. While a lot of my operations depend on SaaS tools, I couldn’t afford an expensive ERP system. Excel and a well trained employee were good enough for me.\nMy dad started this business in 2014. He managed his operations with Excel, Tally and six employees. I took over the business in 2019 after my dad’s sudden demise.\nThe first covid lock-down hit my business hard. Our revenue fell by 60% within 15 days. My entire business data resided in my locked office. Excluding my field operations, everything else was held up for around 20 days. Luckily 15 days after the lock-down, our business was classified as essential. I could open my office for a few hours to get things moving again.\nAs the situation improved, I moved the invoicing from excel and tally to Zoho Books. Employee management and payroll also transitioned from excel to a custom payroll software. Now, my employees could work remotely when required.\nIn the same period, I spent 4-5 months reviewing and documenting my entire invoicing and payroll process. This helped me more than I assumed.\nOnce the lock-down ended, my business picked up. We grew by 40% (prior to lock-down). The payroll software drastically reduced our calculation errors. My team could complete invoicing on or before 7th. I had no need to hire another person to handle the additional work.\nIn Dec 2020, my accountant suffered a stroke. He could no longer work, so he resigned. I knew hiring another senior accountant would take time. However, the new software system allowed me and my team to manage our work without any hassles. The entire migration helped me understand my business in depth. So, I took over cash-flow and cost management responsibilities.\nZoho Books generates a financial report at the click of a button. I was no longer dependent on anyone else for any financial reports. I never found a need to hire another senior accountant for my business. I hired a junior accountant, who was good enough for my needs.\nNow AI is making this process much faster and easier.\nWhenever my team’s workload increases, I spend an hour with them to understand the changes. I flesh out what can be automated. Then I use Claude Code or Codex to build a prototype, get feedback from my team and get it operational within 2-3 days.\nIn the past few months, I automated our compliance audit reports, site audit reports, and customer service requests. I avoid automating one-off customer requests and reports. My team fetches the raw data from Zoho Books or Payroll software. They upload the file to a web based tool and the report is generated in a jiffy.\nAfter developing a few tools, I felt confident enough to build my own ERP system (O9X), which I started in Nov’25. I am trying to standardise my operations, payroll and compliance reports. I don’t plan to reduce my employee count. I want everything my team does to be consistent across every customer.\nIn the past three months, I migrated my field operations to O9X. I get regular feedback on what is working and what is failing. I developed additional features based on my team’s suggestions.\nBuilding with AI is not easy. Prior to this, I built my company website in Nextjs (used a template). I started using AI to develop small tools. Before starting anything new, I need to think hard on what I need. More than half the things I build fail. Most of my time is spent fixing issues or improving my initial ideas.\nAn agency or experienced developer might avoid most of my mistakes. However, coordination consumes a lot of my time and energy. Everyone has their own priorities. When I ask my payroll vendor for a small change, they take around 2-3 days to implement it. I can make such changes within 2-3 hours using AI.\nAI’s rapid improvement allows me to develop my own tools as my business grows. I no longer find the need to purchase costly or complicated software. Now, this is where the employment question becomes interesting.\nCurrently, three people oversee accounting, payroll and invoicing across my entire business. My count of field staff has gone up in the past three years, but my office employee count is the same. I hypothesise that I might hire just one more person in an office role even if my business doubles.\nI will keep automating more of my office work with the help of AI, so my office can run with a lower employee count. I could be wrong. I may end up hiring more people if my business doubles. I am not in the business of predicting the future. For now, I am planning on the assumption that I can manage with fewer office employees.\nAI is reducing cost for small businesses such as mine. The lower cost structure might even encourage more people to start their own business. The employment generated by such new business may exceed the jobs that were never created due to AI. How will this play out ? I don’t know.\nIn India, small business such as mine (MSME) employ a large number of people. MSME employees are a mix of factory workers, field personnel and office administration. How much AI reduces demand for new employees within MSME is hard to estimate.\nNow, not a lot of small businesses have adopted AI with the same enthusiasm as me. When or how AI will be adopted by other small business owners is hard to predict.\nI review every new customer request by answering three questions:\nIs it a one-off need or a recurring requirement? If I spend hours automating one-off requests, I may end up wasting my own time. I need to be judicious about where I invest my time.\nIf recurring, can it be automated?\nIf not, can I automate some other work for my team?\nHiring another office employee is my last resort. I am not laying off anyone, but neither have I found the need to create a new role as my business and customer demands grow.","image":"https://media.kiranbrahma.com/production/images/item-34edf4ddd0c65e341b35bba144db7613.avif","categories":[{"id":"tQJb-2yy-qd","name":"Personal Essays","slug":"essays","url":"https://cms.kiranbrahma.com/category/essays/"},{"id":"8-qiANkgo5h","name":"Understanding AI","slug":"ai","url":"https://cms.kiranbrahma.com/category/ai/"}],"date_published":"2026-11-02T11:20:01.020Z","date_modified":"2026-11-03T10:48:31.376Z","_microfeed":{"seo":{"description":"I am not laying off anyone, but neither have I found the need to create a new role as my business and customer demands grow.","social_image":null},"slug":"the-jobs-i-may-never-create","authors":[{"name":"Kiran Brahma","type":"Person","url":"https://kiranbrahma.com"}],"web_url":"https://cms.kiranbrahma.com/i/the-jobs-i-may-never-create/","json_url":"https://cms.kiranbrahma.com/i/1u4OgDVU9qE/json/","rss_url":"https://cms.kiranbrahma.com/i/1u4OgDVU9qE/rss/","guid":"1u4OgDVU9qE","status":"published","is_first_image":true,"itunes:episodeType":"full","date_published_short":"Mon Nov 02 2026","date_published_ms":1793618401020}},{"id":"IghFPxcnqy5","title":"Pedagogy in the Times of AI","url":"https://cms.kiranbrahma.com/i/pedagogy-in-the-times-of-ai-IghFPxcnqy5/","authors":[{"name":"Kiran Brahma"}],"content_html":"<div class=\"video-container\">\n  <iframe class=\"ql-video\" frameborder=\"0\" allowfullscreen=\"true\" src=\"https://www.youtube.com/embed/N2a1J0UPeL4?si=6_JUnItebljubDDN\" title=\"YouTube video player\"></iframe>\n</div>\n\n<p>At IISC the professor pauses his deep learning lecture midway. He asked his students why they are still coming to his lecture when Claude or ChatGPT can teach the same maths more patiently. </p>\n<p>Until a few year ago, I used to hire another person whenever my company's office workload increased. Now, I spend an hour or two with my team to understand what I can automate. Then, I open either Claude Code or Codex to build the tool before my dinner. </p>\n<p>Eight years ago, my dad paid an agency twenty thousand to build our company's website on Wordpress. Today, I can build one within a max of two days. The agency is still operational, but I don't see them charging the same amount for building a website. </p>\n<p>None of the tools I build using AI are complicated. Larger companies have been using similar tools for decades. Hiring another person to do the same work in excel was cheaper than hiring a developer or buying software. </p>\n<p>After my 10th, I knew that engineering and MBA will set me up for life. I was lucky that the model worked for me. In the video, the professor asks what happens when this path is closed.</p>\n<p>In his talk, the professor doesn't provide any solutions. He expresses the uncertainty that students and people like me face when intelligence becomes a commodity. He clearly states that five years from now, campus placements may cease to exist. So, what will new university graduate do?</p>\n<p>A hour-long video rarely holds my attention. However I have seen this video twice in the past few days.</p>","content_text":"At IISC the professor pauses his deep learning lecture midway. He asked his students why they are still coming to his lecture when Claude or ChatGPT can teach the same maths more patiently.\n\nUntil a few year ago, I used to hire another person whenever my company's office workload increased. Now, I spend an hour or two with my team to understand what I can automate. Then, I open either Claude Code or Codex to build the tool before my dinner.\n\nEight years ago, my dad paid an agency twenty thousand to build our company's website on Wordpress. Today, I can build one within a max of two days. The agency is still operational, but I don't see them charging the same amount for building a website.\n\nNone of the tools I build using AI are complicated. Larger companies have been using similar tools for decades. Hiring another person to do the same work in excel was cheaper than hiring a developer or buying software.\n\nAfter my 10th, I knew that engineering and MBA will set me up for life. I was lucky that the model worked for me. In the video, the professor asks what happens when this path is closed.\n\nIn his talk, the professor doesn't provide any solutions. He expresses the uncertainty that students and people like me face when intelligence becomes a commodity. He clearly states that five years from now, campus placements may cease to exist. So, what will new university graduate do?\n\nA hour-long video rarely holds my attention. However I have seen this video twice in the past few days.","image":"https://media.kiranbrahma.com/production/images/item-5f5191b52022c5dda867fc38a5fd7dfb.avif","categories":[{"id":"a_gTZJFgqLE","name":"Personal Musings","slug":"musings","url":"https://cms.kiranbrahma.com/category/musings/"},{"id":"8-qiANkgo5h","name":"Understanding AI","slug":"ai","url":"https://cms.kiranbrahma.com/category/ai/"}],"date_published":"2026-10-22T08:24:00.000Z","date_modified":"2026-11-03T10:48:54.121Z","_microfeed":{"seo":{"description":"Will AI will replace universities as we know it. Perpsective of an IISC professor on how future may play out and my personal usage of AI tools in my business"},"slug":"pedagogy-in-the-times-of-ai","authors":[{"name":"Kiran Brahma","type":"Person"}],"web_url":"https://cms.kiranbrahma.com/i/pedagogy-in-the-times-of-ai/","json_url":"https://cms.kiranbrahma.com/i/IghFPxcnqy5/json/","rss_url":"https://cms.kiranbrahma.com/i/IghFPxcnqy5/rss/","guid":"IghFPxcnqy5","status":"published","itunes:episodeType":"full","date_published_short":"Thu Oct 22 2026","date_published_ms":1792657440000}},{"id":"K-gowa8aYKk","title":"AI Model Switching Costs","url":"https://cms.kiranbrahma.com/i/ai-model-switching-costs-K-gowa8aYKk/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>AI models currently have negligible switching costs. The coding harness might be a bit bothersome, but after a week you are good to go.</p><p>I started my AI coding journey in Claude Code. For a long time, Anthropic models were good enough for me. For almost a year, I did not even use any Open AI, Google or Open source models for my coding. </p><p>After the launch of GPT-5.5, I used it for a small coding project. The model was as good as Anthropic's models. I shifted between both these models depending on my usage limits. As I coded more and more, my limits got exhausted quickly. </p><p>I tried Gemini models, but their performance was poor. I subscribed for an Ollama cloud pro plan to try open source models. Quite a few open source models performed as good as the top-tier models, so my model portfolio expanded. </p><p>In the past few weeks, I rarely used Anthropic models. Both Opus 5 and Claude 5 performed poorly. I was happy using GPT 5.6 Luna and DeepSeek 4.1 Flash for all my coding needs. Open Source models also give me much higher usage limits, so I rarely worried about my weekly limits.</p><p>Now, after the launch of Opus 5.5, it became my default option. Any AI model or harness can use the same standard <strong><a href=\"https://agents.md/\" rel=\"noopener noreferrer\" target=\"_blank\">agents.md</a></strong> and <strong><a href=\"https://skills.md/\" rel=\"noopener noreferrer\" target=\"_blank\">skills.md</a></strong> file without any issue. AI model developers standardised the entire coding workflow. It is easy to use any model I like.</p><p>AI model developers standardised the coding workflow to ensure quick adoption. The same process allows people like me to use any model I desire. </p><p>Now, not everyone will be keen to subscribe to different plans as I did. However, it is far more economical to subscribe to four different pro plans than just one Max plan (80 USD vs 100/200 USD</p>","content_text":"AI models currently have negligible switching costs. The coding harness might be a bit bothersome, but after a week you are good to go.\nI started my AI coding journey in Claude Code. For a long time, Anthropic models were good enough for me. For almost a year, I did not even use any Open AI, Google or Open source models for my coding.\nAfter the launch of GPT-5.5, I used it for a small coding project. The model was as good as Anthropic's models. I shifted between both these models depending on my usage limits. As I coded more and more, my limits got exhausted quickly.\nI tried Gemini models, but their performance was poor. I subscribed for an Ollama cloud pro plan to try open source models. Quite a few open source models performed as good as the top-tier models, so my model portfolio expanded.\nIn the past few weeks, I rarely used Anthropic models. Both Opus 5 and Claude 5 performed poorly. I was happy using GPT 5.6 Luna and DeepSeek 4.1 Flash for all my coding needs. Open Source models also give me much higher usage limits, so I rarely worried about my weekly limits.\nNow, after the launch of Opus 5.5, it became my default option. Any AI model or harness can use the same standard agents.md and skills.md file without any issue. AI model developers standardised the entire coding workflow. It is easy to use any model I like.\nAI model developers standardised the coding workflow to ensure quick adoption. The same process allows people like me to use any model I desire.\nNow, not everyone will be keen to subscribe to different plans as I did. However, it is far more economical to subscribe to four different pro plans than just one Max plan (80 USD vs 100/200 USD","image":"https://media.kiranbrahma.com/production/images/item-1485662e84cf9b8b2814d92cd1828317.avif","categories":[{"id":"a_gTZJFgqLE","name":"Personal Musings","slug":"musings","url":"https://cms.kiranbrahma.com/category/musings/"}],"date_published":"2026-09-28T08:16:00.000Z","date_modified":"2026-11-03T10:49:18.732Z","_microfeed":{"seo":{"description":"Why switching AI coding models now costs almost nothing, how I compare limits, performance, and why I keep pro subscriptions."},"slug":"ai-model-switching-costs","web_url":"https://cms.kiranbrahma.com/i/ai-model-switching-costs/","json_url":"https://cms.kiranbrahma.com/i/K-gowa8aYKk/json/","rss_url":"https://cms.kiranbrahma.com/i/K-gowa8aYKk/rss/","guid":"K-gowa8aYKk","status":"published","itunes:episodeType":"full","date_published_short":"Mon Sep 28 2026","date_published_ms":1790583360000}},{"id":"xJMf-aLEAPG","title":"Why is USD the preferred currency for trade","url":"https://cms.kiranbrahma.com/i/why-is-usd-the-preferred-currency-for-trade-xJMf-aLEAPG/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>In the past few days, quite a few posts popped up in my LinkedIn feed on why India should stop using USD for trading with other BRICS nations. A few made the argument that BRICS should build its own interoperable payment system (similar to UPI) that frees us from the tyranny of the USD.</p><p>A few arguments did look convincing, but it got me curious: why is USD the preferred currency for trade?</p><p>Currency on its own has little value. Its real value is allowing us to buy goods or services, invest, lend, or exchange it for another currency.In FY 2025-26, India imported around $132 billion of goods from China, but exported just around $19.5 billion. So, India had a trade deficit of around $112.5 billion.</p><p>Now if India pays China in rupees, not USD. China can use some of those rupees to buy Indian goods. However, due to the size of the trade imbalance, China will be left holding a large amount of rupees. China can either invest this excess money in Indian assets or businesses (not easy due to India's current restrictions on Chinese investment) or convert the rupees into yuan or another currency.</p><p>Now such conversions are not that easy. Someone has to be willing to take those rupees, pay China in yuan or another currency, and then hold or use the rupees themselves.</p><p>This is why USD wins.</p><p>Banks, companies, investors and even countries across the world are willing to hold dollars. If India pays China in USD, China can use those dollars to buy US bonds or shares, buy global assets, lend them, or simply purchase goods from other countries.</p><p>So even if BRICS nations did develop an interoperable system, allowing member nations to trade more in their local currencies, it does not solve the problem caused due to trade imbalances. Someone needs to hold onto the excess currency. Until this is not resolved, it won't be easy to walk away from USD.</p>","content_text":"In the past few days, quite a few posts popped up in my LinkedIn feed on why India should stop using USD for trading with other BRICS nations. A few made the argument that BRICS should build its own interoperable payment system (similar to UPI) that frees us from the tyranny of the USD.\nA few arguments did look convincing, but it got me curious: why is USD the preferred currency for trade?\nCurrency on its own has little value. Its real value is allowing us to buy goods or services, invest, lend, or exchange it for another currency.In FY 2025-26, India imported around $132 billion of goods from China, but exported just around $19.5 billion. So, India had a trade deficit of around $112.5 billion.\nNow if India pays China in rupees, not USD. China can use some of those rupees to buy Indian goods. However, due to the size of the trade imbalance, China will be left holding a large amount of rupees. China can either invest this excess money in Indian assets or businesses (not easy due to India's current restrictions on Chinese investment) or convert the rupees into yuan or another currency.\nNow such conversions are not that easy. Someone has to be willing to take those rupees, pay China in yuan or another currency, and then hold or use the rupees themselves.\nThis is why USD wins.\nBanks, companies, investors and even countries across the world are willing to hold dollars. If India pays China in USD, China can use those dollars to buy US bonds or shares, buy global assets, lend them, or simply purchase goods from other countries.\nSo even if BRICS nations did develop an interoperable system, allowing member nations to trade more in their local currencies, it does not solve the problem caused due to trade imbalances. Someone needs to hold onto the excess currency. Until this is not resolved, it won't be easy to walk away from USD.","image":"https://media.kiranbrahma.com/production/images/item-274b82f905c2fa1b8aba4ac68f460855.avif","categories":[{"id":"a_gTZJFgqLE","name":"Personal Musings","slug":"musings","url":"https://cms.kiranbrahma.com/category/musings/"}],"date_published":"2026-09-16T16:05:00.000Z","date_modified":"2026-11-03T10:49:56.784Z","_microfeed":{"seo":{"description":"An explanation on why the US dollar dominates trade, how imbalances force countries to hold dollars, and why a BRICS system won’t easily replace it."},"web_url":"https://cms.kiranbrahma.com/i/why-is-usd-the-preferred-currency-for-trade-xJMf-aLEAPG/","json_url":"https://cms.kiranbrahma.com/i/xJMf-aLEAPG/json/","rss_url":"https://cms.kiranbrahma.com/i/xJMf-aLEAPG/rss/","guid":"xJMf-aLEAPG","status":"published","itunes:episodeType":"full","date_published_short":"Wed Sep 16 2026","date_published_ms":1789574700000}},{"id":"g3DEJaGf6eU","title":"What Makes an Idea Worth Believing","url":"https://cms.kiranbrahma.com/i/what-makes-an-idea-worth-believing-g3DEJaGf6eU/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>I have been listening to the Pet Shop Boys song ‘It’s a Sin’ on a loop for over a week.</p><p><em>“For everything I long to do… It’s a sin.”</em></p><p>While the song is about guilt, I was thinking about something else: you struggle to hold a conviction when you have not put in the work to earn it.</p><p>The thought is influenced by what I am currently reading and listening to: biographies and the <em><a href=\"https://www.founderspodcast.com/\" rel=\"noopener noreferrer\" target=\"_blank\">Founders Podcast</a></em><a href=\"https://www.founderspodcast.com/\" rel=\"noopener noreferrer\" target=\"_blank\">.</a> The lives of entrepreneurs, filmmakers, musicians and athletes made me notice how often strong convictions shaped what they chose to pursue.</p><p>Ideas arrive easily, but conviction takes more work. Once I write an idea down, it often looks different from how I imagined it. Reading it aloud helps me judge it more clearly.</p><p><strong>How do I get new ideas?</strong></p><p>When I read or listen, random ideas often surface in my mind. No interesting idea has ever come when I went looking for one. Most ideas emerge when I connect what I read or hear with my own experiences and thoughts.</p><p>Once an idea surfaces, I ask myself:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Why should this work?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>How would it work?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What assumptions am I making?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Where could it fail?</li></ol><p>After I engage with an idea, I either reject it, pursue another idea, or develop it into a conviction.</p><p>Consider the idea: invest in equities. Equities typically outperform other asset classes over long periods. To start investing, I need to engage with it by asking:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What does long term mean?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Why diversify and how do I do it?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What happens when markets are down?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>When should I avoid investing in equities?</li></ol><p>An idea earns my conviction only after I understand the whys, the hows, the whats and where it might fail.</p>","content_text":"I have been listening to the Pet Shop Boys song ‘It’s a Sin’ on a loop for over a week.\n“For everything I long to do… It’s a sin.”\nWhile the song is about guilt, I was thinking about something else: you struggle to hold a conviction when you have not put in the work to earn it.\nThe thought is influenced by what I am currently reading and listening to: biographies and the Founders Podcast . The lives of entrepreneurs, filmmakers, musicians and athletes made me notice how often strong convictions shaped what they chose to pursue.\nIdeas arrive easily, but conviction takes more work. Once I write an idea down, it often looks different from how I imagined it. Reading it aloud helps me judge it more clearly.\nHow do I get new ideas?\nWhen I read or listen, random ideas often surface in my mind. No interesting idea has ever come when I went looking for one. Most ideas emerge when I connect what I read or hear with my own experiences and thoughts.\nOnce an idea surfaces, I ask myself:\nWhy should this work?\nHow would it work?\nWhat assumptions am I making?\nWhere could it fail?\nAfter I engage with an idea, I either reject it, pursue another idea, or develop it into a conviction.\nConsider the idea: invest in equities. Equities typically outperform other asset classes over long periods. To start investing, I need to engage with it by asking:\nWhat does long term mean?\nWhy diversify and how do I do it?\nWhat happens when markets are down?\nWhen should I avoid investing in equities?\nAn idea earns my conviction only after I understand the whys, the hows, the whats and where it might fail.","image":"https://media.kiranbrahma.com/production/images/item-00863de4a447d2456314b210e0914d0e.avif","categories":[{"id":"a_gTZJFgqLE","name":"Personal Musings","slug":"musings","url":"https://cms.kiranbrahma.com/category/musings/"}],"date_published":"2026-08-29T05:14:00.000Z","date_modified":"2026-11-03T10:49:43.145Z","_microfeed":{"seo":{"description":"I explore how ideas become convictions by questioning the why, how, assumptions and risks, turning random thoughts into trusted beliefs."},"web_url":"https://cms.kiranbrahma.com/i/what-makes-an-idea-worth-believing-g3DEJaGf6eU/","json_url":"https://cms.kiranbrahma.com/i/g3DEJaGf6eU/json/","rss_url":"https://cms.kiranbrahma.com/i/g3DEJaGf6eU/rss/","guid":"g3DEJaGf6eU","status":"published","itunes:episodeType":"full","date_published_short":"Sat Aug 29 2026","date_published_ms":1787980440000}},{"id":"EFEBSj77eVT","title":"O9X Build Log 27 - Is this simple or an easy fix.","url":"https://cms.kiranbrahma.com/i/o9x-build-log-27-is-this-simple-or-an-easy-fix/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>Every few weeks, we have a new start of the art AI model release, promising better coding abilities. I get tempted, and undertake a review of my code and its architecture. AI presents me with a list of errors and recommendations, which made me wonder: is it really this bad?</p><p>On every new commit, a small worry keeps building momentum within me: is my code stable for the long run? I am dependent on AI for every line of code in my app. In my initial days, I asked AI to explain every line of my code. I stopped doing it in my quest for speed. </p><p>Learning how to code is a laborious task. Hence, I invested my energy towards learning how to think like a software developer. Two weeks ago I came across two new videos that helped in improving my workflow:</p><ol><li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span><a href=\"https://www.infoq.com/presentations/Simple-Made-Easy/\" rel=\"noopener noreferrer\" target=\"_blank\">Simple Made Easy</a></li><li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span><a href=\"https://www.youtube.com/watch?v=t3my5ByUhFU&amp;t\" rel=\"noopener noreferrer\" target=\"_blank\">Writing Good Code</a></li></ol><p><strong>Simple Made Easy</strong></p><p>Two weeks back, I was updating my attendance rules. The tool was built in March’26. AI had hardcoded most rules within the code. I asked AI to dig deeper, ensuring there are no loose ends. AI identified four functions, which depended on the rules. </p><p>The audit recommended storing the rules in DB. It listed an additional three more functions dependent on my attendance rules. I resolved many such similar issues already but a few still persisted in my code.  </p><p>The audit’s suggestion required me to scrap the existing PRD. It recommended a new function that would provide values from DB to all the functions. It was a simple solution, not the easy one that AI usually recommends. </p><p><strong>AI prefers easy over simple solutions</strong></p><p>In my earlier logs, I wrote about two challenges that I often face with AI: (a) <a href=\"https://www.theoperatorstack.com/posts/log-24-two-weeks-auditing-ai-built-app\" rel=\"noopener noreferrer\" target=\"_blank\">AI works better if you know the right vocabulary,</a> and (b) <a href=\"https://www.theoperatorstack.com/posts/log-6-the-ai-token-trap\" rel=\"noopener noreferrer\" target=\"_blank\">Context Rot</a>. The simplicity-audit skill helps me to overcome these issues. </p><p>AI writes PRD as explained in Log 26. Once a PRD is generated, I invoke the simplicity-audit skill in another session to suggest further improvements. The simplicity-audit skill recommends me to proceed or modify or rework my plan.</p><p>In the past two weeks, I audited 25 PRD’s. It recommended modifying 5 PRD’s, suggested minor fixes in 12 PRD’s, and cleared 5 PRD’s. It asked me to rework 3 PRD’s again due to major issues. </p><p>Once everything is built and reviewed, I run a <a href=\"https://github.com/fallow-rs/fallow-skills\" rel=\"noopener noreferrer\" target=\"_blank\">fallow skill</a> before I commit the code. <a href=\"https://docs.fallow.tools/\" rel=\"noopener noreferrer\" target=\"_blank\">Fallow</a> scans my changes to identify: duplicated code, unused files, unused dependencies, and unused exports. </p><p>Initially, when I ran fallow to scan my entire codebase, it identified 4000+ lines of dead code, 10 unused dependencies, 40 stale type exports, and flagged more than 50 functions. The fallow skill provided clear instructions on what was no longer needed in my app and which functions were too complex. I removed the 15 files and 10 dependencies it flagged, and the report helped me shed over 2,500+ lines of code in total (currently my project has over 167,000 lines of code across 901 files)</p><p>The code-review skill I use just answers two questions: does the function work and is code built as per specs. I never asked it to review what can be removed, so AI never did the same. The fallow skill suggests what can be removed. AI reviews the suggestions, then removes dead code and reduces complexity of new functions. </p><p><strong>Reverse Hedonic Treadmill</strong></p><p>O9X has been live for over 3 months. However, the worry that something might break never pauses within my head. The worry encourages me to learn more, and audit my codebase with what I learnt. With every new SOTA model, the worry shifts into an overdrive. </p><p>I did one when Fable 5 was released, and another after GPT5.6 release. Every review unearths issues that it recommends fixing on priority basis. </p><p>The loop to improve my app never pauses. The review treadmill slows down once in a while. However, the pace picks up after release of a new model or when I add a new feature. Today’s simple solution can easily be labelled as an easy fix by a more capable model. </p><p>“If it ain’t broke, don’t fix it” adage recommends to leave a functioning system, process, or object alone to avoid making things worse.I adopted the advice for a few days before my worry took over. I find it more peaceful to search for flaws than waiting for something to break in production. </p><p>Will AI ever get good enough to let me worry less? I don’t know. One day, a new SOTA model might identify, and fix issues even before being asked to do so. Until then, I need to keep asking AI: is this simple or an easy fix.</p>","content_text":"Every few weeks, we have a new start of the art AI model release, promising better coding abilities. I get tempted, and undertake a review of my code and its architecture. AI presents me with a list of errors and recommendations, which made me wonder: is it really this bad?\nOn every new commit, a small worry keeps building momentum within me: is my code stable for the long run? I am dependent on AI for every line of code in my app. In my initial days, I asked AI to explain every line of my code. I stopped doing it in my quest for speed.\nLearning how to code is a laborious task. Hence, I invested my energy towards learning how to think like a software developer. Two weeks ago I came across two new videos that helped in improving my workflow:\nSimple Made Easy\nWriting Good Code\nSimple Made Easy\nTwo weeks back, I was updating my attendance rules. The tool was built in March’26. AI had hardcoded most rules within the code. I asked AI to dig deeper, ensuring there are no loose ends. AI identified four functions, which depended on the rules.\nThe audit recommended storing the rules in DB. It listed an additional three more functions dependent on my attendance rules. I resolved many such similar issues already but a few still persisted in my code.\nThe audit’s suggestion required me to scrap the existing PRD. It recommended a new function that would provide values from DB to all the functions. It was a simple solution, not the easy one that AI usually recommends.\nAI prefers easy over simple solutions\nIn my earlier logs, I wrote about two challenges that I often face with AI: (a) AI works better if you know the right vocabulary, and (b) Context Rot . The simplicity-audit skill helps me to overcome these issues.\nAI writes PRD as explained in Log 26. Once a PRD is generated, I invoke the simplicity-audit skill in another session to suggest further improvements. The simplicity-audit skill recommends me to proceed or modify or rework my plan.\nIn the past two weeks, I audited 25 PRD’s. It recommended modifying 5 PRD’s, suggested minor fixes in 12 PRD’s, and cleared 5 PRD’s. It asked me to rework 3 PRD’s again due to major issues.\nOnce everything is built and reviewed, I run a fallow skill before I commit the code. Fallow scans my changes to identify: duplicated code, unused files, unused dependencies, and unused exports.\nInitially, when I ran fallow to scan my entire codebase, it identified 4000+ lines of dead code, 10 unused dependencies, 40 stale type exports, and flagged more than 50 functions. The fallow skill provided clear instructions on what was no longer needed in my app and which functions were too complex. I removed the 15 files and 10 dependencies it flagged, and the report helped me shed over 2,500+ lines of code in total (currently my project has over 167,000 lines of code across 901 files)\nThe code-review skill I use just answers two questions: does the function work and is code built as per specs. I never asked it to review what can be removed, so AI never did the same. The fallow skill suggests what can be removed. AI reviews the suggestions, then removes dead code and reduces complexity of new functions.\nReverse Hedonic Treadmill\nO9X has been live for over 3 months. However, the worry that something might break never pauses within my head. The worry encourages me to learn more, and audit my codebase with what I learnt. With every new SOTA model, the worry shifts into an overdrive.\nI did one when Fable 5 was released, and another after GPT5.6 release. Every review unearths issues that it recommends fixing on priority basis.\nThe loop to improve my app never pauses. The review treadmill slows down once in a while. However, the pace picks up after release of a new model or when I add a new feature. Today’s simple solution can easily be labelled as an easy fix by a more capable model.\n“If it ain’t broke, don’t fix it” adage recommends to leave a functioning system, process, or object alone to avoid making things worse.I adopted the advice for a few days before my worry took over. I find it more peaceful to search for flaws than waiting for something to break in production.\nWill AI ever get good enough to let me worry less? I don’t know. One day, a new SOTA model might identify, and fix issues even before being asked to do so. Until then, I need to keep asking AI: is this simple or an easy fix.","image":"https://media.kiranbrahma.com/production/images/item-fd2bcee367392d0b598aab162774e71a.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":27},"date_published":"2026-07-23T14:51:00.000Z","date_modified":"2026-11-23T14:52:09.529Z","_microfeed":{"seo":{"description":"I examine if AI‑suggested changes are simple solutions or easy fixes, audit my code, trim dead code, and manage the worry of breakage."},"slug":"o9x-build-log-27-is-this-simple-or-an-easy-fix","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-27-is-this-simple-or-an-easy-fix/","json_url":"https://cms.kiranbrahma.com/i/EFEBSj77eVT/json/","rss_url":"https://cms.kiranbrahma.com/i/EFEBSj77eVT/rss/","guid":"EFEBSj77eVT","status":"published","itunes:episodeType":"full","date_published_short":"Thu Jul 23 2026","date_published_ms":1784818260000}},{"id":"uutZCu5ATM5","title":"Life Is Poker, Not Chess","url":"https://cms.kiranbrahma.com/i/life-is-poker-not-chess","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p><em>This essay brings together the main lessons I took from the book\"Thinking in Bets\". I have grouped them into three themes: probability, luck versus skill, and how to make better bets. (Book: <a href=\"https://link.amazon/B0hYmcIYs\" rel=\"noopener noreferrer\" target=\"_blank\">Annie Duke.. (2018). Thinking In Bets.</a>)</em></p>\n<p><br></p>\n<hr>\n<p><br></p>\n<p>Over the past year, I have become heavily dependent on AI for everything, small and big. AI has its quirks. Every new model release requires me to understand those quirks all over again.</p>\n<p>I first read <u><a href=\"https://link.amazon/B0hYmcIYs\" rel=\"noopener noreferrer\" target=\"_blank\">Annie Duke’s Thinking in Bets</a></u> in 2020. I enjoyed the book and picked up a few lessons, but forgot most of them. Two weeks ago, after Claude made far too many errors in my code, I recalled a few concepts I read in the book .</p>\n<p>I realised that if I have to work with a highly capable probabilistic machine every day, I need to improve my understanding of probabilistic thinking. Last week, I picked up the book again.</p>\n<p>Since finishing <u><a href=\"https://link.amazon/B08uRp9QV\" rel=\"noopener noreferrer\" target=\"_blank\">Mortimer Adler’s How to Read a Book</a></u>, I have been trying to invest more time to truly understand what I read. I have also been reviewing the highlights and notes from books I enjoyed over the years.</p>\n<p>My goal is to write a standalone essay for every book I read, so that I can recall the ideas much faster.</p>\n<p>My motive to publish these essays is a bit selfish. Publishing encourages me to critically review my essay. I spent the last 3-4 days editing my essay on ‘Thinking in Bets'. I plan to publish an essay once every two weeks.</p>\n<p>Growing up, I always admired chess grand masters for their intelligence. Chess is a game with well defined rules and access to complete information. I adopted a similar mentality: gather sufficient info and reason logically to arrive at the right answer.</p>\n<p>Once the outcome of a decision was clear, I judged the decision as good or bad. A positive outcome indicated I made the right choice. A negative result indicated an error on my part. I rarely accounted for luck.</p>\n<p>Chess allows you to analyse every move as good or bad. You can learn from our mistakes, and build better mental representations. With deliberate practice, you can improve your game. </p>\n<p>A poker game provides us with no such clarity. You cannot see your opponent’s card before placing a bet. Even if you win or lose a hand, you are not clear if your choice was good or bad. </p>\n<p>Anne’s central thesis in her book is simple: Life is a game of poker, not chess. You make decisions with limited information. Luck plays a role in every decision’s outcome.  </p>\n<p>I read Annie’s book to answer a simple question:  </p>\n<p><em>How can I make better decisions? </em></p>\n<p>Annie recommends the following:</p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Treat every decision as a bet. </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Assign probabilities to our beliefs. </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Focus on the process. </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Be open to disagreements</li>\n</ol>\n<p>I classified the ideas presented in the book into three broad themes: probability, luck versus skill, and how to make better bets.</p>\n<h2><strong>Terms</strong></h2>\n<p>Throughout the book, Annie uses certain terms to help us understand our mistakes. </p>\n<p><strong>Beliefs: </strong>Views formed by us based on our experiences, what read or heard from others</p>\n<p><strong>Narrative: </strong>The story we tell about ourselves. Once formed, we rarely update it with new information</p>\n<p><strong>Resulting: </strong>Judging the quality of our decisions on its outcome. </p>\n<p><strong>Hindsight Bias: </strong>‘I should have seen this happening’ feeling within us</p>\n<p><strong>Motivated Reasoning:</strong> Limiting ourselves only to facts or analysis that complement our narrative</p>\n<p><strong>Black-and-White Thinking: </strong>All or nothing. Either it's good or bad. No other option exists in between.</p>\n<p><strong>Confirmatory Thought: </strong>Defending our beliefs or narrative</p>\n<p><strong>Fielding: </strong>Analysing the role of luck and skill in a decision’s outcome. We field poorly</p>\n<h2><strong>“Wanna Bet?”</strong></h2>\n<p>Annie argues that resulting is our most common decision-making mistake. </p>\n<p>An outcome is dependent on how you choose and luck. Even well-thought-out decisions fail, and random ones succeed. You can never exclude luck from the equation. </p>\n<p>Resulting makes us treat outcomes as final verdict, not as evidence for further analysis. </p>\n<p>You can never say with certainty that our decision was right or wrong. You need to look back when the decision was made to understand better. New information may come into light, and hindsight bias does the rest. </p>\n<p>You form certain beliefs on what happened, and why it happened. Over time, multiple such beliefs transform into a narrative about the world, and ourselves. You start ignoring uncertainty behind every such belief. </p>\n<p>We then form beliefs from that story. As time passes, those beliefs harden into a narrative about the world and about who we are.</p>\n<p>The beliefs start defining us. If someone questions your belief, it feels personal. You start defending them. No wonder, I feel offended when questioned on my political beliefs.</p>\n<p>Motivated reasoning lets me cherry-pick facts that fit my political views, while ignoring everything else. I assume I am being rational by presenting facts, but I am just building a stronger defence for my beliefs. </p>\n<p>Annie argues that intelligence rarely protects us from motivated reasoning. She writes that intelligence helps a person to review evidence, and search for truth. It also aids you in building a better narrative. You are now defending your beliefs with stronger conviction.</p>\n<p>I found this argument a bit hard to accept on face value. Annie asserts that intelligent people tend to be on the wrong side more than others.</p>\n<p>Intelligence improves our ability to reason better. How we choose this ability is the key question to ask ourselves. We can either use it to test our beliefs or validate them</p>\n<p>Annie’s proposition reminded me of the Greek poet Archilochus. He wrote that <u><a href=\"https://en.wikipedia.org/wiki/The_Hedgehog_and_the_Fox\" rel=\"noopener noreferrer\" target=\"_blank\">a fox knows many things, but a hedgehog knows one big thing</a></u>. Isaiah Berlin expanded the quote into an essay on how to distinguish between two kinds of thinkers.</p>\n<p>Some review multiple ideas before developing their beliefs. Others prefer to bucket their beliefs around one central idea. </p>\n<p>When you are clueless, we adopt a fox mentality. Once a certain belief is formed, you slowly morph into a hedgehog. You build one grand theory, and try to fit every new fact within it.</p>\n<p>Charlie Munger described a similar habit as the man-with-a-hammer syndrome:</p>\n<p><em><u><a href=\"https://finance.yahoo.com/news/charlie-munger-said-man-hammer-154534139.html?guccounter=1\" rel=\"noopener noreferrer\" target=\"_blank\">‘To a man with a hammer, every problem tends to look like a nail.’</a></u></em></p>\n<p>The problem is not with intelligence. The problem is using one or two ideas to explain everything.</p>\n<p>Annie’s recommendation: treat every important belief into a bet. Ask yourself whether you are willing to place real money behind it. The question ‘Wanna Bet’, changes the way we look at our beliefs.</p>\n<p>A belief can exist in our head free of cost. Once you evaluate if you can place money behind a belief, we look at it closely. </p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Where did the belief come from?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span> How good is the source? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What am I missing? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What would make me change my mind?</li>\n</ol>\n<p>Annie recommends expressing your confidence as a number. Instead of saying, “I am sure.”, say, “I have seventy percent confidence.”</p>\n<p>The number does nothing to our belief, it just makes you express the uncertainty behind our belief. You can move from 70% confidence to 50% if new facts emerge. It is far easier than moving from “I am sure” to “I am not so sure”. </p>\n<p>The scientific method offers us a useful analogy. Scientists observe the natural world, ask questions, test ideas, and state their conclusions. </p>\n<p>Peers can review to either accept or criticise their findings. If evidence emerges that contradicts their findings, they are open to modifying their theories.  </p>\n<p>Scientists are also human. A few may get attached to their theories, and resist criticism. However, the scientific method permits others to question their beliefs openly. </p>\n<p>I have never questioned the credibility of a scientist even when new evidence disproved their theories. Most of them acknowledge it openly. I trust such scientists even more. </p>\n<p>If you can rate your confidence, accept uncertainty, and explain why your view has changed, you can think clearly. </p>\n<p>The aim is not to doubt everything. It is to stop claiming more certainty than your belief deserves</p>\n<h2><strong>Luck Versus Skill</strong></h2>\n<p>Once an outcome is known, we need to answer a far tougher question: Was the result due to my skill, or was I just lucky. Annie calls this fielding. She argues that most of us field poorly.</p>\n<p>We are the heroes of our own life stories. We believe that success is due to our skills and losses are due to bad luck. This protects our ego. The protection prevents us from learning our wins and losses. </p>\n<p>You may double down on a poor choice because it worked once. You might abandon a sound process because of a single failure.</p>\n<p>A regular coin has an equal chance of landing heads or tails. Toss it ten times. It is highly likely to get more than five heads or tails. Even one thousand such tosses doesn’t guarantee exactly five hundred heads and five hundred tails.</p>\n<p>Suppose you earn ₹100 for every head and lose ₹100 for every tail. The odds are even. Your calculations say that you will neither win or lose any money. However, after a small number of tosses, you may end up richer or poorer. </p>\n<p>The same game plays out in business and life. A good process can fail due to bad luck. A weak process can benefit from one lucky run.</p>\n<p>The expectation of a large payoff can make our earlier losses feel irrelevant. We play such games even when our calculations say otherwise. The payoff resets our expectations and encourages us to try again.</p>\n<p>This is one reason you sometimes repeat certain actions even when the process is doubtful. Luck can often reward wrong behaviour.</p>\n<p>Two other biases make it harder to learn from outcomes: hindsight bias and black-and-white thinking.</p>\n<p>Once an outcome is known, the result feels inevitable. You create a story explaining why it happened and tell ourselves that it was obvious. </p>\n<p>The lingering doubts that existed before the decision disappears from our memory.</p>\n<p>We also prefer to rate every result as either a clean win or a clear loss. However, most outcomes are a muddy mixture of both.</p>\n<p>A failed business idea may reveal a useful customer segment. A profitable contract may consume so much working capital that it places our entire business at risk. A successful hire does not prove that our hiring process is sound.</p>\n<p>Each result contains several lessons. Black-and-white thinking compresses them into a key takeaway. We get a simple answer. We prefer certainty over uncertainty, and in control of our decision’s possible outcomes.</p>\n<p>Hindsight bias and black-and-white thinking offer us a comforting story. They do not provide us with an accurate one.</p>\n<p>Annie argues that the one way out is honest fielding. Ask yourselves how much was due to our skill, how much was due to the situation, and how much was due to luck. </p>\n<p>Situation matters a lot. The same action is rational under certain and careless under another. No decision can be judged without taking into account the information, constraints, alternatives, and risks.</p>\n<p>You can never separate skill and luck with complete accuracy. However, never avoid asking the question: Was the result due to my skill, or was I just lucky</p>\n<p>A rough but honest answer is better than a nice story that protects the ego. You can learn only when you are honest with yourself on why things happened the way they did.</p>\n<h2><strong>Improving Our Decisions</strong></h2>\n<p>Recognising our biases does not eliminate them.Annie argues that you cannot correct your thinking on our own. </p>\n<p>We are good at spotting errors in other people’s reasoning but poor at finding the same errors in ours.</p>\n<p>She suggests forming a small group that debates decisions. Reward accuracy over agreement. The purpose is not consensus. It is to improve the quality of our beliefs.</p>\n<p>During a case discussion in my Supply Chain Management course at ISB, the professor explained how average conceals the multitude of potential outcomes a system has to manage.</p>\n<p>I started investing in index funds based on an expected average return of 12-13%. My actual returns in the past ten years fluctuated between -18% and 24%. It is clear that relying only on the average isn't enough; you need to account for the fluctuations and evaluate whether you can accept it. </p>\n<p>I see a similar lesson in Annie’s argument. Once you consider several possible outcomes, you are better prepared for a future where things don't go the way you initially assumed. </p>\n<p>Annie recommends building your own decision Group. Such groups should adopt the <u><a href=\"https://en.wikipedia.org/wiki/Mertonian_norms\" rel=\"noopener noreferrer\" target=\"_blank\">CUDOS framework</a></u>, which was developed by Robert Merton while studying how science should work.</p>\n<p>CUDOS stands for Communalism, Universalism, Disinterestedness, and Organised Scepticism.</p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Communalism means that relevant information should be available to the group.</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Universalism means that the same standard should apply to every claim, regardless of who made it.</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Disinterestedness means remaining alert to interests that may affect judgment. </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Organised scepticism means that questioning and disagreement should be expected.</li>\n</ol>\n<p>A decision group should judge an idea on its merit, not on the status of the person who suggested it.</p>\n<p>The idea sounds great on paper but difficult to adopt. Everyone, including me, prefers spending time with people who share similar beliefs. I often avoid people who disagree with me.</p>\n<p>A decision group works only when every member can ask difficult questions. They must be free to test the logic, examine the facts, study the situation, and consider other possibilities.</p>\n<p>Over the past year, I used AI to debate my ideas. I can ask it to act as a devil’s advocate and criticise my reasoning. Most of the time, AI often softens the criticism. In the end, AI has been trained to be a helpful assistant.</p>\n<p>I am currently testing a different approach. I tell the AI that the idea came from a friend and that I need to give him critical feedback. AI response appears more critical than before. It is too early to conclude that my method works, but it is slightly better than my earlier approach.</p>\n<p>Annie warns against running these conversations only inside our own heads. We already know which answer we want. Our imaginary critic, including an AI critic, may not be strong enough. Asking AI or ourselves to think like Steve Jobs is not the same as actually asking Steve Jobs.</p>\n<p>It is often better to ask someone for feedback. State upfront that her or she can disagree with you. </p>\n<p>When reviewing a decision, Annie suggests hiding the outcome from the group. Share only the facts, assumptions, situation, alternatives, and decision-making process. Tell the story only up to the point where the decision was made.</p>\n<p>If the group already knows the outcome, hindsight bias will affect the review. Members will work backwards and find reasons why the result was predictable.</p>\n<p>The final chapter uses time to create distance from our present emotion. One method is the <u><a href=\"https://www.oprah.com/spirit/suzy-welchs-rule-of-10-10-10-decision-making-guide\" rel=\"noopener noreferrer\" target=\"_blank\">10-10-10 rule introduced by Suzy Welch.</a></u></p>\n<p>Ask what the consequences of a choice will be in ten minutes, ten months, and ten years.</p>\n<p>Warren Buffett made a related point in his <u><a href=\"https://www.berkshirehathaway.com/letters/1996.html\" rel=\"noopener noreferrer\" target=\"_blank\">1996 shareholder letter</a></u>. He wrote that investors unwilling to own a stock for ten years should not consider owning it for ten minutes.</p>\n<p>Annie also recommends looking backwards.</p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>How would I feel today if I had made this decision ten minutes ago? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What if I had made it ten months or ten years ago? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Would I accept the reasoning, or would I call it careless?</li>\n</ol>\n<p>Annie acknowledges that no framework or process or tool will make us perfectly rational. Every idea in the book is meant to help us think more clearly. </p>\n<p>You can never remove emotion or past experience from our decisions. Nor should you pretend that emotions provide no useful information. Fear may point towards a risk. Excitement may point towards an opportunity.</p>\n<p>The problem begins when the emotion of the moment overrides our entire decision-making process.</p>\n<p>Annie recommends debating multiple possible outcomes before acting. She discusses three methods that can help: backcasting, pre-commitment, and the premortem.</p>\n<p>Backcasting begins with the desired result. Imagine that the goal has already been achieved, then work backwards.</p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What needed to happen immediately before success? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What needed to happen before that?</li>\n</ol>\n<p>Ask the same questions at every important stage. Backcasing allows you to unearth certain conditions required for a plan to succeed. It also helps you notice when one of those conditions no longer holds.</p>\n<p>Pre-commitment means deciding some rules before pressure arrives.</p>\n<p>An investor may decide when to sell before buying. A business may set its maximum credit period before entering a negotiation.</p>\n<p>Pre-Commitment rules are not permanent in nature. When new facts emerge, you can update them. These rules act as a natural speak-breaker. Ask yourselves if the facts have changed or whether our emotions are at play. </p>\n<p>A premortem assumes that the project or plan has failed. Now you prepare a report explaining the failure. List down all plausible reasons for failure. </p>\n<p>Treating failure as given makes it easier to share concerns. During planning phases, others ignore sharing their concerns to avoid being labelled a skeptic or against the team. The exercise is meant to bring forth all hidden risks into the open before moving ahead. </p>\n<p>Backcasting begins with success. A premortem begins with failure. Pre-commitment protects the decision from the person you may become under pressure.</p>\n<p>None of these methods predicts the future. They just force you to think in more vivid details about the future</p>\n<h2><strong>Where This Leaves Me</strong></h2>\n<p>Reading the book made me realise that the book is not me offering tools that guarantee me more wins. Annie is explaining how poker helped her to think more clearly.</p>\n<p>The book made it clear to me that a good decision can fail, and a poor one can succeed. The aim is to improve the process, not guarantee the outcome.</p>\n<p>‘Thinking in Bets’ is a primer for anyone interested in developing a probabilistic thinking mindset. </p>\n<p>Now, not every decision needs this detailed analysis. If I apply the entire process for every decision, I would be just wasting my time. It could even become another way to avoid acting.</p>\n<p>The book’s approach matters when the stakes are high, when the choice is difficult to reverse, or when one outcome can determine what happens next.</p>\n<p>I clearly see the value of recording the reasoning behind major decisions. A written record gives me something more reliable than memory when I review it later. </p>\n<p>I currently don’t maintain any decision journal. I planned to build one when I first read the book but kept delaying. Reading the book again made it clear that I can’t keep delaying building one. </p>\n<p>The tools in the book assume that past failures don't impact my present survival. A decision can have favourable odds and still be unacceptable. It can offer a good expected outcome while exposing me to ruin.</p>\n<p>The average result does not matter if one bad outcome removes my ability to continue.</p>\n<p>Before asking whether something is a good bet, I need to ask whether I can survive being wrong.</p>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>How much can I afford to lose? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Can I reverse the decision? </li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What happens if the least favourable plausible outcome occurs?</li>\n</ol>\n<p>Not every decision is reversible.</p>\n<p>Poker players can make another bet only while they still have chips. A business can make another decision only while it still has cash, people, trust, and time.</p>\n<p>My first rule is simple: Never make a bet you cannot survive losing.</p>\n<h2><strong>Appendix A: Question Bank</strong></h2>\n<ol>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Which past decision am I calling good or bad mainly because of its outcome?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What alternative futures did I reject, and what is the opportunity cost for such rejections?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What probability would I attach to my current belief if I had to make the estimate public?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What evidence would cause me to change that estimate by at least twenty percentage points?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Which part of a recent outcome came from process, execution, other people, hidden information, and luck?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What explanation of this outcome best protects my self-image, and what does that incentive cause me to ignore?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Who could review this decision without knowing my position or the eventual outcome?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Does my decision group contain different evidence and assumptions, or merely different personalities?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What must be true for the desired future to occur, and which required event has the lowest probability?</li>\n  <li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>If the plan failed completely, what cause would appear obvious in hindsight, and what can be done about it now?</li>\n</ol>\n<h2><strong>Appendix B: Decision Rules</strong></h2>\n<ol>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Never make a bet you cannot survive losing.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Treat every important belief as a bet.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>State confidence as a probability.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Decide in advance what would change your mind.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Judge the decision separately from its result.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Separate skill, circumstances, and luck.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Record the reasoning before the outcome is known.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Ask for disagreement before seeking approval.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Examine both success and failure before acting.</li>\n  <li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Make rules before emotion arrives.</li>\n</ol>\n<p><br></p>\n<p><br></p>","content_text":"This essay brings together the main lessons I took from the book\"Thinking in Bets\". I have grouped them into three themes: probability, luck versus skill, and how to make better bets. (Book: Annie Duke.. (2018). Thinking In Bets. )\n\nOver the past year, I have become heavily dependent on AI for everything, small and big. AI has its quirks. Every new model release requires me to understand those quirks all over again.\n\nI first read Annie Duke’s Thinking in Bets in 2020. I enjoyed the book and picked up a few lessons, but forgot most of them. Two weeks ago, after Claude made far too many errors in my code, I recalled a few concepts I read in the book .\n\nI realised that if I have to work with a highly capable probabilistic machine every day, I need to improve my understanding of probabilistic thinking. Last week, I picked up the book again.\n\nSince finishing Mortimer Adler’s How to Read a Book , I have been trying to invest more time to truly understand what I read. I have also been reviewing the highlights and notes from books I enjoyed over the years.\n\nMy goal is to write a standalone essay for every book I read, so that I can recall the ideas much faster.\n\nMy motive to publish these essays is a bit selfish. Publishing encourages me to critically review my essay. I spent the last 3-4 days editing my essay on ‘Thinking in Bets'. I plan to publish an essay once every two weeks.\n\nGrowing up, I always admired chess grand masters for their intelligence. Chess is a game with well defined rules and access to complete information. I adopted a similar mentality: gather sufficient info and reason logically to arrive at the right answer.\n\nOnce the outcome of a decision was clear, I judged the decision as good or bad. A positive outcome indicated I made the right choice. A negative result indicated an error on my part. I rarely accounted for luck.\n\nChess allows you to analyse every move as good or bad. You can learn from our mistakes, and build better mental representations. With deliberate practice, you can improve your game.\n\nA poker game provides us with no such clarity. You cannot see your opponent’s card before placing a bet. Even if you win or lose a hand, you are not clear if your choice was good or bad.\n\nAnne’s central thesis in her book is simple: Life is a game of poker, not chess. You make decisions with limited information. Luck plays a role in every decision’s outcome.\n\nI read Annie’s book to answer a simple question:\n\nHow can I make better decisions?\n\nAnnie recommends the following:\n\nTreat every decision as a bet.\n\nAssign probabilities to our beliefs.\n\nFocus on the process.\n\nBe open to disagreements\n\nI classified the ideas presented in the book into three broad themes: probability, luck versus skill, and how to make better bets.\n\nTerms\n\nThroughout the book, Annie uses certain terms to help us understand our mistakes.\n\nBeliefs: Views formed by us based on our experiences, what read or heard from others\n\nNarrative: The story we tell about ourselves. Once formed, we rarely update it with new information\n\nResulting: Judging the quality of our decisions on its outcome.\n\nHindsight Bias: ‘I should have seen this happening’ feeling within us\n\nMotivated Reasoning: Limiting ourselves only to facts or analysis that complement our narrative\n\nBlack-and-White Thinking: All or nothing. Either it's good or bad. No other option exists in between.\n\nConfirmatory Thought: Defending our beliefs or narrative\n\nFielding: Analysing the role of luck and skill in a decision’s outcome. We field poorly\n\n“Wanna Bet?”\n\nAnnie argues that resulting is our most common decision-making mistake.\n\nAn outcome is dependent on how you choose and luck. Even well-thought-out decisions fail, and random ones succeed. You can never exclude luck from the equation.\n\nResulting makes us treat outcomes as final verdict, not as evidence for further analysis.\n\nYou can never say with certainty that our decision was right or wrong. You need to look back when the decision was made to understand better. New information may come into light, and hindsight bias does the rest.\n\nYou form certain beliefs on what happened, and why it happened. Over time, multiple such beliefs transform into a narrative about the world, and ourselves. You start ignoring uncertainty behind every such belief.\n\nWe then form beliefs from that story. As time passes, those beliefs harden into a narrative about the world and about who we are.\n\nThe beliefs start defining us. If someone questions your belief, it feels personal. You start defending them. No wonder, I feel offended when questioned on my political beliefs.\n\nMotivated reasoning lets me cherry-pick facts that fit my political views, while ignoring everything else. I assume I am being rational by presenting facts, but I am just building a stronger defence for my beliefs.\n\nAnnie argues that intelligence rarely protects us from motivated reasoning. She writes that intelligence helps a person to review evidence, and search for truth. It also aids you in building a better narrative. You are now defending your beliefs with stronger conviction.\n\nI found this argument a bit hard to accept on face value. Annie asserts that intelligent people tend to be on the wrong side more than others.\n\nIntelligence improves our ability to reason better. How we choose this ability is the key question to ask ourselves. We can either use it to test our beliefs or validate them\n\nAnnie’s proposition reminded me of the Greek poet Archilochus. He wrote that a fox knows many things, but a hedgehog knows one big thing . Isaiah Berlin expanded the quote into an essay on how to distinguish between two kinds of thinkers.\n\nSome review multiple ideas before developing their beliefs. Others prefer to bucket their beliefs around one central idea.\n\nWhen you are clueless, we adopt a fox mentality. Once a certain belief is formed, you slowly morph into a hedgehog. You build one grand theory, and try to fit every new fact within it.\n\nCharlie Munger described a similar habit as the man-with-a-hammer syndrome:\n\n‘To a man with a hammer, every problem tends to look like a nail.’\n\nThe problem is not with intelligence. The problem is using one or two ideas to explain everything.\n\nAnnie’s recommendation: treat every important belief into a bet. Ask yourself whether you are willing to place real money behind it. The question ‘Wanna Bet’, changes the way we look at our beliefs.\n\nA belief can exist in our head free of cost. Once you evaluate if you can place money behind a belief, we look at it closely.\n\nWhere did the belief come from?\n\nHow good is the source?\n\nWhat am I missing?\n\nWhat would make me change my mind?\n\nAnnie recommends expressing your confidence as a number. Instead of saying, “I am sure.”, say, “I have seventy percent confidence.”\n\nThe number does nothing to our belief, it just makes you express the uncertainty behind our belief. You can move from 70% confidence to 50% if new facts emerge. It is far easier than moving from “I am sure” to “I am not so sure”.\n\nThe scientific method offers us a useful analogy. Scientists observe the natural world, ask questions, test ideas, and state their conclusions.\n\nPeers can review to either accept or criticise their findings. If evidence emerges that contradicts their findings, they are open to modifying their theories.\n\nScientists are also human. A few may get attached to their theories, and resist criticism. However, the scientific method permits others to question their beliefs openly.\n\nI have never questioned the credibility of a scientist even when new evidence disproved their theories. Most of them acknowledge it openly. I trust such scientists even more.\n\nIf you can rate your confidence, accept uncertainty, and explain why your view has changed, you can think clearly.\n\nThe aim is not to doubt everything. It is to stop claiming more certainty than your belief deserves\n\nLuck Versus Skill\n\nOnce an outcome is known, we need to answer a far tougher question: Was the result due to my skill, or was I just lucky. Annie calls this fielding. She argues that most of us field poorly.\n\nWe are the heroes of our own life stories. We believe that success is due to our skills and losses are due to bad luck. This protects our ego. The protection prevents us from learning our wins and losses.\n\nYou may double down on a poor choice because it worked once. You might abandon a sound process because of a single failure.\n\nA regular coin has an equal chance of landing heads or tails. Toss it ten times. It is highly likely to get more than five heads or tails. Even one thousand such tosses doesn’t guarantee exactly five hundred heads and five hundred tails.\n\nSuppose you earn ₹100 for every head and lose ₹100 for every tail. The odds are even. Your calculations say that you will neither win or lose any money. However, after a small number of tosses, you may end up richer or poorer.\n\nThe same game plays out in business and life. A good process can fail due to bad luck. A weak process can benefit from one lucky run.\n\nThe expectation of a large payoff can make our earlier losses feel irrelevant. We play such games even when our calculations say otherwise. The payoff resets our expectations and encourages us to try again.\n\nThis is one reason you sometimes repeat certain actions even when the process is doubtful. Luck can often reward wrong behaviour.\n\nTwo other biases make it harder to learn from outcomes: hindsight bias and black-and-white thinking.\n\nOnce an outcome is known, the result feels inevitable. You create a story explaining why it happened and tell ourselves that it was obvious.\n\nThe lingering doubts that existed before the decision disappears from our memory.\n\nWe also prefer to rate every result as either a clean win or a clear loss. However, most outcomes are a muddy mixture of both.\n\nA failed business idea may reveal a useful customer segment. A profitable contract may consume so much working capital that it places our entire business at risk. A successful hire does not prove that our hiring process is sound.\n\nEach result contains several lessons. Black-and-white thinking compresses them into a key takeaway. We get a simple answer. We prefer certainty over uncertainty, and in control of our decision’s possible outcomes.\n\nHindsight bias and black-and-white thinking offer us a comforting story. They do not provide us with an accurate one.\n\nAnnie argues that the one way out is honest fielding. Ask yourselves how much was due to our skill, how much was due to the situation, and how much was due to luck.\n\nSituation matters a lot. The same action is rational under certain and careless under another. No decision can be judged without taking into account the information, constraints, alternatives, and risks.\n\nYou can never separate skill and luck with complete accuracy. However, never avoid asking the question: Was the result due to my skill, or was I just lucky\n\nA rough but honest answer is better than a nice story that protects the ego. You can learn only when you are honest with yourself on why things happened the way they did.\n\nImproving Our Decisions\n\nRecognising our biases does not eliminate them.Annie argues that you cannot correct your thinking on our own.\n\nWe are good at spotting errors in other people’s reasoning but poor at finding the same errors in ours.\n\nShe suggests forming a small group that debates decisions. Reward accuracy over agreement. The purpose is not consensus. It is to improve the quality of our beliefs.\n\nDuring a case discussion in my Supply Chain Management course at ISB, the professor explained how average conceals the multitude of potential outcomes a system has to manage.\n\nI started investing in index funds based on an expected average return of 12-13%. My actual returns in the past ten years fluctuated between -18% and 24%. It is clear that relying only on the average isn't enough; you need to account for the fluctuations and evaluate whether you can accept it.\n\nI see a similar lesson in Annie’s argument. Once you consider several possible outcomes, you are better prepared for a future where things don't go the way you initially assumed.\n\nAnnie recommends building your own decision Group. Such groups should adopt the CUDOS framework , which was developed by Robert Merton while studying how science should work.\n\nCUDOS stands for Communalism, Universalism, Disinterestedness, and Organised Scepticism.\n\nCommunalism means that relevant information should be available to the group.\n\nUniversalism means that the same standard should apply to every claim, regardless of who made it.\n\nDisinterestedness means remaining alert to interests that may affect judgment.\n\nOrganised scepticism means that questioning and disagreement should be expected.\n\nA decision group should judge an idea on its merit, not on the status of the person who suggested it.\n\nThe idea sounds great on paper but difficult to adopt. Everyone, including me, prefers spending time with people who share similar beliefs. I often avoid people who disagree with me.\n\nA decision group works only when every member can ask difficult questions. They must be free to test the logic, examine the facts, study the situation, and consider other possibilities.\n\nOver the past year, I used AI to debate my ideas. I can ask it to act as a devil’s advocate and criticise my reasoning. Most of the time, AI often softens the criticism. In the end, AI has been trained to be a helpful assistant.\n\nI am currently testing a different approach. I tell the AI that the idea came from a friend and that I need to give him critical feedback. AI response appears more critical than before. It is too early to conclude that my method works, but it is slightly better than my earlier approach.\n\nAnnie warns against running these conversations only inside our own heads. We already know which answer we want. Our imaginary critic, including an AI critic, may not be strong enough. Asking AI or ourselves to think like Steve Jobs is not the same as actually asking Steve Jobs.\n\nIt is often better to ask someone for feedback. State upfront that her or she can disagree with you.\n\nWhen reviewing a decision, Annie suggests hiding the outcome from the group. Share only the facts, assumptions, situation, alternatives, and decision-making process. Tell the story only up to the point where the decision was made.\n\nIf the group already knows the outcome, hindsight bias will affect the review. Members will work backwards and find reasons why the result was predictable.\n\nThe final chapter uses time to create distance from our present emotion. One method is the 10-10-10 rule introduced by Suzy Welch.\n\nAsk what the consequences of a choice will be in ten minutes, ten months, and ten years.\n\nWarren Buffett made a related point in his 1996 shareholder letter . He wrote that investors unwilling to own a stock for ten years should not consider owning it for ten minutes.\n\nAnnie also recommends looking backwards.\n\nHow would I feel today if I had made this decision ten minutes ago?\n\nWhat if I had made it ten months or ten years ago?\n\nWould I accept the reasoning, or would I call it careless?\n\nAnnie acknowledges that no framework or process or tool will make us perfectly rational. Every idea in the book is meant to help us think more clearly.\n\nYou can never remove emotion or past experience from our decisions. Nor should you pretend that emotions provide no useful information. Fear may point towards a risk. Excitement may point towards an opportunity.\n\nThe problem begins when the emotion of the moment overrides our entire decision-making process.\n\nAnnie recommends debating multiple possible outcomes before acting. She discusses three methods that can help: backcasting, pre-commitment, and the premortem.\n\nBackcasting begins with the desired result. Imagine that the goal has already been achieved, then work backwards.\n\nWhat needed to happen immediately before success?\n\nWhat needed to happen before that?\n\nAsk the same questions at every important stage. Backcasing allows you to unearth certain conditions required for a plan to succeed. It also helps you notice when one of those conditions no longer holds.\n\nPre-commitment means deciding some rules before pressure arrives.\n\nAn investor may decide when to sell before buying. A business may set its maximum credit period before entering a negotiation.\n\nPre-Commitment rules are not permanent in nature. When new facts emerge, you can update them. These rules act as a natural speak-breaker. Ask yourselves if the facts have changed or whether our emotions are at play.\n\nA premortem assumes that the project or plan has failed. Now you prepare a report explaining the failure. List down all plausible reasons for failure.\n\nTreating failure as given makes it easier to share concerns. During planning phases, others ignore sharing their concerns to avoid being labelled a skeptic or against the team. The exercise is meant to bring forth all hidden risks into the open before moving ahead.\n\nBackcasting begins with success. A premortem begins with failure. Pre-commitment protects the decision from the person you may become under pressure.\n\nNone of these methods predicts the future. They just force you to think in more vivid details about the future\n\nWhere This Leaves Me\n\nReading the book made me realise that the book is not me offering tools that guarantee me more wins. Annie is explaining how poker helped her to think more clearly.\n\nThe book made it clear to me that a good decision can fail, and a poor one can succeed. The aim is to improve the process, not guarantee the outcome.\n\n‘Thinking in Bets’ is a primer for anyone interested in developing a probabilistic thinking mindset.\n\nNow, not every decision needs this detailed analysis. If I apply the entire process for every decision, I would be just wasting my time. It could even become another way to avoid acting.\n\nThe book’s approach matters when the stakes are high, when the choice is difficult to reverse, or when one outcome can determine what happens next.\n\nI clearly see the value of recording the reasoning behind major decisions. A written record gives me something more reliable than memory when I review it later.\n\nI currently don’t maintain any decision journal. I planned to build one when I first read the book but kept delaying. Reading the book again made it clear that I can’t keep delaying building one.\n\nThe tools in the book assume that past failures don't impact my present survival. A decision can have favourable odds and still be unacceptable. It can offer a good expected outcome while exposing me to ruin.\n\nThe average result does not matter if one bad outcome removes my ability to continue.\n\nBefore asking whether something is a good bet, I need to ask whether I can survive being wrong.\n\nHow much can I afford to lose?\n\nCan I reverse the decision?\n\nWhat happens if the least favourable plausible outcome occurs?\n\nNot every decision is reversible.\n\nPoker players can make another bet only while they still have chips. A business can make another decision only while it still has cash, people, trust, and time.\n\nMy first rule is simple: Never make a bet you cannot survive losing.\n\nAppendix A: Question Bank\n\nWhich past decision am I calling good or bad mainly because of its outcome?\n\nWhat alternative futures did I reject, and what is the opportunity cost for such rejections?\n\nWhat probability would I attach to my current belief if I had to make the estimate public?\n\nWhat evidence would cause me to change that estimate by at least twenty percentage points?\n\nWhich part of a recent outcome came from process, execution, other people, hidden information, and luck?\n\nWhat explanation of this outcome best protects my self-image, and what does that incentive cause me to ignore?\n\nWho could review this decision without knowing my position or the eventual outcome?\n\nDoes my decision group contain different evidence and assumptions, or merely different personalities?\n\nWhat must be true for the desired future to occur, and which required event has the lowest probability?\n\nIf the plan failed completely, what cause would appear obvious in hindsight, and what can be done about it now?\n\nAppendix B: Decision Rules\n\nNever make a bet you cannot survive losing.\n\nTreat every important belief as a bet.\n\nState confidence as a probability.\n\nDecide in advance what would change your mind.\n\nJudge the decision separately from its result.\n\nSeparate skill, circumstances, and luck.\n\nRecord the reasoning before the outcome is known.\n\nAsk for disagreement before seeking approval.\n\nExamine both success and failure before acting.\n\nMake rules before emotion arrives.","image":"https://media.kiranbrahma.com/production/images/item-14c9bdae753b1361ce39b2849413745e.avif","categories":[{"id":"dDr5j9wTMVx","name":"Learnings from Books","slug":"books","url":"https://cms.kiranbrahma.com/category/books/"}],"date_published":"2026-07-14T10:22:00.000Z","date_modified":"2026-11-03T10:50:07.356Z","_microfeed":{"seo":{"description":"I explore how Annie Duke’s Thinking in Bets reshaped my view of probability, luck and decision‑making, especially when working with AI."},"web_url":"https://cms.kiranbrahma.com/i/life-is-poker-not-chess-uutZCu5ATM5/","json_url":"https://cms.kiranbrahma.com/i/uutZCu5ATM5/json/","rss_url":"https://cms.kiranbrahma.com/i/uutZCu5ATM5/rss/","guid":"uutZCu5ATM5","status":"published","itunes:episodeType":"full","date_published_short":"Tue Jul 14 2026","date_published_ms":1784024520000}},{"id":"ahlVYRPDqR6","title":"The Agency Cost: Why You Can't Hire Your Way Out of Ignorance","attachments":[{"url":"https://link.amazon/B0iDkf9P2","mime_type":"text/html"}],"url":"https://cms.kiranbrahma.com/i/the-agency-cost/","external_url":"https://link.amazon/B0iDkf9P2","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>By Sept 2021, my business stabilised after 18 months of Covid disruption. I could focus towards growth instead of survival.</p><p>I spent most of my career in operations, with limited understanding about sales. I knew words such as leads, prospects, pipeline, follow-up and relationship management. However, I did not know what those words meant when applied to my own business.</p><p>So I decided to hire a \"Sales Manager\". Six months and ₹ 2.5 Lakhs poorer, I learnt a simple lesson:</p><blockquote><em>I cannot hire well for a function when I cannot separate activity from progress.</em></blockquote><p>I was not hiring for a \"Sales Manager\". I was searching for clarity I did not have.</p><p>After meeting a few candidates, my Ops manager recommended someone with 12+ years of experience in my industry.</p><p>During his interview, he shared multiple anecdotes and success stories from his prior roles. He rarely mentioned how he did it or what support he needed from me to succeed.</p><p>I had my doubts but my limited knowledge and my operations manager's confidence made me ignore them. I made him an offer. He joined a week later.</p><p>Most articles and podcasts on sales repeat the same advice: Sales takes time and effort. Trusting that advice I told him:</p><blockquote><em>I don't expect results for the first two months. I expect business to start flowing in 45 to 60 days from now. Take your time to settle in and keep me posted on a weekly basis.</em></blockquote><p>What I actually said was:</p><blockquote><em>I don't know how to measure sales, so I will pay you to exist and hope revenue appears.</em></blockquote><p>For the next 90 days, he updated me on his '<em>building relationships'</em>, '<em>reaching out to my network',</em> and '<em>having conversations</em>' activities. He appeared busy but apart from a single proposal, nothing else happened.</p><p>Sales, like any other business function, has its own set of metrics. I should have tracked leads generated, qualifying leads to prospects, and proposals sent.</p><p>I never correlated his update work to any metric. So, I could not verify if he was doing the work or not.</p><p>Here is what I had missed: even if he did work hard, he would have failed. He knew how to work inside an established sales system. He had not shown that he could build one from scratch</p><p>I asked him to resign and he left quietly.</p><p>A week later, I ran the numbers: I paid him ₹ 2.5 Lakhs as salary and generated zero revenue. I could earn the money back, but never recover the time. I had wasted the post-lockdown momentum in the market.</p><p>I expected him to build a sales machine for me. I needed a builder, but I hired an operator (someone used to working inside a proven system). I could not tell the difference between \"the market is tough\" and \"the approach is wrong\".</p><p>It is easy to blame him. The larger mistake was mine. I never tested whether he could build.</p><p>In \"<u><a href=\"https://www.kiranbrahma.com/blog/the-anti-hustle-manifesto-lessons-from-book-rework/\" rel=\"noopener noreferrer\" target=\"_blank\">Rework</a></u>\", the Basecamp founders explain why they do the job before hiring for it. They valued clarity on the work before hiring anyone.</p><p>It made sense when I read it. I ignored it when it mattered.</p><p>I spent the next few weeks actually doing the job I was scared to do. I reviewed our existing leads, set up meetings and shared our service proposal. My team qualified 50 leads, met 20 prospects, sent 15 proposals, and won 3 contracts</p><p>I realised I had already been doing sales work. I had just never called it \"sales”.</p><p>Once our leads dried up, the real bottleneck was visible: we had no process to generate new ones. Rather than hiring for a \"Sales Manager\", I needed someone who could generate new leads.</p><p>While I am yet to hire a \"Sales Manager\", the lesson stayed with me: Try doing the job for two to three weeks before hiring. For roles I cannot do, I research to define progress metric before hiring.</p><p>Economists call this <u><a href=\"https://en.wikipedia.org/wiki/Agency_cost\" rel=\"noopener noreferrer\" target=\"_blank\">agency cost</a></u>: paying for work that you can't inspect. My failure to understand costed me ₹ 2.5 Lakhs and months of momentum.</p><p>Now, before I hire to solve a problem, I spend two to three weeks doing the work. Once I am able to write three specific metrics that explains the work's progress, only then I decide who needs to be hired.</p><p>If I cannot define at even three progress signals, I am not ready to hire. I am only outsourcing my confusion to someone else</p>","content_text":"By Sept 2021, my business stabilised after 18 months of Covid disruption. I could focus towards growth instead of survival.\nI spent most of my career in operations, with limited understanding about sales. I knew words such as leads, prospects, pipeline, follow-up and relationship management. However, I did not know what those words meant when applied to my own business.\nSo I decided to hire a \"Sales Manager\". Six months and ₹ 2.5 Lakhs poorer, I learnt a simple lesson:\nI cannot hire well for a function when I cannot separate activity from progress. I was not hiring for a \"Sales Manager\". I was searching for clarity I did not have.\nAfter meeting a few candidates, my Ops manager recommended someone with 12+ years of experience in my industry.\nDuring his interview, he shared multiple anecdotes and success stories from his prior roles. He rarely mentioned how he did it or what support he needed from me to succeed.\nI had my doubts but my limited knowledge and my operations manager's confidence made me ignore them. I made him an offer. He joined a week later.\nMost articles and podcasts on sales repeat the same advice: Sales takes time and effort. Trusting that advice I told him:\nI don't expect results for the first two months. I expect business to start flowing in 45 to 60 days from now. Take your time to settle in and keep me posted on a weekly basis. What I actually said was:\nI don't know how to measure sales, so I will pay you to exist and hope revenue appears. For the next 90 days, he updated me on his ' building relationships' , ' reaching out to my network', and ' having conversations ' activities. He appeared busy but apart from a single proposal, nothing else happened.\nSales, like any other business function, has its own set of metrics. I should have tracked leads generated, qualifying leads to prospects, and proposals sent.\nI never correlated his update work to any metric. So, I could not verify if he was doing the work or not.\nHere is what I had missed: even if he did work hard, he would have failed. He knew how to work inside an established sales system. He had not shown that he could build one from scratch\nI asked him to resign and he left quietly.\nA week later, I ran the numbers: I paid him ₹ 2.5 Lakhs as salary and generated zero revenue. I could earn the money back, but never recover the time. I had wasted the post-lockdown momentum in the market.\nI expected him to build a sales machine for me. I needed a builder, but I hired an operator (someone used to working inside a proven system). I could not tell the difference between \"the market is tough\" and \"the approach is wrong\".\nIt is easy to blame him. The larger mistake was mine. I never tested whether he could build.\nIn \" Rework \", the Basecamp founders explain why they do the job before hiring for it. They valued clarity on the work before hiring anyone.\nIt made sense when I read it. I ignored it when it mattered.\nI spent the next few weeks actually doing the job I was scared to do. I reviewed our existing leads, set up meetings and shared our service proposal. My team qualified 50 leads, met 20 prospects, sent 15 proposals, and won 3 contracts\nI realised I had already been doing sales work. I had just never called it \"sales”.\nOnce our leads dried up, the real bottleneck was visible: we had no process to generate new ones. Rather than hiring for a \"Sales Manager\", I needed someone who could generate new leads.\nWhile I am yet to hire a \"Sales Manager\", the lesson stayed with me: Try doing the job for two to three weeks before hiring. For roles I cannot do, I research to define progress metric before hiring.\nEconomists call this agency cost : paying for work that you can't inspect. My failure to understand costed me ₹ 2.5 Lakhs and months of momentum.\nNow, before I hire to solve a problem, I spend two to three weeks doing the work. Once I am able to write three specific metrics that explains the work's progress, only then I decide who needs to be hired.\nIf I cannot define at even three progress signals, I am not ready to hire. I am only outsourcing my confusion to someone else","image":"https://media.kiranbrahma.com/production/images/item-02143003afb5df0998f4fd004fcbd927.png","categories":[{"id":"tQJb-2yy-qd","name":"Personal Essays","slug":"essays","url":"https://cms.kiranbrahma.com/category/essays/"}],"date_published":"2026-07-07T09:38:00.000Z","date_modified":"2026-11-03T10:50:32.863Z","_microfeed":{"seo":{"description":"How hiring a sales manager without metrics cost me ₹2.5 Lakhs, and why I now do the work by myself, understand and establish the metrics before hiring anyone"},"is_audio":false,"is_document":false,"is_external_url":true,"is_video":false,"is_image":false,"web_url":"https://cms.kiranbrahma.com/i/the-agency-cost-why-you-cant-hire-your-way-out-o-ahlVYRPDqR6/","json_url":"https://cms.kiranbrahma.com/i/ahlVYRPDqR6/json/","rss_url":"https://cms.kiranbrahma.com/i/ahlVYRPDqR6/rss/","guid":"ahlVYRPDqR6","status":"published","itunes:episodeType":"full","date_published_short":"Tue Jul 07 2026","date_published_ms":1783417080000}},{"id":"pycCNM-3ncH","title":"O9X Build Log 26 - Wrapping my work in 5 Hour Sessions","url":"https://cms.kiranbrahma.com/i/o9x-build-log-26-wrapping-my-work-in-5-hour-sessions/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>Over the past year every AI tool I rely on for development of O9X has limited their usage limits(<a href=\"https://support.claude.com/en/articles/11647753-how-do-usage-and-length-limits-work\" rel=\"noopener noreferrer\" target=\"_blank\">usage limits that refresh every 5 hours, and a weekly limit</a>). Despite all my complaints, subscription is far cheaper than API usage (<a href=\"https://x.com/SemiAnalysis_/status/2064815044085318040\" rel=\"noopener noreferrer\" target=\"_blank\">up to 20X cheaper)</a>. As I started to hit the weekly limits faster, I realised I need to focus on getting most work done within one 5-hour session, rather than issues closed or code generated or <a href=\"https://en.wikipedia.org/wiki/Token_maxxing\" rel=\"noopener noreferrer\" target=\"_blank\">tokens consumed</a>.</p><p>Over the last three weeks, I moved from using the latest model to using whatever could close the work safely inside one 5-hour session. The change looks simple but it needed me to change how I plan work, which models to use, when to create handoffs, and when to consider an issue closed.</p><p>I currently subscribe to four AI providers:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Claude Pro Plan</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>ChatGPT Business Plan</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Ollama Pro Plan</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Gemini Pro Plan (<a href=\"https://www.jio.com/google-gemini-offer/\" rel=\"noopener noreferrer\" target=\"_blank\">18 Months free for Jio subscribers</a>)</li></ol><p>Before starting any new session, I need to make 3 key decisions: the model, the reasoning level and the coding harness. </p><p>I <a href=\"https://www.theoperatorstack.com/posts/log-11-hello-world-mandate\" rel=\"noopener noreferrer\" target=\"_blank\">started developing O9X in Claude Code</a> with Opus and Sonnet. In the initial days, apart from Anthropic models, I never found other models reliable (too many errors and bugs). I stayed with Claude till the launch of <a href=\"https://openai.com/index/introducing-gpt-5-3-codex/\" rel=\"noopener noreferrer\" target=\"_blank\">OpenAI’s GPT-5.3-Codex</a>. </p><p>In Feb ‘26 when <a href=\"https://openai.com/index/introducing-the-codex-app/\" rel=\"noopener noreferrer\" target=\"_blank\">OpenAI gave access to Codex</a> for its Go plan users, I tried Codex. I was impressed with both the Codex and the GPT-5.3-Codex model. Codex’s security plugin listed <a href=\"https://www.theoperatorstack.com/posts/log-23-audit-your-code\" rel=\"noopener noreferrer\" target=\"_blank\">90+ security loopholes</a> in my app. GPT-5.3-Codex identified <a href=\"https://www.theoperatorstack.com/posts/log-23-audit-your-code\" rel=\"noopener noreferrer\" target=\"_blank\">errors, encouraging me to re-design my workflow.</a> </p><p>In the same period, open-source models also made rapid improvement in code generation. However, in my test, I did notice <a href=\"https://www.okoone.com/spark/technology-innovation/why-your-open-source-ai-model-might-be-costing-you-more/\" rel=\"noopener noreferrer\" target=\"_blank\">higher token consumption</a> of around 20-50% (using <a href=\"https://build.nvidia.com/explore/discover\" rel=\"noopener noreferrer\" target=\"_blank\">Nvidia Nim’s free API</a>) when compared to Anthropic and OpenAI models. After a lot of trials, I subscribed to <a href=\"https://ollama.com/pricing\" rel=\"noopener noreferrer\" target=\"_blank\">the Ollama Cloud Pro plan</a>, giving me access to multiple open-source models.</p><p>For most part of May and June 2026, I updated my app’s payroll and compliance engine(implementing <a href=\"https://www.labour.gov.in/static/uploads/2025/07/e6e2df267f39a63f0061041ab0a07db4.pdf\" rel=\"noopener noreferrer\" target=\"_blank\">new labour codes</a>). Once done, I ran a <a href=\"https://developers.openai.com/codex/security/plugin\" rel=\"noopener noreferrer\" target=\"_blank\">security audit in Codex</a>, which identified eight minor issues and twenty architecture recommendations.</p><p>After reading the report, I tasked Opus 4.8 (Xhigh) to build a development plan using <a href=\"https://github.com/mattpocock/skills/blob/main/skills/engineering/to-prd/SKILL.md\" rel=\"noopener noreferrer\" target=\"_blank\">/to-prd</a> skill. While Opus 4.8 and GPT 5.5 are excellent models, they exhaust my limits rapidly (2-4 times faster). Hence, I use alternate models (Sonnet, GPT 5.4 Mini, Kimi 2.6 and GLM 5.1) for implementation.</p><p>I asked Opus 4.8 (Xhigh) to group the twenty recommendations into themes, and build a plan for each theme. Either Opus or GPT 5.5 generates each plan and the other reviews it. Opus 4.8 recommended four themes. After reviewing the themes, I asked Opus to generate detailed plans for both the four themes and the eight issues.</p><p>I fixed the eight issues without any errors. However, it wasn’t the case for the security recommendations.</p><p>Opus reviewed work completed for my first theme, highlighting multiple errors. I asked Opus to fix them. Fifteen minutes later, I got the dreaded message: 100% Usage. Resets in 2 hr 35 min. Not even 40% of the errors were fixed by then. </p><p>I was tightening access control for the payroll and the pricing engine in O9X. The app has six user types, and every feature has it’s own access rules. While tightening payroll and pricing, AI loosened access for the compliance end points. <a href=\"https://www.theoperatorstack.com/posts/log-8-project-brief\" rel=\"noopener noreferrer\" target=\"_blank\">My documentation</a> allowed Opus to catch such errors but exhausted my limits before it could fix them.</p><p>If I keep using GPT 5.5 or Opus 4.8 to either code or fix the errors, my weekly limit would be exhausted before resolving all pending issues. Rather than resume the old session, I <a href=\"https://www.kiranbrahma.com/blog/questioning-why-knowing-is-dangerous/\" rel=\"noopener noreferrer\" target=\"_blank\">asked myself a different question</a>: “How can I plan, build, test, review and deploy within one 5-hour session for different providers?”</p><p>In the first few months, Claude Pro plan (higher limits than current) was sufficient due to a simple rule: <a href=\"https://www.theoperatorstack.com/posts/ai-is-for-delegation-not-replacement\" rel=\"noopener noreferrer\" target=\"_blank\">limit scope to one small change</a>, then plan, build, test and deploy. Improvements in model capabilities resulted in <a href=\"https://en.wikipedia.org/wiki/Scope_creep\" rel=\"noopener noreferrer\" target=\"_blank\">scope creep</a> within my prompts. Realising the error, I changed my approach. Utilising the improved reasoning ability of Opus and GPT (Xhigh), I started generating detailed implementation plans using the below prompt:</p><blockquote>Now that we have identified all issues, let’s use the /to-prd skill to develop detailed implementation plans. The implementation will be done by smaller models (Sonnet, Kimi 2.6, or GPT-5.4 Mini). Hence the PRD needs to have complete details, with limited need to make decisions.You need to make those decisions now and if any are pending, ask me, don’t assume. Work with the assumption that the implementation agent has around a 150K context window and limit the need for compaction during execution. So, feel free to break down the pending issues into even smaller issues to meet the above constraint. Discuss with me before writing the plan. Don’t assume. Ask me for clarifications. We build tests before writing any code. Include a clear testing and  review protocol to allow the agent to check its own work. Review work needs to be outsourced to a sub-agent once work is completed.</blockquote><p>If either GPT or Opus was about to hit usage limits (~10%), I pause and create a <a href=\"https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff\" rel=\"noopener noreferrer\" target=\"_blank\">handoff document</a>. The twenty recommendations were converted into smaller twenty eight plans. Each plan was designed to be implemented in one shot. Over the next couple of days, I implemented each plan, reviewed it and after testing, I deployed the changes.</p><p>Every review session is done in the same planning session. When the session hits 60% context limit, I ask the AI to  build a <a href=\"https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff\" rel=\"noopener noreferrer\" target=\"_blank\">detailed handoff document</a> to continue in a new session. The goal of keeping review and planning in the same session is to see if similar errors are repeating across different plans. If similar errors are recurring, then my plan needs to be fixed before blaming it on the implementation agent.</p><p>Only after my code passes all tests, builds without any errors and my review agent confirms, I consider the issue is closed. UI changes are easy to observe but the backend is tricky so I use <a href=\"https://aws.amazon.com/what-is/unit-testing/\" rel=\"noopener noreferrer\" target=\"_blank\">Unit Testing</a> and <a href=\"https://circleci.com/blog/what-is-end-to-end-testing/\" rel=\"noopener noreferrer\" target=\"_blank\">E2E tests</a> to validate the changes. <a href=\"https://chatgpt.com/codex/cloud/security/findings\" rel=\"noopener noreferrer\" target=\"_blank\">Codex Security</a> automates security scans, so I resolve them as they appear.</p><p>One could argue that If I upgraded to Max plans of either Anthropic or OpenAI, I could have been done much faster with GPT-5.5 or Opus-4.8 (Xhigh). However, I wasn’t comfortable spending ten times more based on a hunch. I did not want to work under a constant threat of hitting my weekly usage limits.</p><p>My entire process does rest on two major assumptions: (1) I can afford to subscribe to multiple providers. (2) Open-source models keep improving with each release. Improvement in coding ability of open-source models is beyond my control but so far they have been doing a great job.</p><p>I would recommend Claude Code and Codex if you are just starting out. Be aware that they include around <a href=\"https://www.firecrawl.dev/blog/claude-code-token-efficiency\" rel=\"noopener noreferrer\" target=\"_blank\">12-20K of context overhead</a> unlike <a href=\"https://pi.dev/\" rel=\"noopener noreferrer\" target=\"_blank\">Pi</a>, which is around 1K tokens. However, Pi requires you to spend time to develop your own process else failure risk is higher. My current context overhead for Pi is around 5K tokens (ask Pi to build yours).</p><p>I <a href=\"https://www.theoperatorstack.com/posts/log-6-the-ai-token-trap\" rel=\"noopener noreferrer\" target=\"_blank\">learned early on</a> that if I don’t run a tight ship, I risk failure due to context rot. Once you cross around <a href=\"https://www.elvex.com/blog/optimize-context-windows-ai-performance\" rel=\"noopener noreferrer\" target=\"_blank\">60% context limits</a>, even the best models perform poorly. Hence, I include a 150K context window limit when building my plans.</p><p>Over the last three weeks I’ve moved from using the latest and greatest to using whatever does the job inside a single 5-hour session. Weekly limits also limit how many such sessions I can run in a week. Currently, I am able to get five or six in Codex, eight to ten in Claude Code, ten to twelve on Ollama. When my weekly limit for a plan drops to 10%, I shift to other providers. Most of O9X code was built when limits were more generous, so I don’t need to worry too much about the existing limits. </p><p>I still haven’t moved my planning conversations to open-source models, nor do I start a fresh Pi session without initial work in Codex or Claude Code. I’m being conservative about open-source models despite the benchmarks and the claims. A few months from now I may change my stance. For now I’d rather be safe than sorry.</p>","content_text":"Over the past year every AI tool I rely on for development of O9X has limited their usage limits( usage limits that refresh every 5 hours, and a weekly limit ). Despite all my complaints, subscription is far cheaper than API usage ( up to 20X cheaper) . As I started to hit the weekly limits faster, I realised I need to focus on getting most work done within one 5-hour session, rather than issues closed or code generated or tokens consumed .\nOver the last three weeks, I moved from using the latest model to using whatever could close the work safely inside one 5-hour session. The change looks simple but it needed me to change how I plan work, which models to use, when to create handoffs, and when to consider an issue closed.\nI currently subscribe to four AI providers:\nClaude Pro Plan\nChatGPT Business Plan\nOllama Pro Plan\nGemini Pro Plan ( 18 Months free for Jio subscribers )\nBefore starting any new session, I need to make 3 key decisions: the model, the reasoning level and the coding harness.\nI started developing O9X in Claude Code with Opus and Sonnet. In the initial days, apart from Anthropic models, I never found other models reliable (too many errors and bugs). I stayed with Claude till the launch of OpenAI’s GPT-5.3-Codex .\nIn Feb ‘26 when OpenAI gave access to Codex for its Go plan users, I tried Codex. I was impressed with both the Codex and the GPT-5.3-Codex model. Codex’s security plugin listed 90+ security loopholes in my app. GPT-5.3-Codex identified errors, encouraging me to re-design my workflow.\nIn the same period, open-source models also made rapid improvement in code generation. However, in my test, I did notice higher token consumption of around 20-50% (using Nvidia Nim’s free API ) when compared to Anthropic and OpenAI models. After a lot of trials, I subscribed to the Ollama Cloud Pro plan , giving me access to multiple open-source models.\nFor most part of May and June 2026, I updated my app’s payroll and compliance engine(implementing new labour codes ). Once done, I ran a security audit in Codex , which identified eight minor issues and twenty architecture recommendations.\nAfter reading the report, I tasked Opus 4.8 (Xhigh) to build a development plan using /to-prd skill. While Opus 4.8 and GPT 5.5 are excellent models, they exhaust my limits rapidly (2-4 times faster). Hence, I use alternate models (Sonnet, GPT 5.4 Mini, Kimi 2.6 and GLM 5.1) for implementation.\nI asked Opus 4.8 (Xhigh) to group the twenty recommendations into themes, and build a plan for each theme. Either Opus or GPT 5.5 generates each plan and the other reviews it. Opus 4.8 recommended four themes. After reviewing the themes, I asked Opus to generate detailed plans for both the four themes and the eight issues.\nI fixed the eight issues without any errors. However, it wasn’t the case for the security recommendations.\nOpus reviewed work completed for my first theme, highlighting multiple errors. I asked Opus to fix them. Fifteen minutes later, I got the dreaded message: 100% Usage. Resets in 2 hr 35 min. Not even 40% of the errors were fixed by then.\nI was tightening access control for the payroll and the pricing engine in O9X. The app has six user types, and every feature has it’s own access rules. While tightening payroll and pricing, AI loosened access for the compliance end points. My documentation allowed Opus to catch such errors but exhausted my limits before it could fix them.\nIf I keep using GPT 5.5 or Opus 4.8 to either code or fix the errors, my weekly limit would be exhausted before resolving all pending issues. Rather than resume the old session, I asked myself a different question : “How can I plan, build, test, review and deploy within one 5-hour session for different providers?”\nIn the first few months, Claude Pro plan (higher limits than current) was sufficient due to a simple rule: limit scope to one small change , then plan, build, test and deploy. Improvements in model capabilities resulted in scope creep within my prompts. Realising the error, I changed my approach. Utilising the improved reasoning ability of Opus and GPT (Xhigh), I started generating detailed implementation plans using the below prompt:\nNow that we have identified all issues, let’s use the /to-prd skill to develop detailed implementation plans. The implementation will be done by smaller models (Sonnet, Kimi 2.6, or GPT-5.4 Mini). Hence the PRD needs to have complete details, with limited need to make decisions.You need to make those decisions now and if any are pending, ask me, don’t assume. Work with the assumption that the implementation agent has around a 150K context window and limit the need for compaction during execution. So, feel free to break down the pending issues into even smaller issues to meet the above constraint. Discuss with me before writing the plan. Don’t assume. Ask me for clarifications. We build tests before writing any code. Include a clear testing and review protocol to allow the agent to check its own work. Review work needs to be outsourced to a sub-agent once work is completed. If either GPT or Opus was about to hit usage limits (~10%), I pause and create a handoff document . The twenty recommendations were converted into smaller twenty eight plans. Each plan was designed to be implemented in one shot. Over the next couple of days, I implemented each plan, reviewed it and after testing, I deployed the changes.\nEvery review session is done in the same planning session. When the session hits 60% context limit, I ask the AI to build a detailed handoff document to continue in a new session. The goal of keeping review and planning in the same session is to see if similar errors are repeating across different plans. If similar errors are recurring, then my plan needs to be fixed before blaming it on the implementation agent.\nOnly after my code passes all tests, builds without any errors and my review agent confirms, I consider the issue is closed. UI changes are easy to observe but the backend is tricky so I use Unit Testing and E2E tests to validate the changes. Codex Security automates security scans, so I resolve them as they appear.\nOne could argue that If I upgraded to Max plans of either Anthropic or OpenAI, I could have been done much faster with GPT-5.5 or Opus-4.8 (Xhigh). However, I wasn’t comfortable spending ten times more based on a hunch. I did not want to work under a constant threat of hitting my weekly usage limits.\nMy entire process does rest on two major assumptions: (1) I can afford to subscribe to multiple providers. (2) Open-source models keep improving with each release. Improvement in coding ability of open-source models is beyond my control but so far they have been doing a great job.\nI would recommend Claude Code and Codex if you are just starting out. Be aware that they include around 12-20K of context overhead unlike Pi , which is around 1K tokens. However, Pi requires you to spend time to develop your own process else failure risk is higher. My current context overhead for Pi is around 5K tokens (ask Pi to build yours).\nI learned early on that if I don’t run a tight ship, I risk failure due to context rot. Once you cross around 60% context limits , even the best models perform poorly. Hence, I include a 150K context window limit when building my plans.\nOver the last three weeks I’ve moved from using the latest and greatest to using whatever does the job inside a single 5-hour session. Weekly limits also limit how many such sessions I can run in a week. Currently, I am able to get five or six in Codex, eight to ten in Claude Code, ten to twelve on Ollama. When my weekly limit for a plan drops to 10%, I shift to other providers. Most of O9X code was built when limits were more generous, so I don’t need to worry too much about the existing limits.\nI still haven’t moved my planning conversations to open-source models, nor do I start a fresh Pi session without initial work in Codex or Claude Code. I’m being conservative about open-source models despite the benchmarks and the claims. A few months from now I may change my stance. For now I’d rather be safe than sorry.","image":"https://media.kiranbrahma.com/production/images/item-209c8b6dc1555abe58351135af8fd168.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":26},"date_published":"2026-06-23T14:52:00.000Z","date_modified":"2026-11-23T14:54:09.540Z","_microfeed":{"seo":{"description":"I explain how I reorganized my AI-driven dev workflow to finish planning, coding, testing and deployment within a single 5-hour session."},"slug":"o9x-build-log-26-wrapping-my-work-in-5-hour-sessions","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-26-wrapping-my-work-in-5-hour-sessions/","json_url":"https://cms.kiranbrahma.com/i/pycCNM-3ncH/json/","rss_url":"https://cms.kiranbrahma.com/i/pycCNM-3ncH/rss/","guid":"pycCNM-3ncH","status":"published","itunes:episodeType":"full","date_published_short":"Tue Jun 23 2026","date_published_ms":1782226320000}},{"id":"BPhMyUgWnSw","title":"O9X Build Log 25: How I Build Now","url":"https://cms.kiranbrahma.com/i/o9x-build-log-25-how-i-build-now/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>My last 2 build logs (<a href=\"https://www.theoperatorstack.com/posts/log-23-audit-your-code\" rel=\"noopener noreferrer\" target=\"_blank\">Log 23</a> and <a href=\"https://www.theoperatorstack.com/posts/log-24-two-weeks-auditing-ai-built-app\" rel=\"noopener noreferrer\" target=\"_blank\">Log 24</a>) detailed my audit journey. I resolved 90 security vulnerabilities and 50 architectural mistakes. Now, my staff highlight UI design errors rather than workflow failures within the app</p><p>In the past week, I rebuilt my development workflow to protect my gains. My core lesson still holds: AI follows my instructions when I use the right concepts. The model performs better when I use precise vocabulary; otherwise, it rarely volunteers critical details.</p><p>My coding vocabulary remains limited, as reading manuals cannot replace hands-on experience. Hence, I shifted my focus: A better way to express my operational intent.</p><p>AI model developers claim that coding is “solved,” and autonomous agents handle the entire development process. That assumption may hold for experts, but it fails for people like me, who are still learning.</p><p>Last week, I identified open-source skills that translate my operational intent into precise engineering language.</p><p>I have no interest in automating my development workflow. The goal: No code generation until the problem statement is not clearly defined. The skills or tools need to clarify not dilute my problem statement and helps me in verifying what was built.</p><p><strong>Step 1:</strong> I initiate a grill-me session with aid of Matt Pocock’s <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/grill-with-docs\" rel=\"noopener noreferrer\" target=\"_blank\">grill-with-docs</a> skill. AI takes on the role of an interrogator, with complete access to my codebase and cross-reference it with my documentation, <a href=\"https://www.theoperatorstack.com/posts/log-22-survivor-log\" rel=\"noopener noreferrer\" target=\"_blank\">project log</a>, <a href=\"https://www.theoperatorstack.com/posts/log-8-project-brief\" rel=\"noopener noreferrer\" target=\"_blank\">original project brief</a>, and other artifacts across my project. The skill forces me to clarify my problem statement.</p><p><strong>Step 2:</strong> I use <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture\" rel=\"noopener noreferrer\" target=\"_blank\">improve-codebase-architecture</a> skill to build a plan based on my existing code architecture (while avoiding further complexity). Once the plan is finalised, I generate a PRD using <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/to-prd\" rel=\"noopener noreferrer\" target=\"_blank\">to-prd</a> skill.</p><p><strong>Step 3</strong>: The coding agent (Claude Code or Codex or Pi) reads the PRD before writing any new code. I instruct the coding agent to generate tests before it builds any features or workflows. Tests written after code is generated always pass, because AI mostly writes tests that pass mostly than actually finding faults.</p><p><strong>Step 4:</strong> After AI has completed its coding efforts, I undertake a cleanup of my code via <a href=\"https://github.com/cursor/plugins/tree/3347cbab5b54136f6fba0994c3a01a56f7fb7fca/cursor-team-kit/skills/deslop\" rel=\"noopener noreferrer\" target=\"_blank\">DeSlop</a> skill. The goal is to reduce the AI-generated noise</p><p><strong>Step 5</strong>: I audit the code review with aid of <a href=\"https://github.com/cursor/plugins/tree/3347cbab5b54136f6fba0994c3a01a56f7fb7fca/cursor-team-kit/skills/thermo-nuclear-code-quality-review\" rel=\"noopener noreferrer\" target=\"_blank\">Code Quality Review</a> skill, which does a complete structural audit of my the changes.</p><p><strong>Step 6</strong>: I run my suite of unit and E2E tests. Once all tests are cleared, I do a local build to review the changes made. Only when I am satisfied, I commit the changes</p><p>This workflow may appear bureaucratic and boring.. However, a disciplined process is the only way I can control my development process.</p><p>Every skill I use has been built by engineers, who have open-sourced them. Will I be able to fall back on new tools as my needs evolve? Maybe not but I am grateful to people who have built and shared them.</p><p>Is this workflow correct? I have no idea. Is it better than what I had before? Still early to conclude but I now fix only one or two minor bugs weekly compared to 4-5 issues</p><p>My earlier workflow mirrored on how I use AI: plan, build, review, fix and deploy. It lacked proper engineering discipline, relying on a series of well-intentioned steps. It lacked technical vocabulary and systematic review gates.</p><p>What I have now is a slightly better process with checkpoints. The unknown unknowns I stated in my <a href=\"https://www.theoperatorstack.com/posts/log-24-two-weeks-auditing-ai-built-app\" rel=\"noopener noreferrer\" target=\"_blank\">previous log</a> still exists. No workflow can eliminate what I cannot see or don’t know.</p><p>The new workflow is a bet. How will this play out? No idea. I simply hope to catch flaws before they become a liability.</p><p><br></p>","content_text":"My last 2 build logs ( Log 23 and Log 24 ) detailed my audit journey. I resolved 90 security vulnerabilities and 50 architectural mistakes. Now, my staff highlight UI design errors rather than workflow failures within the app\nIn the past week, I rebuilt my development workflow to protect my gains. My core lesson still holds: AI follows my instructions when I use the right concepts. The model performs better when I use precise vocabulary; otherwise, it rarely volunteers critical details.\nMy coding vocabulary remains limited, as reading manuals cannot replace hands-on experience. Hence, I shifted my focus: A better way to express my operational intent.\nAI model developers claim that coding is “solved,” and autonomous agents handle the entire development process. That assumption may hold for experts, but it fails for people like me, who are still learning.\nLast week, I identified open-source skills that translate my operational intent into precise engineering language.\nI have no interest in automating my development workflow. The goal: No code generation until the problem statement is not clearly defined. The skills or tools need to clarify not dilute my problem statement and helps me in verifying what was built.\nStep 1: I initiate a grill-me session with aid of Matt Pocock’s grill-with-docs skill. AI takes on the role of an interrogator, with complete access to my codebase and cross-reference it with my documentation, project log , original project brief , and other artifacts across my project. The skill forces me to clarify my problem statement.\nStep 2: I use improve-codebase-architecture skill to build a plan based on my existing code architecture (while avoiding further complexity). Once the plan is finalised, I generate a PRD using to-prd skill.\nStep 3 : The coding agent (Claude Code or Codex or Pi) reads the PRD before writing any new code. I instruct the coding agent to generate tests before it builds any features or workflows. Tests written after code is generated always pass, because AI mostly writes tests that pass mostly than actually finding faults.\nStep 4: After AI has completed its coding efforts, I undertake a cleanup of my code via DeSlop skill. The goal is to reduce the AI-generated noise\nStep 5 : I audit the code review with aid of Code Quality Review skill, which does a complete structural audit of my the changes.\nStep 6 : I run my suite of unit and E2E tests. Once all tests are cleared, I do a local build to review the changes made. Only when I am satisfied, I commit the changes\nThis workflow may appear bureaucratic and boring.. However, a disciplined process is the only way I can control my development process.\nEvery skill I use has been built by engineers, who have open-sourced them. Will I be able to fall back on new tools as my needs evolve? Maybe not but I am grateful to people who have built and shared them.\nIs this workflow correct? I have no idea. Is it better than what I had before? Still early to conclude but I now fix only one or two minor bugs weekly compared to 4-5 issues\nMy earlier workflow mirrored on how I use AI: plan, build, review, fix and deploy. It lacked proper engineering discipline, relying on a series of well-intentioned steps. It lacked technical vocabulary and systematic review gates.\nWhat I have now is a slightly better process with checkpoints. The unknown unknowns I stated in my previous log still exists. No workflow can eliminate what I cannot see or don’t know.\nThe new workflow is a bet. How will this play out? No idea. I simply hope to catch flaws before they become a liability.","image":"https://media.kiranbrahma.com/production/images/item-9cf404cf6167b80955eba191c762ad8d.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":25},"date_published":"2026-05-29T14:55:00.000Z","date_modified":"2026-11-29T13:18:21.220Z","_microfeed":{"seo":{"description":"I explain my new disciplined AI‑assisted dev workflow, from grill‑me questioning to architecture planning, testing, cleanup and review."},"slug":"o9x-build-log-25-how-i-build-now","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-25-how-i-build-now/","json_url":"https://cms.kiranbrahma.com/i/BPhMyUgWnSw/json/","rss_url":"https://cms.kiranbrahma.com/i/BPhMyUgWnSw/rss/","guid":"BPhMyUgWnSw","status":"published","itunes:episodeType":"full","date_published_short":"Fri May 29 2026","date_published_ms":1780066500000}},{"id":"QPpv6s74n0K","title":"O9X Build Log 24: Ninety Holes I Couldn't See","url":"https://cms.kiranbrahma.com/i/o9x-build-log-24-ninety-holes-i-couldn-t-see/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>In my <a href=\"https://www.theoperatorstack.com/posts/log-23-audit-your-code\" rel=\"noopener noreferrer\" target=\"_blank\">last Log</a>, I expressed how I was confident about something I had no basis for (frankly blind). Realising the folly of my ways, I paused building to audit what I had already built, which was working without any visible flaws. The audit found over 90 security issues and more than 50 poor architectural decisions that any experienced software developer would laugh at.</p><p>The entire two-week ordeal made it clear to me that: AI follows my instructions as long as I know the right vocabulary or ideas or concepts. The past two weeks showed how little I knew.</p><p>I spent the last two weeks learning new vocabulary, fixing what was broken. After two weeks, my staff did not see any visible changes but underneath, it had changed completely.</p><p>At the outset, I knew that things had to change for better or worse. In my previous Log, I spoke about <a href=\"https://blog.cloudflare.com/fail-small-resilience-plan/\" rel=\"noopener noreferrer\" target=\"_blank\">Cloudflare’s </a><em><a href=\"https://blog.cloudflare.com/fail-small-resilience-plan/\" rel=\"noopener noreferrer\" target=\"_blank\">Code Orange</a></em><a href=\"https://blog.cloudflare.com/fail-small-resilience-plan/\" rel=\"noopener noreferrer\" target=\"_blank\"> project  </a>and how it inspired me to audit my code. Initially it proved exciting but I realised that I had to explore all possible options.</p><p>I took time to understand how software is actually built and maintained in the pre-AI days. During my research, I came across a <a href=\"https://youtu.be/EJyuu6zlQCg?si=BiZs7Qel1OP_hRlI\" rel=\"noopener noreferrer\" target=\"_blank\">Youtube Video</a> , which recommended reading <a href=\"https://amzn.to/4d0ug9P\" rel=\"noopener noreferrer\" target=\"_blank\">John Ousterhout’s “</a><em><a href=\"https://amzn.to/4d0ug9P\" rel=\"noopener noreferrer\" target=\"_blank\">A Philosophy of Software Design</a></em><a href=\"https://amzn.to/4d0ug9P\" rel=\"noopener noreferrer\" target=\"_blank\">”</a>_.</p><p>The book explained how complex software projects are actually structured, developed and maintained. My key takeaway from the book: <strong>Develop your software based on your workflows and not features</strong>.</p><p>So far into my app building journey, I did the exact opposite. I spent days thinking about what was needed, slowly morphing O9X as a pile of screens (feature by feature). I found this approach more suited for my use case than Cloudflare’s approach.</p><p>Once I finished reading the book, I decided to use the <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture\" rel=\"noopener noreferrer\" target=\"_blank\">improve-codebase-architecture</a> skill to audit my current app. AI gave me a highly technical document, which I understood maybe 50%; the rest was gibberish to me. Rather than breaking my head on this, I asked Claude Code to restructure the analysis as if my codebase was a company, with each module as a department.</p><p>It broke down every module within my app as different departments within a company. I could now understand broken workflows, repetitive work and slacking departments (modules). AI identified over 50 such issues within my codebase.</p><p>I had a sloppy <a href=\"https://aws.amazon.com/what-is/api/\" rel=\"noopener noreferrer\" target=\"_blank\">API workflow</a>. When AI built the API layer for my app, it replicated the same function and logic across 42 different files (repetitive work). So even one small change in any such function would require changes in 42 files. I was just spending 42 times the tokens needed while cursing at Anthropic for their low usage limits.</p><p>Next was <a href=\"https://dev.to/leapcell/top-16-typescript-mistakes-developers-make-and-how-to-fix-them-4p9a\" rel=\"noopener noreferrer\" target=\"_blank\">extensive use of any</a> (<code>as any</code> can result in my code failing silently without any warning) within my entire code base (broken workflows). I knew about the abuse of any by AI models. I had clear instructions in <em>claude.md</em> to avoid using any. In <a href=\"https://www.theoperatorstack.com/posts/ai-context-migration-protocol\" rel=\"noopener noreferrer\" target=\"_blank\">long sessions</a>, AI simply ignored the instruction, while I congratulated myself for a job well done. I told AI what needed to be done, assuming it always followed my instructions.</p><p>Around the same period, OpenAI released a new tool: <a href=\"https://developers.openai.com/codex/security\" rel=\"noopener noreferrer\" target=\"_blank\">Codex Security</a>. The tool was built to find, validate, and remediate likely vulnerabilities within any existing codebase. A detailed security audit was next in line but then I decided to use this service to speed up the process.</p><p>The first scan identified over 90 vulnerabilities, highlighting the numerous flaws hidden (to me) within my code. The little pride I had in me just left when I saw the report. I had built a boat with numerous holes but due to sheer luck, the boat was floating with no flooding in sight (no vulnerability was exploited).</p><p>I decided to tackle the architecture issues first and then fix the security vulnerabilities. I knew that my current workflow was flawed, so it needed to change.</p><p>I exported all my highlights and suggestions from John Ousterhout’s “<em>A Philosophy of Software Design”</em> to build a clear <em>design doctrine document</em>. I made a rough draft along with certain ideas and concepts from Cloudflare’s approach. I had AI polish the draft. This document along with <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture\" rel=\"noopener noreferrer\" target=\"_blank\">improve-codebase-architecture</a>** skill served as the foundations for my new workflow.</p><p>Let me walk you through an example that I fixed. My employees check in and check out on O9X and I have a clear geo-fencing policy (blocking if outside pre-defined radius). The database had all the locations and policy was clearly codified. However, I had never codified the constraint inside the check-in function.</p><p>For over three weeks, my staff could log in anywhere without any issue (most never did but a few did take advantage). Every time I asked AI to review the check-in function and geo-fencing policy, it reviewed both the modules independently and said no issues. The two modules worked but never spoke to each other.</p><p>Over the next week, I started tackling every issue that came about in my audit process: fixing messy code, redesigning certain modules, and building new modules, while <a href=\"https://www.theoperatorstack.com/posts/judgment-gap-ai-workflow\" rel=\"noopener noreferrer\" target=\"_blank\">documenting every decision</a>. Once all the architecture fixes were made, Codex said that 50 out of the 90 issues were resolved. Clearly good architecture allows for better security, which was something I never knew about.</p><p>Fixing the remaining security vulnerabilities was a long and laborious task. New errors kept popping up after every 10-odd fixes.</p><p>Despite all the hype and buzz that AI allows anyone to be a software engineer and so on, the last two weeks humbled me. AI was already trained on every error or issue I resolved but I failed to ask the right question. In the end, AI is trained to answer the questions I ask it (it occasionally pushes back).</p><p>John Ousterhout’s “<em>A Philosophy of Software Design” and</em> <a href=\"https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture\" rel=\"noopener noreferrer\" target=\"_blank\">improve-codebase-architecture</a> skill gave me a new vocabulary. Once I understood the new vocabulary, my mental models of software systems improved, allowing me to question certain decisions AI was making within my code. I could direct AI to think in a specific direction that ensured it made fewer errors.</p><p>My team saw no change in the app, but I know how big a change I made in the past two weeks. The first phase of building O9X was learning how to use AI to build my app. The next phase is understanding software engineering, guiding AI and developing proper checks and balances (It is clear to me now that AI doesn’t always follow explicit instructions). I am still dependent on AI for all the unknown unknowns, and it is a risk I need to live with.</p><p><br></p>","content_text":"In my last Log , I expressed how I was confident about something I had no basis for (frankly blind). Realising the folly of my ways, I paused building to audit what I had already built, which was working without any visible flaws. The audit found over 90 security issues and more than 50 poor architectural decisions that any experienced software developer would laugh at.\nThe entire two-week ordeal made it clear to me that: AI follows my instructions as long as I know the right vocabulary or ideas or concepts. The past two weeks showed how little I knew.\nI spent the last two weeks learning new vocabulary, fixing what was broken. After two weeks, my staff did not see any visible changes but underneath, it had changed completely.\nAt the outset, I knew that things had to change for better or worse. In my previous Log, I spoke about Cloudflare’s Code Orange project and how it inspired me to audit my code. Initially it proved exciting but I realised that I had to explore all possible options.\nI took time to understand how software is actually built and maintained in the pre-AI days. During my research, I came across a Youtube Video , which recommended reading John Ousterhout’s “ A Philosophy of Software Design ” _.\nThe book explained how complex software projects are actually structured, developed and maintained. My key takeaway from the book: Develop your software based on your workflows and not features .\nSo far into my app building journey, I did the exact opposite. I spent days thinking about what was needed, slowly morphing O9X as a pile of screens (feature by feature). I found this approach more suited for my use case than Cloudflare’s approach.\nOnce I finished reading the book, I decided to use the improve-codebase-architecture skill to audit my current app. AI gave me a highly technical document, which I understood maybe 50%; the rest was gibberish to me. Rather than breaking my head on this, I asked Claude Code to restructure the analysis as if my codebase was a company, with each module as a department.\nIt broke down every module within my app as different departments within a company. I could now understand broken workflows, repetitive work and slacking departments (modules). AI identified over 50 such issues within my codebase.\nI had a sloppy API workflow . When AI built the API layer for my app, it replicated the same function and logic across 42 different files (repetitive work). So even one small change in any such function would require changes in 42 files. I was just spending 42 times the tokens needed while cursing at Anthropic for their low usage limits.\nNext was extensive use of any ( as any can result in my code failing silently without any warning) within my entire code base (broken workflows). I knew about the abuse of any by AI models. I had clear instructions in claude.md to avoid using any. In long sessions , AI simply ignored the instruction, while I congratulated myself for a job well done. I told AI what needed to be done, assuming it always followed my instructions.\nAround the same period, OpenAI released a new tool: Codex Security . The tool was built to find, validate, and remediate likely vulnerabilities within any existing codebase. A detailed security audit was next in line but then I decided to use this service to speed up the process.\nThe first scan identified over 90 vulnerabilities, highlighting the numerous flaws hidden (to me) within my code. The little pride I had in me just left when I saw the report. I had built a boat with numerous holes but due to sheer luck, the boat was floating with no flooding in sight (no vulnerability was exploited).\nI decided to tackle the architecture issues first and then fix the security vulnerabilities. I knew that my current workflow was flawed, so it needed to change.\nI exported all my highlights and suggestions from John Ousterhout’s “ A Philosophy of Software Design” to build a clear design doctrine document . I made a rough draft along with certain ideas and concepts from Cloudflare’s approach. I had AI polish the draft. This document along with improve-codebase-architecture ** skill served as the foundations for my new workflow.\nLet me walk you through an example that I fixed. My employees check in and check out on O9X and I have a clear geo-fencing policy (blocking if outside pre-defined radius). The database had all the locations and policy was clearly codified. However, I had never codified the constraint inside the check-in function.\nFor over three weeks, my staff could log in anywhere without any issue (most never did but a few did take advantage). Every time I asked AI to review the check-in function and geo-fencing policy, it reviewed both the modules independently and said no issues. The two modules worked but never spoke to each other.\nOver the next week, I started tackling every issue that came about in my audit process: fixing messy code, redesigning certain modules, and building new modules, while documenting every decision . Once all the architecture fixes were made, Codex said that 50 out of the 90 issues were resolved. Clearly good architecture allows for better security, which was something I never knew about.\nFixing the remaining security vulnerabilities was a long and laborious task. New errors kept popping up after every 10-odd fixes.\nDespite all the hype and buzz that AI allows anyone to be a software engineer and so on, the last two weeks humbled me. AI was already trained on every error or issue I resolved but I failed to ask the right question. In the end, AI is trained to answer the questions I ask it (it occasionally pushes back).\nJohn Ousterhout’s “ A Philosophy of Software Design” and improve-codebase-architecture skill gave me a new vocabulary. Once I understood the new vocabulary, my mental models of software systems improved, allowing me to question certain decisions AI was making within my code. I could direct AI to think in a specific direction that ensured it made fewer errors.\nMy team saw no change in the app, but I know how big a change I made in the past two weeks. The first phase of building O9X was learning how to use AI to build my app. The next phase is understanding software engineering, guiding AI and developing proper checks and balances (It is clear to me now that AI doesn’t always follow explicit instructions). I am still dependent on AI for all the unknown unknowns, and it is a risk I need to live with.","image":"https://media.kiranbrahma.com/production/images/item-d7b2a5f700b09cbe853c9e6dbf8e842b.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":24},"date_published":"2026-05-19T14:56:00.000Z","date_modified":"2026-11-23T14:58:50.634Z","_microfeed":{"seo":{"description":"I recount how I uncovered 90 security flaws and 50 architectural issues, learned new design vocab, and used AI tools to overhaul my app."},"slug":"o9x-build-log-24-ninety-holes-i-couldn-t-see","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-24-ninety-holes-i-couldn-t-see/","json_url":"https://cms.kiranbrahma.com/i/QPpv6s74n0K/json/","rss_url":"https://cms.kiranbrahma.com/i/QPpv6s74n0K/rss/","guid":"QPpv6s74n0K","status":"published","itunes:episodeType":"full","date_published_short":"Tue May 19 2026","date_published_ms":1779202560000}},{"id":"WgFfG6GM5vv","title":"O9X Build Log 23: The App Worked, but I am still clueless","url":"https://cms.kiranbrahma.com/i/o9x-build-log-23-the-app-worked-but-i-am-still-clueless/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>The <a href=\"https://o9x.knighthood.co/\" rel=\"noopener noreferrer\" target=\"_blank\">O9X app</a> has been live since March 2026. Development started in November 2025. Around 20 members of my team now use it daily across business operations.</p><p>I felt an overwhelming sense of satisfaction that I had actually built a working app using AI, despite my limited coding knowledge. I had spent long hours debating with AI, reading blog posts, and watching videos on how to build a production-ready app with AI. After some initial hesitation, my staff slowly started appreciating the benefits.</p><p>Soon they started sharing feedback, improvements, and bugs. I spent one to two hours daily adding new features and fixing issues. A system slowly came into place, and it made me confident. The kind where I felt entitled to share my opinions on what works and what does not.</p><p>Around a week ago, I came across a <a href=\"https://blog.cloudflare.com/ai-code-review/\" rel=\"noopener noreferrer\" target=\"_blank\">blog post by Cloudflare</a>. They shared their new process to review code changes using AI. It was part of their <a href=\"https://blog.cloudflare.com/fail-small-resilience-plan/\" rel=\"noopener noreferrer\" target=\"_blank\">Code Orange: Fail Small project</a>.</p><p>Cloudflare is a behemoth with battle-hardened engineers and a strong engineering culture. I use Cloudflare myself to host my app. Reading the post made me more aware of what it actually takes to run a production-ready app regularly.</p><p>Despite their peer review process, engineering discipline, and experience, they still had failures that resulted in outages. So they built an AI code review system to catch what their existing process might miss. I did not come to some sudden realisation, but a small idea was planted.</p><p>The next day, I was transferring some old notebook entries to Obsidian. I came across two notes. One was from <a href=\"https://thedecisionlab.com/thinkers/political-science/philip-tetlock\" rel=\"noopener noreferrer\" target=\"_blank\">Philip Tetlock’s research on prediction</a>, and the other was from <a href=\"https://amzn.to/4cHq0vF\" rel=\"noopener noreferrer\" target=\"_blank\">Annie Duke’s </a><em><a href=\"https://amzn.to/4cHq0vF\" rel=\"noopener noreferrer\" target=\"_blank\">Thinking in Bets</a></em>.</p><p>Tetlock’s research explains why real experts express uncertainty in their predictions. The more they know, the more clearly they see how many things can go wrong. A novice is often more confident because he views everything through a single lens.</p><p>One of the core arguments of <em>Thinking in Bets</em> is simple: never judge the quality of a decision by its outcome. Luck plays a big role in outcomes. So we are never fully clear whether the result came from a good process, superior skill, or luck.</p><p>My app was working with limited issues. Every new feature or change I made was reviewed by AI in a separate session. AI did flag multiple issues, which I fixed.</p><p>My staff shared their feedback for improvements and bugs, and they were fixed or incorporated into the app. But none of this made the real quality of my app’s codebase clear. I was judging the quality of the codebase on one simple observation: it was working without obvious issues.</p><p>Running proves something. It just proves less than I was treating it as proof of.</p><p>Enough articles, videos, and opinions have now been shared on how non-engineers can code with the help of AI. I consumed a lot of that material and built my own process to develop O9X. The process looked sound from the outside.</p><p>I would think about the problem, gather the necessary information, make a proper plan with AI assistance, and create a clear document for Claude Code or Codex to build from. Once the work was done, I would start another session to review it. Then I would fix the bugs it found, test the feature myself, fix anything else I noticed, <a href=\"https://www.theoperatorstack.com/posts/log-22-survivor-log\" rel=\"noopener noreferrer\" target=\"_blank\">logged it</a> and push my code for deployment. .</p><p>I followed this process almost daily. Soon, a functional app was ready. It had flaws and edge cases, but I kept fixing them through the same process.</p><p>The issue I realised is that every change AI makes today might break a feature I built a month ago. Forget AI, even I cannot recall a decision I made last week. AI and I both review the current change, but neither of us naturally remembers the full chain of old decisions.</p><p>That slowly accumulates. Old assumptions remain inside the codebase. A schema decision from month one can create a quiet problem in month five.</p><p>I am not a software engineer who has spent years building and maintaining production systems. AI is a great tool to build something now. But maintaining the system is my responsibility, not AI’s.</p><p>So over the last two weeks, I have stopped adding features. Instead, I have moved into an audit phase. That transition was not easy.</p><p>I rarely audit anything that shows no signs of breakage. I live under the assumption that no news is good news. But working now and fragile underneath are not mutually exclusive.</p><p>Inspired by the Cloudflare post, I am building my own AI audit system. I am undertaking a complete documentation-first audit across every domain of the codebase. I do not yet know whether it will surface real fragility.</p><p>That is the honest answer. This is not a solution. It is a bet on method.</p><p>For now, the only thing that matters is that I caught myself being confident about something I had insufficient basis to be confident about. That is not a small thing to notice.</p>","content_text":"The O9X app has been live since March 2026. Development started in November 2025. Around 20 members of my team now use it daily across business operations.\nI felt an overwhelming sense of satisfaction that I had actually built a working app using AI, despite my limited coding knowledge. I had spent long hours debating with AI, reading blog posts, and watching videos on how to build a production-ready app with AI. After some initial hesitation, my staff slowly started appreciating the benefits.\nSoon they started sharing feedback, improvements, and bugs. I spent one to two hours daily adding new features and fixing issues. A system slowly came into place, and it made me confident. The kind where I felt entitled to share my opinions on what works and what does not.\nAround a week ago, I came across a blog post by Cloudflare . They shared their new process to review code changes using AI. It was part of their Code Orange: Fail Small project .\nCloudflare is a behemoth with battle-hardened engineers and a strong engineering culture. I use Cloudflare myself to host my app. Reading the post made me more aware of what it actually takes to run a production-ready app regularly.\nDespite their peer review process, engineering discipline, and experience, they still had failures that resulted in outages. So they built an AI code review system to catch what their existing process might miss. I did not come to some sudden realisation, but a small idea was planted.\nThe next day, I was transferring some old notebook entries to Obsidian. I came across two notes. One was from Philip Tetlock’s research on prediction , and the other was from Annie Duke’s Thinking in Bets .\nTetlock’s research explains why real experts express uncertainty in their predictions. The more they know, the more clearly they see how many things can go wrong. A novice is often more confident because he views everything through a single lens.\nOne of the core arguments of Thinking in Bets is simple: never judge the quality of a decision by its outcome. Luck plays a big role in outcomes. So we are never fully clear whether the result came from a good process, superior skill, or luck.\nMy app was working with limited issues. Every new feature or change I made was reviewed by AI in a separate session. AI did flag multiple issues, which I fixed.\nMy staff shared their feedback for improvements and bugs, and they were fixed or incorporated into the app. But none of this made the real quality of my app’s codebase clear. I was judging the quality of the codebase on one simple observation: it was working without obvious issues.\nRunning proves something. It just proves less than I was treating it as proof of.\nEnough articles, videos, and opinions have now been shared on how non-engineers can code with the help of AI. I consumed a lot of that material and built my own process to develop O9X. The process looked sound from the outside.\nI would think about the problem, gather the necessary information, make a proper plan with AI assistance, and create a clear document for Claude Code or Codex to build from. Once the work was done, I would start another session to review it. Then I would fix the bugs it found, test the feature myself, fix anything else I noticed, logged it and push my code for deployment. .\nI followed this process almost daily. Soon, a functional app was ready. It had flaws and edge cases, but I kept fixing them through the same process.\nThe issue I realised is that every change AI makes today might break a feature I built a month ago. Forget AI, even I cannot recall a decision I made last week. AI and I both review the current change, but neither of us naturally remembers the full chain of old decisions.\nThat slowly accumulates. Old assumptions remain inside the codebase. A schema decision from month one can create a quiet problem in month five.\nI am not a software engineer who has spent years building and maintaining production systems. AI is a great tool to build something now. But maintaining the system is my responsibility, not AI’s.\nSo over the last two weeks, I have stopped adding features. Instead, I have moved into an audit phase. That transition was not easy.\nI rarely audit anything that shows no signs of breakage. I live under the assumption that no news is good news. But working now and fragile underneath are not mutually exclusive.\nInspired by the Cloudflare post, I am building my own AI audit system. I am undertaking a complete documentation-first audit across every domain of the codebase. I do not yet know whether it will surface real fragility.\nThat is the honest answer. This is not a solution. It is a bet on method.\nFor now, the only thing that matters is that I caught myself being confident about something I had insufficient basis to be confident about. That is not a small thing to notice.","image":"https://media.kiranbrahma.com/production/images/item-5d052f7654d6660c370f661bc07d72f5.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":23},"date_published":"2026-04-30T15:00:00.000Z","date_modified":"2026-11-23T15:00:47.799Z","_microfeed":{"seo":{"description":"I built O9X with AI, saw my confidence misplaced after Cloudflare’s AI review, and now run a doc‑first AI audit to find code fragility."},"slug":"o9x-build-log-23-the-app-worked-but-i-am-still-clueless","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-23-the-app-worked-but-i-am-still-clueless/","json_url":"https://cms.kiranbrahma.com/i/WgFfG6GM5vv/json/","rss_url":"https://cms.kiranbrahma.com/i/WgFfG6GM5vv/rss/","guid":"WgFfG6GM5vv","status":"published","itunes:episodeType":"full","date_published_short":"Thu Apr 30 2026","date_published_ms":1777561200000}},{"id":"nQiyem06JUa","title":"O9X Build Log 22: Why my Business Needs a Survival Log","url":"https://cms.kiranbrahma.com/i/o9x-build-log-22-why-my-business-needs-a-survival-log/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>Last week, I walked over to the desk of a new hire. He was covering for a colleague who was on leave. He pointed to over 300 auto-generated Zoho invoices on his screen. Every invoice needs minor edits before it can be sent over to our customers. The new hire found the entire process mechanical and overwhelming.</p><p>Three years ago, it took three people seven days to complete our entire billing process. Every bill was generated in Excel, and my accountant ensured that every invoice had its own unique reference number. Once the invoicing was completed, the accountant spent another two days preparing data for GST filing.</p><p>My business operates across 45 cities. I was fed up with the old invoicing and accounting process, so I moved from Excel and Tally to Zoho Books. I assumed that it would take me around three weeks to make the change, but it took my team three months. Everyone who managed the transition no longer works with me. My current team inherited a far more efficient workflow, but they still labelled it a chore.</p><p>Even I made the same mistake when I took over the business my dad built after his sudden demise. I was not involved much in the business, so I had to learn everything on the fly. I saw the numerous Excel sheets and assumed this was how my dad ran the business.</p><p>After taking over, I spent a lot of time with my team to understand the business. My accountant explained the role of each and every Excel sheet: invoice management, payroll calculations, GST, customer payments and expense management. Every sheet was built not only to speed up their work, but also to avoid repeating earlier mistakes.</p><p>Once any employee who resolved a failure leaves, the context also goes with them. The typical advice is to write SOPs. They explain how different functions in my business work, but SOPs rarely record the why behind a workflow. If my business is not aware of the reason behind a choice, older errors return.</p><p>Robert Pirsig, in his book 'Zen and the Art of Motorcycle Maintenance', writes that if a factory is torn down while its rationality remains standing, it will produce another factory. In operations, I have seen the reverse. When I replace any system without knowing its history, the older problems return.</p><p>I cannot rely on just SOPs or my team's oral history. In the O9X build log, I include a survival log. Before I build a new feature or update an older process, I try to understand the pain, failures and problems that guided the development of the current workflow. If I fail to record how my current system patches an error, I risk repeating the same error in my new one.</p>","content_text":"Last week, I walked over to the desk of a new hire. He was covering for a colleague who was on leave. He pointed to over 300 auto-generated Zoho invoices on his screen. Every invoice needs minor edits before it can be sent over to our customers. The new hire found the entire process mechanical and overwhelming.\nThree years ago, it took three people seven days to complete our entire billing process. Every bill was generated in Excel, and my accountant ensured that every invoice had its own unique reference number. Once the invoicing was completed, the accountant spent another two days preparing data for GST filing.\nMy business operates across 45 cities. I was fed up with the old invoicing and accounting process, so I moved from Excel and Tally to Zoho Books. I assumed that it would take me around three weeks to make the change, but it took my team three months. Everyone who managed the transition no longer works with me. My current team inherited a far more efficient workflow, but they still labelled it a chore.\nEven I made the same mistake when I took over the business my dad built after his sudden demise. I was not involved much in the business, so I had to learn everything on the fly. I saw the numerous Excel sheets and assumed this was how my dad ran the business.\nAfter taking over, I spent a lot of time with my team to understand the business. My accountant explained the role of each and every Excel sheet: invoice management, payroll calculations, GST, customer payments and expense management. Every sheet was built not only to speed up their work, but also to avoid repeating earlier mistakes.\nOnce any employee who resolved a failure leaves, the context also goes with them. The typical advice is to write SOPs. They explain how different functions in my business work, but SOPs rarely record the why behind a workflow. If my business is not aware of the reason behind a choice, older errors return.\nRobert Pirsig, in his book 'Zen and the Art of Motorcycle Maintenance', writes that if a factory is torn down while its rationality remains standing, it will produce another factory. In operations, I have seen the reverse. When I replace any system without knowing its history, the older problems return.\nI cannot rely on just SOPs or my team's oral history. In the O9X build log, I include a survival log. Before I build a new feature or update an older process, I try to understand the pain, failures and problems that guided the development of the current workflow. If I fail to record how my current system patches an error, I risk repeating the same error in my new one.","image":"https://media.kiranbrahma.com/production/images/item-1f42ada86fdec79a4ed9843007391adc.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":22},"date_published":"2026-04-08T16:31:00.000Z","date_modified":"2026-11-23T16:31:54.300Z","_microfeed":{"seo":{"description":"I explain why my business needs a survival log to capture the why behind workflows, preventing repeat mistakes during system changes."},"slug":"o9x-build-log-22-why-my-business-needs-a-survival-log","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-22-why-my-business-needs-a-survival-log/","json_url":"https://cms.kiranbrahma.com/i/nQiyem06JUa/json/","rss_url":"https://cms.kiranbrahma.com/i/nQiyem06JUa/rss/","guid":"nQiyem06JUa","status":"published","itunes:episodeType":"full","date_published_short":"Wed Apr 08 2026","date_published_ms":1775665860000}},{"id":"4PENUoktU1z","title":"O9X Build Log 21: Old Resistance in a New System","url":"https://cms.kiranbrahma.com/i/o9x-build-log-21-old-resistance-in-a-new-system/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>My team did not show much enthusiasm towards using O9X. I am guilty of building new tools or workflows that failed, so I could understand their spekticism. My team had their own their own concerns. </p><p>In the past five years, I undertook a major digitisation effort for my business across Payroll, Invoicing and Accounting. When I trained my team on the new systems, they agreed to the changes, but after a few days, they quietly went back to their older habits. It is easy to blame the person, but it rarely solves anything. Even I detest adopting a new system if it doesn't help me.</p><p>In the past few months, I shared updates and took feedback on how to build O9X with both my office and field staff. A few team members shared multiple ideas, but most were quiet about it.</p><p>I built a production ready prototype and asked everyone to use it on a regular basis. Within a few days of usage, my team started sharing their feedback and complaints. I classified the issues into three buckets</p><p><strong>Bucket 1: Interface </strong></p><p>My field team found the interface confusing.</p><p><strong>Bucket 2: Missing Fields</strong></p><p>My office and field staff complained that many of the forms did not include all the fields. I had deliberately limited the input fields, as certain info such as family details for employees, so that forms could be completed quickly in the field. While the missing fields were useful in filtering data or resolve one-off case, my field team used the missing fields as en excuse to delay using it on a daily basis.</p><p><strong>Bucket 3: Work Flow Compliance</strong></p><p>My field team had to provide clear proof of their work (which they claimed to do everyday). The burden of proof moved from WhatsApp group to O9X. My field staff knew that they could no longer hide their gaps inside a WhatsApp group, which is hard to audit.</p><p>Take for example new employee enrollment. ESIC mandates that every new employee needs to be registered withn 10 days of their joining else risk losing their coverage. Luckily, such delays never resulted in any issues apart from an ocassional stinker from our customers. </p><p>My team submitted details of new employees via Google Forms. Most of the new employees details were submitted just before generating their attendance sheets for invoicing. I kept reiterating to my field team to ensure details are shared within 10 days, but it just existed on paper. In the past 4 months, 15-20 employees details were shared after the 10 day window. We got no customer escalations, but I knew this would catch up with us sooner or later. </p><p>My field staff knew they were in the wrong, but my current process impoed no penalty for their errors. My office staff allowed such exceptions as they needed to complete the attendnance verification and invoice generation. The exceptions were not being treated as a one-off case.</p><p>When I enforced employee enrollment on O9X, any new enrollment after the 10 day window requires my explicit approval. I informed everyone that enrollment window closes 7 days from the date of joining. </p><p>Once it became clear that enrollment after the 7 day period is held up for my approval, the field staff started to complain about missing fields. I added the missing fields, which they deemed as important, but held firm on the enrollment window. A few enrolments required my approval. I explained that I am approving the exceptions without asking for any explanations, but informed that it won't be the case anymore. </p><p>In the past two weeks, my field team adopted the new system. Once It dawned on them that O9X is here to stay, they started using it. They shared genuine issues and started requesting for additional features to help them. </p><p>In a<a href=\"https://www.economist.com/podcasts/2023/10/23/1-leadership-weed-it-and-reap\" rel=\"noopener noreferrer\" target=\"_blank\"> Boss Class podcast episode</a>, the host talks with multiple business leaders on why a system works better than any pep talk. A good leader has a system, not a superpower. After listening to the experiences of multiple people in the episode, I drew my own lesson from it: systems fail, not people. </p><p>Every late entry in my older setup resulted in no consequence to my staff. My system did not enforce the policy strictly, so they went by with what was allowed, not what the rule was. </p><p>In the past two weeks, whenever my employee pushed back, I asked them to help me understand the issue. A few were genuine issues, which I fixed immeditely. Others were mostly training issues or queries on why such a policy existed. </p><p>A few of my older employees resisted even after they were trained on how to use O9X. They trained the new hires on what to do, but now O9X ensures that even they are held to the same standards. </p>","content_text":"My team did not show much enthusiasm towards using O9X. I am guilty of building new tools or workflows that failed, so I could understand their spekticism. My team had their own their own concerns.\nIn the past five years, I undertook a major digitisation effort for my business across Payroll, Invoicing and Accounting. When I trained my team on the new systems, they agreed to the changes, but after a few days, they quietly went back to their older habits. It is easy to blame the person, but it rarely solves anything. Even I detest adopting a new system if it doesn't help me.\nIn the past few months, I shared updates and took feedback on how to build O9X with both my office and field staff. A few team members shared multiple ideas, but most were quiet about it.\nI built a production ready prototype and asked everyone to use it on a regular basis. Within a few days of usage, my team started sharing their feedback and complaints. I classified the issues into three buckets\nBucket 1: Interface\nMy field team found the interface confusing.\nBucket 2: Missing Fields\nMy office and field staff complained that many of the forms did not include all the fields. I had deliberately limited the input fields, as certain info such as family details for employees, so that forms could be completed quickly in the field. While the missing fields were useful in filtering data or resolve one-off case, my field team used the missing fields as en excuse to delay using it on a daily basis.\nBucket 3: Work Flow Compliance\nMy field team had to provide clear proof of their work (which they claimed to do everyday). The burden of proof moved from WhatsApp group to O9X. My field staff knew that they could no longer hide their gaps inside a WhatsApp group, which is hard to audit.\nTake for example new employee enrollment. ESIC mandates that every new employee needs to be registered withn 10 days of their joining else risk losing their coverage. Luckily, such delays never resulted in any issues apart from an ocassional stinker from our customers.\nMy team submitted details of new employees via Google Forms. Most of the new employees details were submitted just before generating their attendance sheets for invoicing. I kept reiterating to my field team to ensure details are shared within 10 days, but it just existed on paper. In the past 4 months, 15-20 employees details were shared after the 10 day window. We got no customer escalations, but I knew this would catch up with us sooner or later.\nMy field staff knew they were in the wrong, but my current process impoed no penalty for their errors. My office staff allowed such exceptions as they needed to complete the attendnance verification and invoice generation. The exceptions were not being treated as a one-off case.\nWhen I enforced employee enrollment on O9X, any new enrollment after the 10 day window requires my explicit approval. I informed everyone that enrollment window closes 7 days from the date of joining.\nOnce it became clear that enrollment after the 7 day period is held up for my approval, the field staff started to complain about missing fields. I added the missing fields, which they deemed as important, but held firm on the enrollment window. A few enrolments required my approval. I explained that I am approving the exceptions without asking for any explanations, but informed that it won't be the case anymore.\nIn the past two weeks, my field team adopted the new system. Once It dawned on them that O9X is here to stay, they started using it. They shared genuine issues and started requesting for additional features to help them.\nIn a Boss Class podcast episode , the host talks with multiple business leaders on why a system works better than any pep talk. A good leader has a system, not a superpower. After listening to the experiences of multiple people in the episode, I drew my own lesson from it: systems fail, not people.\nEvery late entry in my older setup resulted in no consequence to my staff. My system did not enforce the policy strictly, so they went by with what was allowed, not what the rule was.\nIn the past two weeks, whenever my employee pushed back, I asked them to help me understand the issue. A few were genuine issues, which I fixed immeditely. Others were mostly training issues or queries on why such a policy existed.\nA few of my older employees resisted even after they were trained on how to use O9X. They trained the new hires on what to do, but now O9X ensures that even they are held to the same standards.","image":"https://media.kiranbrahma.com/production/images/item-efc2495b164f479eea6d4b9dc0618d80.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":21},"date_published":"2026-03-20T16:59:00.000Z","date_modified":"2026-11-24T03:47:18.456Z","_microfeed":{"seo":{"description":"How I managed to overcome my team's resistance to use O9X by simplifying the UI, adding missing fields and enforcing deadlines. My core lesson: systems fail, not people."},"slug":"o9x-build-log-21-old-resistance-in-a-new-system","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-21-old-resistance-in-a-new-system/","json_url":"https://cms.kiranbrahma.com/i/4PENUoktU1z/json/","rss_url":"https://cms.kiranbrahma.com/i/4PENUoktU1z/rss/","guid":"4PENUoktU1z","status":"published","itunes:episodeType":"full","date_published_short":"Fri Mar 20 2026","date_published_ms":1774025940000}},{"id":"k4O7AKj2fsP","title":"Do I Have a Working Gokart?","url":"https://cms.kiranbrahma.com/i/do-i-have-a-working-gokart/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>On 18th Feb 2026, a guard called me to inform me that we still needed to pay him ₹500. ₹500 is not a small amount for someone who earns just ₹17,000.</p><p>I checked with my payroll team, who confirmed there was no error. Suspecting an attendance error, I checked with my field supervisor, who also said there was no error. I was confused as there seemed to be no error, yet the guard insisted that we owed him ₹500.</p><p>My team eventually identified the problem. The guard had worked an additional shift in another location,which was managed by another field supervisor. That supervisor informed the payroll team in a WhatsApp message, and my payroll team missed updating the guard’s attendance record. It is easy to blame payroll,but the WhatsApp group receives 50+ messages daily. WhatsApp wasn’t developed to organise information at scale.</p><p>My system design was such that errors like this were bound to happen. The real problem: how information passes from one person to another. I can’t blame a specific individual. Hence, when a guard called me to complain about his missing salary, it made me question the reliability of my current process.</p><p>I took over my dad’s business in 2019. I spent the past few years moving our operations off older legacy tools and processes. Whenever I hit a bump, I fixed it and moved on. After a while, I couldn’t observe any problems, nor did my team communicate any new ones. I assumed that everything was working smoothly.</p><p>I was completely wrong. My team built their own workarounds to fix small problems that I missed. They felt the problems were too small to require my attention. I mistook their efforts and competence for a well-functioning process.</p><p>Once the guard’s salary was resolved, I decided to understand why such an error occurred. While multiple biases were at play, two stood out: the curse of knowledge and normalisation of deviance.</p><p>I developed and implemented the system myself. I knew every part of it. At the same time, I was blind to everything being done by my team. My team kept resolving minor problems, normalising such fixes as routine work rather than as something to be fixed.</p><p>I see the same thing play out in fancy AI demos. Very few people share how they handled their current mess before AI. In a business (including mine), software tools decide the “what” and “how” for a process. For example, if my HR, Operations, and Payroll teams make three different decisions, a software tool speeds up the decision, but it doesn’t fix my data issues.</p><p>I picture an efficient, AI-driven business process as an F1 car. Before I can build it, I need a working Go-Kart, which is small, exposed, and slow. The Go-Kart helps me spot speed bumps on the road and see if someone is pushing it when it stalls. My team was pushing the Go-Kart whenever it came to a halt, while I assumed it was running on its own.</p><p>I started developing my <a href=\"https://o9x.knighthood.co\" rel=\"noopener noreferrer\" target=\"_blank\">own internal ERP tool (O9X)</a> to manage my business processes. Before building, I sat down with my team to map my entire business operations. I did not want to make any assumptions.</p><p>I mapped the entire workflow from the moment a guard is enrolled by my field staff to the moment they leave my company. I spent time across different departments to understand what a “typical” day looked like for each of my staff.</p><p>I paid extra attention to handoff points, where information leaves one team and another team takes over.Most of my workflows break at handoff points. Once I wrote everything down, I sat with my team to audit my analysis.</p><p>I observed multiple situations where handoff points were not clean or clear. Take new employee enrolment,for example. ESIC mandates that every new employee has to be registered within 10 days of joining. EPF has no such mandate. My field team submits new employee details via Google Forms, mostly at the end of the month. In a four-month period, 15 to 20 employees’ details were shared 10 days after their enrolment.My office staff, overwhelmed with attendance verification and invoicing, never questioned such lapses. My customers never escalated, and soon it became the norm.</p><p>When I started mapping these hidden workarounds, my team shared further examples I missed. The exercise produced a project brief for my ERP tool. The brief defined the “what” and the “how” for my different workflows.</p><p>A Go-Kart sitting inside a garage is of no use. It needs to be used. For any tool I build, the real test is my team’s adoption and feedback. But I can’t move everything at once. Once I was satisfied with O9X’s performance in a development environment, I asked my field team to log their site visits in the app instead of in the WhatsApp group.</p><p>Every few days, I moved one more workflow to the app while fixing bugs my team identified. The biggest transition will be Payroll, which is the riskiest. I will need to sit with my accountant and payroll team to define every possible gap before such a shift.</p><p>O9X has been live for around two weeks. My team identified 50+ small issues, which I fixed. Most of the bugs fell into four buckets:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\"></span>Missing or unclear UI elements</li><li data-list=\"bullet\"><span class=\"ql-ui\"></span>Mobile responsiveness of a few UI elements</li><li data-list=\"bullet\"><span class=\"ql-ui\"></span>Missing fields in a few forms</li><li data-list=\"bullet\"><span class=\"ql-ui\"></span>Errors in the workflow logic</li></ol><p>I am building this project on my own, so there is only so much I can figure out on my own. My team’s feedback identifies issues I missed.</p><p>I prefer to view my approach through <a href=\"https://www.linkedin.com/pulse/abz-planning-entrepreneurial-approach-career-plans-reid-hoffman/\" rel=\"noopener noreferrer\" target=\"_blank\">Reid Hoffman’s ABZ planning framework</a>. I have a clear picture of Z for my business: automated scheduling, predictive compliance, and real-time field data. I am aware of where I currently stand (A). B is O9X, which is now out of my garage. I fix issues that stall it on its journey.</p><p>Z is my F1 car. I am not sure if I can even build one, but I have a working Go-Kart. At this moment, I am satisfied if a guard doesn’t need to call to complain about their missing salary.</p>","content_text":"On 18th Feb 2026, a guard called me to inform me that we still needed to pay him ₹500. ₹500 is not a small amount for someone who earns just ₹17,000.\nI checked with my payroll team, who confirmed there was no error. Suspecting an attendance error, I checked with my field supervisor, who also said there was no error. I was confused as there seemed to be no error, yet the guard insisted that we owed him ₹500.\nMy team eventually identified the problem. The guard had worked an additional shift in another location,which was managed by another field supervisor. That supervisor informed the payroll team in a WhatsApp message, and my payroll team missed updating the guard’s attendance record. It is easy to blame payroll,but the WhatsApp group receives 50+ messages daily. WhatsApp wasn’t developed to organise information at scale.\nMy system design was such that errors like this were bound to happen. The real problem: how information passes from one person to another. I can’t blame a specific individual. Hence, when a guard called me to complain about his missing salary, it made me question the reliability of my current process.\nI took over my dad’s business in 2019. I spent the past few years moving our operations off older legacy tools and processes. Whenever I hit a bump, I fixed it and moved on. After a while, I couldn’t observe any problems, nor did my team communicate any new ones. I assumed that everything was working smoothly.\nI was completely wrong. My team built their own workarounds to fix small problems that I missed. They felt the problems were too small to require my attention. I mistook their efforts and competence for a well-functioning process.\nOnce the guard’s salary was resolved, I decided to understand why such an error occurred. While multiple biases were at play, two stood out: the curse of knowledge and normalisation of deviance.\nI developed and implemented the system myself. I knew every part of it. At the same time, I was blind to everything being done by my team. My team kept resolving minor problems, normalising such fixes as routine work rather than as something to be fixed.\nI see the same thing play out in fancy AI demos. Very few people share how they handled their current mess before AI. In a business (including mine), software tools decide the “what” and “how” for a process. For example, if my HR, Operations, and Payroll teams make three different decisions, a software tool speeds up the decision, but it doesn’t fix my data issues.\nI picture an efficient, AI-driven business process as an F1 car. Before I can build it, I need a working Go-Kart, which is small, exposed, and slow. The Go-Kart helps me spot speed bumps on the road and see if someone is pushing it when it stalls. My team was pushing the Go-Kart whenever it came to a halt, while I assumed it was running on its own.\nI started developing my own internal ERP tool (O9X) to manage my business processes. Before building, I sat down with my team to map my entire business operations. I did not want to make any assumptions.\nI mapped the entire workflow from the moment a guard is enrolled by my field staff to the moment they leave my company. I spent time across different departments to understand what a “typical” day looked like for each of my staff.\nI paid extra attention to handoff points, where information leaves one team and another team takes over.Most of my workflows break at handoff points. Once I wrote everything down, I sat with my team to audit my analysis.\nI observed multiple situations where handoff points were not clean or clear. Take new employee enrolment,for example. ESIC mandates that every new employee has to be registered within 10 days of joining. EPF has no such mandate. My field team submits new employee details via Google Forms, mostly at the end of the month. In a four-month period, 15 to 20 employees’ details were shared 10 days after their enrolment.My office staff, overwhelmed with attendance verification and invoicing, never questioned such lapses. My customers never escalated, and soon it became the norm.\nWhen I started mapping these hidden workarounds, my team shared further examples I missed. The exercise produced a project brief for my ERP tool. The brief defined the “what” and the “how” for my different workflows.\nA Go-Kart sitting inside a garage is of no use. It needs to be used. For any tool I build, the real test is my team’s adoption and feedback. But I can’t move everything at once. Once I was satisfied with O9X’s performance in a development environment, I asked my field team to log their site visits in the app instead of in the WhatsApp group.\nEvery few days, I moved one more workflow to the app while fixing bugs my team identified. The biggest transition will be Payroll, which is the riskiest. I will need to sit with my accountant and payroll team to define every possible gap before such a shift.\nO9X has been live for around two weeks. My team identified 50+ small issues, which I fixed. Most of the bugs fell into four buckets:\nMissing or unclear UI elements\nMobile responsiveness of a few UI elements\nMissing fields in a few forms\nErrors in the workflow logic\nI am building this project on my own, so there is only so much I can figure out on my own. My team’s feedback identifies issues I missed.\nI prefer to view my approach through Reid Hoffman’s ABZ planning framework . I have a clear picture of Z for my business: automated scheduling, predictive compliance, and real-time field data. I am aware of where I currently stand (A). B is O9X, which is now out of my garage. I fix issues that stall it on its journey.\nZ is my F1 car. I am not sure if I can even build one, but I have a working Go-Kart. At this moment, I am satisfied if a guard doesn’t need to call to complain about their missing salary.","image":"https://media.kiranbrahma.com/production/images/item-7fb0d9a35f78a0315f2f8a5e109bf9b2.avif","date_published":"2026-03-08T11:50:00.000Z","date_modified":"2026-12-02T06:01:10.650Z","_microfeed":{"seo":{"description":"Before you automate, ask one question: does your system run when you stop watching? A field note from building O9X."},"slug":"do-i-have-a-working-gokart","authors":[{"name":"Kiran Brahma","type":"Person","url":"https://kiranbrahma.com"}],"web_url":"https://cms.kiranbrahma.com/i/do-i-have-a-working-gokart/","json_url":"https://cms.kiranbrahma.com/i/k4O7AKj2fsP/json/","rss_url":"https://cms.kiranbrahma.com/i/k4O7AKj2fsP/rss/","guid":"k4O7AKj2fsP","status":"published","itunes:episodeType":"full","date_published_short":"Sun Mar 08 2026","date_published_ms":1772970600000}},{"id":"HgQOAfOWscj","title":"O9X Build Log 20: The Black Swan Tax","url":"https://cms.kiranbrahma.com/i/o9x-build-log-20-the-black-swan-tax/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>I spent a week migrating data for O9X, and decided to start beta testing from 23rd February onwards. But on 22nd evening, I could not log in to the app. I checked Cloudflare, which had no outage. When I opened the Supabase website, I noticed that it was blocked.</p><p>Indian ISPs had blocked the supabase.co domain (primarily Jio). Every API call heads to the supabase.co domain, so my app was unreachable without a VPN or a DNS hack. I spent weeks mapping compliance risks, schema failures, and data migration gaps, but an ISP block was the last thing on my mind. I had to find a fix quickly, else my team would consider this a failed project.</p><p>Across Reddit, other Indian developers were facing the same issue. Even Supabase acknowledged the issue, and recommended raising a complaint with their ISP to resolve it. An ISP could take its own sweet time to fix the issue, but I needed to find a fix by morning.</p><p>After a bit of research, I had three options in front of me:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Upgrade my free Supabase account to a paid plan. I could use a custom domain to overcome the block.I wasn't keen as I wasn't clear how the ISP applied the block. If my custom domain resolves to a supabase.co domain at the DNS level, I am back to square one.</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Update DNS details across all devices to use Cloudflare’s 1.1.1.1 or Google’s 8.8.8.8 DNS. This would be a logistical nightmare as my staff works across different cities. I would need to walk everyone through how to change the DNS setting on their phone. I did not outright reject it, but kept it as my fail-safe.</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>The third option was to reroute my app's API calls through Cloudflare Workers. Every call that my app makes goes to Cloudflare, which routes it to Supabase and returns the result. My app was already hosted on Cloudflare Workers, so a Cloudflare outage would already take my app down; rerouting my API calls added no additional risk.</li></ol><p>Once I decided on rerouting my API calls via Cloudflare, I spent the next hour on how to do it. I asked Claude to research this approach to build a stage-wise plan. I decided to test the approach for a single API call, so that AI could identify the errors and fix them. I deployed the updated code to Cloudflare to test it in production. It worked and I began updating the remaining API calls. It took me a total of six hours to update my entire collection.</p><p>I couldn't migrate Google Sign-in authentication as it is dependent on Supabase’s own OAuth system, which connects to supabase.co directly. Rerouting it meant I would need to build my own custom OAuth server and all. Luckily, most of my team was using email sign-in, so I dropped fixing the Google Sign-in issue and moved on.</p><p>By the end of the day, my app was up and running. Supabase keeps users logged in for fifteen days, so anyone from my team who had already signed in did not need to sign in again. I made most of the fixes in the late evening (22nd Feb), so my team did not face any issue when they logged in on the morning of 23rd Feb.</p><p>I tested the extra latency by running the same API call twice: once through the Cloudflare proxy, and once directly to Supabase over a VPN. The proxy added between 22 and 40 milliseconds to an API call. When my staff requests data, it requires one to three seconds before the data is shown to them. The additional 0.04 seconds was too low to impact their perception of the app's performance.</p><p>The app's request volume shot up after the change. Before, my app averaged around 200 requests for every supervisor user, but after the change the average went up to 360. Cloudflare provides a generous 100,000 requests in their free limit, so my app could support 250+ users without any issue.</p><p>I could make the change in my code quickly as every function and API call was well documented. After every session, I ask the AI to document every decision. My claude.md/agents.md has an instruction that every function needs a comment on five specific fields: logic, inputs, outputs, error handling, and assumptions. I built a set of rules on coding standards and package choices along with my business goals to ensure AI doesn't invent its own rules and system.</p><p>I spend around 10 to 20 percent of session limits on documentation. The same documentation helped to resolve a major issue. It also ensures that my code stays consistent.</p><p>The migration also closed a small security gap. A lot of client code runs in the browser, so any logged-in user could inspect and see my app's API call patterns. Now my API calls are routed through Cloudflare, so they are no longer visible to logged-in users.</p><p>The migration did lead to an issue. Cloudflare Workers' free tier has a hard limit of 10 milliseconds of CPU time per request. Before the migration, my average CPU time was 19 milliseconds. After the migration, it is 23 milliseconds. I don't see any errors due to low and uneven traffic to my app. Cloudflare enforces this limit softly. However, once my app's traffic becomes steady, Cloudflare might enforce the limits strictly.</p><p>I will need to investigate and evaluate how to reduce CPU usage per request across my app, but it is a problem for another day.</p>","content_text":"I spent a week migrating data for O9X, and decided to start beta testing from 23rd February onwards. But on 22nd evening, I could not log in to the app. I checked Cloudflare, which had no outage. When I opened the Supabase website, I noticed that it was blocked.\nIndian ISPs had blocked the supabase.co domain (primarily Jio). Every API call heads to the supabase.co domain, so my app was unreachable without a VPN or a DNS hack. I spent weeks mapping compliance risks, schema failures, and data migration gaps, but an ISP block was the last thing on my mind. I had to find a fix quickly, else my team would consider this a failed project.\nAcross Reddit, other Indian developers were facing the same issue. Even Supabase acknowledged the issue, and recommended raising a complaint with their ISP to resolve it. An ISP could take its own sweet time to fix the issue, but I needed to find a fix by morning.\nAfter a bit of research, I had three options in front of me:\nUpgrade my free Supabase account to a paid plan. I could use a custom domain to overcome the block.I wasn't keen as I wasn't clear how the ISP applied the block. If my custom domain resolves to a supabase.co domain at the DNS level, I am back to square one.\nUpdate DNS details across all devices to use Cloudflare’s 1.1.1.1 or Google’s 8.8.8.8 DNS. This would be a logistical nightmare as my staff works across different cities. I would need to walk everyone through how to change the DNS setting on their phone. I did not outright reject it, but kept it as my fail-safe.\nThe third option was to reroute my app's API calls through Cloudflare Workers. Every call that my app makes goes to Cloudflare, which routes it to Supabase and returns the result. My app was already hosted on Cloudflare Workers, so a Cloudflare outage would already take my app down; rerouting my API calls added no additional risk.\nOnce I decided on rerouting my API calls via Cloudflare, I spent the next hour on how to do it. I asked Claude to research this approach to build a stage-wise plan. I decided to test the approach for a single API call, so that AI could identify the errors and fix them. I deployed the updated code to Cloudflare to test it in production. It worked and I began updating the remaining API calls. It took me a total of six hours to update my entire collection.\nI couldn't migrate Google Sign-in authentication as it is dependent on Supabase’s own OAuth system, which connects to supabase.co directly. Rerouting it meant I would need to build my own custom OAuth server and all. Luckily, most of my team was using email sign-in, so I dropped fixing the Google Sign-in issue and moved on.\nBy the end of the day, my app was up and running. Supabase keeps users logged in for fifteen days, so anyone from my team who had already signed in did not need to sign in again. I made most of the fixes in the late evening (22nd Feb), so my team did not face any issue when they logged in on the morning of 23rd Feb.\nI tested the extra latency by running the same API call twice: once through the Cloudflare proxy, and once directly to Supabase over a VPN. The proxy added between 22 and 40 milliseconds to an API call. When my staff requests data, it requires one to three seconds before the data is shown to them. The additional 0.04 seconds was too low to impact their perception of the app's performance.\nThe app's request volume shot up after the change. Before, my app averaged around 200 requests for every supervisor user, but after the change the average went up to 360. Cloudflare provides a generous 100,000 requests in their free limit, so my app could support 250+ users without any issue.\nI could make the change in my code quickly as every function and API call was well documented. After every session, I ask the AI to document every decision. My claude.md/agents.md has an instruction that every function needs a comment on five specific fields: logic, inputs, outputs, error handling, and assumptions. I built a set of rules on coding standards and package choices along with my business goals to ensure AI doesn't invent its own rules and system.\nI spend around 10 to 20 percent of session limits on documentation. The same documentation helped to resolve a major issue. It also ensures that my code stays consistent.\nThe migration also closed a small security gap. A lot of client code runs in the browser, so any logged-in user could inspect and see my app's API call patterns. Now my API calls are routed through Cloudflare, so they are no longer visible to logged-in users.\nThe migration did lead to an issue. Cloudflare Workers' free tier has a hard limit of 10 milliseconds of CPU time per request. Before the migration, my average CPU time was 19 milliseconds. After the migration, it is 23 milliseconds. I don't see any errors due to low and uneven traffic to my app. Cloudflare enforces this limit softly. However, once my app's traffic becomes steady, Cloudflare might enforce the limits strictly.\nI will need to investigate and evaluate how to reduce CPU usage per request across my app, but it is a problem for another day.","image":"https://media.kiranbrahma.com/production/images/item-bf98d007dd0be7ef1204ffa76bef30d9.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":20},"date_published":"2026-03-05T16:14:00.000Z","date_modified":"2026-11-29T13:19:04.064Z","_microfeed":{"seo":{"description":"I explain how an ISP block on Supabase broke my app and how I rerouted API calls through Cloudflare Workers to restore it quickly."},"slug":"o9x-build-log-20-the-black-swan-tax","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-20-the-black-swan-tax/","json_url":"https://cms.kiranbrahma.com/i/HgQOAfOWscj/json/","rss_url":"https://cms.kiranbrahma.com/i/HgQOAfOWscj/rss/","guid":"HgQOAfOWscj","status":"published","itunes:episodeType":"full","date_published_short":"Thu Mar 05 2026","date_published_ms":1772727240000}},{"id":"I20jlmIRRKj","title":"O9x Build Log 19: The Migration Tax","url":"https://cms.kiranbrahma.com/i/o9x-build-log-19-the-migration-tax/","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>I spent over three days fighting with the commas in my Excel sheets.</p><p>In the past few weeks, I felt that my development of O9X was on solid ground. I decided to start testing it with real company data. As I explained in Log 3, that data is spread across multiple platforms (Google Sheets,Airtable, WhatsApp, Excel, Zoho Books, and payroll software). One of my fundamental goals in building O9X was to organise scattered data in a single location.</p><p>I replicated field names across O9X to mirror my payroll software and Zoho Books. I wanted data migration to be a breeze: export data from the old system, save it as a CSV file, and import it. I provided my team with templates on how the data needed to be prepared to avoid any hassles.</p><p>My initial plan was to import all data as CSV files. I decided to do a dry run by importing 50 records. My team saved the Excel sheets as CSV files. Two major issues came up after the very first import:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>Bank Account Number Details:</strong> A lot of bank accounts start with a zero. The payroll software exported all data as Excel files, so zeroes were dropped by Excel. A 16-digit account number became 15 digits. My team found no issues and imported them into O9X.</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span><strong>Column Separation in CSV files:</strong> A lot of our text had commas, which broke the column structure when we imported the files. Data landed in the wrong columns, and additional data was just ignored in the import process.</li></ol><p>My team noticed no errors when they imported the data. When I decided to do a random check of certain individual records, I could see that my import process was screwed up. The two errors were so simple that I laugh at my own naivety.</p><p>There was no need to build a complex tool to fix the issues. When the file is created by my payroll software,my team just has to tag the account column as text, not numbers. I included support for Excel files in my import tool, avoiding the comma issues.</p><p>Every time I felt I had resolved all possible edge cases, new ones kept popping up. I fixed around 30-odd errors before the first batch of 50 records was replicated without any errors. The errors were mostly around how data was saved in my current system and how O9X expected it. I spent three days resolving every small error before I was confident in the tool's reliability.</p><p>Every time I told AI of a new error, it kept suggesting modifications to my database schema. A few changes were needed, but I ignored most of the suggestions. I was aware that every small change in my database schema would break something in another part of my code. I had already corrupted an older database, so I could not afford to repeat the same error.</p><p>Before applying any schema change, I used AI in a separate session to see how the change would impact my code elsewhere and score the risk on a scale of 1 to 10. I asked AI for alternatives when the risk score was more than five. The audit by another agent ensured I did not make a mess of my codebase.</p><p>The most common error was Row Level Security. The AI, in an effort to resolve the import issues, kept suggesting changes that would modify the access restrictions for users. In one instance, the first agent suggested a change that exposed a read API to all users. Luckily, I had already put in place a server-side restriction to block unauthorised API calls, but I could not risk such a security issue. The tests I had put in place wouldn't trigger any errors. Hence, I asked the second agent to also audit and rewrite my tests after every change.</p><p>In the past two weeks, I started committing after every small change. Previously, I would commit after completing the entire day's work. I realised that if something broke in the middle of a long session, I would be forced to start again from scratch.</p><p>Most of my business data has now been imported into O9X. My team has not highlighted any data errors. A lot of work in my app is still pending, so it is still early days for O9X. I expected data migration to be a walk in the park, but it consumed far more time than I originally planned.</p>","content_text":"I spent over three days fighting with the commas in my Excel sheets.\nIn the past few weeks, I felt that my development of O9X was on solid ground. I decided to start testing it with real company data. As I explained in Log 3, that data is spread across multiple platforms (Google Sheets,Airtable, WhatsApp, Excel, Zoho Books, and payroll software). One of my fundamental goals in building O9X was to organise scattered data in a single location.\nI replicated field names across O9X to mirror my payroll software and Zoho Books. I wanted data migration to be a breeze: export data from the old system, save it as a CSV file, and import it. I provided my team with templates on how the data needed to be prepared to avoid any hassles.\nMy initial plan was to import all data as CSV files. I decided to do a dry run by importing 50 records. My team saved the Excel sheets as CSV files. Two major issues came up after the very first import:\nBank Account Number Details: A lot of bank accounts start with a zero. The payroll software exported all data as Excel files, so zeroes were dropped by Excel. A 16-digit account number became 15 digits. My team found no issues and imported them into O9X.\nColumn Separation in CSV files: A lot of our text had commas, which broke the column structure when we imported the files. Data landed in the wrong columns, and additional data was just ignored in the import process.\nMy team noticed no errors when they imported the data. When I decided to do a random check of certain individual records, I could see that my import process was screwed up. The two errors were so simple that I laugh at my own naivety.\nThere was no need to build a complex tool to fix the issues. When the file is created by my payroll software,my team just has to tag the account column as text, not numbers. I included support for Excel files in my import tool, avoiding the comma issues.\nEvery time I felt I had resolved all possible edge cases, new ones kept popping up. I fixed around 30-odd errors before the first batch of 50 records was replicated without any errors. The errors were mostly around how data was saved in my current system and how O9X expected it. I spent three days resolving every small error before I was confident in the tool's reliability.\nEvery time I told AI of a new error, it kept suggesting modifications to my database schema. A few changes were needed, but I ignored most of the suggestions. I was aware that every small change in my database schema would break something in another part of my code. I had already corrupted an older database, so I could not afford to repeat the same error.\nBefore applying any schema change, I used AI in a separate session to see how the change would impact my code elsewhere and score the risk on a scale of 1 to 10. I asked AI for alternatives when the risk score was more than five. The audit by another agent ensured I did not make a mess of my codebase.\nThe most common error was Row Level Security. The AI, in an effort to resolve the import issues, kept suggesting changes that would modify the access restrictions for users. In one instance, the first agent suggested a change that exposed a read API to all users. Luckily, I had already put in place a server-side restriction to block unauthorised API calls, but I could not risk such a security issue. The tests I had put in place wouldn't trigger any errors. Hence, I asked the second agent to also audit and rewrite my tests after every change.\nIn the past two weeks, I started committing after every small change. Previously, I would commit after completing the entire day's work. I realised that if something broke in the middle of a long session, I would be forced to start again from scratch.\nMost of my business data has now been imported into O9X. My team has not highlighted any data errors. A lot of work in my app is still pending, so it is still early days for O9X. I expected data migration to be a walk in the park, but it consumed far more time than I originally planned.","image":"https://media.kiranbrahma.com/production/images/item-99cd0065af46f7818249f82e286eeaf3.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":19},"date_published":"2026-03-05T06:10:00.000Z","date_modified":"2026-11-29T13:16:10.982Z","_microfeed":{"seo":{"description":"I explain why my O9X data migration took three days, the CSV comma and leading-zero errors I fixed, and how I used AI audits."},"slug":"o9x-build-log-19-the-migration-tax","web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-19-the-migration-tax/","json_url":"https://cms.kiranbrahma.com/i/I20jlmIRRKj/json/","rss_url":"https://cms.kiranbrahma.com/i/I20jlmIRRKj/rss/","guid":"I20jlmIRRKj","status":"published","itunes:episodeType":"full","date_published_short":"Thu Mar 05 2026","date_published_ms":1772691000000}},{"id":"dB0Z_6lq2SQ","title":"O9X Build Log 1: Why I am Building O9X","url":"https://cms.kiranbrahma.com/i/o9x-build-log-1-why-i-am-building-o9x/","authors":[{"name":"Kiran Brahma"}],"content_html":"<p>I run a manpower services business, deploying manpower across India. We deploy mostly security personnel, housekeeping staff and staff for warehouses. In the past five years I migrated accounting from Tally to Zoho Books and Payroll from Excel to a custom software. I am happy with the performance of both these systems. My team completes invoicing within 5 days and salaries are processed on or before 7th without major issues.</p><p>In the past few years, customers started demanding more and more from my team. Every new demand resulted in a new WhatsApp group or weekly/monthly reports in excel. If a customer raises a complaint, we open a WhatsApp group, or an excel sheet to reconstruct what happened. 90% of complaints are resolved within 20-30 minutes. However, it was also clear that my current system is not sustainable once the business scales. I need a system of record, allowing my team to resolve issues quickly. </p><p>Once the issues became obvious, I tried my hand on two software tools: Airtable and ERP Next. </p><p>On Airtable, my team filed a form on every site visit. Customers got an email notification after every such visit. Customers appreciated our transparency. We had no need to dig through WhatsApp group for updates and pictures. </p><p>However, Airtable was not cheap. Once I added additional forms, I was asked to upgrade to a higher tier. I realised that Airtable is great for Solo operators, but it wasn't cost efficient for my business. </p><p>Next, I tried my hands on ERP Next (an open-source ERP system), which had everything I wanted. But, I would have to customise it before I could use it. I hired an external developer to customise ERP Next based on my business requirements. I assumed it would be a 6-8 week long implementation project. I was wrong.</p><p>The problem was not ERPNext, but the external developer. The implementation demanded a lot of effort from my end. I had to explain my business to clueless developers. </p><p>We had to codify requirements across multiple customers, attendance rules, overtime, payroll exceptions and state-specific compliance requirements. I spent considerable time explaining and validating code changes. Even after 10 weeks, I could not see an end in sight. </p><p>Both experiments helped me understand what I needed. I did not necessarily need more software features. I wanted a software that models my business. </p><p>My payroll system has another problem. I paid ₹300,000 for a licence. I continue to pay ₹35,000 every year for support. The software is offline. It would cost me an additional ₹ 50,000/yearly if I wanted cloud features.  This creates a risk. If the computer fails, we depend on backups. If a backup fails, we are done for. </p><p>When I moved my accounting from Tally to Zoho Books, it made life easier for everyone in my team. My team became less dependent on any individual employee. We could access information anywhere. I wanted something similar for payroll and operations.</p><p>To make matters worse, the cloud server that hosted my ERP Next prototype was hacked. I lost access to my complete code. In the past four weeks, my developer was making changes directly in the VPS. We even lost access to our data backup server. </p><p>I am not a software engineer, so I never questioned the choice made by my developer. My ERP Next project failed, so I was back to square one. After two failed attempts, I decided to build it by myself. </p><p>I was not starting from Zero. I spent over a year developing small tools for my personal use. I knew from the start that building my own ERP tool is out of my league. I plan to spend my next few weeks exploring all my possibilities. I plan to use mature open-source tools wherever possible rather than develop everything from scratch. </p><p>I don't plan to replace every tool I use. My accounting workflow will remain on Zoho Books. My goal is to connect my field operation with payroll and accounting. I want the information recorded by my field team to be saved in a single location. I will be building my ERP tool in stages. </p><p><strong>Stage One - Field operations: </strong>Attendance, employee enrollment, shift management and site visits will be managed in a single system. </p><p><strong>Stage Two - Payroll Engine:</strong> Once operational aspects are resolved, I will build my own payroll engine. I will need a lot of testing and validation for this stage. </p><p><strong>Stage Three - Zoho Books Integration: </strong>O9X will send required information to Zoho Books to auto-generate our invoices.</p><p>I am not looking to build my own software company (using AI). I just want to develop a software that helps me and my team as my business grows. I will make lot of mistakes. I may even quit. This series will document my journey. I plan to write about the tools I use, the decisions I make, what works and what fails. I will also share the costs involved, including the time I spend building it.</p><p>For now, O9X is an internal project. My first goal is simple: build something that my team can use reliably in our daily operations.</p>","content_text":"I run a manpower services business, deploying manpower across India. We deploy mostly security personnel, housekeeping staff and staff for warehouses. In the past five years I migrated accounting from Tally to Zoho Books and Payroll from Excel to a custom software. I am happy with the performance of both these systems. My team completes invoicing within 5 days and salaries are processed on or before 7th without major issues.\nIn the past few years, customers started demanding more and more from my team. Every new demand resulted in a new WhatsApp group or weekly/monthly reports in excel. If a customer raises a complaint, we open a WhatsApp group, or an excel sheet to reconstruct what happened. 90% of complaints are resolved within 20-30 minutes. However, it was also clear that my current system is not sustainable once the business scales. I need a system of record, allowing my team to resolve issues quickly.\nOnce the issues became obvious, I tried my hand on two software tools: Airtable and ERP Next.\nOn Airtable, my team filed a form on every site visit. Customers got an email notification after every such visit. Customers appreciated our transparency. We had no need to dig through WhatsApp group for updates and pictures.\nHowever, Airtable was not cheap. Once I added additional forms, I was asked to upgrade to a higher tier. I realised that Airtable is great for Solo operators, but it wasn't cost efficient for my business.\nNext, I tried my hands on ERP Next (an open-source ERP system), which had everything I wanted. But, I would have to customise it before I could use it. I hired an external developer to customise ERP Next based on my business requirements. I assumed it would be a 6-8 week long implementation project. I was wrong.\nThe problem was not ERPNext, but the external developer. The implementation demanded a lot of effort from my end. I had to explain my business to clueless developers.\nWe had to codify requirements across multiple customers, attendance rules, overtime, payroll exceptions and state-specific compliance requirements. I spent considerable time explaining and validating code changes. Even after 10 weeks, I could not see an end in sight.\nBoth experiments helped me understand what I needed. I did not necessarily need more software features. I wanted a software that models my business.\nMy payroll system has another problem. I paid ₹300,000 for a licence. I continue to pay ₹35,000 every year for support. The software is offline. It would cost me an additional ₹ 50,000/yearly if I wanted cloud features. This creates a risk. If the computer fails, we depend on backups. If a backup fails, we are done for.\nWhen I moved my accounting from Tally to Zoho Books, it made life easier for everyone in my team. My team became less dependent on any individual employee. We could access information anywhere. I wanted something similar for payroll and operations.\nTo make matters worse, the cloud server that hosted my ERP Next prototype was hacked. I lost access to my complete code. In the past four weeks, my developer was making changes directly in the VPS. We even lost access to our data backup server.\nI am not a software engineer, so I never questioned the choice made by my developer. My ERP Next project failed, so I was back to square one. After two failed attempts, I decided to build it by myself.\nI was not starting from Zero. I spent over a year developing small tools for my personal use. I knew from the start that building my own ERP tool is out of my league. I plan to spend my next few weeks exploring all my possibilities. I plan to use mature open-source tools wherever possible rather than develop everything from scratch.\nI don't plan to replace every tool I use. My accounting workflow will remain on Zoho Books. My goal is to connect my field operation with payroll and accounting. I want the information recorded by my field team to be saved in a single location. I will be building my ERP tool in stages.\nStage One - Field operations: Attendance, employee enrollment, shift management and site visits will be managed in a single system.\nStage Two - Payroll Engine: Once operational aspects are resolved, I will build my own payroll engine. I will need a lot of testing and validation for this stage.\nStage Three - Zoho Books Integration: O9X will send required information to Zoho Books to auto-generate our invoices.\nI am not looking to build my own software company (using AI). I just want to develop a software that helps me and my team as my business grows. I will make lot of mistakes. I may even quit. This series will document my journey. I plan to write about the tools I use, the decisions I make, what works and what fails. I will also share the costs involved, including the time I spend building it.\nFor now, O9X is an internal project. My first goal is simple: build something that my team can use reliably in our daily operations.","image":"https://media.kiranbrahma.com/production/images/item-f3978ef52e1310fd70801e653031d0d4.avif","series":{"id":"QciC9c3inmB","kind":"post","name":"O9X Build Logs","slug":"o9x-build-log","url":"https://cms.kiranbrahma.com/series/post/o9x-build-log/","description":"On November 2025, I started building an ERP system for my business . I expect the new ERP to manage my business data and workflows spread across multiple software tools. The build log documents my journey of building software with help of AI for a business. I document my decisions, trade-offs, tools, AI models, what works and what fails.","series_number":1},"date_published":"2025-12-19T18:20:00.000Z","date_modified":"2026-11-15T18:37:24.213Z","_microfeed":{"seo":{"description":"I share why I'm building O9X, a custom ERP to link field ops, payroll and Zoho Books after Airtable and ERPNext fell short."},"slug":"o9x-build-log-1-why-i-am-building-o9x","authors":[{"name":"Kiran Brahma","type":"Person"}],"web_url":"https://cms.kiranbrahma.com/i/o9x-build-log-1-why-i-am-building-o9x/","json_url":"https://cms.kiranbrahma.com/i/dB0Z_6lq2SQ/json/","rss_url":"https://cms.kiranbrahma.com/i/dB0Z_6lq2SQ/rss/","guid":"dB0Z_6lq2SQ","status":"published","itunes:episodeType":"full","date_published_short":"Fri Dec 19 2025","date_published_ms":1766168400000}},{"id":"LsQYpUZHUOC","title":"Simple Questions to Ask Before Signing Your Next “Dream Client”","url":"https://cms.kiranbrahma.com/i/what-i-need-to-remember-about-chasing-whales","authors":[{"name":"Kiran Brahma","url":"https://kiranbrahma.com"}],"content_html":"<p>In 2003, my dad had quit his job to start his own business He built a small a small third-party logistics company servicing 15-20 courier firms (fish). He managed to achieve profitability within three months. His business partner - who worked with a national courier company - convinced him to on board larger courier firms.</p><p>My dad and his partner spent 5-6 weeks engaging with three large firms (whales). They managed to onboard two of these firms. All of a sudden, their monthly revenue shot by 300%. They decided to exit the smaller contracts to focus their efforts on two big whales they landed.</p><p>In the next three months, they exited their older contracts and focussed only the two big contracts. The two big players had better payment terms with similar margin structure as their older contracts.</p><p>Soon my dad's two big customers found delivery volume sufficient to setup their own delivery operations. Slowly, they started expanding their delivery operations. Nine months after my dad started working with them, delivery volume fell down by over 85%. Soon the business was no longer self-sustainable.</p><p>The contract that my dad signed provided no assurance of delivery volume. The two big firms promised commitment but it was never written down on paper.</p><p>When my dad reached out to his older customers, he noticed that they were working with other vendors who prioritised them. They were not keen to engage the services of my dad's firm.</p><p>After a few months, my dad's business partner left, and he pivoted his business from delivery to warehouse management. The business soon became profitable but never earned enough that made up for salary foregone by my dad. My dad sold the business and joined TopsGrup to head their revenue management in Mumbai.</p><p>My dad's experience made to build two simple operating principles that I follow even today:</p><ol><li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>A business needs enough small fish to stay alive even when it loses a whale.</li><li data-list=\"ordered\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Reliability and Trust are not earned easily but easy to lose</li></ol><p>Just ask yourself three simple questions when chasing your next big opportunity:</p><ol><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>How easily could they do this without me?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>Does the contract reflect real commitment, or am I taking all the risk?</li><li data-list=\"bullet\"><span class=\"ql-ui\" contenteditable=\"false\"></span>What bridges am I burning to chase this?</li></ol><p>It doesn't mean you don't take risks or chase whales for your business. Just don't forget about the small fish in the process. If your business is dependent on the whims of just one or two contracts, it is not a business but just a freelance opportunity.</p>","content_text":"In 2003, my dad had quit his job to start his own business He built a small a small third-party logistics company servicing 15-20 courier firms (fish). He managed to achieve profitability within three months. His business partner - who worked with a national courier company - convinced him to on board larger courier firms.\nMy dad and his partner spent 5-6 weeks engaging with three large firms (whales). They managed to onboard two of these firms. All of a sudden, their monthly revenue shot by 300%. They decided to exit the smaller contracts to focus their efforts on two big whales they landed.\nIn the next three months, they exited their older contracts and focussed only the two big contracts. The two big players had better payment terms with similar margin structure as their older contracts.\nSoon my dad's two big customers found delivery volume sufficient to setup their own delivery operations. Slowly, they started expanding their delivery operations. Nine months after my dad started working with them, delivery volume fell down by over 85%. Soon the business was no longer self-sustainable.\nThe contract that my dad signed provided no assurance of delivery volume. The two big firms promised commitment but it was never written down on paper.\nWhen my dad reached out to his older customers, he noticed that they were working with other vendors who prioritised them. They were not keen to engage the services of my dad's firm.\nAfter a few months, my dad's business partner left, and he pivoted his business from delivery to warehouse management. The business soon became profitable but never earned enough that made up for salary foregone by my dad. My dad sold the business and joined TopsGrup to head their revenue management in Mumbai.\nMy dad's experience made to build two simple operating principles that I follow even today:\nA business needs enough small fish to stay alive even when it loses a whale.\nReliability and Trust are not earned easily but easy to lose\nJust ask yourself three simple questions when chasing your next big opportunity:\nHow easily could they do this without me?\nDoes the contract reflect real commitment, or am I taking all the risk?\nWhat bridges am I burning to chase this?\nIt doesn't mean you don't take risks or chase whales for your business. Just don't forget about the small fish in the process. If your business is dependent on the whims of just one or two contracts, it is not a business but just a freelance opportunity.","image":"https://media.kiranbrahma.com/production/images/item-d87ecc3c649a342b83ac819345eed0ee.jpg","categories":[{"id":"za1gJa89exz","name":"Journal","slug":"journal","url":"https://cms.kiranbrahma.com/category/journal/"}],"date_published":"2025-10-08T13:04:00.000Z","date_modified":"2026-11-03T10:49:32.996Z","_microfeed":{"seo":{"description":"I ask three questions before chasing a big customer: can they succeed without me, is the contract solid, what bridges am I burning to win this contract?"},"web_url":"https://cms.kiranbrahma.com/i/simple-questions-to-ask-before-signing-your-next-LsQYpUZHUOC/","json_url":"https://cms.kiranbrahma.com/i/LsQYpUZHUOC/json/","rss_url":"https://cms.kiranbrahma.com/i/LsQYpUZHUOC/rss/","guid":"LsQYpUZHUOC","status":"published","itunes:episodeType":"full","date_published_short":"Wed Oct 08 2025","date_published_ms":1759928640000}}],"_microfeed":{"seo":{"description":"I share my thoughts, ideas, and observations from running a manpower services business in India, using this site as an archive for future.","title":"Kiran Brahma - Personal Website"},"publisher":{"type":"Person","name":"Kiran Brahma"},"authors":[{"name":"Kiran Brahma","type":"Person","url":"https://kiranbrahma.com"}],"microfeed_version":"1.0.13","base_url":"https://cms.kiranbrahma.com","categories":[{"name":"Business","categories":[{"name":"Entrepreneurship"}]},{"name":"Business"}],"subscribe_methods":[{"name":"RSS","type":"rss","url":"https://cms.kiranbrahma.com/rss/","image":"https://cms.kiranbrahma.com/assets/brands/subscribe/rss.png","enabled":true,"editable":false,"id":"_Pa_MnebNFZ"},{"name":"JSON","type":"json","url":"https://cms.kiranbrahma.com/json/","image":"https://cms.kiranbrahma.com/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"1j6FOsJFN0U"}],"description_text":"Welcome to my personal website. I currently run my own business in Manpower services in India. This website serves as my digital archive of my thoughts, ideas, learning and observations. Writing helps in clarifying thoughts in my head. Every article (including those with AI assistance) is written to aid me in my future\nI am currently migrating my content across multiple platforms into this website. Certain content (o9x build logs) will be broken. I hope to complete the transition in the next few weeks","copyright":"©2026","itunes:type":"episodic","items_sort":"published_at","items_order":"desc"}}