<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[AmanERP - Medium]]></title>
        <description><![CDATA[AmanERP shares field notes from building a secure, AI-native ERP platform: product strategy, authorization, DevOps, resilience, security, project management, and the engineering lessons that turn hard-won failures into repeatable systems - Medium]]></description>
        <link>https://medium.com/amanerp?source=rss----961b8179355c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>AmanERP - Medium</title>
            <link>https://medium.com/amanerp?source=rss----961b8179355c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:01:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/amanerp" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Opus 5 vs Sol 5.6: When Two Strong Models Disagree, Pay Attention]]></title>
            <link>https://medium.com/amanerp/opus-5-vs-sol-5-6-when-two-strong-models-disagree-pay-attention-661342d78c1d?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/661342d78c1d</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 08:52:47 GMT</pubDate>
            <atom:updated>2026-08-13T08:53:57.932Z</atom:updated>
            <content:encoded><![CDATA[<p>Why ChatGPT 5.6 Sol finds issues in Claude Opus 5’s work</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Li02ezwG-CRZqLHYzHFfBw.jpeg" /></figure><p>here’s a pattern showing up in a lot of teams right now. You ask Claude Opus 5 (especially at high or xhigh effort) to generate a solid pull request. It delivers something that looks complete: tests, helpers, multi-file changes, thoughtful edge cases.</p><p>Then you hand that same pr to GPT-5.6 Sol for review, and Sol lights up with a long list of notes. Scope creep. Unnecessary abstractions. Subtle side effects. Things the unit tests never touched.</p><blockquote>It can feel like the models are fighting. They’re not. They’re doing different jobs really well, and the friction between them is useful.</blockquote><h3>Why Opus 5 tends to expand</h3><p>When you dial Opus 5 up to xhigh, it leans hard into completeness. It doesn’t just solve the narrow request. It tries to make the surrounding code better, more consistent, more future-proof. <br>- Shared utilities get cleaned up. <br>- Helper layers appear. <br>- Edge cases that weren’t in the original ticket suddenly have been handled.</p><p>That thoroughness is a strength for big, multi-file features. It’s also the source of “<strong>diff bloat.</strong>” The change set grows.</p><ul><li>Files that were never supposed to move get touched.</li><li>Implicit assumptions that the rest of the codebase relied on can shift.</li><li>Unit tests written in the same pass often pass, because they were shaped by the same mindset.</li><li>The regressions show up later, in the places the tests didn’t reach; race conditions, null paths, performance traps, or quiet breaks in other callers.</li></ul><blockquote>Opus is acting like a strong, ambitious senior engineer who was told <strong>“make it solid”</strong> and took the brief seriously. Sometimes too seriously.</blockquote><h3>Why Sol is so strict</h3><p>GPT-5.6 Sol was trained and tuned differently. It shines at deep root-cause work and careful static checking. When it reviews a PR, it behaves more like an <strong>aggressive, experienced auditor</strong> than a co-author. It cares about parsimony: the smallest change that actually solves the problem.</p><p>It looks for collisions with existing patterns. It hunts for the failure modes that unit tests usually miss: async edge cases, lookup-table costs that only appear under load, unhandled states that only surface in production.</p><p>Sol is less interested in whether the PR “looks complete” and more interested in whether every line is necessary and safe.</p><p>That strictness is why the review volume is high. It is also why the feedback is often high-signal.</p><h3>How the two models actually differ</h3><p><strong><em>Claude Opus 5 (xhigh)</em></strong></p><ul><li><strong>Natural style</strong>: Broad, high-velocity generation. Builds scaffolding and completeness.</li><li><strong>Common failure mode</strong>: Over-engineering, scope expansion, and subtle regressions outside the test suite.</li><li><strong>Typical PR shape</strong>: Larger diffs, new helpers, extra tests, more files touched.</li></ul><p><strong><em>GPT-5.6 Sol (as reviewer)</em></strong></p><ul><li><strong>Natural style</strong>: Precise, line-by-line verification. Trims and isolates.</li><li><strong>Common failure mode</strong>: Can become pedantic about style or low-probability edges.</li><li><strong>Typical PR shape</strong>: Focus on the minimal necessary change and architectural discipline.</li></ul><blockquote>Neither is “wrong.” They are complementary.</blockquote><h3>Turning the tension into a pipeline</h3><p>Many teams have started treating this exact dynamic as a deliberate workflow instead of a headache:</p><ol><li>Let <strong>Opus 5 (xhigh)</strong> own the first serious pass. <br>Give it the real task, the relevant context, and room to produce a complete, multi-file solution with baseline tests. <br><strong><em>(This is where its strength in agentic, repo-level work shows up.)</em></strong></li><li>Hand the resulting diff straight to <strong>Sol</strong>. <br>Ask it to enforce scope, remove unnecessary abstraction, surface hidden failure modes, and call out anything that touches more than it should. <br><strong><em>(Sol is unusually good at this role.)</em></strong></li><li>Iterate on the review findings before human eyes land on it. <br>The human review then starts from a cleaner, tighter base instead of having to do both the creative and the forensic work.</li></ol><blockquote><strong>The result is usually better than either model working alone.</strong></blockquote><p>Opus supplies ambition and coverage. Sol supplies discipline and skepticism. The combination catches more real issues while still moving fast.</p><h3>A bit of practical wisdom</h3><p>Good software has always needed both builders and inspectors. One person who can see the whole system and push it forward. Another who can stare at the change and ask, “Is every part of this actually required, and will it still hold when the unexpected happens?”</p><p>AI models now give us versions of both personalities at scale. When they disagree loudly, it is not a bug in the process. It is a signal that the two roles are alive and doing their jobs. The teams that learn to route work deliberately (<em>generation to one strength, auditing to the other</em>) get the benefit of both without the usual cost of constant human rework.</p><blockquote><strong>Use the friction. It is one of the clearer advantages available right now.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=661342d78c1d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/opus-5-vs-sol-5-6-when-two-strong-models-disagree-pay-attention-661342d78c1d">Opus 5 vs Sol 5.6: When Two Strong Models Disagree, Pay Attention</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 2026 Frontier AI Landscape: A Hyper-Accelerated King-of-the-Hill Game]]></title>
            <link>https://medium.com/amanerp/the-2026-frontier-ai-landscape-a-hyper-accelerated-king-of-the-hill-game-d2f4aecfd614?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/d2f4aecfd614</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Sun, 19 Jul 2026 06:32:10 GMT</pubDate>
            <atom:updated>2026-07-19T06:32:10.183Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7JJYxAJ8xSOclweV-v_QpA.jpeg" /><figcaption>AI Models, Intelligence War and King of the hill race</figcaption></figure><p><em>No model stays king for long. The real contest is shifting from benchmark supremacy to useful work completed per rupee, per second, and per unit of human supervision.</em></p><p>For most of the generative-AI era, progress was narrated as a horse race: which laboratory had the smartest model?</p><p>That framing is now obsolete.</p><p>By mid-2026, frontier AI has become a hyper-accelerated king-of-the-hill game. A model may lead a coding benchmark on Monday, lose the spotlight to a cheaper open-weight competitor on Friday, and become yesterday’s news when another company integrates a slightly weaker model into a much better product.</p><p>The gap between the best proprietary models and the strongest open-weight systems has not disappeared completely. Anthropic’s Claude Fable 5 and OpenAI’s GPT-5.6 Sol still lead many demanding evaluations. But the gap has narrowed enough that intelligence alone no longer decides the winner.</p><p><strong>The emerging contest is multidimensional:</strong></p><ul><li>How reliably can the model complete a long-running task?</li><li>How well does it use terminals, browsers, repositories and business tools?</li><li>How many tokens and tool calls does it consume?</li><li>How fast does it produce a usable result?</li><li>Can it handle text, images, audio, video and large document collections?</li><li>Can it be deployed without surrendering control to one vendor?</li><li>What does a successfully completed task actually cost?</li></ul><p>That is why the “best model” can now change not merely by month, but by workload.</p><h3>January and February: A new baseline emerges</h3><p>The opening months of 2026 established the year’s new baseline: frontier models were no longer expected merely to answer difficult questions. They were expected to plan, use tools, manipulate files, navigate large repositories and remain coherent across extended work.</p><p>Google released Gemini 3.1 Pro on 19 February with improved core reasoning across the Gemini API, Vertex AI, the Gemini app and NotebookLM. It was accompanied by an upgraded Deep Think mode aimed at science and engineering problems. <a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-pro/">Google’s announcement</a> reflected the broader shift from conversational intelligence to sustained problem-solving.</p><p>Meanwhile, Z.ai released GLM-5, a 744-billion-parameter mixture-of-experts model with approximately 40 billion parameters active per token. It was designed for complex systems engineering and long-horizon agent tasks, demonstrating that open-weight laboratories were competing not merely on cost, but on the kind of work previously associated with premium closed models.</p><p>The important development was not that one company won February. It was that “frontier” had acquired a new meaning: a model needed to operate inside a workflow, not merely inside a chat window.</p><h3>April and May: DeepSeek attacks the economics</h3><p>On 24 April, DeepSeek released the open-weight V4 Preview family.</p><p>DeepSeek-V4-Pro arrived with 1.6 trillion total parameters and 49 billion active parameters per token. The smaller V4-Flash used 284 billion total and 13 billion active parameters. Both offered a one-million-token context window, thinking and non-thinking modes, and compatibility with OpenAI- and Anthropic-style APIs. <a href="https://api-docs.deepseek.com/news/news260424/">DeepSeek’s official release</a> positioned the family specifically around coding agents, tool use and long-context efficiency.</p><p><strong>The pricing was more disruptive than the parameter count.</strong></p><p>As of 19 July, DeepSeek lists V4-Flash at approximately $0.14 per million uncached input tokens and $0.28 per million output tokens. V4-Pro is approximately $0.435 for input and $0.87 for output. Cache-hit input can be dramatically cheaper. <a href="https://api-docs.deepseek.com/quick_start/pricing/">DeepSeek’s current pricing</a> places both models in an entirely different economic category from premium American flagships.</p><p><strong>Then came Google I/O.</strong></p><p>On 19 May, Google released Gemini 3.5 Flash, a model designed for agentic coding and long-horizon workflows while retaining Flash-class speed. Google reported substantial improvements over Gemini 3.1 Pro on several agent and coding evaluations. <a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5/">Gemini 3.5 Flash</a> supports more than one million input tokens and is priced at $1.50 per million input tokens and $9 per million output tokens under its standard API tier. <a href="https://ai.google.dev/gemini-api/docs/pricing">Google’s pricing page</a> also offers lower-cost batch and flex inference.</p><p>The lesson was becoming clear: intelligence, latency and cost were converging. A “Flash” model could no longer be dismissed as a lightweight alternative.</p><h3>June: Capability meets geopolitics</h3><p>Anthropic raised the capability ceiling on 9 June with Claude Fable 5.</p><p>Fable was the generally available, heavily safeguarded version of Anthropic’s Mythos-class model. It was designed for exceptionally difficult software engineering, knowledge work and long-running autonomous tasks. The underlying model was also released as Claude Mythos 5 to a restricted group of approved cybersecurity partners.</p><p>Fable’s pricing reflected its premium position: $10 per million input tokens and $50 per million output tokens — twice the price of Claude Opus 4.8. <a href="https://docs.anthropic.com/en/docs/about-claude/models/overview">Anthropic’s model documentation</a> recommends it only when the highest available capability is required.</p><p>But three days after launch, the US government issued an export-control directive restricting foreign-national access to both Fable and Mythos. Because Anthropic could not reliably verify nationality across its global users in real time, it suspended both models for everyone. <a href="https://www.anthropic.com/news/fable-mythos-access">Anthropic’s original statement</a> documented the extraordinary intervention.</p><p>The controls were lifted on 30 June after Anthropic implemented additional safeguards. Fable returned globally on 1 July, while Mythos remained limited to approved partners. <a href="https://www.anthropic.com/news/redeploying-fable-5">Anthropic’s redeployment account</a> provides the complete timeline.</p><p>This episode mattered beyond Anthropic. For the first time, customers received a dramatic demonstration that frontier-model availability could become a geopolitical variable.</p><p>Also in June, Z.ai released GLM-5.2. The 744-billion-parameter open-weight model extended its usable context to one million tokens and focused on stable, project-scale engineering and long-horizon execution. <a href="https://z.ai/blog/glm-5.2">Z.ai describes it</a> as its strongest coding model, while its API is priced at $1.40 per million input tokens, $0.26 for cached input and $4.40 for output. <a href="https://docs.z.ai/guides/overview/pricing">Z.ai pricing</a> makes it substantially cheaper than the leading closed flagships.</p><h3>July: The critical fortnight</h3><p>The first half of July compressed months of competitive movement into days.</p><h4>OpenAI: GPT-5.6 Sol</h4><p>OpenAI publicly released the GPT-5.6 family on 9 July after an earlier limited preview and government security review.</p><p>GPT-5.6 Sol is the flagship, accompanied by the more economical Terra and Luna variants. Sol offers a 1.05-million-token context window, a 128,000-token maximum output and new max and multi-agent ultra reasoning modes. OpenAI reports leading results on Terminal-Bench 2.1 and improvements in long-horizon coding, biology and defensive cybersecurity. <a href="https://openai.com/index/previewing-gpt-5-6-sol/">OpenAI’s launch material</a> describes it as the company’s most capable model to date.</p><p>Sol is priced at $5 per million input tokens and $30 per million output tokens — expensive, but significantly below Claude Fable 5. <a href="https://developers.openai.com/api/docs/models/gpt-5.6-sol">OpenAI’s API documentation</a> confirms its context and pricing.</p><h4>SpaceXAI: Grok 4.5</h4><p>SpaceXAI formally announced Grok 4.5 on 16 July, although its API release notes record an earlier 8 July availability entry.</p><p>Grok 4.5 was trained alongside Cursor and optimized for coding, engineering and agentic work. SpaceXAI reports roughly 80 output tokens per second and substantially lower token consumption than some premium competitors on selected engineering evaluations. Its $2 input and $6 output pricing is particularly aggressive for a closed frontier-class model. <a href="https://x.ai/news/grok-4-5">The Grok 4.5 announcement</a> includes its pricing, benchmark methodology and integration details.</p><p>The early evidence suggests Grok 4.5 may be one of the strongest cost-performance options for prolonged development sessions. But SpaceXAI’s benchmark suite shows a more nuanced picture than the marketing headline: Grok wins some long-duration engineering evaluations, while Fable, GPT and other Claude variants lead others.</p><p>There is no universal coding champion.</p><h4>Moonshot AI: Kimi K3</h4><p>On 16–17 July, depending on timezone, Moonshot AI introduced Kimi K3.</p><p>K3 contains 2.8 trillion total parameters, uses 16 of 896 experts during inference, supports native visual understanding and provides a one-million-token context window. Moonshot describes it as the first open model in the three-trillion-parameter class. <a href="https://www.kimi.com/blog/kimi-k3">The Kimi K3 technical overview</a> says that the model still trails Fable 5 and GPT-5.6 Sol overall, but reaches or exceeds frontier performance on several coding, visual and knowledge-work tasks.</p><p>Its API costs $3 per million uncached input tokens, $0.30 for cache-hit input and $15 for output.</p><p>There is, however, an important qualification: as of 19 July, K3’s complete weights have not yet been released. Moonshot promises to publish them by 27 July alongside additional technical details. Therefore, K3 is best described today as an API model with a committed open-weight release — not yet as a fully downloadable open-weight system. <a href="https://platform.kimi.ai/docs/guide/kimi-k3-quickstart">Moonshot’s API documentation</a> confirms the promised date.</p><p>K3 nevertheless represents a significant moment. Its scale, multimodality, long context and competitive performance show that the open-model frontier is no longer confined to smaller approximations of Western systems.</p><h4>Google: Strong platform, missing flagship</h4><p>Google’s position is more complicated.</p><p>Gemini 3.5 Flash is a serious agentic model with excellent multimodal support, strong speed and deep integration across Search, Workspace, Android, Vertex AI and the Gemini ecosystem.</p><p>But Gemini 3.5 Pro, originally promised for June, has not been publicly released. Reporting indicates that it failed to meet Google’s internal targets, particularly in coding, leading to additional training and testing. <a href="https://www.reuters.com/business/google-gemini-launch-delayed-tech-falls-short-internal-goals-bloomberg-news-2026-07-16/">Reuters reported the delay</a> on 16 July.</p><p>Google may temporarily lack the most visible frontier flagship, but it still possesses something most competitors do not: control over a global distribution network spanning consumer search, mobile devices, productivity software, cloud infrastructure and enterprise data.</p><p>Model leadership and ecosystem power are not the same thing.</p><h3>The July 2026 frontier stand-off</h3><p><em>Standard API prices per one million tokens, excluding batch discounts, provider markups, long-context surcharges and tool fees.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RNafzrQmCN1GnZ9Bck9u_g.png" /><figcaption>AI Models Pricing (July 2026)</figcaption></figure><p>These prices should not be mistaken for the total cost of completing a task.</p><p>A cheaper model may consume more reasoning tokens, make more tool calls, require additional retries or produce work that needs more human correction. A March 2026 study found that the model with the lower advertised token price became the more expensive option in 21.8% of model-pair comparisons, with some reversals reaching 28 times the expected cost. <a href="https://arxiv.org/abs/2603.23971">The pricing-reversal research</a> reinforces an essential principle:</p><blockquote><em>Optimize for the cost of a successful outcome — not the price of a token.</em></blockquote><h3>The deeper pattern</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kMps6hFsVEymi_eWKsgHwA.jpeg" /><figcaption>Closed Proprietary Models vs Open Weights Models</figcaption></figure><p>Three competitive systems are now operating simultaneously.</p><p>American proprietary laboratories continue to set many capability ceilings. OpenAI and Anthropic are especially strong in high-complexity coding, scientific work, defensive security and long-running agents. Their advantages include mature developer products, enterprise support, safety infrastructure and deeply integrated agent environments.</p><p>Platform companies compete through distribution. Google can place Gemini across Search, Android, Workspace and Cloud. SpaceXAI is integrating Grok with Cursor, Grok Build and professional-document workflows. A slightly weaker model embedded in the right environment can be more valuable than a stronger model sitting behind an isolated API.</p><p>Chinese open-weight laboratories are compressing both capability gaps and prices. DeepSeek, Z.ai and Moonshot are forcing every provider to justify its premium. They also offer developers more deployment choices and reduce dependence on any single Western API.</p><p>But “open-weight” is not synonymous with “free,” “easy to run” or “risk-free.”</p><p>Kimi recommends supernode deployments with at least 64 accelerators. A 744-billion-parameter or 1.6-trillion-parameter model still requires hundreds of gigabytes of weight memory even under aggressive quantization, before accounting for runtime overhead, parallelism and long-context KV cache. These systems are open to inspection and alternative hosting, but they are not practical laptop models — or ordinary Hetzner and Contabo VPS workloads.</p><p>Open weights reduce one form of vendor lock-in while potentially creating another dependency on specialized inference providers and scarce accelerator infrastructure.</p><h3>What AmanERP is doing</h3><p>AmanERP does not organize its work around one permanent “best” model. We use a controlled multi-model workflow and route work according to the task, the risk and the cost of a successful result.</p><p>For difficult repository-wide implementation, planning, security analysis and debugging, we use high-capability models inside mature engineering harnesses. GPT-5.6 Sol through Codex is one example. The surrounding system matters as much as the model: project context, tools, permissions, tests and review gates all shape the result.</p><p>We send bounded, mechanical work to faster and cheaper models. Work that requires architectural judgment, difficult trade-offs or incident reasoning goes to stronger models. The route follows the work; it does not follow model fandom.</p><p>Every non-trivial change also receives an independent adversarial review. The model that writes a plan or a diff does not get the final word. A second reviewer looks for security gaps, broken tenant boundaries, data-loss risks, unsafe migrations, concurrency problems, missing failure paths and weak rollback evidence. We resolve material findings before merge. The second model is there to disagree, not to provide a ceremonial approval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rnLkPb6pC-0m10HPci17bQ.jpeg" /><figcaption>Multi-Model Orchestration</figcaption></figure><p>We give agents narrow authority. They work from explicit specifications, acceptance criteria and file ownership. Sensitive actions retain human approval, and deterministic systems — not language models — remain responsible for authorization, accounting rules and other correctness-critical decisions.</p><p>We judge economics by completed work, not token price. A cheap model becomes expensive when it needs repeated attempts, makes too many tool calls or leaves hours of human correction. We compare models on real AmanERP tasks: Go changes, PostgreSQL queries and migrations, Next.js components, authorization-policy reasoning, tenant-isolation tests, incident analysis and compliance research.</p><p>The same operating pattern is useful for other builders:</p><ul><li>Start with a task taxonomy, not a model leaderboard.</li><li>Route by complexity, data sensitivity, latency, permissions and historical success.</li><li>Keep provider-specific details behind replaceable workflow boundaries.</li><li>Test models on your own work with the same tools, budgets and acceptance criteria.</li><li>Require independent review for high-risk changes.</li><li>Measure cost per accepted outcome, including retries and human correction.</li><li>Keep human approval at consequential boundaries.</li></ul><p>We also resist self-hosting a giant open-weight model merely because its weights are available. Managed inference remains the practical choice for frontier-scale work until sustained demand, privacy needs and measured economics justify dedicated infrastructure.</p><p>Public benchmarks help us choose what to test. AmanERP’s own work decides what earns a place in the system.</p><h3>There may never be another permanent king</h3><p>The frontier is no longer moving in a straight line from one universally superior model to the next.</p><p>It is fragmenting into multiple frontiers: peak intelligence, agent reliability, multimodal work, coding efficiency, price, distribution, openness and deployment control.</p><p>Closed models still establish many capability ceilings. Open-weight systems are rapidly commoditizing those capabilities. Platform companies are turning models into operating environments. Regulation and geopolitics are making availability itself a strategic concern.</p><p>For builders, this is excellent news — provided they resist the temptation to bet the company on whichever model is enjoying this week’s limelight.</p><p>The winning strategy in 2026 is not loyalty to the current king.</p><p>It is building a system that can replace the king without rebuilding the kingdom.</p><h3>About AmanERP</h3><p>AmanERP is an AI-native ERP for SMBs, built in public with platform-first engineering, authorization-first architecture, and operational resilience as product primitives. <em>Aman</em> means peace; the product promise is business software that feels calm instead of chaotic. Follow the build at <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2f4aecfd614" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/the-2026-frontier-ai-landscape-a-hyper-accelerated-king-of-the-hill-game-d2f4aecfd614">The 2026 Frontier AI Landscape: A Hyper-Accelerated King-of-the-Hill Game</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The AGPL Trap That Forced an Identity Provider Migration]]></title>
            <link>https://medium.com/amanerp/the-agpl-trap-that-forced-an-identity-provider-migration-5d1b394e2598?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/5d1b394e2598</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Wed, 17 Jun 2026 04:31:56 GMT</pubDate>
            <atom:updated>2026-06-17T04:38:14.673Z</atom:updated>
            <content:encoded><![CDATA[<p>Running an unmodified AGPL binary can be safe. Importing its Go module is a different risk. That distinction cost me six weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e3bQ1xZkJ5axaWKDrp0b2A.jpeg" /><figcaption>A horizontal timeline with four marks — a license flipping upstream, the dependency adopted, the audit that catches it, and a wide migration span — shows the cost of the unasked license question.</figcaption></figure><p>Six weeks. Roughly 40–50 files. That was the price of treating “open source” as enough, and of not asking the one question that matters for copyleft:</p><p><strong>How does this dependency enter the product?</strong></p><h3>The Audit That Found the License Problem</h3><p>I adopted ZITADEL as the identity provider in January 2026. The ADR recorded the properties I cared about then: self-hosted, open source, modern, tenant-aware. It did not force the license-family × integration-mode question.</p><p>By the February 2026 vendor-coupling audit, that omission mattered. <strong>ZITADEL v3 had moved from Apache 2.0 to AGPL 3.0</strong>, and my codebase had accumulated 15+ files with hardcoded ZITADEL claim names, a 760-line setup script, and database columns named zitadel_org_id cascading through roughly 55 files via SQLC code generation.</p><p>I had not merely chosen an identity provider. I had shaped schema, token claims, generated code, and operational scripts around it.</p><p>That left one question I could not hand-wave inside a closed-source SaaS: <strong>was this dependency safe in the way I was using it?</strong></p><h3>The Trap Most Engineers Walk Into</h3><p>The usual AGPL conversation starts with the network-use clause. If you modify an AGPL program and let users interact with it over a network, <strong>Point 13 says you must offer the source for that modified version. That is the SaaS loophole AGPL was written to close.</strong></p><p>The usual response is equally familiar: <strong>“We are just running it behind a network boundary. We are not modifying it. We are fine.”</strong></p><p>That sentence is half right.</p><p>AGPL point 13 is about modified versions. Running an unmodified AGPL program as a separate service is not the same thing as publishing your proprietary code. The license text itself separates mere execution from conveying a copy.</p><p>But that is not the trap that bit me.</p><p>The trap is linking.</p><h3>Go Static-Links. That Changes Everything.</h3><p>GPL/AGPL point 0 defines “modify” to include creating a work based on the program. The FSF FAQ treats static or dynamic linking as a combined-work case.</p><p>Go, by default, builds imported modules into one binary. So a single import of an AGPL Go module is not the same risk as calling an unmodified service over HTTP. <strong>It moves you into the combined-work case: the one lawyers and conservative license policies treat most seriously.</strong></p><p><strong>JavaScript bundles can create the same shape when they inline dependency code.</strong></p><p>That is why the license name alone never answers the adoption question. The answer lives in the integration mode.</p><h3>The Two-Axis Rule</h3><p>I formalized this as ADR-086 after the ZITADEL migration because the old rule — <strong>“AGPL/GPL = forbidden” </strong>— was both too broad and too vague. It blocked genuinely safe internal tooling, while still failing to name the product risk precisely.</p><p>The correct rule has two axes: <strong>license family × integration mode</strong>.</p><p>— —</p><p><strong><em>Integration Mode — AGPL/GPL verdict</em></strong></p><p><strong>— — <br>Mode A:</strong> internal tooling only, run as a standalone binary, never shipped, never linked — (<strong>Allowed with documented allowlist) <br>Mode B: </strong>arms-length service, separate process, product talks to it over a network API — (<strong>Requires IP-counsel review)<br>Mode C: </strong>Go module import, npm bundle, same binary — (<strong>Hard blocked) <br>Mode D: </strong>shipped to customers, or modified and network-exposed to non-employees — (<strong>Hard blocked)</strong></p><p>— —</p><p>The mode the standard defense usually describes — running an unmodified service behind a network boundary — is <strong>Mode B</strong>. That boundary may be defensible, but it is still the wrong place for a pre-revenue closed-source SaaS to take heroic license risk when permissive alternatives exist.</p><p><strong><em>Google’s AGPL policy is blunt</em></strong> for the same reason: the modification and linking distinctions are fact-specific, <strong><em>easy for engineers to get wrong, and costly when they are wrong.</em></strong></p><h3>What We Did</h3><p>I replaced ZITADEL with Logto OSS (MPL-2.0). MPL-2.0 is file-level copyleft: if I modify MPL files, those changes have sharing obligations, but the license does not spread across my whole proprietary binary. No AGPL network-use clause. No Go-linking trap for the product.</p><p>The migration cost six weeks and touched roughly 40–50 files. That was not the price of being careful. It was the price of being careful late, after identity had leaked into schema, scripts, token claims, and generated code.</p><h3>Where the rule gets too blunt</h3><p>The opposite failure is real too. A flat “AGPL is forbidden” rule reaches the right answer for the linked product code, then keeps going until it blocks safe tooling. I hit that next: the old rule vetoed a standalone internal CLI that never shipped, never linked, and never entered the product runtime.</p><p>That was not risk management. That was a velocity tax.</p><p>Permissive licenses are safe everywhere. AGPL linked or bundled into the product code is blocked. AGPL run as an unshipped, unlinked internal tool can be allowed with a documented allowlist. Scope the alarm to the quadrant that earns it.</p><h3>The Rule Worth Keeping</h3><blockquote><strong>The danger is not the license family. The danger is the integration mode.</strong></blockquote><p>Permissive licenses are safe in every cell. AGPL linked or bundled into your product binary is blocked, even if you never modify it. AGPL, as an internal-only CLI you invoke as a separate process, can be allowed with documentation. The scanner catches the linked case automatically; judgment catches the rest.</p><p>A dependency review that asks only “what license?” and not “how will this be integrated?” is incomplete. The rule is worth writing before you need it. Mine arrived after the migration.</p><p>The question that decides the product case is simple: does this ever touch go.mod or package.json for production use?</p><p>If yes, the answer to AGPL is no.</p><h3>About AmanERP</h3><p>AmanERP — an AI-native ERP for SMBs, built in public, with six-week migrations included. <em>Aman</em> means peace: calm software stands on dependencies you can live with. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d1b394e2598" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/the-agpl-trap-that-forced-an-identity-provider-migration-5d1b394e2598">The AGPL Trap That Forced an Identity Provider Migration</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RFC Before ADR: The ‘Maybe’ Layer That Saves Bad Decisions]]></title>
            <link>https://medium.com/amanerp/rfc-before-adr-the-maybe-layer-that-saves-bad-decisions-52531a2e4b8c?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/52531a2e4b8c</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[engineering-management]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 05:19:32 GMT</pubDate>
            <atom:updated>2026-06-16T05:19:32.127Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Most teams record the decision. Few preserve the almost-decision, which is the artifact that saves you six months later.</strong></p><p>Put one document before the ADR: the place where uncertainty, rejected options, and revisit conditions stay readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JFvVyZjElE9kC5UZkJnL6w.jpeg" /><figcaption>A rejected one-page proposal ending in a four-item “revisit if” checklist, three boxes ticked — the rejected reasoning preserved at the fork of an untaken path</figcaption></figure><blockquote><strong>Most teams record the decision they made. Few preserve the one they almost made — and six months later, that is often the artifact that matters.</strong></blockquote><p>An ADR records where the team landed. An RFC records the live argument: options, rejected paths, and the conditions that would reopen the call. Keep both because they have different readers. The ADR should stay clean enough for someone to understand the current architecture quickly. The RFC should keep the messier reasoning from disappearing.</p><p>Put the RFC one step before the ADR. It holds the deliberation while the answer is still “maybe,” so the final decision record stays clean and the rejected alternatives survive in a place a future engineer can find them.</p><blockquote>Q: What is the difference between an RFC and an ADR, and why keep both?</blockquote><blockquote>A: An ADR records the settled choice; an RFC preserves the argument, rejected options, and revisit conditions while the answer is still open.</blockquote><h3>The decision you can read, and the one you can’t</h3><p>Open any mature codebase’s decision logs, and you will find a clean list of what the team decided: this database, that router, this auth model. Each entry tells you the destination.</p><p>What you cannot see is the wrong turn that saved you. The tool someone evaluated for two days and rejected. The architecture that looked obvious until somebody did the resource math. That reasoning lives in a closed Slack thread, or in one person’s head, or nowhere — and it evaporates exactly when it is needed, which is the day a new engineer proposes the thing you already turned down.</p><p>An ADR answers <strong>“what did we decide.” </strong>It is structurally incapable of answering <strong>“what did we consider and turn down, and would that still hold today.”</strong></p><p>Those are different questions, and the second one is the expensive one to re-answer.</p><h3>The maybe layer</h3><p>The fix is a document type that sits one step earlier in the pipeline. In my codebase, the pipeline is explicit: idea, then RFC, then ADR, then feature spec.</p><p>The RFC is the “maybe” space — the proposal stage, before a decision is yes or no. It holds a structured discussion while the answer is still open. The ADR comes after, and only if the decision is architectural. The split is defined by a single sharp test:</p><blockquote>if you are changing <em>how the system works</em>, you write an RFC; if you are changing <em>what it does</em>, you write a feature spec.</blockquote><p>When the ceremony applies — and when it does not — is in the next section.</p><h3>A rejected RFC is a gift to your future self</h3><p>The incident that made this concrete was a deployment-platform evaluation: a self-hosted web UI over Docker, automatic Git deploys, built-in SSL. The author had used it happily on simpler projects. The question was whether that experience would transfer.</p><p>The RFC’s answer was no, and the rejection was useful because it did more than say no.</p><p>It named three specific conflicts with existing decisions — the reverse-proxy choice, the existing infrastructure-as-code workflow, and the edge-networking model — and explained each as a concrete incompatibility, not a preference.</p><p>It did the resource math: the new platform would add roughly 1.4 GB of memory overhead on a VPS that didn’t have the headroom, which by itself forced a server upgrade the project didn’t want. And it cited external evidence — a public discussion thread documenting that the platform’s reverse proxy produces redirect-loop errors behind the team’s edge-networking setup. Opinion became engineering.</p><p>Then it did the part most rejections skip. It wrote a <strong>“revisit if” checklist</strong>: reconsider this decision if we abandon the edge-networking model, if we abandon the current infrastructure-as-code tooling, if we upgrade to a larger VPS, or if the platform adds support for our reverse proxy. Writing that list felt fussy at the time — four bullets for a decision we were sure about. It was the only part anyone opened six months later.</p><p>We rejected the platform early. By June, three of the four conditions had changed on their own schedule: the project moved off the infrastructure-as-code tooling the RFC named, replaced the edge-networking model, and grew the VPS well past the size threshold. The fourth — the platform adding support for our reverse proxy — had not. That gap matters: you can see which assumption still blocks the old answer without re-running the whole evaluation.</p><p>That is not the RFC being wrong. That is the RFC being <em>useful</em>. Because the reasoning was on disk, anyone re-examining the deployment decision today can see precisely which load-bearing assumptions changed — and reopen the question with evidence rather than memory. The rejected reasoning outlived the rejection.</p><h3>Why the “revisit if” list is the whole point</h3><p>That checklist is the difference between a decision and a dead end.</p><p>A bare “no” rots the moment circumstances change. Six months later someone asks “why aren’t we using that platform?” and nobody remembers, so they re-evaluate from scratch and pay the full cost again. A “no” with explicit revisit conditions converts the decision into a tripwire: when one of the named conditions fires, you know the decision is worth reopening, and you know exactly why.</p><h3>The layers exist for different readers</h3><p>What actually matters is that the three document types solve three different problems, and blurring them makes every reader do extra work.</p><p>An RFC is the place the argument is still allowed to be messy: the options you considered, the paths you rejected and the concrete reasons, plus the short list of conditions that would make you reopen the call. The ADR is the settled record you want a future engineer to read in five minutes without the noise. The feature spec is the contract for what gets built. When one document tries to do two of those jobs, the person who only needs one of them has to wade.</p><p>Keeping the stages separate also makes it cheaper, to be honest, while the answer is still open. Once you have declared a decision final, it is awkward to tack on <strong>“we seriously considered the other road and here is why it lost.”</strong> The proposal stage gives the doubt somewhere to live before the verdict is written down.</p><h3>When I would not write an RFC</h3><p>The maybe layer is a tax, and on small or reversible changes, the tax costs more than the decision it documents. A bug fix, a new feature inside the existing architecture, a single-file refactor — writing a proposal for any of those is ceremony for its own sake, and a team that demands it everywhere trains people to write the document and skip the thinking. That inverts the point. The RFC is reserved for changes whose blast radius justifies writing the reasoning down: adding or removing a technology, shifting an architectural pattern, a schema change that spans features, a breaking API contract.</p><p>There is a second, sharper limit. An RFC is only worth its weight if the rejection is honest. A proposal stage used to manufacture consensus — where the “alternatives considered” are strawmen propped up so the predetermined answer looks rigorous — is worse than no RFC, because it launders a foregone conclusion as deliberation. The format does not create honesty; it only gives honest conversation a place to live. If the decision is already made, skip the ceremony and write the ADR. The maybe layer earns its keep only when the answer is genuinely still maybe.</p><h3>What to actually change on Monday</h3><p>You do not need a new tool. You need one document type and one routing rule. Before the next architectural change — a new technology, a removed one, a pattern shift — write a one-page proposal first: the options, the one you recommend, and the alternatives you are rejecting with the reason for each. End every rejection with a “revisit if” list.</p><p>Then keep it, rejected or not. The accepted RFCs justify your architecture. The rejected ones stop your team from re-deciding the same question every time the context shifts.</p><p>A rejected RFC is not a waste. It is how you avoid paying for the same decision twice.</p><h3>About AmanERP</h3><p>AmanERP is an ERP for SMBs built in public — rejected proposals included. We treat decision records as infrastructure you can re-read when context shifts. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52531a2e4b8c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/rfc-before-adr-the-maybe-layer-that-saves-bad-decisions-52531a2e4b8c">RFC Before ADR: The ‘Maybe’ Layer That Saves Bad Decisions</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Server Said ‘Healthy.’ The Database Had Zero Tables. The Silent Empty Database Problem]]></title>
            <link>https://medium.com/amanerp/your-server-said-healthy-the-database-had-zero-tables-the-silent-empty-database-problem-8ee0dadd4290?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/8ee0dadd4290</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[site-reliability-engineer]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 05:01:35 GMT</pubDate>
            <atom:updated>2026-06-12T05:01:34.921Z</atom:updated>
            <content:encoded><![CDATA[<p>A successful DB connection tells you TCP and auth work — nothing about whether the schema exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*csSZB3FO9c0Q6xtCMKg6Lg.jpeg" /><figcaption>Two terminal panels describing one server — a health endpoint returning status ok beside a psql \dt output reading &quot;Did not find any relations.&quot;</figcaption></figure><blockquote>The server started. Health said OK. The database had zero tables. Nobody knew for three days.</blockquote><h3>Does a successful database connection mean the database is ready?</h3><p>No.</p><p>A connection proves TCP, authentication, and that the named database exists. It says nothing about whether the schema was applied.</p><p>An empty database — zero tables — accepts a connection pool happily, so a health check that only pings can return OK while every feature that needs a table is broken.</p><blockquote>The readiness check has to ask one more question: is the schema at the expected migration version?</blockquote><h3>The Gap Between “Connected” and “Ready”</h3><p>The API server started. The database connection pool opened successfully. The server had a database. Every startup check saw something true: the pool was non-nil, the database was reachable, and authentication succeeded.</p><p><strong>None of those things mean the schema exists.</strong></p><p>The connection pool validates TCP and auth, not DDL. A pgxpool.Pool connects to a named database. That database can be empty. Pool creation still succeeds. Every init function that checks queries != nil gets true, because the queries object wraps the pool, and the pool exists. Table existence is only tested when actual SQL runs at request time.</p><p>The health endpoint checked two questions: is the server process running, and can the DB pool ping? Both answers were yes. Neither answer touched on whether the 22 migrations had been applied, whether the tables the application depends on existed, or whether any feature that writes to the database could work.</p><p>The result was {&quot;status&quot;:&quot;ok&quot;} while every database-backed feature — audit trail, access controls, configuration, multi-factor authentication enforcement — was silently broken. Three days later, a human ran \dt and found no relations.</p><h3>The Distinction That Fixes It</h3><p>Liveness means the process is running. Readiness means the process can serve traffic correctly.</p><p>A health endpoint that checks liveness and labels its readiness is the failure pattern.</p><p><strong>The fix is simple: on startup, verify the schema version matches the expected migration count. Add the same check to the readiness response. “Connected” and “schema current” are different facts; report both.</strong></p><p>The broader rule is not about PostgreSQL. A successful connection to a dependency tells you the dependency is reachable. It tells you nothing about whether the dependency is in the state your application requires.</p><h3>When a connection check is all you need</h3><p>For a pure liveness probe — “is the process up and the socket open?” — a connection ping is exactly the right, cheap check.</p><p><strong>The bug is not the ping. The bug is using a liveness answer to make a readiness decision. Keep both, and label which question each one answers.</strong></p><blockquote><strong>Treat connection and readiness as separate assertions — and make your health endpoint report both.</strong></blockquote><h3>About AmanERP</h3><p>AmanERP is an AI-native ERP for SMBs, built in public, where health checks answer the question that matters: ready, not merely running. <em>Aman</em> means peace — calm software, honestly reported. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ee0dadd4290" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/your-server-said-healthy-the-database-had-zero-tables-the-silent-empty-database-problem-8ee0dadd4290">Your Server Said ‘Healthy.’ The Database Had Zero Tables. The Silent Empty Database Problem</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mock Tests are lies you told yourself. 181 Tests Passed. Zero Features Worked.]]></title>
            <link>https://medium.com/amanerp/mock-tests-are-lies-you-told-yourself-181-tests-passed-zero-features-worked-3e734958113b?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3e734958113b</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Fri, 12 Jun 2026 04:26:32 GMT</pubDate>
            <atom:updated>2026-06-12T04:26:31.990Z</atom:updated>
            <content:encoded><![CDATA[<p>Mock-only tests are useful. They prove component logic, not real wiring, schema state, token algorithms, or metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Manz5yS96nRK0-Cyx8S2Aw.jpeg" /><figcaption>A three-row matrix showing unit tests, mock acceptance tests, and integration tests, each with a column of what it proves and a column of what it cannot see — the cannot-see cells lining up into a single visible gap.</figcaption></figure><p>Dead metrics. Real tokens rejected. One curl would have exposed the auth break.</p><p>During a QA validation pass, every test was green — 97 unit, 84 regression, full build, full lint. The running system had a database with zero tables, two of three observability metrics dead, and authentication silently rejecting every real token for four sprints. The tests measured exactly what they were built to measure; they were measuring the wrong things. This is the mock-only confidence trap.</p><blockquote><strong>The tests told the truth about the functions. They did not tell the truth about the system.</strong></blockquote><h3>What the Green Tests Proved</h3><p>The pass rate was real. Every unit test measured exactly what it was built to measure: given this input, does this function produce this output? The answers were correct. The functions worked.</p><p>What those functions connected to was never tested. PostgreSQL, the authentication provider, and the metrics path were replaced by small structs returning predetermined values. The mocks never opened a real connection, fetched a JWKS endpoint, or proved a Prometheus counter was called on a real request. They returned the values the test expected, and the tests recorded a pass.</p><p>Three failures in the running system were invisible to all 181 tests simultaneously:</p><ol><li>The database had zero tables. Migrations had not been applied to the fresh environment. The server started, the connection pool opened, and the health endpoint returned {&quot;status&quot;:&quot;ok&quot;} — because the pool connects when the database exists, not when the schema exists. Every mock test bypassed this entirely; mocks do not care whether the table they are pretending to query actually exists.</li><li>Authentication had been broken for four sprints. The identity provider uses ECDSA with the P-384 curve for token signing. The mock OIDC server used RSA-2048. The gateway’s JWK struct had fields only for RSA keys (N, E); EC fields (X, Y, Crv) were never defined. Go&#39;s JSON unmarshaler does not warn on missing fields — the EC key data was deserialized silently to zero values. Every mock test used RSA tokens and passed. Every real token was rejected at the signing-method check: unexpected signing method: ES384.</li><li>Two of three Prometheus metrics were dead code. The rate-limiting feature worked correctly against real infrastructure, but two metric counters — defined, registered, never called — emitted nothing. The mock store returning a predetermined count does not exercise the code path that records the metric.</li></ol><p>One curl command against the real JWKS endpoint in Sprint 2 would have caught the authentication failure: curl -s http://localhost:3001/oidc/jwks | jq &#39;.keys[0].kty&#39; returns &quot;EC&quot;. It was never run.</p><h3>The Confidence Gap Is in the Label</h3><p>A mock-only suite is not automatically bad. It is just a smaller claim than teams often make with it.</p><p>Mocks serve a real purpose: they isolate function-level logic from infrastructure, making tests fast, deterministic, and runnable without real services. Keep that. The problem starts when “the mocked component behaved” gets reported as “the feature works.”</p><p>Mocks prove business rules at the component level. They say nothing about whether SQL queries compile against the actual schema, whether sqlc types round-trip correctly through pgxpool, whether the JWT algorithm your mock uses matches the algorithm your identity provider defaults to, or whether a metric counter is called on the code path that handles real requests.</p><p>That gap is where this class of failure lives. Wiring bugs, schema mismatches, algorithm assumptions, and dead observability code are not logic errors. They are integration errors.</p><blockquote><strong>A suite that never integrates cannot see them.</strong></blockquote><p>Renaming mock-based tests “regression tests” compounds the damage. The label implies the tests catch regressions in the real system. They catch regressions in the mocked simulation of the system. These are different objects.</p><h3>The Fix Is One Layer, Not a Rewrite</h3><p>The correction is additive: keep the unit tests, add the layer they cannot reach.</p><p>A single integration test that starts the actual server, connects to a real database, executes one authenticated request, and checks the relevant metric would have changed the outcome. The missing schema fails at query time. The ECDSA mismatch rejects the token. The metric assertion proves the code path records what the dashboard claims it records.</p><p>That is smaller than the cost of finding these failures late. Four sprints of broken authentication, discovered by a human running a manual check, is an expensive way to learn that the mock was too friendly.</p><p>The change that prevents recurrence is a definition of done that distinguishes integration coverage from mock coverage. “All tests pass” is only meaningful if it says what kind of tests passed. Require at least one integration test exercising real infrastructure per feature, and the gap closes before it becomes an incident.</p><h3>The Test Boundary to Remember</h3><p>Every test level has a boundary. That boundary is not a defect; it is part of the design. The defect is forgetting where it is.</p><ul><li><strong>Unit tests cover function-level logic.</strong> They do not cover SQL query correctness against a real schema, connection pool behavior, JWT algorithm compatibility, metric emission, proxy path prefixes, or environment variable presence.</li><li><strong>Mock-based acceptance tests cover business rules at the component level.</strong> They do not cover the type mappings sqlc generates, how pgxpool handles JSONB serialization, whether the real identity provider uses the algorithm your mock assumes, or whether a handler is registered at the correct route.</li><li><strong>Integration tests cover real infrastructure contracts.</strong> They do not cover multi-tenant isolation at scale, failure modes under load, browser rendering, or end-user flows.</li></ul><p>Each layer is necessary. None is sufficient alone. The failure mode in the 181-test example is not that unit tests exist — it is that nothing else does.</p><h3>When a mock-only test is the right call</h3><p>None of this is an argument against mocks. For a pure business-logic unit — a tax calculation, a state machine, a validation rule — a mock-isolated test is faster, deterministic, and exactly right; reaching for real infrastructure there is wasted ceremony. The trap is the label: a mock-only suite called “100% green,” read as a statement about the system instead of about its components.</p><blockquote>A green test suite is not evidence the system works. It is evidence the system satisfies the specific properties the tests were designed to check. Know the properties. Name the gaps. Test both.</blockquote><h3>About AmanERP</h3><p>AmanERP is an AI-native ERP for SMBs, built in public — where “the tests pass” and “the system works” are kept as separate claims, on purpose. <em>Aman</em> means peace: business software that feels calm instead of chaotic. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e734958113b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/mock-tests-are-lies-you-told-yourself-181-tests-passed-zero-features-worked-3e734958113b">Mock Tests are lies you told yourself. 181 Tests Passed. Zero Features Worked.</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I have built a cloud ERP for multiple sprints and shipped zero ERP features.]]></title>
            <link>https://medium.com/amanerp/i-have-built-a-cloud-erp-for-multiple-sprints-and-shipped-zero-erp-features-ce471d3e1425?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/ce471d3e1425</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 03:23:32 GMT</pubDate>
            <atom:updated>2026-06-11T03:23:32.178Z</atom:updated>
            <content:encoded><![CDATA[<h3>I have built a cloud ERP for multiple sprints and shipped zero ERP features. That refusal is the strategy, not a delay.</h3><p>Building the authorization platform before a single product module is a moat, not procrastination — and holding that gate closed is the hardest founder call I have made.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WjBJktLbVDzfhM6oyddUw.jpeg" /><figcaption>An illustration of a precise, fully-poured building foundation beneath a lot where the visible structure has not yet been built.</figcaption></figure><p>I have built a cloud ERP for multiple sprints and shipped zero ERP features. No inventory, no accounting, no sales pipeline. A cloud ERP with no ERP in it — just the layer nobody asks to see: who is allowed to do what, in which company, with which data.</p><p>That refusal is the strategy, not a delay, and holding the line on it was the hardest founder call I have made.</p><p>I wrote the constraint down as a decision record before the temptation could win.</p><p>The rule is plain: no domain modules until the platform is mature and could stand alone as a multi-tenant product.</p><p>The gate has ten criteria, and it stays closed until every one is validated.</p><h3>Is building the platform before the product just procrastination?</h3><p>No. On a system like an ERP, the foundation is the product. Ship visible modules before the platform has settled and each one bakes in a guess the platform will later overturn — a rewrite priced per module, across every module.</p><p><strong>Pouring the authorization and tenant layer first is what keeps the modules cheap when they finally arrive.</strong></p><h3>The feature you can demo is not the feature that wins</h3><p>Most founders building business software ship a visible feature in week one — something you can put in a deck. I did the opposite, on purpose, and held the line for multiple sprints. The instinct to ship the thing you can show is exactly the instinct that mortgages the foundation.</p><h3>Why authorization has to come first</h3><p>An ERP only looks like one app. In practice it is an accountant who serves dozens of separate businesses, a branch manager scoped to one location, a freelancer invoicing three clients from one login, an auditor with read-only reach across an org. Every one of those is an authorization question.</p><p>If you build the invoice feature before you have answered those questions properly, the invoice feature <em>assumes</em> an answer. So does the next feature, and the next. Each one hard-codes a guess about who can see what.</p><p>Then the platform changes — because early platforms always change — and every feature built on the guess becomes a rewrite candidate. <strong>The debt does not add up. It multiplies.</strong></p><h3>The lesson that set the rule</h3><p>I did not invent this discipline in the abstract. I learned it the expensive way (<em>based on my experiences working on multiple legacy enterprise systerm modernization projects where whole code was garbage at best</em>).</p><p>Early on, swapping one identity provider for another consumed an entire sprint, because the coupling to that vendor <em>(Zitadel)</em> ran deeper than anyone had tracked. One swap, one sprint, for a dependency I had treated as settled.</p><p>That was the cheap version of the lesson. Now imagine that coupling living inside a dozen shipped ERP modules instead of inside the platform.</p><p>The same mistake, multiplied across every feature that assumed the old shape.</p><blockquote><strong>I decided I would rather pay the cost once, in the foundation, than a dozen times, in the product.</strong></blockquote><h3>The hard part is not the engineering</h3><p>Writing the gate was a paragraph. Living behind it is the discipline.</p><p>For multiple sprints there has been nothing flashy to show. No screenshot of an invoice that says “look, it works.” The roadmap instinct — and every conversation with someone who wants to see the product — pushes the same direction: build the feature, show the thing, prove it is real.</p><p>Holding the gate closed against that pressure, when shipping a module would feel like progress and would photograph better, is the founder decision I have found hardest. Saying no to your own roadmap is harder than saying no to a competitor’s.</p><h3>What “no” actually bought</h3><p>The platform is now at the point I built it for. Tenancy, identity, fine-grained permissions, audit trails, deployment automation, observability — the unglamorous half of an ERP, built thoroughly while there was time and no customer waiting.</p><p>When the gate opens, every future module starts from a position of strength instead of accumulated compromise.</p><blockquote><strong>The first ERP feature I ship will sit on a foundation that was designed for it, not retrofitted around it. That is the entire bet.</strong></blockquote><p>The discipline is not patience for its own sake. It is the refusal to let a demo-able feature buy me a structural problem I would be paying off for years.</p><h3>Where platform-first is the wrong call</h3><p>I would not give this advice to every founder, and the honest version names the conditions under which it is wrong.</p><p>If you have not validated that anyone wants the product, platform-first is a way to spend a year building load-bearing infrastructure for a building nobody ordered.</p><p>A pre-customer founder who needs a market signal should ship the thin visible thing, get the rejection or the pull, and only then decide whether the foundation is worth pouring.</p><p>The gate is a bet that the demand is real and the system is genuinely deep — an ERP is, a single-purpose tool usually is not. On a shallow product, the foundation and the feature are nearly the same thing, and the whole tradeoff collapses.</p><p>What earns the right to hold the gate closed is that I already knew the demand and the shape of the system. I was not deferring product discovery behind a wall of plumbing. I was refusing to build the plumbing twice. Those are different decisions that look identical from the outside, and conflating them is how platform-first turns from discipline into avoidance.</p><p>The question I would put to any founder building something with real depth: which of your features is quietly assuming an answer your platform has not actually decided yet?</p><p>Find that assumption, and you have found the thing worth building first. A foundation poured on purpose costs you one slow year; a foundation retrofitted under shipped features costs you every year after.</p><h3>About AmanERP</h3><p>AmanERP is an AI-native ERP for SMBs, built in public exactly the way this piece argues: platform first, features second. <em>Aman</em> means peace — business software that feels calm instead of chaotic. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce471d3e1425" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/i-have-built-a-cloud-erp-for-multiple-sprints-and-shipped-zero-erp-features-ce471d3e1425">I have built a cloud ERP for multiple sprints and shipped zero ERP features.</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cognitive Load Is the Real Enterprise Software Killer]]></title>
            <link>https://medium.com/amanerp/cognitive-load-is-the-real-enterprise-software-killer-4917e4ef9581?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/4917e4ef9581</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[engineering-leadership]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 03:47:20 GMT</pubDate>
            <atom:updated>2026-06-10T03:47:20.530Z</atom:updated>
            <content:encoded><![CDATA[<p>Citibank lost $500M in a single transaction. Three reviewers all misread the same screen. The interface had violated every known design heuristic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UKI6g8QELF5BFvfz92ldYQ.jpeg" /><figcaption>Two nearly identical abstract control panels sit side by side, differentiated only by a small shape difference — illustrating how visual similarity between modes causes human error.</figcaption></figure><p>In 2020, a Citibank operator intended to send a $7.8 million interest payment to Revlon’s lenders. What arrived was $900 million — the full principal of the loan.</p><p>This was not a typo. The operator used Oracle Flexcube’s “principal forgiveness” payment type, which required setting three non-obvious fields — “front,” “fund,” and “principal” — to prevent a full repayment. The operator set them incorrectly. Three reviewers in Citibank’s “six eyes” protocol reviewed the same screen and missed the same error. All three. Simultaneously.</p><p>Citibank lost approximately $500 million when courts ruled the lenders were not required to return the inadvertent payment. A judge analyzing the case concluded that the Flexcube interface “violates almost every single design heuristic known to mankind.”</p><p>The question worth sitting with isn’t how Citibank hired people who make that mistake — it’s <strong>what class of interface design produces identical errors across multiple trained, independent reviewers.</strong></p><h3>What is mode confusion in software design?</h3><p>That class has a name. Mode confusion is what happens when a system multiplies operational states without supporting the cognitive work of tracking which one you are in.</p><p>Human-factors research named it three decades ago; it is a design failure, not user error, and its fingerprint is exactly what that screen produced — trained people, checking independently, failing identically.</p><h3>Sarter and Woods named it in 1995</h3><p>Nadine Sarter and David Woods formalized mode confusion in their 1995 paper “How in the World Did We Ever Get into That Mode?”, a landmark in human factors research with over 860 citations. Their taxonomy identified four failure types:</p><ul><li><strong>Lack of modal awareness</strong> — operators do not know which mode the system is in or how they entered it</li><li><strong>Inaccurate mental models</strong> — incomplete understanding of how modes interact</li><li><strong>Indirect mode activation</strong> — modes that change through non-obvious triggers rather than direct commands</li><li><strong>Delayed feedback</strong> — time between input and observable result long enough to make errors hard to detect</li></ul><p>Their key finding: “When designers proliferate modes without supporting new cognitive demands, new mode-related error forms and failure paths result.”</p><p>Aviation had already accumulated the body count. Korean Air Flight 007 strayed into Soviet airspace after a mode transition failure: the aircraft was in heading mode instead of inertial navigation. Asiana Flight 214 lost airspeed because a co-pilot believed the auto-throttle was in automatic intervention mode when it was not.</p><p>Victor Riley, writing in 2005, noted that despite three decades of research, aviation interfaces had “changed little and mode confusion continues to contribute to safety events.”</p><p>The pattern migrated into enterprise software as soon as enterprise software accumulated enough modes to matter.</p><h3>Working memory is not the problem</h3><p>The instinct when reading the Citibank case is to reach for a capacity argument: the interface was too complex, users needed better training, the six-eyes process needed a fourth reviewer. That is the wrong frame.</p><p>The research on working memory is directional, not definitive on exact numbers. But its core finding is consistent: human working memory capacity under realistic conditions is limited (classic estimates suggest 4 ± 1 items when cognitive demand is high), and context switching consumes a significant share of productive cognitive capacity. Under time pressure, these effects compound.</p><p>Research in Frontiers in Psychology has documented that time pressure restricts cognitive resource allocation and reduces decision accuracy, effects Sarter and Woods identified thirty years ago under the specific label of “delayed feedback” making errors harder to detect.</p><p>The design implication is not that users need more capacity but that modes must be designed to work within the capacity that exists — not the capacity the designer assumed.</p><h3>The banner blindness problem compounds this</h3><p>There is a second mechanism operating on top of mode confusion: habituation.</p><p>Anderson et al.’s 2016 JMIS study “From Warning to Wallpaper” used fMRI to observe warning habituation directly. The key finding:</p><p><strong>“A dramatic drop in visual processing centers of the brain after only the second exposure to a warning, with further decreases with subsequent exposures.”</strong></p><p>A static environment indicator — a yellow “STAGING” banner, a red “TEST MODE” badge — habituates in the user’s brain after as few as two exposures. The banner is still visible to the camera. It is not visible to the user.</p><p>Anderson and Kirwan’s 2015 CHI paper on polymorphic warnings showed that warnings which change their appearance — varying size, color, and text ordering — sustained neural activation significantly longer; habituation only set in on average after the 13th variation, versus 2 for conventional static warnings. That is a 6.5× difference in the amount of exposure before the warning becomes invisible.</p><p>The enterprise software implications are direct: any system that uses a single persistent visual indicator to communicate mode — “you are in production,” “you are in training” — is shipping a design that neurologically stops working within minutes of the user starting work for the day.</p><h3>The GitLab postmortem as a case study in mode error</h3><p>In 2017, a GitLab engineer ran a cleanup command on the production database instead of the replica. The engineer’s explanation in the public postmortem: “The primary and secondary databases looked identical in the terminal.” The result was 300GB of production data lost.</p><p>All five of GitLab’s backup methods had independently failed. But the root cause of the triggering action was mode confusion — two environments, visually indistinguishable, one bearing full production data.</p><p>GitLab published the incident openly, including the contributing factors and corrective actions. The incident is a clean example of the Sarter/Woods taxonomy: the operator lacked modal awareness of which environment they were in, the interfaces provided insufficient differentiation, and the feedback from the incorrect action came too late.</p><h3>The design rule</h3><p>The research converges on a framework with three components:</p><p><strong>First: minimize modes.</strong> Every mode the system has is a cognitive demand the user must track. If two modes can be collapsed — if a configuration that requires three fields can be replaced by a configuration that requires one — the right answer is almost always to collapse them.</p><p><strong>Second: make modes unmissable, not just visible.</strong> NN/G research on visual indicators found that combining a unique icon with a color performed best across all usability metrics — users were 37% faster at locating items when indicators varied both in color and icon compared to text alone. The implication: a static color-coded banner is insufficient. At minimum two of color, shape/icon, and text label should vary, and applied persistently.</p><p><strong>Third: add structural barriers, not visual reminders.</strong> The Citibank disaster did not require a better-looking screen — it required a workflow that made the accidental action structurally difficult. The difference between “a warning that you will send the full principal” and “a second confirmation screen that requires you to type the amount before proceeding” is not a UX preference; it is a category difference in failure prevention.</p><h3>Where minimalism is the wrong lesson</h3><p>The rule is not “simplify everything.” Some domains are irreducibly complex, and stripping a mode a power user needs to hit speed is its own failure. The claim is narrower and harder: never add a mode without supporting the cognitive demand it creates, and never assume the trained expert under time pressure is immune — they are the ones mode errors hit most.</p><p>Collapse the modes you can; for the ones you cannot, make them unmissable and put a structural barrier in front of the irreversible ones.</p><h3>Why this matters for ERP</h3><p>Most ERP software is built for power users who will eventually memorize the modes. That design philosophy is explicit in the product teams I have talked to. “The learning curve is high, but once you are trained, you are productive.”</p><p>Sarter and Woods spent thirty years demonstrating why this is wrong. Mode errors happen most to trained experts under time pressure — exactly the users who “know the system.” The Citibank reviewers were not untrained. They were the six-eyes protocol.</p><p>The goal is not to remove all complexity from enterprise software but to refuse cognitive burden that adds no capability — and to stop assuming the user will always operate under ideal conditions. Citibank’s six reviewers were presumably under pressure, in a time-bounded process, reviewing a routine payment.</p><p><strong>“Of course this is how I expected it to work”</strong> is not just a pleasant aspiration for business software. It is a safety requirement.</p><h3>About AmanERP</h3><p>AmanERP is an AI-native ERP for SMBs, built in public around a single promise — <em>Aman</em> means peace, and business software should feel calm instead of chaotic. This piece is part of taking that promise seriously as engineering. <a href="https://www.amanerp.com/"><strong>www.amanerp.com</strong></a></p><p><strong><em>A note on sources:</em></strong><em> The Citibank Flexcube case is documented across multiple legal and journalistic sources; the figure of “approximately $500M” in recovered funds reflects the portion Citibank could not recover per court rulings (the court ruling is well-documented — see Bloomberg and Reuters coverage of the 2021 ruling). The Sarter/Woods and Anderson/Vance studies are academic papers; the fact-check log below records the repo knowledge base where they are cited. The NN/G 37% figure is from NN/G’s visual indicators research. External readers should consult primary sources for exact figures.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4917e4ef9581" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/cognitive-load-is-the-real-enterprise-software-killer-4917e4ef9581">Cognitive Load Is the Real Enterprise Software Killer</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maximizing Efficiency and Minimizing Bugs: A Guide for Engineers]]></title>
            <link>https://medium.com/amanerp/maximizing-efficiency-and-minimizing-bugs-a-guide-for-engineers-3a118aa8b754?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3a118aa8b754</guid>
            <category><![CDATA[planning-ahead]]></category>
            <category><![CDATA[mindfulness-at-work]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[planning-poker]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 04:51:07 GMT</pubDate>
            <atom:updated>2026-06-03T04:51:08.757Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k5NV7cp2bAxrWvaICsPzyA.png" /></figure><p>In today’s fast-paced world of software development, engineers often find themselves racing against time to deliver code, leading to underestimated tasks and inadequate testing. This rush to meet deadlines can result in a significant number of bugs, causing a 30–40% time overhead that could have been avoided with proper planning and visualization.</p><blockquote><strong>Give me six hours to chop down a tree and I will spend the first four sharpening the axe. — Abraham Lincoln</strong></blockquote><p>As engineers, it’s crucial to recognize the importance of allocating sufficient time to understand and plan our tasks thoroughly. By doing so, we not only improve the quality of our code but also save valuable time in the long run. Avoid <strong>Planning Fallacy</strong> (Awareness of the Planning Fallacy is imperative and helpful. Read more about it at the end)</p><p>Here are some key steps to help minimize bugs and maximize efficiency:</p><p><strong>1. Allocate time for task understanding and visualization</strong></p><p>Make sure to dedicate ample time to comprehend the task at hand fully. Visualize the problem, break it down into smaller components, and consider potential challenges. This task estimation time should be an integral part of your sprint planning, with at least 2 days allocated for this purpose, this may include the initial version of any technical documentation.</p><p><strong>2. Seek an outside perspective</strong></p><p>Don’t work in isolation! Engage in discussions with your team members and seek their insights on the problem and potential solutions. Technical discussions before estimation are essential to gain a well-rounded understanding of the task and identify any blind spots. By working alone engineers mostly underestimate their tasks or produce poor-quality artefacts to stay committed to the given estimates.</p><p><strong>3. Utilize planning poker</strong></p><p>Planning poker is a powerful technique that encourages engineers to provide better estimates. By collaborating and discussing estimates as a team, you can leverage collective knowledge and experience to arrive at more accurate and realistic timelines.</p><p>In addition to these practices, it’s essential to prioritize your well-being and maintain focus and motivation. Here are some ideas to help you destress and stay on track:</p><p><strong>1. Practice mindfulness and meditation</strong></p><p>Take short breaks throughout the day to practice mindfulness exercises or meditation. This can help reduce stress, improve focus, and enhance overall well-being.</p><p><strong>2. Engage in regular physical activity</strong></p><p>Make time for physical activity, whether it’s a walk during lunch breaks, a gym session after work, or participating in team sports. Exercise releases endorphins, reduces stress, and boosts energy levels.</p><p><strong>3. Foster a supportive work environment</strong></p><p>Cultivate a positive and supportive work environment where team members can openly communicate, collaborate, and share their challenges. Encourage a culture of learning and growth, celebrating successes and learning from failures together.</p><p><strong>4. Set realistic goals and celebrate milestones</strong></p><p>Break down large projects into smaller, manageable goals. Celebrate each milestone achieved, acknowledging the hard work and progress made by the team. This helps maintain motivation and a sense of accomplishment.</p><blockquote>Remember, investing time in proper planning and estimation is not a luxury but a necessity. It enables you to deliver high-quality code, minimize bugs, and ultimately save time and resources in the development process.</blockquote><p>As engineers, we have the power to shape the future through our code. By embracing these practices and fostering a culture of thorough planning, collaboration, and well-being, we can create innovative solutions that not only meet deadlines but also exceed expectations.</p><p>So, let’s take a moment to pause, visualize, and plan our tasks effectively, while also prioritizing our own well-being and motivation.</p><blockquote>Champion a work environment where efficiency, quality, and personal growth go hand in hand, and where bugs are the exceptions rather than the norm.</blockquote><h3>Planning Fallacy</h3><p>The planning fallacy is a cognitive bias that leads people to underestimate the time needed to complete a future task, even when they have experience with similar tasks taking longer than expected. This bias was first proposed by Daniel Kahneman and Amos Tversky in 1979.</p><p><strong>Key points about the planning fallacy:</strong></p><p>1. People often make overly optimistic predictions about how long a task will take, even when they have evidence from past experiences that similar tasks took longer.</p><p>2. This bias affects individuals, businesses, and governments, leading to poor planning, missed deadlines, and cost overruns.</p><p>3. The planning fallacy is thought to occur because people focus more on the unique aspects of the current task (the “inside view”) and fail to consider past experiences with similar tasks (the “outside view”).</p><p>4. To reduce the impact of the planning fallacy, it’s recommended to consider past experiences, break tasks into smaller steps, add buffer time for unexpected issues, and seek input from others who aren’t directly involved in the project.</p><p>The planning fallacy can have significant consequences, such as delays in engineering projects, product launches, or personal goals. By understanding this bias and taking steps to mitigate its effects, individuals and organizations can make more realistic plans and reduce the likelihood of costly delays.</p><p>Note: Originally published at Linkedin: <a href="https://www.linkedin.com/article/edit/7181728954674819072/">https://www.linkedin.com/article/edit/7181728954674819072/</a></p><p>#SoftwareDevelopment #EngineeringExcellence #BugFreeSolutions #PlanningPoker #WellBeingAtWork #Mindfulness</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a118aa8b754" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/maximizing-efficiency-and-minimizing-bugs-a-guide-for-engineers-3a118aa8b754">Maximizing Efficiency and Minimizing Bugs: A Guide for Engineers</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open-Source Collaborative Wiki and Documentation Software: A Comprehensive Guide]]></title>
            <link>https://medium.com/amanerp/open-source-collaborative-wiki-and-documentation-software-a-comprehensive-guide-6952180c91ce?source=rss----961b8179355c---4</link>
            <guid isPermaLink="false">https://medium.com/p/6952180c91ce</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[document-management]]></category>
            <category><![CDATA[knowledge-management]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[collaborative-software]]></category>
            <dc:creator><![CDATA[Niraj Kumar]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 04:50:51 GMT</pubDate>
            <atom:updated>2026-06-03T04:50:53.097Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n2sKaSQcih63hoP1x6dzJQ.jpeg" /></figure><p>Remember the days when knowledge management meant a chaotic mess of shared drives and email threads? As organizations have evolved, so have their documentation needs. Open-source wiki platforms have emerged from the shadows as powerful contenders to proprietary giants like Confluence and Notion. This guide explores the vibrant ecosystem of these collaborative tools, helping you find the perfect match for your knowledge management ambitions.</p><h3>The Open-Source Advantage: Freedom to Create, Freedom to Grow</h3><p>Open-source software isn’t just about saving money — it’s about freedom. The freedom to use, study, modify, and share software for any purpose. For wiki platforms, this translates to boundless flexibility, community-driven innovation, and liberation from the dreaded vendor lock-in. With an estimated value of $8.8 trillion to firms as of 2024, open-source solutions represent not just a philosophical choice, but a strategic business decision.</p><h4>1. Docmost: The Promising Newcomer</h4><p>Like a fresh face at a family reunion, Docmost is making its entrance into the collaborative documentation scene. Currently in beta after a year of development, this Confluence/Notion alternative brings several compelling features to the table:</p><p><strong>Key Features<br> — — — — — — — <br>- Collaborative real-time editor</strong> with LaTeX support for those beautiful mathematical formulas<br>- <strong>Rich content tools</strong> including inline comments, tables, and attention-grabbing callouts<br>- <strong>Organized workspaces</strong> through its Teamspace feature<br>- <strong>Fine-grained control</strong> with granular user permissions and groups<br>- <strong>Version tracking</strong> via comments and page history<br>- <strong>Hierarchical organization</strong> through nested pages<br>- <strong>Powerful search</strong> to find what you need, when you need it<br>- <strong>File attachment support</strong> for comprehensive documentation</p><p>What sets Docmost apart is its commitment to user-friendly installation and operation — a breath of fresh air for teams seeking self-hosted documentation without the technical headaches.</p><h4>2. Wiki.js: Modern, Sleek, and Powerful</h4><p>If Wiki.js were a car, it would be a Tesla — modern, high-performance, and turning heads in the industry. Built on Node.js, this platform makes documentation enjoyable through an interface that actually makes sense.</p><p><strong>Key Features<br> — — — — — — — <br>- Database flexibility</strong> with support for PostgreSQL, MySQL, MariaDB, MS SQL, and SQLite<br>- <strong>Administrative superpowers</strong> through comprehensive management capabilities<br>- <strong>Lightning-fast performance</strong> thanks to its Node.js architecture<br>- <strong>Visual comfort</strong> with customizable appearance including light and dark modes<br>- <strong>Security options</strong> with flexible access controls (public, private, or mixed)<br>- <strong>Scale without fear</strong> from small devices to massive cloud environments<br>- <strong>Painless setup</strong> via step-by-step installation guides</p><p>With over 25,900 GitHub stars and a staggering 100+ million downloads, Wiki.js has clearly struck a chord with the community. Its integration capabilities are equally impressive, connecting with over 50 external services for authentication, logging, rendering, search, and storage.</p><h4>3. BookStack: When Structure Meets Simplicity</h4><p>Some people organize their thoughts in bullet points; BookStack organizes them in books. This unique platform takes a literary approach to wiki organization, making it particularly well-suited for comprehensive documentation projects.</p><p><strong>Key Features<br> — — — — — — — <br>- Free and truly open</strong> under the MIT license<br>- <strong>WYSIWYG editing</strong> that’s perfect for teams with varying technical skills<br>- <strong>Snappy performance</strong> through lightweight design<br>- <strong>Future-proof content</strong> stored in standard formats for easy migration<br>- <strong>Automation-friendly</strong> with a comprehensive REST API<br>- <strong>Flexible authentication</strong> including LDAP, SAML2, and OAuth options<br>- <strong>Visual documentation</strong> through built-in Diagrams.net integration<br>- <strong>Host-it-yourself freedom</strong> with self-hosting flexibility</p><p>Often cited as one of the closest open-source equivalents to Confluence, BookStack’s organization system of books, chapters, and pages provides an intuitive structure that just makes sense to the human brain.</p><h4>4. XWiki: The Enterprise Veteran</h4><p>In the world of wiki platforms, XWiki is the seasoned professional with decades of experience. This advanced enterprise wiki platform has been refined through years of development to serve complex organizational needs.</p><p><strong>Key Features<br> — — — — — — — <br>- Rich editing experience</strong> with a robust WYSIWYG editor<br>- <strong>Power-user options</strong> through advanced wiki syntax<br>- <strong>Granular control</strong> via strong rights management<br>- <strong>App ecosystem</strong> with a unique set of applications<br>- <strong>Endless possibilities</strong> as an extensible platform for developing projects and collaborative applications<br>- <strong>Enterprise-ready</strong> Java-based architecture under LGPL license</p><p>XWiki’s versatility allows it to serve as both a documentation repository and a platform for developing collaborative applications, making it a favorite among high-profile companies for knowledge bases, intranets, public websites, and business applications.</p><h4>5. MediaWiki: The Wikipedia Powerhouse</h4><p>When a platform powers Wikipedia — one of the largest collaborative knowledge bases in human history — you know it has the chops to handle serious documentation needs.</p><p><strong>Key Features<br> — — — — — — — <br>- Infinitely extensible</strong> with hundreds of extensions<br>- <strong>Scale with confidence</strong> from small sites to global encyclopedias<br>- <strong>Quick deployment</strong> through a simple installation process<br>- <strong>Global reach</strong> with availability in multiple languages<br>- <strong>Community-backed</strong> with strong support<br>- <strong>Open foundation</strong> written in PHP under GNU General Public License</p><p>MediaWiki’s battle-tested reliability and robust feature set have attracted a vibrant community of users and developers beyond the Wikimedia projects, demonstrating its capacity to handle massive collaborative endeavors.</p><h4>6. DokuWiki: Simplicity Without Compromise</h4><p>Sometimes the best solution is the simplest one. DokuWiki embraces this philosophy by eliminating the need for a database, making it refreshingly easy to set up and maintain.</p><p><strong>Key Features<br> — — — — — — — <br>- Database-free design</strong> for hassle-free setup<br>- <strong>Human-readable syntax</strong> that’s clean and accessible<br>- <strong>Security-conscious</strong> with built-in access controls<br>- <strong>Flexible authentication</strong> supporting various methods<br>- <strong>Expandable functionality</strong> through an extensive plugin ecosystem<br>- <strong>Your wiki, your way</strong> with customization through templates and plugins<br>- <strong>Community-supported</strong> with active development and support</p><p>DokuWiki strikes that perfect balance — sophisticated enough for enterprise environments with its access controls and authentication options, yet simple enough for smaller projects and teams.</p><h4>7. AppFlowy: The AI-Enhanced Newcomer</h4><p>As artificial intelligence transforms how we work, AppFlowy embraces this revolution with an open-source AI collaborative workspace designed as a Notion alternative that puts data control and team collaboration first.</p><p><strong>Key Features<br> — — — — — — — <br>- AI-powered tools</strong> for smarter collaboration<br>- <strong>Project management</strong> capabilities beyond simple documentation<br>- <strong>Centralized knowledge</strong> through wiki integration<br>- <strong>Data sovereignty</strong> with open-source transparency and full control<br>- <strong>Work anywhere</strong> with cross-platform support (iOS, Android, macOS, Windows, Linux)<br>- <strong>Start faster</strong> using customizable templates<br>- <strong>Community-backed</strong> with active support and development</p><p>AppFlowy stands at the frontier of documentation platforms by integrating AI capabilities with collaborative workspaces — a forward-looking option for teams ready to embrace the future of knowledge work.</p><h4>8. Other Notable Contenders</h4><p><strong>8.1 Outline<br></strong>Frequently mentioned as a solid Confluence alternative with robust backup capabilities to cloud buckets or local minio containers. While it offers a clean, modern interface, be aware of some limitations in authentication features in the free version.</p><p><strong>8.2 TiddlyWiki<br></strong>Not your average wiki platform, TiddlyWiki takes a non-linear approach as a personal web notebook, allowing for more flexible and interconnected content structures than traditional hierarchical wikis.</p><h4>9. Static Site Generators for Documentation</h4><p>For developer-focused documentation, sometimes a dynamic wiki isn’t the answer. These static site generators offer excellent control and performance:</p><p><strong>9.1 Docusaurus<br></strong>Built on the popular React framework, Docusaurus supports various content formats (Markdown, MDX, JSX, HTML), offers theme customization, and seamlessly integrates with CI/CD pipelines. Its adoption by tech giants like Meta, Microsoft, PayPal, and Shopify speaks volumes about its capabilities.</p><p><strong>9.2 MkDocs</strong><br>When minimalism meets functionality, you get MkDocs — a streamlined static site generator specifically designed for project documentation. It generates clean HTML files, includes various themes, and features a development server for real-time preview as you write.</p><h4>10. Feature Comparison: Finding Your Perfect Match</h4><p><a href="https://docmost.com/"><strong>10.1 Docmost</strong></a><strong><br> — — — — — — — — — — <br>Real-time Collaboration: </strong>Yes<br><strong>Database Required:</strong> Not specified<br><strong>Programming Language:</strong> Not specified<br><strong>License:</strong> GNU Affero General Public License v3.0<br><strong>Unique Strengths:</strong> Real-time editor, LaTeX support</p><p><a href="https://js.wiki/"><strong>10.2 Wiki.js</strong></a><strong><br>— — — — — — — — — — <br>Real-time Collaboration:</strong> Not specified<br><strong>Database Required:</strong> Yes (supports PostgreSQL, MySQL, etc.)<br><strong>Programming Language:</strong> Node.js<br><strong>License:</strong> AGPLv3<br><strong>Unique Strengths:</strong> Modern interface, 50+ integrations</p><p><a href="https://www.bookstackapp.com/"><strong>10.3 BookStack</strong></a><strong><br>— — — — — — — — — — <br>Real-time Collaboration:</strong> Not specified<br><strong>Database Required: </strong>Yes<br><strong>Programming Language:</strong> PHP<br><strong>License: </strong>MIT<br><strong>Unique Strengths:</strong> Book-like structure, WYSIWYG editing</p><p><a href="https://www.xwiki.org/xwiki/bin/view/Main/WebHome"><strong>10.4 XWiki </strong></a><strong><br> — — — — — — — — — — <br>Real-time Collaboration:</strong> Not specified<br><strong>Database Required:</strong> Yes<br><strong>Programming Language:</strong> Java<br><strong>License:</strong> LGPL<br><strong>Unique Strengths:</strong> Application development platform</p><p><a href="https://www.mediawiki.org/wiki/MediaWiki"><strong>10.5 MediaWiki </strong></a><strong><br> — — — — — — — — — — <br>Real-time Collaboration:</strong> No<br><strong>Database Required:</strong> Yes<br><strong>Programming Language:</strong> PHP<br><strong>License:</strong> GPL v2+<br><strong>Unique Strengths:</strong> Proven scalability, extensive extensions</p><p><a href="https://www.dokuwiki.org/dokuwiki"><strong>10.6 DokuWiki </strong></a><strong><br> — — — — — — — — — — <br>Real-time Collaboration:</strong> No<br><strong>Database Required:</strong> No (file-based storage)<br><strong>Programming Language:</strong> PHP<br><strong>License:</strong> GPLv2<br><strong>Unique Strengths:</strong> Simplicity, no database required</p><p><a href="https://appflowy.com/"><strong>10.7 AppFlowy</strong></a><strong> <br> — — — — — — — — — — <br>Real-time Collaboration:</strong> Yes<br><strong>Database Required:</strong> Not specified<br><strong>Programming Language:</strong> Not specified<br><strong>License:</strong> GNU Affero General Public License v3.0<br><strong>Unique Strengths:</strong> AI-powered collaboration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y6KlnjE_46ooP6bKYS4WTg.jpeg" /></figure><h4>11. Making the Right Choice: Beyond Features</h4><p>The landscape of open-source collaborative wiki and documentation software offers diverse options to suit virtually any organizational need. For teams seeking freedom from Confluence or Notion, solutions like Docmost, Wiki.js, and BookStack deliver robust features without the licensing costs and vendor dependencies.</p><p>When selecting your ideal platform, consider these crucial factors:</p><ul><li><strong>Ease of deployment</strong>: How much technical expertise will setup and maintenance require?</li><li><strong>Collaborative capabilities</strong>: Does your team need real-time collaboration?</li><li><strong>Organization philosophy</strong>: Which content structure best matches your team’s thinking?</li><li><strong>Integration needs</strong>: How will this platform connect with your existing systems?</li><li><strong>Growth trajectory</strong>: Will this solution scale with your documentation volume and team size?</li><li><strong>Technical resources</strong>: Do you have the expertise available for setup and management?</li></ul><p>The vibrant development of these open-source options demonstrates the essential role of collaborative documentation in modern organizations. Each platform continues to evolve, addressing specific use cases and preferences in our increasingly knowledge-driven world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6952180c91ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/amanerp/open-source-collaborative-wiki-and-documentation-software-a-comprehensive-guide-6952180c91ce">Open-Source Collaborative Wiki and Documentation Software: A Comprehensive Guide</a> was originally published in <a href="https://medium.com/amanerp">AmanERP</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>