<?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[Stories by Rodrigo Nepomuceno on Medium]]></title>
        <description><![CDATA[Stories by Rodrigo Nepomuceno on Medium]]></description>
        <link>https://medium.com/@rodrigonepomuceno?source=rss-6a4c19411291------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*s9C63_MIwqFS_N1mpebqlw.png</url>
            <title>Stories by Rodrigo Nepomuceno on Medium</title>
            <link>https://medium.com/@rodrigonepomuceno?source=rss-6a4c19411291------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:38:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rodrigonepomuceno/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Realms & Crowns: real-time medieval strategy, right in your browser]]></title>
            <link>https://rodrigonepomuceno.medium.com/realms-crowns-real-time-medieval-strategy-right-in-your-browser-5788e7c5a3f1?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/5788e7c5a3f1</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[indie-game]]></category>
            <category><![CDATA[strategy-games]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[browser-game]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Fri, 06 Nov 2026 14:53:28 GMT</pubDate>
            <atom:updated>2026-11-06T14:53:28.668Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tT0992XLfPVuWYOg_ICjJw.jpeg" /></figure><p>Raise a kingdom, advance through the ages and conquer your neighbors, on computer, tablet or phone.</p><p>Realms &amp; Crowns is a real-time strategy game where you start with a few villagers and a campfire and end up commanding an empire. It opens in the browser on a computer, tablet or phone, with no sign-up and no download, and it even works offline.</p><p>The idea is simple: the pace and depth of the genre’s classics, in a game you can start in under a minute and take to any screen. Every match you pick your civilization, map and opponents, then decide whether to grow in peace, go on the attack or build the perfect defense.</p><p>Start screen: choose your civilization, difficulty, opponents and map</p><h3>Eleven civilizations, eleven ways to play</h3><p>Each civilization has its own bonuses, limits and unique units, so switching civilizations really changes your strategy.</p><p>The 11 civilizations and their unique units</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0f1Ncf3C5lFbTJmfUgsJlQ.png" /></figure><p>Beyond units, every civilization has unique technologies, such as the Japanese Trebuchet Masters, the Frankish Royal Stud and the Chinese Great Wall.</p><h3>Build your city and advance through four ages</h3><p>It all starts with the economy. Your villagers gather four resources (food, wood, gold and stone) and raise your city: houses, farms, barracks, stables, market, monastery, university, castle and walls.</p><ul><li><strong>Four ages:</strong> Dark, Feudal, Castle and Imperial. Each advance unlocks new buildings, troops and technologies.</li><li><strong>Technologies</strong> for economy, farming, blacksmithing and defense, with a tree showing what each civilization can research.</li><li><strong>Market and trade</strong> to exchange resources and hire mercenaries, paid in gold and ready at once.</li><li><strong>Wonders and relics</strong> as alternative paths to victory.</li><li><strong>Autosave</strong> every 15 seconds: close the game and pick up later right where you left off.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZxiFltJrE3e8kogZGk0puQ.jpeg" /></figure><h3>Armies and battles</h3><p>There are 75 units, and every troop has a counter: spearmen beat cavalry, archers beat infantry, skirmishers beat archers and siege weapons beat walls.</p><ul><li><strong>Infantry, archers, cavalry, monks and siege</strong>, from militia and scouts to paladins, trebuchets and bombards.</li><li><strong>Naval warfare</strong> with galleys, galleons, fire ships and cannon ships.</li><li><strong>Historical heroes</strong> in the campaigns, such as Joan of Arc, Genghis Khan, El Cid and Ragnar.</li><li><strong>Full command set:</strong> formations, patrol, attack-move, rally points and numbered groups.</li><li><strong>A computer opponent that really plays</strong>, at four difficulty levels: it attacks in waves, raids, invades by sea and can form alliances and betray them.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s23K_U-BtPgGg1uIigyWdA.jpeg" /></figure><h3>Historical campaigns</h3><p>There are 11 campaigns, one per civilization, each with its own story, rules and goal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEiLlQ4NdjUhtS0twM0RUw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*eOeWzU_YLJsmzbI5TZOCaA.jpeg" /></figure><h3>Maps, modes and ways to win</h3><p>In a Free Match you set up the game your way and choose how it ends.</p><ul><li><strong>11 map types:</strong> Continental, Dense Forest, Lakes, Desert, Islands, Mountains, River, Arabia, Swamp, Arctic and Steppe, plus Random.</li><li><strong>Sizes</strong> from quick duels to giant 384×384 maps.</li><li><strong>Up to 3 opponents</strong> controlled by the computer, free-for-all or with an ally at your side.</li><li><strong>Ways to win:</strong> conquest, Wonder, relics, map domination or score when time runs out.</li><li><strong>Optional truce</strong> to grow in peace before the first attacks, and events that shake up the match.</li><li><strong>21 achievements</strong> to unlock, such as First Victory, One Against All and Eternal Glory.</li></ul><h3>Play with friends</h3><p>In Multiplayer, someone creates a room and shares the five-letter code. No account needed, just a nickname.</p><ul><li><strong>Up to 4 kingdoms per match</strong>, mixing people and computer: 2 vs 2, 3 friends against the computer or free-for-all.</li><li><strong>Teams, civilization and map</strong> chosen right in the room.</li><li><strong>Pause for everyone:</strong> any player can pause and resume.</li><li><strong>If someone drops</strong>, the game waits for them. If they don’t come back, the computer takes over their kingdom and the match goes on.</li><li><strong>Portuguese and English in the same room:</strong> everyone plays in their own language.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*DpLG7NXlRbaN_-Pqk-jC9g.jpeg" /></figure><h3>Play anywhere</h3><p>The same game runs on computer, tablet and phone, each with controls designed for the screen.</p><ul><li><strong>Mouse and keyboard:</strong> left click selects, right click gives orders and hotkeys trigger the buttons.</li><li><strong>Touch:</strong> select, command and pinch to zoom, with buttons that explain what they do when you hold them.</li><li><strong>Install it as an app</strong> on iPhone, iPad, Android or computer: it opens full screen, gets its own icon and works offline.</li><li><strong>Tabbed guide and tutorial</strong> to learn fast, plus a color-blind friendly mode.</li><li><strong>Saved games</strong> stay on your device, with an option to download the file and continue on another one.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*fSCc4e9kFMHHVijcB4P3PQ.jpeg" /></figure><h3>Start now</h3><p>Realms &amp; Crowns is free and live at <a href="https://realmsandcrowns.com/">realmsandcrowns.com</a>. Your first match starts in under a minute: pick a civilization, pick a map and raise your kingdom.</p><p>If you play, tell me which civilization you chose and how your first battle went.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5788e7c5a3f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Senior Developer Is Becoming an Architect of Context]]></title>
            <link>https://rodrigonepomuceno.medium.com/the-senior-developer-is-becoming-an-architect-of-context-c90da0af3b4e?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/c90da0af3b4e</guid>
            <category><![CDATA[senior-developer]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[engineering-leadership]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 19:28:43 GMT</pubDate>
            <atom:updated>2026-08-18T19:28:43.251Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tTBt1rJblAeUvHF8i5eAGQ.png" /><figcaption>z`</figcaption></figure><h4>As AI agents write more code, senior engineers are becoming responsible for designing the environment in which good decisions can be made.</h4><p>Imagine two developers using the same coding agent on the same repository.</p><p>The first developer writes:</p><p>Add offline support to the transactions screen.</p><p>The agent explores the codebase, creates a local cache, changes the repository, updates the state management layer, adds tests, and opens a pull request. The implementation is plausible. It also conflicts with the existing synchronization strategy, stores sensitive fields without the required protection, duplicates a retry mechanism, and treats stale data differently from the rest of the application.</p><p>The second developer gives the agent a different kind of assignment.</p><p>They explain the user problem, identify the affected domain boundaries, describe the current offline policy, point to the existing cache abstraction, specify which data must never be persisted, define the expected state transitions, list the commands that prove the change is valid, and state where the agent must stop for a human decision.</p><p>The second agent produces a much smaller and more useful change.</p><p>The difference was not the model.</p><p>The difference was the context.</p><p>For years, seniority in software development was strongly associated with the ability to solve difficult technical problems, navigate complex codebases, make architectural decisions, and help other developers work effectively.</p><p>Those capabilities still matter. But AI agents are changing how they are expressed.</p><p>When implementation becomes increasingly automated, the highest leverage may no longer come from writing every important line of code. It may come from designing the conditions under which people and agents can make good engineering decisions.</p><p>The senior developer is becoming an <strong>architect of context</strong>.</p><p>If AI can generate the implementation, what exactly becomes the senior engineer’s most valuable contribution?</p><h3>Code generation is becoming abundant</h3><p>The cost of producing a plausible implementation is falling quickly.</p><p>Modern coding agents can inspect repositories, create plans, modify multiple files, run tests, fix failures, and prepare pull requests. They can work in the background and several of them can operate at the same time.</p><p>This changes an old constraint in software engineering.</p><p>Historically, implementation capacity was scarce. Teams organized much of their work around the limited number of hours developers could spend reading, typing, debugging, and integrating code.</p><p>With agents, raw implementation capacity can expand much faster than the team’s ability to define the right problem, preserve architectural consistency, verify behavior, and accept responsibility for the result.</p><p>The scarce resource begins to move.</p><p>It moves from code production to context quality.</p><p>This does not mean code has become irrelevant or that senior developers no longer need deep technical skills. In fact, weak technical judgment makes it almost impossible to create useful context.</p><p>It means that technical expertise is increasingly applied one level above the implementation.</p><p>Instead of asking only, “How should I write this code?”, the senior engineer also asks:</p><p>● What information must be available before anyone changes this system?</p><p>● Which decisions are already settled?</p><p>● Which decisions require human judgment?</p><p>● What boundaries must not be crossed?</p><p>● What evidence would make this change trustworthy?</p><p>● How will the next person understand why this implementation exists?</p><p>These are context architecture questions.</p><h3>Context engineering is more than prompt engineering</h3><p>Prompt engineering focuses on the instructions given to a model for a particular interaction.</p><p>Context engineering is broader.</p><p><a href="https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents">Anthropic describes context engineering</a> as the practice of curating and maintaining the most useful information available to a model during inference. That context can include system instructions, tools, external data, message history, retrieved documents, repository state, and prior decisions.</p><p>In software development, the relevant context is even wider because the model’s output becomes part of a living socio-technical system.</p><p>Useful engineering context may include:</p><p>● The actual user outcome</p><p>● Business terminology and invariants</p><p>● Architectural boundaries</p><p>● Repository conventions</p><p>● Security and privacy constraints</p><p>● Operational expectations</p><p>● Test and evaluation criteria</p><p>● Ownership and approval rules</p><p>● Previous decisions and rejected alternatives</p><p>A clever prompt cannot compensate for a repository that hides its architecture, a backlog item with contradictory requirements, an undocumented domain rule, or a test suite that proves the wrong behavior.</p><p>This is why the shift is not simply from “developer” to “prompt engineer.”</p><p>The more important shift is from implementing a solution to designing a reliable decision environment.</p><h3>What is an architect of context?</h3><p>An architect of context is someone who makes the intent, boundaries, knowledge, tools, and validation mechanisms of a software system accessible to both humans and agents.</p><p>The role is not necessarily a new job title. It is an emerging responsibility inside senior engineering work.</p><p>The context architect does not try to provide every possible detail. Too much context can be as harmful as too little. Large volumes of irrelevant information distract agents, consume limited attention, and make important constraints harder to identify.</p><p>The goal is not maximum context.</p><p>The goal is the smallest set of high-quality context that makes the next decision safer.</p><p>That requires judgment.</p><p>The senior engineer needs to know which information is durable, which information is task-specific, which information is sensitive, which assumptions are uncertain, and which decisions should not be delegated.</p><p>In practice, context architecture operates across several layers.</p><h3>1. Product context</h3><p>Product context explains the outcome, not just the requested output.</p><p>“Create a new transaction card” is an output.</p><p>“Help users identify failed transfers before they repeat a payment” is an outcome.</p><p>The second statement gives the agent a reason for the change. That reason affects hierarchy, error states, analytics, accessibility, copy, and testing.</p><p>Without product context, an agent can satisfy the ticket while missing the problem.</p><h3>2. Domain context</h3><p>Domain context captures the rules that are easy to violate and difficult to infer from isolated files.</p><p>Examples include:</p><p>● A transaction can be pending but not cancellable.</p><p>● A prescription can be viewed by a patient but changed only by an authorized professional.</p><p>● An invoice can be recalculated before authorization but not after fiscal submission.</p><p>● An offline record can be displayed locally but cannot be treated as server-confirmed.</p><p>These rules often live in conversations, incident history, or the memory of experienced developers.</p><p>If they are not made explicit, an agent will fill the gaps with statistically plausible behavior.</p><h3>3. Architectural context</h3><p>Architectural context explains where decisions belong.</p><p>It should answer questions such as:</p><p>● Which modules own which concepts?</p><p>● Which dependencies are allowed?</p><p>● Where should business rules live?</p><p>● Which abstractions are stable contracts?</p><p>● Which patterns are intentional?</p><p>● Which legacy areas should not be copied?</p><p>An architecture diagram is useful, but agents also need executable signals. Dependency rules, module tests, linters, examples, and repository instructions turn architectural intent into something that can be checked.</p><h3>4. Repository context</h3><p>Repository context tells the agent how this particular codebase works.</p><p>GitHub supports repository-wide and path-specific custom instructions for Copilot. Its documentation recommends files such as AGENTS.md to explain intentional patterns, areas that need closer scrutiny, and expectations for architecture, testing, and implementation.</p><p>That is a significant change in how documentation should be valued.</p><p>Repository guidance is no longer only onboarding material for humans. It is part of the execution environment for coding agents.</p><h3>5. Operational context</h3><p>Operational context describes what happens outside the local development environment.</p><p>It includes:</p><p>● Feature flags</p><p>● Deployment order</p><p>● Migration constraints</p><p>● Rate limits</p><p>● Observability requirements</p><p>● Rollback procedures</p><p>● Device and platform compatibility</p><p>● Data retention rules</p><p>● Failure ownership</p><p>Code can be locally correct and operationally dangerous. An agent cannot protect constraints it cannot see.</p><h3>6. Verification context</h3><p>Verification context defines what counts as convincing evidence.</p><p>“Add tests” is vague.</p><p>“Add a unit test for the domain rule, a widget test for the error state, and an integration test proving that an offline retry cannot create a duplicate transaction” is verifiable.</p><p>The senior engineer translates uncertainty into evaluation criteria.</p><h3>7. Organizational context</h3><p>Software decisions are also shaped by ownership, risk, and authority.</p><p>An agent needs to know which tasks can proceed autonomously, which changes require security review, who owns an affected service, and which decisions must be escalated.</p><p>The <a href="https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/">OpenAI guide to building agents</a> emphasizes instructions, tool design, orchestration, and guardrails as core parts of agent systems. Those same ideas apply to coding agents working inside an engineering organization.</p><p>Autonomy without boundaries is not scale.</p><p>It is unpriced risk.</p><h3>Why senior developers are positioned for this role</h3><p>Junior and mid-level developers can write excellent prompts and create useful repository instructions.</p><p>The reason context architecture naturally fits senior engineers is not hierarchy. It is exposure.</p><p>Senior developers have usually seen more of the consequences that are invisible in a feature request.</p><p>They have watched a reasonable local abstraction become a company-wide dependency. They have diagnosed incidents caused by assumptions that were never documented. They have seen a small mobile change fail because of an API rollout order, an analytics contract, a device-specific behavior, or a forgotten accessibility requirement.</p><p>That experience produces judgment about what matters before the code exists.</p><p>It also helps the senior engineer distinguish between three categories of information:</p><p>● <strong>Rules:</strong> constraints that should be followed consistently and automated where possible.</p><p>● <strong>Heuristics:</strong> guidance that is usually helpful but requires interpretation.</p><p>● <strong>Decisions:</strong> choices that depend on the current product, risk, and organizational context.</p><p>Agents are often strong at following explicit rules. They can apply heuristics when the situation resembles their examples. Decisions remain difficult when tradeoffs are ambiguous or consequences extend beyond the repository.</p><p>The senior engineer’s job is to make those categories visible.</p><h3>The new senior engineering loop</h3><p>The traditional implementation loop often looked like this:</p><pre>Understand the task<br>Write the code<br>Run the tests<br>Open the pull request<br>Respond to review</pre><p>An agent-assisted senior engineering loop is different:</p><pre>Frame the outcome<br>Expose the relevant context<br>Define boundaries and risk<br>Delegate a bounded change<br>Inspect evidence and assumptions<br>Preserve the decision for the next change</pre><p>The important change is that the senior developer designs the work before delegating it and improves the system after receiving the result.</p><p>Each completed task should leave the repository easier for the next human or agent to understand.</p><p>If the same clarification must be repeated in every prompt, it probably belongs in durable repository context.</p><p>If the same mistake appears in several pull requests, it probably needs an automated check.</p><p>If every task requires a senior developer to explain a hidden domain rule, that rule probably needs to become executable documentation.</p><p>Context architecture turns individual corrections into organizational capability.</p><h3>A practical Flutter example</h3><p>Consider a Flutter application with Clean Architecture, BLoC or Cubit, a design system, GraphQL, Firebase Crashlytics, localization, offline storage, and native integrations through MethodChannel.</p><p>The team wants an agent to implement biometric confirmation for high-value transfers.</p><p>A weak assignment might say:</p><p>Add biometric authentication before confirming transfers above the configured limit.</p><p>That instruction sounds specific, but it leaves many important questions unanswered.</p><p>The agent may add the biometric call directly to the widget, duplicate an existing authentication service, store the transfer amount in an insecure preference, treat every platform exception as a cancellation, or bypass the existing analytics and accessibility conventions.</p><p>A senior developer acting as a context architect would prepare the task differently.</p><h3>Product intent</h3><p>Biometric confirmation exists to reduce unauthorized high-value transfers without blocking users whose devices do not support biometrics.</p><h3>Domain rules</h3><p>● The limit comes from the authenticated server configuration.</p><p>● The client must not lower or override the limit.</p><p>● A biometric failure is different from a user cancellation.</p><p>● Unsupported devices must follow the existing secure fallback flow.</p><p>● The transfer must never be submitted twice after an app lifecycle change.</p><h3>Architectural boundaries</h3><p>● Widgets render state and dispatch intent.</p><p>● The transfer Cubit coordinates the flow but does not call platform channels directly.</p><p>● The domain use case decides whether additional confirmation is required.</p><p>● The existing biometric gateway owns MethodChannel communication.</p><p>● Presentation code must not introduce a second transfer model.</p><h3>Platform context</h3><p>● iOS and Android return different error categories.</p><p>● App backgrounding can interrupt the biometric prompt.</p><p>● The native permission copy is already configured and must not be replaced.</p><h3>User experience context</h3><p>● Loading, cancellation, failure, unavailable, and success states need distinct copy.</p><p>● All user-facing text must be localized.</p><p>● The confirmation dialog requires accessible semantic labels and logical focus order.</p><p>● The design system owns spacing, colors, typography, and buttons.</p><h3>Verification context</h3><p>● Unit tests must cover the domain threshold and fallback decisions.</p><p>● Cubit tests must cover cancellation, failure, retry, and duplicate submission prevention.</p><p>● Widget tests must cover focus, semantics, and localized copy.</p><p>● Platform gateway tests must preserve native error categories.</p><p>● Static analysis, formatting, and the relevant test suites must pass.</p><h3>Stop conditions</h3><p>The agent must stop and ask for guidance if the existing biometric gateway cannot represent a required native error, if the server contract is ambiguous, or if the requested flow conflicts with the secure fallback policy.</p><p>The task is now longer, but the implementation is likely to be smaller.</p><p>That is one of the paradoxes of agentic development.</p><p>More precise context often produces less code.</p><h3>The context contract</h3><p>Teams can make this practice repeatable with a context contract for agent-created changes.</p><pre>Outcome<br>What user or system result should improve?<br><br>Why it matters<br>What problem, risk, or opportunity justifies the change?<br><br>Domain rules<br>Which invariants must always remain true?<br><br>Architecture<br>Which modules own the behavior and which dependencies are allowed?<br><br>Existing patterns<br>Which implementations, tests, or documents should be treated as references?<br><br>Constraints<br>What must not change, be stored, be exposed, or be inferred?<br><br>Evidence<br>Which tests, checks, screenshots, logs, or measurements prove success?<br><br>Risk<br>What could fail in production and how would the team detect it?<br><br>Stop conditions<br>Which ambiguities or conflicts require a human decision?<br><br>Owner<br>Who can explain and maintain the result after merge?</pre><p>This is not a giant prompt template that must be filled mechanically for every typo.</p><p>It is a thinking tool.</p><p>Low-risk tasks may need only a few fields. High-risk changes may require the full contract, additional reviewers, and stronger automated gates.</p><h3>The repository becomes part of the team</h3><p>In a human-only workflow, incomplete repository documentation can be partially compensated for by conversation and shared memory.</p><p>In an agent-assisted workflow, hidden knowledge becomes a recurring tax.</p><p>Every undocumented setup step causes failed runs. Every unclear module boundary creates architectural drift. Every slow or unreliable test makes autonomous validation less useful. Every inconsistent pattern increases the chance that the agent copies the wrong example.</p><p>The best repositories for agents tend to be good repositories for people too.</p><p>They usually contain:</p><p>● A fast and reliable setup path</p><p>● Clear build, test, lint, and validation commands</p><p>● Documented module ownership</p><p>● Architecture decision records</p><p>● Good examples of preferred patterns</p><p>● Explicit security and privacy rules</p><p>● Deterministic tests</p><p>● Useful failure messages</p><p>● Small, reviewable change boundaries</p><p>● Versioned agent instructions</p><p>GitHub’s guidance for its coding agent explicitly recommends repository instructions that explain how to build, test, and validate changes. The goal is not to teach the agent everything about the company. It is to make the relevant engineering contract discoverable where the work happens.</p><p>This turns documentation from a passive archive into active infrastructure.</p><h3>Context has an architecture too</h3><p>Simply placing every document into an agent’s context window is not a strategy.</p><p>Context needs structure, ownership, and lifecycle management.</p><h3>Durable context</h3><p>Durable context should remain true across many tasks.</p><p>Examples include architecture principles, security policies, naming conventions, module boundaries, test commands, ownership rules, and domain invariants.</p><p>This context belongs in version-controlled documentation, executable rules, or repository instructions.</p><h3>Task context</h3><p>Task context explains the current problem.</p><p>It includes acceptance criteria, affected users, current behavior, examples, constraints, and expected evidence.</p><p>This context belongs in the issue, specification, or task contract.</p><h3>Retrieved context</h3><p>Retrieved context is loaded only when relevant.</p><p>It may include API documentation, previous architectural decisions, related incidents, analytics definitions, or platform-specific behavior.</p><p>Loading it on demand keeps the working context focused.</p><h3>Generated context</h3><p>Generated context is produced during the task.</p><p>It includes plans, discoveries, test results, screenshots, logs, unresolved questions, and decision summaries.</p><p>The useful parts should be preserved after the task instead of disappearing inside a chat transcript.</p><h3>Restricted context</h3><p>Some information should not be available to every agent or workflow.</p><p>Credentials, personal data, production records, security-sensitive procedures, and confidential business information need explicit access boundaries.</p><p>A good context architecture defines not only what the agent should know, but also what it must not see.</p><h3>Common failure modes</h3><p>The move toward context architecture creates its own mistakes.</p><h3>Writing longer prompts instead of improving the system</h3><p>If every task requires a three-page prompt that repeats the same rules, the team has created prompt bureaucracy.</p><p>Stable rules should move into the repository, automation, templates, or tools.</p><h3>Documenting ideals that the codebase does not follow</h3><p>An instruction file may describe Clean Architecture while the repository contains several conflicting patterns.</p><p>Agents learn from both instructions and examples. When those signals disagree, results become unpredictable.</p><p>Context architecture requires aligning documentation, code, and automated checks.</p><h3>Treating context as a one-time setup</h3><p>Architecture changes. Domain rules evolve. Tools are replaced. A repository instruction that was correct six months ago can become actively harmful.</p><p>Context needs owners, reviews, and version history.</p><h3>Hiding ambiguity</h3><p>Teams sometimes write instructions that sound certain because they want the agent to proceed.</p><p>False certainty is dangerous.</p><p>Good context distinguishes facts, assumptions, preferences, and open decisions.</p><h3>Automating decisions that require accountability</h3><p>An agent can propose a data migration, authentication flow, or architectural boundary. That does not mean it should make the final decision.</p><p>The context contract must define where autonomy ends.</p><h3>How the senior skill set changes</h3><p>The strongest senior developers will still understand algorithms, architecture, debugging, testing, security, performance, and product tradeoffs.</p><p>Those skills become inputs to a new set of higher-level capabilities.</p><h3>Problem framing</h3><p>The ability to turn a broad request into a precise outcome, scope, and set of constraints becomes more valuable.</p><h3>Context curation</h3><p>The senior engineer must select useful information without overwhelming the agent or reviewer.</p><h3>Specification design</h3><p>Requirements must become testable enough to guide implementation while leaving room for appropriate technical judgment.</p><h3>Evaluation design</h3><p>The engineer defines the evidence required to trust a result, including tests, observability, security checks, and human review.</p><p><a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">Anthropic’s guidance on agent evaluations</a> argues that good evaluations make failures and behavioral changes visible before they reach users. The same principle applies to code-generating agents.</p><h3>Tool and workflow design</h3><p>Agents are only as effective as the tools and interfaces available to them. Senior developers increasingly shape build commands, test environments, repository navigation, permissions, and feedback loops.</p><h3>Decision preservation</h3><p>A decision that exists only in a meeting or agent transcript will be lost.</p><p>The senior engineer ensures that important reasoning becomes documentation, a test, an architectural rule, or an observable constraint.</p><h3>Delegation and orchestration</h3><p>Delegating to agents requires the same judgment as delegating to people, but with different failure modes.</p><p>The engineer must choose task boundaries, concurrency, review depth, and escalation points.</p><h3>Responsible ownership</h3><p>The senior developer remains accountable for the system, even when an agent produced much of the implementation.</p><p>GitHub requires human review before pull requests created by its cloud coding agent can be merged. That product boundary reflects a broader principle: generation can be delegated, but responsibility still needs a human owner.</p><h3>This is not the end of coding</h3><p>The phrase “architect of context” should not become an excuse for senior developers to stop reading or writing code.</p><p>Context that is disconnected from implementation becomes theory.</p><p>Senior engineers need enough contact with the code to know whether their instructions match reality, whether abstractions still make sense, and whether agents are learning from good examples.</p><p>They may write less routine code, but the code they do write can become more influential.</p><p>A reference implementation, a high-quality test, a dependency rule, or a carefully designed interface can guide hundreds of later changes.</p><p>The coding shifts from producing volume to creating leverage.</p><h3>How teams can start now</h3><p>Becoming context-oriented does not require a large transformation program.</p><p>Teams can begin with a few practical steps.</p><h3>1. Identify repeated clarifications</h3><p>Review recent prompts, pull request comments, onboarding questions, and incidents.</p><p>Find the explanations senior developers repeat most often.</p><p>Those are candidates for durable context.</p><h3>2. Create a small repository guide</h3><p>Document the essential build commands, architecture boundaries, testing expectations, security constraints, and stop conditions.</p><p>Keep it short enough to remain useful and assign an owner.</p><h3>3. Convert important rules into checks</h3><p>If a rule can be enforced by a linter, test, dependency check, schema, or CI policy, do not leave it only in prose.</p><p>Executable context is harder to ignore and easier to maintain.</p><h3>4. Add context contracts to risky tasks</h3><p>Use the full contract for changes involving authentication, payments, privacy, migrations, platform permissions, or critical user flows.</p><p>Use a lighter version for routine work.</p><h3>5. Preserve discoveries</h3><p>When an agent uncovers a hidden dependency or an undocumented setup requirement, add that knowledge to the repository after the task.</p><p>Do not pay the same discovery cost twice.</p><h3>6. Measure accepted outcomes</h3><p>Do not measure only prompts, tokens, lines of code, or pull requests created.</p><p>Measure:</p><p>● Time from task definition to accepted change</p><p>● Human clarification and review time</p><p>● Rework after agent completion</p><p>● Escaped defects and rollbacks</p><p>● Percentage of tasks blocked by missing context</p><p>● Frequency of repeated agent mistakes</p><p>● Time required for another developer to explain the result</p><p>The <a href="https://dora.dev/dora-report-2025/">2025 DORA research</a> describes AI as an amplifier of the organization’s existing strengths and weaknesses. Better context helps determine what the technology amplifies.</p><h3>The career implication</h3><p>Developers sometimes interpret AI progress as a direct contest between human typing speed and machine generation speed.</p><p>That is the wrong competition.</p><p>Humans will not win by trying to type faster than agents.</p><p>Senior engineers create value by understanding what the system should do, why it should do it, which risks matter, how the parts interact, and what evidence is strong enough to justify a decision.</p><p>The <a href="https://survey.stackoverflow.co/2025/ai">2025 Stack Overflow Developer Survey</a> found that more developers distrusted the accuracy of AI tools than trusted it, with experienced developers among the most cautious groups.</p><p>That caution should not become resistance to automation.</p><p>It should become a design capability.</p><p>The senior developer of the next few years may spend less time translating every decision directly into syntax and more time building an environment in which good decisions can be generated, tested, challenged, and preserved.</p><p>That work includes architecture, but it is broader than architecture diagrams.</p><p>It includes documentation, but it is broader than writing documents.</p><p>It includes prompting, but it is broader than prompts.</p><p>It includes review, but it begins long before the pull request exists.</p><p>The architect of context designs the relationship between intent, knowledge, tools, constraints, evidence, and ownership.</p><h3>The real question</h3><p>AI agents will continue to become faster, more autonomous, and more capable of producing complete changes.</p><p>The organizations that benefit most will not necessarily be those that generate the largest amount of code.</p><p>They will be the organizations that make good context reusable.</p><p>In those teams, senior developers do not become less important because agents can implement.</p><p>They become responsible for a larger surface area of engineering quality.</p><p>Their output is not only code.</p><p>Their output is a system in which better code is more likely to be produced, understood, and safely operated.</p><p>So the question is not whether senior developers will still code.</p><p>The more interesting question is:</p><p>As AI takes over more implementation work, will senior engineers be evaluated by the code they personally write or by the quality of the context they create for everyone else?</p><h3>Sources and further reading</h3><p>● <a href="https://dora.dev/dora-report-2025/">DORA: State of AI-assisted Software Development 2025</a></p><p>● <a href="https://dora.dev/capabilities/platform-engineering/">DORA: Platform Engineering and Downstream Disorder</a></p><p>● <a href="https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents">Anthropic: Effective Context Engineering for AI Agents</a></p><p>● <a href="https://www.anthropic.com/engineering/building-effective-agents">Anthropic: Building Effective Agents</a></p><p>● <a href="https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents">Anthropic: Demystifying Evals for AI Agents</a></p><p>● <a href="https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/">OpenAI: A Practical Guide to Building AI Agents</a></p><p>● <a href="https://docs.github.com/copilot/using-github-copilot/code-review/using-copilot-code-review">GitHub: Using GitHub Copilot Code Review</a></p><p>● <a href="https://docs.github.com/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot">GitHub: Adding Repository Custom Instructions for GitHub Copilot</a></p><p>● <a href="https://docs.github.com/copilot/how-tos/agents/copilot-coding-agent/best-practices-for-using-copilot-to-work-on-tasks">GitHub: Best Practices for Using Copilot to Work on Tasks</a></p><p>● <a href="https://docs.github.com/en/copilot/concepts/agents/cloud-agent/risks-and-mitigations">GitHub: Risks and Mitigations for Copilot Cloud Agent</a></p><p>● <a href="https://survey.stackoverflow.co/2025/ai">Stack Overflow Developer Survey 2025: AI</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c90da0af3b4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Review Debt: The Hidden Cost of AI-Generated Code]]></title>
            <link>https://rodrigonepomuceno.medium.com/review-debt-the-hidden-cost-of-ai-generated-code-5991ebac98d5?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/5991ebac98d5</guid>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[code-review]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 18:58:24 GMT</pubDate>
            <atom:updated>2026-08-18T18:58:24.533Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXbjD7zGYeEgD4JhILFc0g.png" /></figure><h4><em>When AI agents create pull requests faster than teams can understand them, review becomes the real engineering bottleneck.</em></h4><p><em>Updated in August 2026.</em></p><p>Imagine that your team starts Monday with a healthy backlog and five coding agents.</p><p>By lunchtime, the agents have investigated several issues, changed dozens of files, added tests, updated documentation, and opened eleven pull requests. Every branch is green. Static analysis passes. The pull request descriptions look professional. The dashboards suggest that productivity has increased dramatically.</p><p>But almost none of the work is actually finished.</p><p>Someone still needs to understand the changes. Someone needs to determine whether the tests prove the right behavior. Someone needs to recognize architectural drift, hidden security risks, duplicated concepts, incorrect assumptions, and product decisions that were never written down. Most importantly, someone must be willing to put their name behind the merge.</p><p>The team did not eliminate the work. It moved the work.</p><p>Code production became faster. Responsible acceptance did not.</p><p>This is where <strong>review debt</strong> begins.</p><p>Would you merge AI-generated code that passes every test but that nobody on the team can fully explain?</p><h3>What is review debt?</h3><p>I use the term <strong>review debt</strong> to describe the accumulated obligation to understand, validate, correct, and take ownership of code produced faster than a team can responsibly absorb.</p><p>Technical debt usually describes compromises inside the software. Review debt begins earlier. It appears when the rate of change exceeds the rate at which the organization can create justified confidence in that change.</p><p>The visible symptom may be a queue of pull requests, but the deeper problem is not the queue itself. It is the growing distance between <strong>code that exists</strong> and <strong>code the team genuinely understands</strong>.</p><p>Review debt can take several forms:</p><p>● <strong>Queue debt:</strong> pull requests wait longer because reviewers cannot keep up with the volume.</p><p>● <strong>Comprehension debt:</strong> changes are merged without anyone developing a reliable mental model of what they do.</p><p>● <strong>Verification debt:</strong> tests and automated checks exist, but they do not cover the assumptions that matter most.</p><p>● <strong>Ownership debt:</strong> code reaches production without a clear human owner who can explain, operate, and safely change it later.</p><p>A team can have an empty pull request queue and still carry substantial review debt. Fast approvals do not prove that careful review happened.</p><p>The simplest expression is:</p><pre>Review debt grows when:<br>rate of generated change &gt; rate of verified understanding</pre><p>That inequality matters more than the number of prompts sent, tokens consumed, lines changed, or pull requests opened.</p><h3>AI changes the economics of producing a diff</h3><p>For most of software history, producing a significant change was expensive. A developer had to explore the repository, understand the relevant code, write the implementation, debug it, and prepare it for review. The time required to produce the change naturally limited how many changes arrived at the review stage.</p><p>AI agents weaken that limit.</p><p>An agent can search the repository, edit many files, run commands, revise its implementation, and open a pull request while the developer works on something else. Several agents can do this in parallel. The marginal cost of producing another plausible diff keeps falling.</p><p>The cost of reviewing that diff does not fall at the same rate.</p><p>A reviewer still needs to reconstruct intent. They must compare the implementation with requirements, understand the affected boundaries, inspect failure modes, and decide whether the evidence is sufficient. The agent may generate the code in minutes, but the reviewer cannot safely outsource accountability at the same speed.</p><p>This imbalance is not merely theoretical. The <a href="https://dora.dev/dora-report-2025/">2025 DORA research</a> describes AI as an amplifier of an organization’s existing strengths and weaknesses. DORA’s platform engineering guidance warns about <strong>downstream disorder</strong>, where local gains in coding speed are absorbed by bottlenecks in testing, security review, and deployment.</p><p>Developer trust also remains limited. In the <a href="https://survey.stackoverflow.co/2025/ai">2025 Stack Overflow Developer Survey</a>, 46% of respondents said they distrusted the accuracy of AI tools, compared with 33% who trusted them. Only about 3% reported high trust. Experienced developers were among the most cautious.</p><p>At the same time, agent capabilities are improving quickly. GitHub’s coding agent can work asynchronously and return pull requests, while newer workflows add self-review and automated security scanning. Those additions are useful, but they also reveal where the pressure is moving. The industry is not only trying to generate code faster. It is trying to make a rapidly increasing volume of generated code reviewable.</p><h3>Why a green pipeline is not enough</h3><p>One of the most dangerous shortcuts in AI-assisted development is treating a green pipeline as proof that a change is safe.</p><p>Tests are essential, but they are not a universal certificate of correctness.</p><h3>Tests prove only what they were designed to observe</h3><p>A test suite can confirm that selected inputs produce selected outputs. It may not tell you that the agent implemented the correct business rule, respected an architectural boundary, preserved accessibility, handled an operational edge case, or avoided a security weakness outside the tested path.</p><p>If the requirement is incomplete, the implementation and its tests can agree with each other while both are wrong.</p><h3>The same agent may create the implementation and the evidence</h3><p>When one agent writes the code and the tests, it may encode the same mistaken assumption in both places. The tests then confirm internal consistency, not external correctness.</p><p>This is similar to asking an author to grade an exam using an answer key they created from their own interpretation of the question.</p><h3>Architecture rarely fails with a clear error message</h3><p>A change can compile, pass tests, and still make the system harder to maintain. Business logic may move into the presentation layer. A module may start depending on an internal implementation detail. A new abstraction may duplicate an existing domain concept. None of these decisions necessarily produces a failed test today.</p><p>The cost appears later, when the next person or agent needs to change the system.</p><h3>Operational behavior extends beyond the repository</h3><p>Production systems depend on feature flags, credentials, queues, external APIs, deployment order, observability, data shape, and human procedures. A repository-level test suite often sees only part of that environment.</p><p>A pull request can be locally correct and operationally dangerous.</p><p>A passing test is evidence. It is not ownership, judgment, or complete understanding.</p><h3>Why AI-generated code can be unusually difficult to review</h3><p>AI does not simply increase the amount of code. It changes the shape of the review problem.</p><h3>1. Speed creates pressure to approve</h3><p>When changes arrive quickly, reviewers may feel that careful review is the reason work is slowing down. The pull request queue becomes visible, while the risk avoided by careful review remains invisible.</p><p>This creates a dangerous incentive: optimize approval speed instead of decision quality.</p><h3>2. Plausible code is cognitively expensive</h3><p>Bad code written by a novice is often obviously bad. AI-generated code can look polished, follow naming conventions, include tests, and provide a confident explanation. That surface quality lowers skepticism before the reviewer has verified the underlying reasoning.</p><p>The reviewer must actively resist the feeling that professional presentation implies correctness.</p><h3>3. Large diffs destroy the context advantage</h3><p>Agents can change many files without becoming tired. Humans still experience review fatigue. As a diff grows, the reviewer spends more energy reconstructing the change and less energy evaluating each decision.</p><p>GitHub’s own guidance recommends <a href="https://docs.github.com/en/pull-requests/concepts/helping-others-review-your-changes">small, focused pull requests</a> because they are easier to understand and safer to merge. Its guidance for stacking AI-generated changes makes the same point: each layer should be small enough to remain a quick read.</p><h3>4. Explanations can replace investigation</h3><p>Agent-generated summaries are helpful, but they can become a substitute for reading the diff. If the summary omits a side effect or repeats a mistaken assumption, the reviewer may inherit the agent’s frame instead of forming an independent one.</p><p>The pull request description should guide the review. It should not perform the review on the reviewer’s behalf.</p><h3>5. Parallel agents fragment ownership</h3><p>When several agents work simultaneously, no individual human naturally accumulates the context that once came from implementation. One agent changes the API, another changes the client, and a third updates the tests. Each result may look reasonable in isolation while the combined system moves in inconsistent directions.</p><p>Parallel execution increases the need for coordinated intent and explicit boundaries.</p><h3>Review debt is not the same as technical debt</h3><p>The two forms of debt are related, but they are not identical.</p><p>Technical debt is usually a property of the implementation. Review debt is a property of the team’s relationship with the implementation.</p><p>You can have technically clean code with severe review debt if nobody understands why it exists, which assumptions it encodes, or who owns it. You can also have technically imperfect code with low review debt if the team consciously accepted the tradeoff, documented it, and knows how to operate the result.</p><p>Review debt often turns into technical debt because misunderstood code is easier to duplicate, misuse, and modify incorrectly. It can also become operational debt when the team cannot diagnose failures, and organizational debt when knowledge is replaced by automated output that nobody can confidently challenge.</p><p>This is why review debt should be managed before merge, not merely cleaned up afterward.</p><h3>The productivity numbers are more complicated than they look</h3><p>AI productivity discussions often compare the time required to produce a patch. That is only one part of the delivery cycle.</p><p>In its controlled study of experienced open source developers using early-2025 tools, <a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/">METR found that participants took about 19% longer</a> when AI was allowed, even though the developers believed they were faster. Prompting, waiting, reviewing, and correcting contributed to the result.</p><p>In a <a href="https://metr.org/blog/2026-02-24-uplift-update/">February 2026 update</a>, METR said newer tools probably provided more benefit, but selection effects and unreliable time measurements made the size of that benefit difficult to estimate. Developers who gained the most value from AI were less willing to participate in tasks where they might be required to work without it. Parallel agent use also made time per task harder to measure.</p><p>The responsible conclusion is not that AI always makes developers slower or faster. It is that task generation time is an incomplete productivity metric.</p><p>To evaluate AI-assisted development, teams need to measure the complete path:</p><p>● Time from a ready task to a reviewable pull request</p><p>● Time from pull request creation to responsible approval</p><p>● Human review minutes</p><p>● Number of review rounds and agent revisions</p><p>● First-run CI pass rate</p><p>● Percentage of agent pull requests that are merged</p><p>● Reopened tickets and follow-up fixes</p><p>● Rollbacks, escaped defects, and incidents</p><p>● Total model, environment, CI, and human cost per accepted change</p><p>If implementation takes ten minutes and responsible review takes two hours, the team did not achieve a twelvefold productivity gain.</p><p>It relocated the cost.</p><h3>The warning signs of review debt</h3><p>Review debt rarely appears as a single dramatic failure. It grows through small changes in team behavior.</p><p>Watch for these signals:</p><p>● The number of open agent pull requests grows faster than merge capacity.</p><p>● Review time increases even though implementation time falls.</p><p>● Pull requests become larger because agents can complete broad tasks.</p><p>● Review comments focus on formatting while architectural issues are missed.</p><p>● Developers approve changes based mainly on summaries and green checks.</p><p>● The same areas require repeated follow-up fixes.</p><p>● Nobody can explain a recently merged change without reopening the agent transcript.</p><p>● Production incidents lead to questions about why the code was written that way.</p><p>● Senior engineers spend most of their day clearing an approval queue.</p><p>● Teams increase agent concurrency without increasing verification capacity.</p><p>The clearest warning is a sentence such as:</p><p>“The tests pass, so it is probably fine.”</p><p>The word <em>probably</em> is carrying more risk than the team may realize.</p><h3>A practical example for a Flutter team</h3><p>Consider a Flutter application using Clean Architecture, BLoC or Cubit, a shared design system, localization, and a CI pipeline.</p><p>The task is to add loading, empty, error, and success states to a transactions screen.</p><p>An agent returns a polished pull request. The app compiles. Widget tests pass. Static analysis reports no errors. The screenshots look correct.</p><p>During a careful review, however, the team discovers that:</p><p>● Business decisions were added directly to the widget instead of the Cubit.</p><p>● The agent created a second transaction model inside the presentation module.</p><p>● Spacing and colors were hard-coded instead of using the design system.</p><p>● The error state looks correct but does not expose an accessible semantic label.</p><p>● The retry action can trigger duplicate requests.</p><p>● Pagination state is lost after the error flow.</p><p>● A MethodChannel failure is silently converted into an empty result.</p><p>● The tests reproduce the agent’s implementation but do not verify the intended architecture.</p><p>Every automated check was green. The change was still not ready.</p><p>This example shows why the review contract must be broader than “does it work on the happy path?”</p><p>For a production Flutter change, a reviewer may need to ask:</p><p>● Is state managed in the intended layer?</p><p>● Are domain models reused instead of duplicated?</p><p>● Does the implementation respect module boundaries?</p><p>● Are visual components drawn from the design system?</p><p>● Are localization and accessibility preserved?</p><p>● Do tests validate behavior rather than mirror implementation details?</p><p>● Are offline, retry, pagination, and lifecycle transitions covered?</p><p>● Are platform channel failures represented correctly?</p><p>● Can another developer explain the flow without reading the agent transcript?</p><p>The last question is especially important. The transcript is useful evidence, but it should not become the only place where system knowledge exists.</p><h3>How to reduce review debt without giving up automation</h3><p>The answer is not to stop using coding agents. The answer is to design a delivery system in which generation and verification scale together.</p><h3>1. Make the unit of delegation smaller</h3><p>Assign bounded tasks with one clear outcome. Prefer a focused change that can be understood independently over a broad instruction such as “modernize this module.”</p><p>Small pull requests are not only easier for humans. They also make failures easier to isolate, agent feedback more precise, and rollbacks safer.</p><h3>2. Require a plan before implementation</h3><p>Before an agent changes code, require it to state:</p><p>● The goal</p><p>● The files or modules it expects to change</p><p>● The assumptions it is making</p><p>● What is explicitly out of scope</p><p>● How it will prove success</p><p>● Where it will stop and ask for guidance</p><p>Reviewing a plan is cheaper than reviewing a large incorrect implementation.</p><h3>3. Require an evidence packet</h3><p>Every agent-created pull request should include more than a summary.</p><p>A useful evidence packet contains:</p><p>● The original task and acceptance criteria</p><p>● The implementation plan</p><p>● Important decisions and alternatives considered</p><p>● Commands executed</p><p>● Test, lint, and static analysis results</p><p>● Screenshots or recordings for user-visible changes</p><p>● Known limitations and remaining risks</p><p>● A rollback or disablement path</p><p>Evidence reduces reconstruction work, but it does not remove the need for independent judgment.</p><h3>4. Separate generation from verification</h3><p>Do not let the same reasoning path be the only source of code, tests, and approval.</p><p>Use deterministic tools first: compilers, linters, type systems, tests, security scanners, dependency checks, and policy enforcement. Then use a second agent with fresh context to challenge the implementation. Finally, route the result to the appropriate human owner.</p><p>An AI reviewer can increase coverage, but it should not become a self-issued certificate of correctness.</p><p>GitHub explicitly states that AI code review can accelerate review but <a href="https://docs.github.com/enterprise-cloud%40latest/copilot/tutorials/roll-out-at-scale/drive-downstream-impact/accelerate-pull-requests">does not replace human code review</a>.</p><h3>5. Match review depth to risk</h3><p>Not every change needs the same process.</p><p>Documentation, repetitive test additions, and bounded refactors may be eligible for lightweight review. Authentication, payments, privacy, cryptography, database migrations, infrastructure, and platform permissions need stronger gates.</p><p>A useful policy defines risk tiers and the evidence required for each tier.</p><h3>6. Limit agent concurrency</h3><p>Parallelism is valuable only when the team can absorb the output.</p><p>Set limits on:</p><p>● Active agent tasks per repository</p><p>● Open agent pull requests per reviewer</p><p>● Maximum files or lines changed without plan approval</p><p>● Model and CI spending</p><p>● High-risk work running simultaneously</p><p>The goal is not maximum agent utilization. It is maximum flow of safely accepted value.</p><h3>7. Make the repository readable to both people and agents</h3><p>An agent-ready repository usually has:</p><p>● Reliable setup and validation commands</p><p>● Fast, deterministic tests</p><p>● Documented architecture and module boundaries</p><p>● Versioned repository instructions</p><p>● Clear ownership rules</p><p>● Pull request templates</p><p>● Protected branches and required checks</p><p>● Useful logs and observable failures</p><p>● Reproducible local or isolated environments</p><p>These practices reduce review debt because the source of truth lives in the engineering system, not only in individual memory or a chat transcript.</p><h3>8. Preserve explicit human ownership</h3><p>Every meaningful change should have a human owner who can answer:</p><p>● Why are we making this change?</p><p>● Which assumptions does it depend on?</p><p>● What could fail?</p><p>● How will we detect failure?</p><p>● How can we reverse it?</p><p>● Who will maintain it next?</p><p>Approval should mean more than “I saw a green check.” It should mean “I understand the decision well enough to accept responsibility for it.”</p><h3>A review contract for agent-generated pull requests</h3><p>Teams can make expectations concrete with a short pull request template:</p><pre>Goal<br>What user or system outcome should change?<br><br>Scope<br>Which modules, behaviors, and contracts may change?<br><br>Out of scope<br>What must remain unchanged?<br><br>Assumptions<br>What did the agent infer that was not explicit?<br><br>Evidence<br>Which tests, checks, screenshots, logs, or measurements support the result?<br><br>Architecture<br>Which boundaries and conventions were verified?<br><br>Risk<br>What could fail in production?<br><br>Rollback<br>How can the change be disabled or reversed?<br><br>Owner<br>Who can explain and maintain this change after merge?</pre><p>This template does not make an unsafe change safe. It makes missing information visible before the merge button is pressed.</p><h3>Ten questions before merging AI-generated code</h3><p>Before approving an agent-created pull request, ask:</p><p>1. Can I explain the intent of this change without repeating the agent’s summary?</p><p>2. Is this the smallest coherent change that solves the problem?</p><p>3. Do the tests validate the requirement or merely reproduce the implementation?</p><p>4. Was verification performed independently from generation?</p><p>5. Does the change respect architectural and domain boundaries?</p><p>6. Have security, privacy, accessibility, and operational effects been considered?</p><p>7. Are the logs and metrics sufficient to detect failure?</p><p>8. Is there a realistic rollback path?</p><p>9. Is a specific person willing to own the result?</p><p>10. Would I approve this pull request if it came from a new human teammate?</p><p>That final comparison is useful because agents often arrive with less repository context than a new teammate, while producing code with much greater speed and confidence.</p><h3>The definition of done must include understanding</h3><p>Traditional definitions of done often include implementation, tests, documentation, and deployment readiness. Agentic development needs one more condition:</p><p>The team can explain why the change is correct, how it fits the system, and who owns what happens next.</p><p>This does not mean every reviewer must understand every line equally. It means the organization has enough distributed understanding to operate the software without depending on an opaque generation session.</p><p>Code that nobody understands is not free capacity.</p><p>It is a future interruption waiting for the right incident.</p><h3>The real opportunity</h3><p>AI agents can remove enormous amounts of repetitive work. They can explore unfamiliar code, generate tests, prepare migrations, update documentation, and turn well-defined tasks into reviewable changes. Used carefully, they can give experienced engineers more time for product decisions, architecture, reliability, and mentoring.</p><p>But the benefit does not come from maximizing the amount of generated code.</p><p>It comes from increasing the amount of <strong>trusted change</strong> the organization can safely deliver.</p><p>That requires a deliberate balance:</p><p>● Faster generation with smaller changes</p><p>● More autonomy with stronger boundaries</p><p>● More agent concurrency with controlled work in progress</p><p>● More automated verification with accountable human judgment</p><p>● More code with better preserved context</p><p>The future bottleneck may not be typing. It may be understanding.</p><p>Teams that recognize review debt early can build systems that scale both execution and confidence. Teams that ignore it may produce more pull requests, more code, and more activity while quietly losing control of the software they are responsible for.</p><p>So the question is not only whether AI agents can write production code.</p><p>The harder question is:</p><p>Would you merge AI-generated code that passes every test but that nobody on the team can fully explain?</p><h3>Sources and further reading</h3><p>● <a href="https://dora.dev/dora-report-2025/">DORA: State of AI-assisted Software Development 2025</a></p><p>● <a href="https://dora.dev/capabilities/platform-engineering/">DORA: Platform engineering and downstream disorder</a></p><p>● <a href="https://survey.stackoverflow.co/2025/ai">Stack Overflow Developer Survey 2025: AI</a></p><p>● <a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/">METR: Measuring the Impact of Early-2025 AI on Experienced Open Source Developer Productivity</a></p><p>● <a href="https://metr.org/blog/2026-02-24-uplift-update/">METR: February 2026 Developer Productivity Experiment Update</a></p><p>● <a href="https://github.blog/ai-and-ml/github-copilot/whats-new-with-github-copilot-coding-agent/">GitHub: What’s New with GitHub Copilot Coding Agent</a></p><p>● <a href="https://docs.github.com/en/pull-requests/concepts/helping-others-review-your-changes">GitHub: Helping Others Review Your Changes</a></p><p>● <a href="https://docs.github.com/en/copilot/tutorials/review-ai-generated-code">GitHub: Review AI-generated Code</a></p><p>● <a href="https://docs.github.com/en/copilot/concepts/agents/cloud-agent/risks-and-mitigations">GitHub: Risks and Mitigations for Copilot Cloud Agent</a></p><p>● <a href="https://cheatsheetseries.owasp.org/cheatsheets/AI_Agent_Security_Cheat_Sheet.html">OWASP AI Agent Security Cheat Sheet</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5991ebac98d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Vibe Coding: How Devin and AI Agents Are Reshaping Software Teams]]></title>
            <link>https://rodrigonepomuceno.medium.com/beyond-vibe-coding-how-devin-and-ai-agents-are-reshaping-software-teams-46ea94c1f685?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/46ea94c1f685</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Mon, 17 Aug 2026 15:06:33 GMT</pubDate>
            <atom:updated>2026-08-17T15:06:33.025Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZ4WQbG4g-YtNAfA2S8WXw.png" /></figure><blockquote>Copilots can already write functions. The new generation takes tickets, changes repositories, runs tests, opens pull requests, and works in parallel. That still does not mean people can simply be removed from the process.</blockquote><p><em>Updated in August 2026.</em></p><p>Picture a fairly ordinary production issue. A bug report arrives in Slack. An agent checks the logs, finds the affected service, reproduces the problem, prepares a fix, adds tests, and opens a pull request. At the same time, another agent investigates a dependency migration while a third updates the documentation.</p><p>The human developer did not type the code for any of those changes. They decided what mattered, supplied missing context, reviewed the evidence, and chose what was safe to merge.</p><p>This is no longer limited to polished demos. Platforms such as Devin, Codex, GitHub Copilot, Cursor, Claude Code, Factory, Jules, and OpenHands are moving artificial intelligence out of the autocomplete box and into the actual software delivery process.</p><p>That is where the conversation around <strong>vibe coding</strong> becomes both more useful and more confusing.</p><p>Vibe coding is not the same as autonomous software engineering. Building a prototype by talking to an AI is one thing. Delegating work to an agent that can access repositories, terminals, browsers, tickets, pipelines, and credentials is something else entirely. In the first case, the risk often ends with a disposable prototype. In the second, it can reach production.</p><p>So the important question is no longer just, “Can AI write code?” A better question is:</p><p><strong>How can we turn AI agents into additional engineering capacity without multiplying defects, security risks, and review costs?</strong></p><p>This article looks at that shift, compares the main tools, and offers a practical path for adopting them responsibly.</p><h3>What vibe coding means, and what the term now hides</h3><p>The term <strong>vibe coding</strong> was popularized by Andrej Karpathy in <a href="https://x.com/karpathy/status/1886192184808149383">a February 2025 post</a>. His original description was intentionally casual. You express what you want in natural language, accept the generated code, run it, send any errors back to the model, and keep going. Sometimes you barely inspect the changes.</p><p>The phrase captured a real change. For the first time, someone could create a working application without starting with syntax, framework APIs, or hours of manual setup. Conversation became the main interface.</p><p>The market soon started using the same label for several very different ways of working:</p><p>● <strong>1. Autocomplete</strong>. Way of working: Suggestions while typing. What the AI does: Completes lines and small blocks. What the human does: Writes and validates almost everything.</p><p>● <strong>2. Conversational pair programming</strong>. Way of working: Chat inside the editor. What the AI does: Explains, generates, and refactors code. What the human does: Guides the session continuously.</p><p>● <strong>3. Local agent</strong>. Way of working: Access to files and a terminal. What the AI does: Plans, edits, runs commands, and tests. What the human does: Approves actions and stays involved.</p><p>● <strong>4. Asynchronous agent</strong>. Way of working: Runs in an isolated environment. What the AI does: Takes a task and returns a branch or PR. What the human does: Reviews the result later.</p><p>● <strong>5. Multi-agent system</strong>. Way of working: Several specialized agents. What the AI does: Researches, implements, tests, reviews, and documents in parallel. What the human does: Owns architecture, priorities, boundaries, and final approval.</p><p>The first two levels make one person faster. The last three begin to change how a team organizes work.</p><p>This distinction matters because autocomplete produces suggestions. An agent produces <strong>actions</strong>. It can install a dependency, run a script, call an API, change hundreds of files, or open a pull request. As autonomy grows, context, observability, and control need to grow with it.</p><p>Vibe coding in its original sense is great for exploring an idea, learning a technology, creating a prototype, or testing an interface. In production software, “it worked on my screen” is not enough. The sensible evolution is not to abandon the vibe. It is to add evidence:</p><p><strong>intent, specification, isolated execution, tests, review, and metrics</strong></p><p>You could call this <em>verified vibe coding</em>. It keeps the speed and accessibility of conversation while bringing back the safeguards that make software engineering reliable.</p><h3>The jump from copilot to engineering agent</h3><p>A modern software agent usually combines seven parts:</p><p>1. <strong>A model that can reason about code, documentation, and requirements.</strong></p><p>2. <strong>An execution loop</strong> in which the agent plans, calls tools, observes results, and adjusts its approach.</p><p>3. <strong>Access to a development environment</strong>, usually including an editor, terminal, Git, browser, and project dependencies.</p><p>4. <strong>Repository and business context</strong>, including conventions, architecture decisions, and acceptance criteria.</p><p>5. <strong>Connections to the team’s workflow</strong>, such as GitHub, GitLab, Linear, Jira, Slack, Sentry, or Datadog.</p><p>6. <strong>Verification mechanisms</strong>, including tests, linters, static analysis, screenshots, and logs.</p><p>7. <strong>Security and audit controls</strong>, including permissions, isolation, budgets, traceability, and human approval.</p><p>Without context, the agent guesses. Without tests, it cannot know whether it is done. Without isolation, a mistake can cause real damage. Without observability, the team cannot explain what happened. Without a human owner, nobody is accountable for the decision.</p><p>This is why automating a team is not a matter of adding five bots to a Slack channel. It means building a working system where tasks are easy to delegate, results can be verified, and decisions still have clear owners.</p><h3>Devin: the clearest expression of an “AI software engineer”</h3><p>Devin, created by Cognition, was one of the first products to turn the autonomous engineering agent into something teams could easily recognize. Instead of living only inside an editor, Devin received its own computing environment with a terminal, editor, and browser. The product was presented as a worker you could assign a task to.</p><p>Today, <a href="https://devin.ai/">Devin’s official product information</a> describes use cases such as:</p><p>● investigating and fixing incidents;</p><p>● triaging issues and CI failures;</p><p>● creating and reviewing pull requests;</p><p>● writing unit and end-to-end tests;</p><p>● documenting legacy systems;</p><p>● running migrations and refactors across repositories;</p><p>● handling recurring and event-triggered work;</p><p>● coordinating multiple agents on larger projects.</p><p>Devin’s real differentiator is not code generation. It is the attempt to take ownership of a unit of work that resembles what an asynchronous teammate might receive. Devin can take a ticket, look for context in company tools, work inside an isolated machine, respond to pull request feedback, and continue until it has something another person can review.</p><h3>Where Devin is strongest</h3><p>Devin makes the most sense in a company that already has a structured backlog, executable tests, basic documentation, and a mature connection between work tracking, source code, and observability. In that environment, it can absorb repetitive or parallel work and return concrete artifacts instead of another answer in a chat window.</p><p>It is also one of the clearest products for multi-agent and multi-repository work. That makes it interesting for modernization projects, migrations, distributed maintenance, and large queues of similar tasks.</p><h3>Where teams should be careful</h3><p>Parallelism does not remove coordination. It makes coordination more important. Cognition makes this point in its own article about <a href="https://cognition.com/blog/multi-agents-working">what is actually working with multi-agent systems</a>. Several agents writing at the same time may make incompatible assumptions about style, architecture, and edge cases. A safer pattern is to parallelize research and review while keeping related writes under clear coordination.</p><p>The economics also need to be measured from beginning to end. Running ten agents can quickly multiply model usage, development environments, CI runs, and the most easily overlooked cost of all: human review time. The useful number is not how many tasks an agent started. It is how many valuable changes reached production without increasing incidents and rework.</p><h3>The main alternatives to Devin</h3><p>These tools are not interchangeable. Some are complete platforms. Others provide local agents and building blocks that a company can use to create its own automation. The right choice depends less on a leaderboard and more on the shape of your work.</p><p>● <strong>Devin</strong>. Where it works: Cloud and team integrations. Main unit of work: Ticket, PR, or project. Main strength: Asynchronous delegation, multi-agent work, and multiple repositories. Best fit: Companies that want to automate part of the backlog.</p><p>● <strong>OpenAI Codex</strong>. Where it works: ChatGPT, IDE, terminal, and cloud. Main unit of work: Feature, fix, refactor, or review. Main strength: Local and cloud continuity, worktrees, parallel agents, and automations. Best fit: Teams that want a general agent across several surfaces.</p><p>● <strong>GitHub Copilot cloud agent</strong>. Where it works: GitHub and GitHub Actions environment. Main unit of work: Issue to branch or PR. Main strength: Native GitHub workflow, traceability, and low process friction. Best fit: Organizations centered on GitHub.</p><p>● <strong>Cursor Cloud Agents</strong>. Where it works: IDE and cloud virtual machines. Main unit of work: Feature, bug, test, or PR. Main strength: Smooth handoff between human, local, and asynchronous work. Best fit: Teams that want to stay close to the code.</p><p>● <strong>Claude Code and Agent SDK</strong>. Where it works: Terminal, IDE, local process, or managed infrastructure. Main unit of work: Technical session or custom workflow. Main strength: Extensibility, hooks, permissions, MCP, and subagents. Best fit: Platform teams building their own system.</p><p>● <strong>Factory Droid and Missions</strong>. Where it works: CLI and orchestration platform. Main unit of work: Mission with milestones and several features. Main strength: Explicit planning and coordination for multi-agent projects. Best fit: Larger, clearly bounded initiatives.</p><p>● <strong>Google Jules</strong>. Where it works: Virtual machine connected to GitHub. Main unit of work: Fix, test, documentation, or small feature. Main strength: Simple asynchronous delegation with plan approval. Best fit: Teams looking for a low-friction starting point.</p><p>● <strong>OpenHands</strong>. Where it works: Local, cloud, or self-hosted. Main unit of work: Task, automation, or custom agent. Main strength: Open source, model independence, and infrastructure control. Best fit: Companies with strong sovereignty and customization needs.</p><p>● <strong>Replit Agent</strong>. Where it works: Browser and Replit platform. Main unit of work: Idea to published application. Main strength: Integrated creation, testing, and deployment. Best fit: Greenfield projects, prototypes, and smaller products.</p><h3>1. OpenAI Codex: one agent across several surfaces</h3><p><a href="https://openai.com/codex/">Codex</a> combines work in the terminal and editor with tasks that run in cloud environments. It can implement features, fix bugs, perform refactors, review changes, and work on several tasks in parallel using separate environments and worktrees.</p><p>Two capabilities are particularly useful for teams. The first is <strong>Skills</strong>, which package standards, commands, and repeatable team processes so the agent can apply them consistently. The second is <strong>automations</strong>, which can trigger routines for triage, monitoring, CI/CD, and maintenance without requiring someone to start every session manually.</p><p>Codex is a good fit when a team wants to move between synchronous collaboration, where a developer follows the agent in the terminal, and asynchronous delegation. Its effectiveness still depends on a readable repository, reliable commands, and verifiable criteria. No model can permanently compensate for a codebase where nobody knows how to run the tests.</p><h3>2. GitHub Copilot cloud agent: the shortest path from issue to pull request</h3><p>The <a href="https://docs.github.com/en/copilot/concepts/agents/cloud-agent/about-cloud-agent">Copilot cloud agent</a> works in an ephemeral GitHub Actions environment. It can research a repository, prepare a plan, change a branch, run tests, and open a pull request. A team can start it from issues, comments, chat, and external integrations.</p><p>Its largest benefit is organizational. The work stays inside a system that many teams already use. Commits, logs, comments, pull requests, and cycle metrics remain visible. GitHub also provides custom agents, repository instructions, hooks, skills, and MCP integrations.</p><p>According to the current documentation, each session works in one repository and one branch, creates one pull request, and has a fixed execution limit. That works well for carefully scoped tasks, but it is less suitable for long changes that are tightly coupled across many repositories. Even with those limits, a GitHub-first team may find this the easiest place to begin because it does not require a new operating model on day one.</p><h3>3. Cursor Cloud Agents: from pair programming to background work</h3><p>Cursor began as an AI-focused editor. Its <a href="https://cursor.com/docs/cloud-agent">Cloud Agents</a> expanded that experience into isolated cloud virtual machines. Agents can keep working after a developer closes their laptop, run several tasks in parallel, and return pull requests with evidence such as logs, screenshots, and videos. A developer can also take control of the agent’s remote desktop.</p><p>The handoff is the most interesting part. A task can begin as an interactive exploration in the editor, move to a cloud agent, and return to a human when judgment or careful editing is needed. It removes some of the artificial separation between an assistant in the IDE and an autonomous agent somewhere else.</p><p>The same power creates responsibilities. Secrets, network access, permissions, and spending need clear controls. A full virtual machine is useful because it can do a lot. Its environment and access policy should be managed as part of the engineering platform, not left to each developer to improvise.</p><h3>4. Claude Code and Agent SDK: pieces for building your own automation</h3><p>Claude Code is well suited to terminal-driven sessions close to the repository and the developer’s real tools. The <a href="https://code.claude.com/docs/en/agent-sdk/overview">Claude Agent SDK</a> exposes a similar agent loop to Python and TypeScript applications. It includes tools for reading and editing files, running commands, managing permissions, using hooks, connecting MCP servers, maintaining sessions, and creating specialized subagents.</p><p>That gives platform teams a great deal of flexibility. A company could create a migration agent, a security reviewer, and a test generator, with each one receiving a specific set of tools and permissions. Deterministic hooks can block dangerous commands or require validation before a task is considered complete.</p><p>The tradeoff is that flexibility is not the same as a finished management platform. If the goal is a central system that distributes tickets, tracks costs, maintains queues, and provides organization-wide governance, some of that layer still needs to be built or integrated. This is an excellent choice for teams that want to control the architecture of their agent system. It is less attractive for a team that wants to switch on a product and delegate the backlog that afternoon.</p><h3>5. Factory Droid and Missions: orchestration as a product</h3><p>Factory treats the agent as part of a software factory rather than a single conversation. Droid works in the terminal and through integrations. <a href="https://docs.factory.ai/missions/overview">Factory Missions</a> add collaborative planning, milestones, feature decomposition, agent coordination, and continuous validation.</p><p>This approach is closer to automating an initiative than automating one ticket. Before any code is written, the human and the agent build a plan with expected outcomes and success criteria. An orchestration layer then coordinates the execution and tracks progress.</p><p>Factory’s documentation includes an important warning. Existing projects need to be ready for agents, with automated ways to start the system, simulate dependencies, and validate user flows. Without those capabilities, an agent cannot prove that a feature works. The idea is powerful, but the required operational maturity grows with it.</p><h3>6. Google Jules: straightforward asynchronous delegation through GitHub</h3><p><a href="https://jules.google/docs/">Jules</a> clones a repository into a virtual machine, installs dependencies, proposes a plan, and changes the files after approval. It focuses on tasks such as bug fixes, tests, documentation, and bounded features.</p><p>Its simplicity is valuable. A team that wants to try the “send a task and come back later” model does not need to design an entire multi-agent architecture first. Jules also reads AGENTS.md, so teams can keep commands and conventions close to the code.</p><p>The documentation available at the time of writing still describes Jules as experimental. That does not prevent a useful pilot. It simply means teams should be careful before making it critical infrastructure for a regulated or mission-critical operation.</p><h3>7. OpenHands: an open and model-independent alternative</h3><p><a href="https://docs.openhands.dev/overview/introduction">OpenHands</a> is relevant for organizations that do not want execution, model choice, and control concentrated in a single vendor. Its ecosystem includes an agent SDK, an execution server, a user interface, automations, and both managed and self-hosted options.</p><p>Sovereignty is the main attraction. A team can choose its models, run agents in its own infrastructure, adapt the tools, and build an internal platform for agentic development. For companies with data residency requirements, private integrations, audit needs, or a multi-model strategy, this may matter more than the convenience of a closed SaaS platform.</p><p>The cost appears somewhere else. Operating sandboxes, queues, observability, upgrades, identity, and policies requires platform engineering. Open source reduces vendor lock-in, but it does not remove operational work.</p><h3>8. Replit Agent: the most direct vibe coding experience for greenfield products</h3><p><a href="https://docs.replit.com/features/agent/overview">Replit Agent</a> turns a description into an application, configures backend services and storage, lets the user test the interface, and publishes the result in the same platform. Its <a href="https://docs.replit.com/features/agent/app-testing">App Testing</a> feature uses a browser to interact with the application and attempts to fix problems it finds.</p><p>It is especially effective for prototypes, internal tools, landing pages, and greenfield applications where reducing the time between idea and first usable version is more important than fitting into a mature enterprise architecture.</p><p>Replit Agent is not a direct replacement for Devin in every situation. Devin focuses on work inside a team’s existing repositories and operational ecosystem. Replit offers a vertical path from idea to deployed product. “Automate part of a mature platform’s backlog” and “put a new product online quickly” are different goals and should be evaluated differently.</p><h3>Do these tools replace a software team?</h3><p>Not in the way an organization chart might suggest.</p><p>A software team is not a group of people typing code. It is a system of decisions about the problem, priority, user experience, architecture, risk, operations, and learning. Agents can already take on a meaningful share of execution, but they still rely on three things created by people and by the organization:</p><p>● <strong>Clear intent:</strong> what problem should be solved, and for whom?</p><p>● <strong>Reliable context:</strong> how does the system work, what constraints exist, and which previous decisions must be respected?</p><p>● <strong>A definition of truth:</strong> how can we demonstrate that the change is correct, safe, and useful?</p><p>The likely outcome is not one bot replacing five job titles. It is a change in the balance between execution and supervision. Developers spend less time producing boilerplate and more time breaking down problems, designing contracts, evaluating tradeoffs, creating tests, and reviewing results. Tech leads also become architects of context. Quality engineers move beyond being a manual gate and help create automated systems of evidence. Product managers need to describe problems and acceptance criteria clearly enough for both people and agents.</p><p>A new bottleneck appears quickly: <strong>review</strong>. If agents create pull requests faster than the team can understand them, the organization has not gained capacity. It has only moved the queue. It may also create pressure to approve changes without reading them carefully.</p><p>Useful automation reduces the total time between a real problem and delivered value. Performative automation only increases the volume of code.</p><h3>What research tells us about productivity</h3><p>The evidence available today gives us good reasons to avoid both blind excitement and automatic skepticism.</p><p>In 2025, a controlled METR study found that experienced developers working on open source repositories they already knew took about 19% longer when they were allowed to use AI tools. The developers believed they had become faster. Time spent prompting, waiting, reviewing, and correcting contributed to the result.</p><p>In <a href="https://metr.org/blog/2026-02-24-uplift-update/">a February 2026 update</a>, METR said that newer tools probably offered greater benefits, but selection bias made its new estimate unreliable. Developers who valued AI the most were reluctant to participate in tasks where they might be required to work without it. Parallel work with several agents also made time per task harder to measure.</p><p>The responsible conclusion is not “AI makes developers slower” or “agents multiply productivity.” The impact depends on the task, the user’s experience, the quality of the repository, and the way success is measured.</p><p>Benchmarks need context too. SWE-bench evaluates fixes for real issues, but long-running software evolution is harder. The 2026 <a href="https://arxiv.org/html/2512.18470v5">SWE-EVO study</a> created scenarios with changes across multiple files and versions. In the authors’ evaluation, the best configuration solved 25% of those tasks, far below the result they cited for the same broader ecosystem on SWE-bench Verified. The dataset is small and limited to Python, so it should not become a universal ranking. It does show the distance between fixing one isolated issue and evolving a product over time.</p><p>The <a href="https://dora.dev/research/2025/dora-report/">2025 DORA report</a> offers a useful way to think about the pattern. AI acts as an amplifier of an organization’s strengths and weaknesses. In a team with good tests, useful documentation, a readable architecture, and fast feedback, it can accelerate a healthy system. In a team with broken dependencies, implicit decisions, and unsafe deployments, it can produce chaos faster.</p><h3>Which tasks should you delegate first?</h3><p>Agents perform best when the work is bounded and there is objective feedback.</p><h3>Good starting tasks</h3><p>● Updating documentation and examples</p><p>● Adding tests for behavior that is already understood</p><p>● Repetitive migrations and codemods</p><p>● Updating dependencies when the test suite is reliable</p><p>● Fixing bugs with clear reproduction steps</p><p>● Resolving warnings, lint findings, and typing issues</p><p>● Generating adapters, mappers, and boilerplate</p><p>● Triaging CI failures and incidents</p><p>● Making small accessibility improvements</p><p>● Handling recurring work that produces a reviewable pull request</p><h3>Tasks that need close supervision</h3><p>● Authentication, authorization, and cryptography</p><p>● Payments, taxation, and regulatory rules</p><p>● Destructive database migrations</p><p>● Architectural changes that affect several domains</p><p>● Features with ambiguous product behavior</p><p>● Work that depends on undocumented knowledge</p><p>● Operations involving production credentials or direct production access</p><p>● Any task whose success cannot be demonstrated through tests or other evidence</p><p>A simple rule helps. If an experienced engineer cannot clearly explain how they will know the task is complete and correct, it is not ready for autonomous delegation.</p><h3>A practical example for a Flutter team</h3><p>Consider a Flutter application using Clean Architecture, BLoC or Cubit, independent modules, and a CI pipeline. The team wants to add loading, empty, error, and success states to a transactions screen while preserving accessibility and responsive behavior.</p><p>Instead of asking an agent to “improve the transactions screen,” the task could look like this:</p><pre>Goal<br>Add the four visual states to the transactions screen.<br><br>Context<br>* Use the Flutter and Dart versions pinned by the project.<br>* State is managed by TransactionsCubit.<br>* Visual components must come from design_system.<br><br>Scope<br>* presentation/transactions<br>* TransactionsCubit unit tests<br>* page widget tests<br><br>Out of scope<br>* changing domain or API contracts<br>* adding new dependencies<br><br>Acceptance criteria<br>* loading displays the existing skeleton component<br>* an empty list displays EmptyState with a refresh action<br>* the error state offers retry and keeps the message accessible<br>* the success state preserves the current pagination behavior<br>* the layout works at the breakpoints defined by the project<br><br>Required validation<br>* dart format --set-exit-if-changed .<br>* flutter analyze<br>* flutter test<br>* the transactions module test suite<br><br>Delivery<br>* isolated branch<br>* pull request with summary, decisions, risks, and visual evidence<br><br>Stop and ask for guidance if<br>* the domain contract needs to change<br>* an existing test contradicts the acceptance criteria</pre><p>An implementation agent can make the change. A second agent with a fresh context can look for architecture violations, regressions, missing states, and accessibility problems. CI runs the deterministic checks. A person then validates the product decision, visual consistency, and architectural impact.</p><p>The quality did not come from a magical prompt. It came from scope, boundaries, reproducible commands, tests, and clear ownership.</p><h3>The repository needs to become readable to agents</h3><p>Teams used to optimize a codebase for developers who accumulated context over months. Agents enter most tasks with limited context. This exposes the same weaknesses that have always made onboarding difficult for new human teammates.</p><p>A repository that is ready for agents usually has:</p><p>● a README that really lets someone start the project;</p><p>● one reliable command for each build, lint, and test step;</p><p>● pinned SDK and dependency versions;</p><p>● fast, deterministic tests;</p><p>● documented architecture and module boundaries;</p><p>● clear criteria for considering a change complete;</p><p>● fixtures, mocks, and reproducible local environments;</p><p>● versioned instructions in AGENTS.md or an equivalent mechanism;</p><p>● logs and errors that point toward causes, not only symptoms;</p><p>● automated security and quality policies.</p><p>This work benefits both people and agents. A good test is not only a quality gate. It is a feedback language that lets an agent correct its own work. A modular architecture does more than reduce coupling. It also reduces how much of the system an agent needs to understand at once.</p><h3>Security: autonomy and control need to grow together</h3><p>An agent with a terminal, network access, and tokens is a privileged operator. Even without malicious intent, it can run the wrong command, trust an unsafe external instruction, expose a secret in logs, or install a compromised dependency. The <a href="https://genai.owasp.org/">OWASP GenAI Security Project</a> maintains guidance for risks involving LLM applications and agentic systems.</p><p>A minimum policy for engineering agents should include:</p><p>1. <strong>Least privilege:</strong> grant access only to the repositories, tools, and data needed for the task.</p><p>2. <strong>Isolated and disposable environments:</strong> never execute agent work directly on production machines.</p><p>3. <strong>Short-lived, narrowly scoped secrets:</strong> do not paste permanent keys into prompts or files.</p><p>4. <strong>Controlled network access:</strong> use allowlists, connection logs, and blocks for unnecessary destinations.</p><p>5. <strong>Mandatory pull requests:</strong> agents should not merge directly into protected branches.</p><p>6. <strong>Deterministic gates:</strong> require tests, lint, static analysis, SAST, dependency checks, and infrastructure policies.</p><p>7. <strong>An audit trail:</strong> prompts, plans, commands, changes, costs, approvals, and identities need to be traceable.</p><p>8. <strong>Budget and concurrency limits:</strong> loops and agent fleets should not consume resources indefinitely.</p><p>9. <strong>Risk-based human review:</strong> stronger possible impact requires a stronger gate.</p><p>10. <strong>A rollback plan:</strong> every meaningful automation should consider how to reverse its changes.</p><p>Autonomy is not a binary setting. It is a ladder. A team can begin with read-only research and planning, then allow changes on isolated branches, then permit test execution, and only later introduce event-triggered automations. Each step should be earned through evidence.</p><h3>How to tell whether the automation is working</h3><p>Lines of code, prompts sent, and sessions started measure activity. They do not measure value.</p><p>A pilot should track at least these dimensions:</p><p>● <strong>Flow</strong>. Metric: Time from ready ticket to ready PR. Question it answers: Did the agent reduce waiting and implementation time?.</p><p>● <strong>Integration</strong>. Metric: Time from PR to merge. Question it answers: Did review become the bottleneck?.</p><p>● <strong>Quality</strong>. Metric: First-run CI pass rate. Question it answers: Does the result arrive in a verifiable state?.</p><p>● <strong>Acceptance</strong>. Metric: Percentage of agent PRs merged. Question it answers: Is the work actually useful?.</p><p>● <strong>Human effort</strong>. Metric: Review minutes and number of interventions. Question it answers: How much work simply moved elsewhere?.</p><p>● <strong>Rework</strong>. Metric: Reopened tickets, rollbacks, and follow-up fixes. Question it answers: Did early speed create later debt?.</p><p>● <strong>Production</strong>. Metric: Escaped defects and incidents. Question it answers: Did automation preserve reliability?.</p><p>● <strong>Economics</strong>. Metric: Total cost per accepted PR. Question it answers: Are model, environment, and CI costs justified?.</p><p>● <strong>Learning</strong>. Metric: Recurrence of the same mistakes. Question it answers: Are instructions and tools improving?.</p><p>Compare similar task types, keep a small control group, and measure the complete cycle. A task produced in ten minutes that needs an hour of review was not necessarily faster.</p><h3>A 30-day adoption plan</h3><h3>Week 1: prepare the environment</h3><p>Choose one or two repositories. Document setup and validation commands, fix flaky tests, and define the access policy. Select small, reversible, low-risk tasks.</p><h3>Week 2: run a supervised pilot</h3><p>Complete ten to twenty tasks with one agent at a time. Require a plan before code, use a pull request for every change, and record the human time involved. Keep the existing approval process in place.</p><h3>Week 3: add specialization and independent review</h3><p>Create versioned repository instructions. Separate agent profiles for implementation, tests, documentation, and review. Try a generator and verifier pattern, but keep final approval with a person.</p><h3>Week 4: measure and decide</h3><p>Compare lead time, review effort, acceptance rate, CI failures, rework, and cost. Find the categories where the team achieved a real benefit. Increase autonomy only in those areas. Stop or redesign the rest.</p><p>After the pilot, the next step should not be “enable it for every ticket.” Turn what you learned into infrastructure: better tests, stronger hooks, clearer instructions, faster environments, and better security policies.</p><h3>Which tool should you choose?</h3><p>There is no universal winner. There is only fit with the way your team works.</p><p>● <strong>For backlog automation, deep integrations, and multi-repository projects:</strong> Devin is one of the most complete products designed explicitly for teams.</p><p>● <strong>For combining terminal, IDE, cloud, parallel tasks, and automations:</strong> Codex provides a broad surface for both individual and team workflows.</p><p>● <strong>For staying entirely inside GitHub:</strong> Copilot cloud agent reduces process friction and keeps native traceability.</p><p>● <strong>For combining interactive editing with asynchronous agents:</strong> Cursor offers one of the smoothest handoffs.</p><p>● <strong>For highly customized agents and workflows:</strong> Claude Code and the Agent SDK provide powerful building blocks.</p><p>● <strong>For orchestrating larger initiatives with plans and milestones:</strong> Factory Missions makes coordination an explicit part of the product.</p><p>● <strong>For a simple experiment with asynchronous delegation:</strong> Jules provides an approachable entry point for GitHub repositories.</p><p>● <strong>For control over infrastructure, models, and data:</strong> OpenHands is the most flexible open alternative in this comparison.</p><p>● <strong>For quickly turning a greenfield idea into a published application:</strong> Replit Agent provides a strong end-to-end experience.</p><p>The best evaluation uses real tasks from your backlog, in your repositories, under your standards. Demos and benchmarks can help form a hypothesis. Only your actual workflow reveals the cost of context, review, security, and operations.</p><h3>The future team is not “developer-free.” It is organized around decisions</h3><p>Code is becoming cheaper to produce. Software is not becoming cheaper to understand, operate, or take responsibility for.</p><p>As agents take on implementation, testing, and maintenance, human value moves toward framing problems, choosing tradeoffs, modeling domains, designing verifiable systems, and deciding what deserves to reach users. The ability to read code remains important, perhaps even more important than before. Reviewing a change created in minutes requires someone who can quickly spot inconsistencies that once became visible during hours of manual implementation.</p><p>The biggest mistake would be to treat agents as an unlimited supply of inexpensive junior developers. The second biggest would be to ignore them because they still fail. A mature approach sits between those positions. Delegate suitable tasks, demand evidence, limit authority, measure the complete delivery cycle, and turn every recurring mistake into an improvement to the system.</p><p>Vibe coding opened the door by showing that a conversation can turn intent into software. Agents such as Devin are pushing that door into the organization. The next competitive advantage will not belong to the company that generates the most code.</p><p>It will belong to the team that builds the best system for combining <strong>human intent, agent execution, and reliable verification</strong>.</p><h3>Sources and further reading</h3><p>● <a href="https://x.com/karpathy/status/1886192184808149383">Andrej Karpathy’s original post about vibe coding</a></p><p>● <a href="https://devin.ai/">Devin overview and use cases</a></p><p>● <a href="https://cognition.com/blog/multi-agents-working">Cognition: Multi-Agents, What’s Actually Working</a></p><p>● <a href="https://openai.com/codex/">OpenAI Codex</a></p><p>● <a href="https://docs.github.com/en/copilot/concepts/agents/cloud-agent/about-cloud-agent">GitHub Copilot cloud agent</a></p><p>● <a href="https://cursor.com/docs/cloud-agent">Cursor Cloud Agents</a></p><p>● <a href="https://code.claude.com/docs/en/agent-sdk/overview">Claude Agent SDK</a></p><p>● <a href="https://docs.factory.ai/missions/overview">Factory Missions</a></p><p>● <a href="https://jules.google/docs/">Google Jules</a></p><p>● <a href="https://docs.openhands.dev/overview/introduction">OpenHands</a></p><p>● <a href="https://docs.replit.com/features/agent/overview">Replit Agent</a></p><p>● <a href="https://metr.org/blog/2026-02-24-uplift-update/">METR productivity study update</a></p><p>● <a href="https://dora.dev/research/2025/dora-report/">DORA State of AI-assisted Software Development</a></p><p>● <a href="https://arxiv.org/html/2512.18470v5">SWE-EVO evaluation of long-horizon software evolution</a></p><p>● <a href="https://genai.owasp.org/">OWASP GenAI Security Project</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46ea94c1f685" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter State Management: Using Consumer and Selector Correctly for Performance and Controlled…]]></title>
            <link>https://rodrigonepomuceno.medium.com/flutter-state-management-using-consumer-and-selector-correctly-for-performance-and-controlled-0660934f6c25?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/0660934f6c25</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[dart]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Sat, 24 Jan 2026 20:01:47 GMT</pubDate>
            <atom:updated>2026-01-24T20:01:47.399Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oL9Daf-gLzIFoFjD8vlWGQ.png" /><figcaption>er</figcaption></figure><h3>Flutter State Management: Using Consumer and Selector Correctly for Performance and Controlled Rebuilds</h3><p>One of the most common issues in medium- and large-scale Flutter applications is not the choice of state management solution, but <strong>how state is consumed by the UI</strong>.</p><p>Even when using Provider (or libraries built on top of it), it is easy to introduce performance problems that lead to:</p><ul><li>unnecessary widget rebuilds</li><li>degraded scrolling performance in large lists</li><li>complex widget trees rebuilding without reason</li><li>difficulty scaling screens as features grow</li></ul><p>In this article, we will take a <strong>technical and practical look</strong> at <strong>Consumer</strong> and <strong>Selector</strong>, explaining <strong>how they work</strong>, <strong>when to use each</strong>, and <strong>why they are essential</strong> for building performant Flutter applications.</p><p>At the end, I reference a <strong>GitHub repository with real, working examples</strong> that demonstrate these concepts in practice.</p><h3>The core problem: rebuild scopes that are too broad</h3><p>In Flutter, rebuilding widgets is not inherently a problem — it is part of the reactive model.<br> The issue arises when <strong>the rebuild scope is larger than necessary</strong>.</p><p>Typical symptoms include:</p><ul><li>An entire screen rebuilding when only a single icon changed</li><li>A large list rebuilding when only one item was updated</li><li>Expensive widgets (complex layouts, images) rebuilding repeatedly</li></ul><p>This usually happens when developers place:</p><pre>context.watch&lt;MyStore&gt;(</pre><p>or:</p><pre>Provider.of&lt;MyStore&gt;(context)</pre><p>too high in the widget tree.</p><p>Flutter then does exactly what it is told to do: <strong>everything that depends on that provider rebuilds</strong>.</p><p>The solution is not to stop listening to state, but to <strong>listen precisely and locally</strong>.</p><p>This is where <strong>Consumer</strong> and <strong>Selector</strong> become critical tools.</p><h3>Consumer: explicit rebuild scope and safe access to state</h3><h3>What is Consumer?</h3><p>Consumer&lt;T&gt; is a widget that:</p><ul><li>listens to a Provider&lt;T&gt;</li><li>rebuilds <strong>only the widget subtree inside its builder</strong></li><li>allows precise control over rebuild boundaries</li></ul><p>Basic structure:</p><pre>Consumer&lt;T&gt;(<br>  builder: (context, value, child) {<br>    return Widget();<br>  },<br>)</pre><h3>Why does Consumer exist?</h3><p>Consumer solves two important problems:</p><ol><li><strong>Rebuild isolation</strong><br> Only the widgets inside the builder are rebuilt when state changes.</li><li><strong>Separation of dependent and independent widgets</strong><br> The child parameter allows you to keep expensive widgets from rebuilding.</li></ol><h3>Technical example: isolating rebuilds with child</h3><pre>Consumer&lt;MyStore&gt;(<br>  builder: (context, store, child) {<br>    return Column(<br>      children: [<br>        Text(store.title),<br>        child!, // this does NOT rebuild<br>      ],<br>    );<br>  },<br>  child: const ExpensiveWidget(),<br>);</pre><p>In this example:</p><ul><li>Text(store.title) rebuilds when the state changes</li><li>ExpensiveWidget remains untouched</li></ul><p>This pattern is essential for performance in complex screens.</p><h3>Consumer vs context.read</h3><p>A common misconception is that Consumer and context.read solve the same problem.</p><p>They do not.</p><p>context.read&lt;T&gt;()</p><ul><li>retrieves the provider once</li><li>does not listen to updates</li><li>ideal for callbacks and event dispatching</li></ul><p>Consumer&lt;T&gt;</p><ul><li>listens for updates</li><li>rebuilds only a specific subtree</li><li>ensures the widget stays synchronized with state</li></ul><p>Consumer is declarative and safer when the widget must react to state changes at a specific point in the widget tree.</p><h3>Selector: listening to only what truly matters</h3><h3>What is Selector?</h3><p>Selector&lt;T, R&gt; is an advanced version of Consumer.</p><p>It allows you to:</p><ul><li>listen to a Provider&lt;T&gt;</li><li>derive a value R from it</li><li>rebuild the widget <strong>only when </strong><strong>R changes</strong></li></ul><p>Signature:</p><pre>Selector&lt;T, R&gt;(<br>  selector: (context, store) =&gt; store.someValue,<br>  builder: (context, value, child) {<br>    return Widget();<br>  },<br>)</pre><p>The key concept:<br> 👉 <strong>rebuilds depend on the selected value, not the entire store</strong>.</p><h3>Why Selector is critical for performance</h3><p>Consider a store with multiple fields:</p><pre>class AppState {<br>  final List&lt;Item&gt; items;<br>  final bool isLoading;<br>  final String userName;<br>}</pre><p>If you listen to AppState directly, <em>any</em> change triggers a rebuild.</p><p>With Selector:</p><pre>Selector&lt;AppState, bool&gt;(<br>  selector: (_, state) =&gt; state.isLoading,<br>  builder: (_, isLoading, __) {<br>    return isLoading ? Loader() : Container();<br>  },<br>)</pre><p>Now:</p><ul><li>changes to items or userName do <strong>not</strong> cause rebuilds</li><li>only isLoading affects this widget</li></ul><p>This is <strong>fine-grained state dependency control</strong>.</p><h3>Selector in large lists (most impactful use case)</h3><p>The most important use of Selector is in <strong>large lists</strong>.</p><p>Each list item can listen only to the piece of state that concerns it.</p><p>Conceptual example:</p><pre>Selector&lt;FavoritesStore, bool&gt;(<br>  selector: (_, store) =&gt; store.isFavorite(itemId),<br>  builder: (_, isFavorite, __) {<br>    return Icon(<br>      isFavorite ? Icons.favorite : Icons.favorite_border,<br>    );<br>  },<br>)</pre><p>Result:</p><ul><li>toggling a favorite rebuilds <strong>only that item</strong></li><li>the rest of the list remains untouched</li></ul><p>Without Selector, performance degrades as the list grows.</p><h3>Consumer vs Selector: choosing the right tool</h3><h3>Use Consumer when:</h3><ul><li>you need access to the <strong>entire provider instance</strong></li><li>you want to control rebuild boundaries</li><li>you need to trigger events or action</li><li>you want to freeze parts of the UI using child</li></ul><h3>Use Selector when:</h3><ul><li>the widget depends on <strong>a small part of the state</strong></li><li>you want to <strong>minimize rebuilds</strong></li><li>you are working with lists or repeated UI</li><li>the required value can be derived</li></ul><p>In large applications, Selector often delivers the biggest performance gains.</p><h3>Common anti-patterns</h3><p>Frequent mistakes include:</p><ul><li>Listening to providers at the top of the widget tree</li><li>Watching the entire store when only one field is needed</li><li>Ignoring the child parameter in Consumer</li><li>Rebuilding lists due to single-item updates</li><li>Treating rebuilds as “unavoidable”</li></ul><p>Most of these issues are solved with proper use of <strong>Consumer and Selector</strong>.</p><h3>Practical reference implementation</h3><p>There is a <strong>real, working example</strong> that demonstrates correct usage of Consumer and Selector, focusing on:</p><ul><li>avoiding unnecessary rebuilds</li><li>improving list performance</li><li>correct usage in callbacks (e.g., pull-to-refresh)</li><li>clean separation of UI responsibilities</li></ul><p>🔗 <strong>GitHub repository (reference example):</strong><br> <a href="https://github.com/rodrigonepomuceno/exemple_get_api_dog?utm_source=chatgpt.com">https://github.com/rodrigonepomuceno/exemple_get_api_dog</a></p><p>This repository serves as <strong>practical companion material</strong> to the concepts discussed here.</p><h3>Conclusion</h3><p>Consumer and Selector are not syntactic conveniences — they are <strong>architectural tools</strong>.</p><p>They give you control over:</p><ul><li>what listens to state</li><li>when rebuilds happen</li><li>how much of the UI is rebuilt</li></ul><p>Mastering these widgets is essential for:</p><ul><li>scalable Flutter applications</li><li>high-performance lists</li><li>predictable UI behavior</li><li>long-term maintainability</li></ul><p>If rebuilds feel “automatic” and outside your control, you are likely leaving performance on the table.</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/flutter-state-management-using-consumer-selector-rodrigo-nepomuceno-u3zrf/"><em>http://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0660934f6c25" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Plugin: Native Communication with Android (Kotlin) and iOS (Swift) using MethodChannel and…]]></title>
            <link>https://rodrigonepomuceno.medium.com/flutter-plugin-native-communication-with-android-kotlin-and-ios-swift-using-methodchannel-and-c2a2057d2838?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2a2057d2838</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Sat, 24 Jan 2026 19:34:16 GMT</pubDate>
            <atom:updated>2026-01-24T19:34:16.286Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qp7WsuXPCjeabfQyyukiWA.png" /></figure><h3>Flutter Plugin: Native Communication with Android (Kotlin) and iOS (Swift) using MethodChannel and EventChannel</h3><p>ne of Flutter’s greatest strengths is the ability to build cross-platform applications with a single codebase. However, in <strong>real-world production scenarios</strong>, it is very common to face requirements that demand <strong>direct access to native code</strong>: platform-specific SDKs, system APIs, performance optimizations, cryptography, or continuous system events.</p><p>In these cases, the correct approach is not workarounds, but building a <strong>Flutter Plugin</strong> using <strong>Platform Channels</strong>.</p><p>In this article, I present a <strong>complete and functional example</strong> of communication between <strong>Flutter ↔ Android (Kotlin) ↔ iOS (Swift)</strong> using <strong>MethodChannel</strong> and <strong>EventChannel</strong>, with production-ready structure and real use cases.</p><p>🔗 <strong>GitHub Repository (full working example):</strong><br> <a href="https://github.com/rodrigonepomuceno/exemple_flutter_native_communication?utm_source=chatgpt.com">https://github.com/rodrigonepomuceno/exemple_flutter_native_communication</a></p><h3>Architecture overview</h3><p>The plugin follows Flutter’s officially recommended plugin architecture:</p><ul><li><strong>Dart (Flutter)</strong><br> Public API, typed and easy to consume</li><li><strong>Android (Kotlin)</strong><br> Native implementation using FlutterPlugin</li><li><strong>iOS (Swift)</strong><br> Equivalent native implementation using FlutterPlugin</li></ul><p>Communication is handled through two distinct channels:</p><ul><li><strong>MethodChannel</strong> → request/response calls</li><li><strong>EventChannel</strong> → continuous native events (streams)</li></ul><p>This separation keeps responsibilities clear and the architecture clean.</p><h3>Dart Plugin API (Flutter side)</h3><p>The Dart layer is responsible for <strong>fully abstracting the native code</strong>, exposing only a clean and stable API to Flutter developers.</p><h3>Channel definitions</h3><pre>static const MethodChannel _methodChannel =<br>    MethodChannel(&#39;native_communication/methods&#39;);<br><br>static const EventChannel _eventChannel =<br>    EventChannel(&#39;native_communication/events&#39;);</pre><h3>Calling native code with MethodChannel</h3><pre>Future&lt;String&gt; uppercase(String text) async {<br>  final result = await _methodChannel.invokeMethod&lt;String&gt;(<br>    &#39;uppercase&#39;,<br>    {&#39;text&#39;: text},<br>  );<br>  return result ?? &#39;&#39;;<br>}</pre><h3>Other methods follow the same pattern:</h3><pre>Future&lt;int&gt; square(int value) async {<br>  return await _methodChannel.invokeMethod&lt;int&gt;(<br>        &#39;square&#39;,<br>        {&#39;value&#39;: value},<br>      ) ??<br>      0;<br>}</pre><h3>Receiving native events with EventChannel</h3><pre>Stream&lt;String&gt; get nativeMessages {<br>  return _eventChannel<br>      .receiveBroadcastStream()<br>      .map((event) =&gt; event.toString());<br>}</pre><p>From Flutter’s perspective, this behaves like any other Stream, making it easy to use with StreamBuilder.</p><h3>Android (Kotlin): MethodChannel implementation</h3><p>On Android, the plugin implements FlutterPlugin and MethodCallHandler.</p><h3>Registering the MethodChannel</h3><pre>override fun onAttachedToEngine(binding: FlutterPlugin.FlutterPluginBinding) {<br>    methodChannel = MethodChannel(<br>        binding.binaryMessenger,<br>        &quot;native_communication/methods&quot;<br>    )<br>    methodChannel.setMethodCallHandler(this)<br>}</pre><h3>Handling calls from Flutter</h3><pre>override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) {<br>    when (call.method) {<br>        &quot;uppercase&quot; -&gt; {<br>            val text = call.argument&lt;String&gt;(&quot;text&quot;) ?: &quot;&quot;<br>            result.success(text.uppercase())<br>        }<br>        &quot;square&quot; -&gt; {<br>            val value = call.argument&lt;Int&gt;(&quot;value&quot;) ?: 0<br>            result.success(value * value)<br>        }<br>        &quot;factorial&quot; -&gt; {<br>            val n = call.argument&lt;Int&gt;(&quot;n&quot;) ?: 0<br>            result.success(factorial(n))<br>        }<br>        else -&gt; result.notImplemented()<br>    }<br>}</pre><h3>Example of native logic (Kotlin)</h3><pre>private fun factorial(n: Int): Long {<br>    require(n &gt;= 0) { &quot;Invalid number&quot; }<br>    var result = 1L<br>    for (i in 2..n) {<br>        result *= i<br>    }<br>    return result<br>}</pre><p>This pattern ensures:</p><ul><li>Argument validation</li><li>Explicit error handling</li><li>A clear contract between Flutter and native code</li></ul><h3>Android (Kotlin): EventChannel (native stream)</h3><h3>StreamHandler implementation</h3><pre>override fun onListen(arguments: Any?, events: EventChannel.EventSink) {<br>    timer = Timer()<br>    timer?.scheduleAtFixedRate(object : TimerTask() {<br>        override fun run() {<br>            events.success(&quot;Android message: ${System.currentTimeMillis()}&quot;)<br>        }<br>    }, 0, 3000)<br>}</pre><h3>Proper cleanup</h3><pre>override fun onCancel(arguments: Any?) {<br>    timer?.cancel()<br>    timer = null<br>}</pre><p>Correct cleanup is essential to avoid <strong>memory leaks</strong> and orphan listeners.</p><h3>iOS (Swift): MethodChannel implementation</h3><h3>Channel registration</h3><pre>let channel = FlutterMethodChannel(<br>    name: &quot;native_communication/methods&quot;,<br>    binaryMessenger: registrar.messenger()<br>)<br>registrar.addMethodCallDelegate(instance, channel: channel)</pre><h3>Handling method calls</h3><pre>public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {<br>    switch call.method {<br>    case &quot;uppercase&quot;:<br>        let args = call.arguments as? [String: Any]<br>        let text = args?[&quot;text&quot;] as? String ?? &quot;&quot;<br>        result(text.uppercased())<br><br>    case &quot;square&quot;:<br>        let args = call.arguments as? [String: Any]<br>        let value = args?[&quot;value&quot;] as? Int ?? 0<br>        result(value * value)<br><br>    default:<br>        result(FlutterMethodNotImplemented)<br>    }<br>}</pre><h3>iOS (Swift): EventChannel</h3><h3>StreamHandler implementation</h3><pre>public func onListen(<br>    withArguments arguments: Any?,<br>    eventSink events: @escaping FlutterEventSink<br>) -&gt; FlutterError? {</pre><pre>    timer = Timer.scheduledTimer(withTimeInterval: 3.0, repeats: true) { _ in<br>        events(&quot;iOS message: \(Date().timeIntervalSince1970)&quot;)<br>    }<br>    return nil<br>}</pre><h3>Correct cancellation</h3><pre>public func onCancel(withArguments arguments: Any?) -&gt; FlutterError? {<br>    timer?.invalidate()<br>    timer = nil<br>    return nil<br>}</pre><h3>Best practices applied in this example</h3><p>This project goes beyond a basic tutorial by applying production-grade practices:</p><ul><li>Clean and stable Dart API</li><li>Well-namespaced channels</li><li>Consistent error handling</li><li>Proper lifecycle management on Android and iOS</li><li>Stream cleanup to avoid leaks</li><li>Plugin-ready structure with example app and tests</li></ul><p>All of these are implemented and documented in the repository.</p><h3>Full GitHub repository</h3><p>All code snippets shown in this article are part of the repository below, which includes a detailed README, example app, and tests:</p><p>🔗 <strong>GitHub</strong><br> <a href="https://github.com/rodrigonepomuceno/exemple_flutter_native_communication?utm_source=chatgpt.com">https://github.com/rodrigonepomuceno/exemple_flutter_native_communication</a></p><p>Mastering native communication in Flutter is a key differentiator for developers working on <strong>complex applications</strong>, <strong>enterprise integrations</strong>, or projects that require going beyond what Flutter provides out of the box.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2a2057d2838" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Generalist or Specialist? A data-driven perspective on tech careers]]></title>
            <link>https://rodrigonepomuceno.medium.com/generalist-or-specialist-a-data-driven-perspective-on-tech-careers-73d5f16613d9?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/73d5f16613d9</guid>
            <category><![CDATA[tecnologia]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[carreira]]></category>
            <category><![CDATA[carreer]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Fri, 12 Dec 2025 14:38:15 GMT</pubDate>
            <atom:updated>2025-12-12T14:38:15.859Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*kHn0q3TQNSNWYH6u" /></figure><p>In recent years, it has become increasingly common for companies to look for fullstack developers. From a business standpoint, this makes sense: fewer people on the team, broader shared context, and-in theory-easier replacement if someone leaves the project.</p><p>So far, so good. As long as this is a conscious choice made by the developer.</p><p>The issue starts when we hear statements like:</p><blockquote><em>“There is no longer space in the market for specialists.”</em></blockquote><p>That claim does not hold up when we look at market data or industry research.</p><p>The tech market clearly has room for frontend , backend , mobile , platform , and fullstack professionals. What really changes is not demand, but the type of company, its maturity level, and the nature of the problems being solved .</p><p>Several industry articles reinforce this:</p><ul><li>Specialists tend to earn higher salaries in complex and high-demand domains such as cloud, security, and data, often earning 15–30% more than generalist peers in similar seniority levels.</li><li>Generalists, on the other hand, are usually more adaptable in small teams or early-stage companies, where speed and versatility are critical.</li></ul><p>The real problem emerges when there is a career misalignment .</p><p>When a developer is hired to work with a specific stack and, midway through the journey, is expected to take on a completely different role, friction is almost inevitable. That professional joined the company to work on stack X , not to redefine their career path into stack Y without planning or intention.</p><p>A simple analogy helps clarify this.</p><p>Imagine two excellent doctors: a cardiologist and a neurologist. Both spent years specializing and becoming references in their fields. Now imagine the clinic decides to swap their roles. The neurologist starts treating heart patients, and the cardiologist treats neurological cases.</p><p>Will consultations still happen? Yes. Will quality, accuracy, and productivity remain the same? Very unlikely.</p><p>The same dynamic often occurs in tech. Frontend specialists are pushed into backend work, backend engineers into mobile, and so on. The outcome is usually predictable: longer delivery times, lower quality, professional frustration, and reduced engagement.</p><p>So how should this be addressed?</p><p>From a practical standpoint:</p><ul><li>If you choose to be a specialist , look for companies that value specialization.</li><li>Mature organizations understand that each discipline has its own depth, tools, and complexity.</li><li>A well-positioned specialist often delivers more value, higher quality, and better predictability than a generalist operating outside their core expertise.</li></ul><p>Market research increasingly supports the idea of T-shaped professionals : individuals with deep expertise in one area and sufficient breadth to collaborate effectively across disciplines. This model combines specialization with contextual awareness and is frequently cited as a sustainable career strategy.</p><p>Another important data point: recruitment studies show that companies hiring for specialized roles tend to see better outcomes in quality, onboarding speed, and long-term retention than organizations trying to “fit” professionals into roles outside their main expertise.</p><ul><li>The tech market does not eliminate specialists ; it rewards clear value delivery.</li><li>Generalists are also extremely valuable, especially in startups and lean teams.</li><li>The key differentiator is understanding where you create the most impact and choosing companies aligned with that reality.</li><li>Open career conversations with leadership are essential. If your specialization is not valued, the issue may not be your skills-but the environment.</li></ul><p>At the end of the day, the most important factor is being professionally fulfilled , whether as a generalist, specialist, or T-shaped professional. The market is large, diverse, and full of opportunities. What matters most is knowing what you want and where to look .</p><p>#career #softwaredevelopment #specialist #generalist #fullstack</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/generalist-specialist-data-driven-perspective-tech-rodrigo-nepomuceno-5wmxf/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73d5f16613d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The “Y Career Path” in Tech: How to Grow Without Becoming a Manager by Accident]]></title>
            <link>https://rodrigonepomuceno.medium.com/the-y-career-path-in-tech-how-to-grow-without-becoming-a-manager-by-accident-4c4a81aec38e?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c4a81aec38e</guid>
            <category><![CDATA[tecnologia]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 12:10:43 GMT</pubDate>
            <atom:updated>2025-12-09T12:10:43.547Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZcEhdYUxOSa7rEtuQl8y_w.png" /></figure><p>For a long time, the implicit corporate rule was simple: if you want to grow, you must become a manager.</p><p>In the tech world, that created a well-known problem: excellent engineers and developers were “promoted” into managing people…and suddenly found themselves spending more time in meetings, spreadsheets, and performance reviews than solving technical challenges.</p><p>The Y career path emerges as the solution to this issue. It allows technology professionals to advance either through management or technical specialization, with comparable recognition, compensation, and business impact — without forcing anyone into people leadership if they do not want it.</p><p>In this article, you will learn:</p><ul><li>What the Y career path means in tech</li><li>How both tracks actually work: management vs. technical leadership</li><li>Real role examples and responsibilities</li><li>How to decide which path makes sense for you</li><li>What companies must do to implement the model properly</li></ul><h3>What is the Y career path?</h3><p>The name comes from the shape of the letter “Y”: a common base and then a split into two possible directions.</p><p>In career development, that means professionals start from the same progression (Junior → Mid-level → Senior), and once they reach a certain level of maturity, they can choose:</p><ul><li>Management track: leading teams, supporting people development, aligning with business stakeholders</li><li>Technical track: deep expertise in architecture, security, data, scalability, performance, etc., acting as a technical authority</li></ul><p>In software engineering, this model is usually called the dual career ladder: one path for managers (Tech Lead, Engineering Manager, Director…) and one for ICs (<em>Individual Contributors</em>): Senior, Staff, Principal, Distinguished Engineer.</p><p>The key message: career growth is not limited to managing people. You can keep coding and designing systems while significantly expanding your influence and compensation.</p><h3>Why this is critical in tech</h3><p>The Y career model solves two very common problems in engineering teams:</p><h3>1. Promoting the best developer into people management</h3><p>Someone stands out by technical mastery, the company does not want to “lose them,” so the next step seems obvious: make them a manager. The result is often:</p><ul><li>A brilliant engineer becomes an average manager</li><li>The team loses a strong technical reference</li><li>The individual loses joy and motivation</li></ul><h3>2. Lack of growth options for technical specialists</h3><p>Without a structured technical track, the hidden message is: “if you don’t become a manager, you will stagnate.” This leads to frustration and turnover, especially among people deeply passionate about solving complex engineering problems.</p><p>Companies that adopt the Y model seriously report benefits such as:</p><ul><li>Better talent attraction and retention</li><li>More innovation driven by experienced technical specialists</li><li>Higher productivity through role–profile alignment</li><li>Healthier culture with fewer “accidental managers”</li></ul><h3>The two tracks: Management vs. Technical</h3><p>Let’s explore the core differences inside tech organizations.</p><h3>1. Management track</h3><p>Typical roles:</p><ul><li>Tech Lead (more people-coordination than pure architecture)</li><li>Engineering Manager</li><li>Head of Engineering</li><li>Director of Engineering</li></ul><p>Main focus areas:</p><ul><li>People management: hiring, feedback, performance, coaching, conflict resolution</li><li>Business alignment: prioritization, scope negotiation, stakeholder communication</li><li>Process and delivery: metrics, ceremonies, execution visibility</li><li>Organizational leadership: cross-team alignment, reporting impact, strategic planning</li></ul><p>Even if they come from an engineering background, the core of the role evolves into communication, leadership, and business outcomes, more than coding.</p><h3>2. Technical track (IC track)</h3><p>Typical roles:</p><ul><li>Senior Software Engineer</li><li>Staff Engineer</li><li>Principal Engineer</li><li>Architect / Distinguished Engineer</li></ul><p>Their primary responsibilities include:</p><ul><li>Technical depth: designing high-scalability systems, security, architecture standards</li><li>Wide influence without direct reports: guiding multiple squads, defining engineering strategy</li><li>Handling complexity: trade-offs, risk management, technical vision</li><li>Cross-functional collaboration: supporting product, data, DevOps, security, etc.</li></ul><p>Important nuance: Becoming “more senior” technically is not simply about writing more code — it is about organizational impact and multiplying others.</p><h3>Example model of a Y career for software engineers</h3><p>Common early steps:</p><ul><li>Level 1: Junior Engineer</li><li>Level 2: Mid-level Engineer</li><li>Level 3: Senior Engineer</li></ul><p>Then the split:</p><ul><li>Management</li><li>Technical</li></ul><p>Although responsibilities differ, recognition and compensation must be comparable across equivalent levels on each side of the “Y”. A Staff Engineer’s scope and pay should match an Engineering Manager’s.</p><h3>Real-world scenarios</h3><h3>Scenario 1: A forced move into management</h3><p>Carla is a Senior Backend Engineer known for performance and integrations. She is promoted to Engineering Manager.</p><p>Before: 70% architecture, solving tech challenges, mentoring devs</p><p>After: 70% meetings, feedback sessions, conflict handling</p><p>Carla misses solving engineering problems and feels she’s losing technical mastery. In a company with a true Y-path, she could grow as Staff Engineer — more influence, still solving technical problems.</p><h3>Scenario 2: A natural leader who thrives in management</h3><p>John starts as a frontend engineer but always takes initiative in team coordination, ceremonies, communicating decisions.</p><p>As he becomes Tech Lead and later Engineering Manager, he feels fulfilled:</p><ul><li>Helping people grow</li><li>Ensuring teams work towards meaningful goals</li><li>Thinking strategically instead of writing all the code</li></ul><p>For John, the management track is the right path — and the Y model allows him to grow there.</p><h3>How to decide: technical or management?</h3><p>There is no “better” path — only alignment with what energizes you long-term.</p><h3>Signals that you may fit the technical track</h3><ul><li>You love complex engineering challenges</li><li>You continuously study tech trends and foundations</li><li>You enjoy mentoring technically, but not necessarily managing performance and conflict</li><li>You prefer shaping system design rather than organization design</li></ul><h3>Signals that you may fit the management track</h3><ul><li>You care deeply about people development</li><li>You are comfortable with frequent meetings and interpersonal dynamics</li><li>You enjoy product and business discussions</li><li>You feel satisfaction seeing others deliver impactful results</li></ul><p>Switching tracks later is possible, but the further up the “Y,” the harder it becomes.</p><h3>What companies must do for the Y career path to work</h3><p>It is not enough to draw a slide with a “Y” and some titles. To make it real:</p><h3>1. Define clear responsibilities and evaluation criteria</h3><ul><li>Document expectations by level</li><li>Clarify what kind of problems each level solves, autonomy, and business impact</li></ul><h3>2. Align compensation and organizational influence</h3><p>If managers make significantly more and are more visible, the message remains: “the real career is management.” The Y model only works when both tracks are equally valued.</p><h3>3. Enable leaders and HR to guide career choices</h3><p>They must:</p><ul><li>Understand the differences between tracks</li><li>Avoid pushing strong ICs into management</li><li>Support conscious career transitions</li></ul><h3>4. Avoid the “inflated title” trap</h3><p>Do not create high-level titles with low-level responsibilities. Credibility matters — a Principal Engineer should have strategic impact, not do the same job as a senior dev with a fancier title.</p><h3>How to prepare yourself (regardless of the track)</h3><h3>If you lean toward the technical track:</h3><ul><li>Master system design, distributed systems, performance, security</li><li>Improve communication skills — senior ICs influence through clarity</li><li>Lead high-impact initiatives</li><li>Mentor junior engineers regularly</li></ul><h3>If you lean toward the management track:</h3><ul><li>Study leadership, feedback, conflict resolution, facilitation</li><li>Observe great managers and learn from them</li><li>Start small: lead projects, propose improvements</li><li>Understand the business deeply, beyond the engineering context</li></ul><h3>Final thought: the “Y” as a conscious decision</h3><p>The Y career path corrects the historical mistake of seeing leadership <em>only</em> as managing people. In tech, where deep expertise creates massive value, this distinction is essential.</p><p>Ask yourself:</p><ul><li>Where are you currently positioned on the “Y”?</li><li>Does your current role look more technical or managerial?</li><li>Are you being rewarded for the type of work you want to do long-term?</li></ul><p>And if you have influence over organizational structures: What talent is your company losing by not supporting true dual-track growth?</p><h3>References &amp; Recommended Reading</h3><ul><li>Gupy — “Y-shaped career path: what it is, advantages, and more about this model”</li><li>Exame — “Y-shaped career: what it is and how it works in practice”</li><li>Great Place to Work — “Y-shaped career: what it is and what are the benefits?”</li><li>Intentional Technology — focused on tech industry examples</li><li>RH Tech (Geekhunter) — “Is the Y-shaped career the best option for you?”</li><li>Malt Engineering — IC vs. Manager engineering ladders insight</li><li>Additional articles about Staff Engineer vs. Engineering Manager career paths</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c4a81aec38e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Be an Effective Tech Leader: Foundations, Practices, and Mindset]]></title>
            <link>https://rodrigonepomuceno.medium.com/how-to-be-an-effective-tech-leader-foundations-practices-and-mindset-0e7a8aac004a?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e7a8aac004a</guid>
            <category><![CDATA[leadership-development]]></category>
            <category><![CDATA[tecnology]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 11:54:51 GMT</pubDate>
            <atom:updated>2025-12-09T11:54:51.861Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*30Yu71N-VePMqp9l" /></figure><p>The role of the Tech Leader has become increasingly relevant as companies strive to build products that are scalable, resilient, and business-oriented. But what truly separates a highly skilled engineer from a technical leader capable of guiding teams toward high performance?</p><p>Contrary to popular belief, being a Tech Lead is not just about mastering technology. It is about influence , strategic clarity , and ownership of outcomes — not only outputs.</p><p>In this article, I bring together validated principles from renowned experts, books, and thought leaders in the industry to help anyone who wants to excel in this role.</p><p>Leadership starts with vision and purpose</p><p>Simon Sinek, in his book Start With Why , emphasizes that great leaders inspire their teams when they make the why behind their work visible — not only the what or how .</p><p>Applied to technical leadership, this means:</p><p>Technical expertise remains essential — but its function evolves</p><p>Core responsibilities include:</p><ul><li>Making architectural decisions based on well-understood trade-offs</li><li>Identifying risks early</li><li>Enforcing standards, testing, and code quality</li><li>Removing obstacles and improving delivery flow</li></ul><p>True seniority is built on behaviors, not just skills</p><p>Technical leadership involves influencing others — often without formal authority. That is why behavioral skills can become more crucial than coding skills.</p><ul><li>Create room for diverse perspectives</li><li>Turn conflicts into alignment opportunities</li><li>Give respectful, direct, and actionable feedback (see Radical Candor , by Kim Scott)</li></ul><p>Delegation is not abandoning — it is empowering</p><p>One of the most common traps is acting as the “hero engineer” — fixing everything, owning everything, controlling everything. But, as Jurgen Appelo states in Management 3.0 , modern leadership is about distributing authority and enabling autonomy .</p><p>Effective delegation requires:</p><p>Sound technical decisions demand pragmatism</p><p>Following Martin Fowler’s principles, architectural decisions should be guided by:</p><p>A mature Tech Lead avoids:</p><p>Psychological safety: the foundation of innovation</p><ul><li>Encourage questions</li><li>Treat failures as learning opportunities</li><li>Promote transparency behind decisions</li><li>Remove hostile or sarcastic tone from code reviews</li></ul><p>Toxic environments kill creativity. Safe environments build better products.</p><p>Communication is part of the job (not optional)</p><p>Tech Leads are complexity translators:</p><p>Good communication practices:</p><ul><li>Set clear expectations</li><li>Document decisions — ADRs are an excellent tool</li><li>Surface risks early</li><li>Align timelines realistically</li></ul><p>Investing in people is the ultimate performance accelerator</p><p>Highly recommended references:</p><ul><li>Multipliers (Liz Wiseman) — leaders who grow other leaders</li><li>High Output Management (Andy Grove) — productivity and systems thinking</li><li>Mentoring, coaching, and pair programming as routine practices</li></ul><p>A question every Tech Lead should ask: “If I leave today, will the team continue to grow?”</p><p>If the answer is “no”, there is work to do.</p><p>Signs of successful technical leadership</p><p>You know you are on the right track when:</p><ul><li>The team delivers business value sustainably</li><li>Quality is visible in the product</li><li>Knowledge is shared, not centralized</li><li>Engagement and morale are high</li><li>Operational “fires” decline</li><li>Stakeholders trust decisions</li></ul><p><em>Originally published at </em><a href="https://www.linkedin.com/in/rodrigonepomuceno/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e7a8aac004a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Modularizing Flutter: Abstracting Packages like Dio (and How to Switch to HTTP Effortlessly)]]></title>
            <link>https://rodrigonepomuceno.medium.com/modularizing-flutter-abstracting-packages-like-dio-and-how-to-switch-to-http-effortlessly-af9ee7a0c084?source=rss-6a4c19411291------2</link>
            <guid isPermaLink="false">https://medium.com/p/af9ee7a0c084</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Rodrigo Nepomuceno]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 12:12:36 GMT</pubDate>
            <atom:updated>2025-06-27T12:12:36.356Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ISHxZXSeAfIcWySC" /></figure><p>A professional approach to keep your code clean, testable, and prepared for change — using abstraction and dependency injection.</p><h4>💡 Why abstract packages in Flutter?</h4><p>In any Flutter project, you’ll likely need an HTTP client — and packages like Dio often become the go-to solution due to their rich feature set: interceptors, request cancellation, custom adapters, etc.</p><p>But what happens when:</p><ul><li>You need to reduce your app size?</li><li>Dio introduces a breaking change?</li><li>Your team decides to migrate to the native http package?</li></ul><p>If your code is tightly coupled to Dio, this change will require touching almost every part of your app — repositories, services, even view models.</p><p>That’s <strong>expensive, error-prone, and unnecessary</strong>.</p><h4>✨ The Solution: Abstraction + Dependency Injection</h4><p>By applying a combination of <strong>abstraction</strong> and <strong>dependency injection</strong>, you gain full control over the implementation of external libraries — and can <strong>swap them out without affecting business logic</strong>.</p><h4>🔧 Step 1: Define an Abstract HTTP Client Interface</h4><pre>abstract class IHttpClient {<br>  Future&lt;Response&gt; get(String path, {Map&lt;String, dynamic&gt;? queryParameters});<br>  Future&lt;Response&gt; post(String path, {dynamic data});<br>  Future&lt;Response&gt; put(String path, {dynamic data});<br>  Future&lt;Response&gt; delete(String path);<br>}</pre><h4>🚀 Step 2: Implement the Interface Using Dio</h4><pre>import &#39;package:dio/dio.dart&#39;;<br><br>class DioHttpClient implements IHttpClient {<br>  final Dio _dio;<br><br>  DioHttpClient([Dio? dio]) : _dio = dio ?? Dio();<br><br>  @override<br>  Future&lt;Response&gt; get(String path, {Map&lt;String, dynamic&gt;? queryParameters}) {<br>    return _dio.get(path, queryParameters: queryParameters);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; post(String path, {dynamic data}) {<br>    return _dio.post(path, data: data);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; put(String path, {dynamic data}) {<br>    return _dio.put(path, data: data);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; delete(String path) {<br>    return _dio.delete(path);<br>  }<br>}</pre><h4>🧪 Step 3: Use the Abstraction in Your Repository</h4><pre>class UserRepository {<br>  final IHttpClient httpClient;<br><br>  UserRepository(this.httpClient);<br><br>  Future&lt;List&lt;User&gt;&gt; fetchUsers() async {<br>    final response = await httpClient.get(&#39;/users&#39;);<br>    final data = response.data as List;<br>    return data.map((json) =&gt; User.fromJson(json)).toList();<br>  }<br>}</pre><blockquote><em>✅ Your repository has no idea whether Dio or another package is behind the scenes. All it cares about is the interface.</em></blockquote><h4>🔁 Step 4: Swap Dio for the http Package</h4><p>Let’s say your team now wants to replace Dio with the http package to reduce app size or avoid unnecessary complexity.</p><p>Here’s how you can implement the same interface using http:</p><pre>import &#39;package:http/http.dart&#39; as http;<br>import &#39;dart:convert&#39;;<br><br>class HttpClient implements IHttpClient {<br>  final http.Client _client;<br><br>  HttpClient([http.Client? client]) : _client = client ?? http.Client();<br><br>  @override<br>  Future&lt;Response&gt; get(String path, {Map&lt;String, dynamic&gt;? queryParameters}) async {<br>    final uri = Uri.parse(path).replace(queryParameters: queryParameters);<br>    final res = await _client.get(uri);<br>    return _toDioLikeResponse(res);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; post(String path, {dynamic data}) async {<br>    final res = await _client.post(Uri.parse(path), body: jsonEncode(data));<br>    return _toDioLikeResponse(res);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; put(String path, {dynamic data}) async {<br>    final res = await _client.put(Uri.parse(path), body: jsonEncode(data));<br>    return _toDioLikeResponse(res);<br>  }<br><br>  @override<br>  Future&lt;Response&gt; delete(String path) async {<br>    final res = await _client.delete(Uri.parse(path));<br>    return _toDioLikeResponse(res);<br>  }<br><br>  Response _toDioLikeResponse(http.Response res) {<br>    return Response(<br>      data: jsonDecode(res.body),<br>      statusCode: res.statusCode,<br>      requestOptions: RequestOptions(path: res.request?.url.toString() ?? &#39;&#39;),<br>    );<br>  }<br>}</pre><p>This wrapper adapts http.Response to behave like a Dio.Response so the rest of the app can continue working without change.</p><h4>🧩 Where does the actual swap happen? ➜ Dependency Injection</h4><p>This is the <strong>only place</strong> you’ll need to touch when switching implementations:</p><p>With get_it:</p><pre>final getIt = GetIt.instance;<br><br>void setup() {<br>  // Using Dio<br>  getIt.registerLazySingleton&lt;IHttpClient&gt;(() =&gt; DioHttpClient());<br><br>  // To use http instead, just replace:<br>  // getIt.registerLazySingleton&lt;IHttpClient&gt;(() =&gt; HttpClient());<br><br>  getIt.registerFactory(() =&gt; UserRepository(getIt&lt;IHttpClient&gt;()));<br>}</pre><p>With Provider:</p><pre>final httpClientProvider = Provider&lt;IHttpClient&gt;((ref) {<br>  return DioHttpClient(); // Or: HttpClient();<br>});<br><br>final userRepositoryProvider = Provider&lt;UserRepository&gt;((ref) {<br>  return UserRepository(ref.read(httpClientProvider));<br>});</pre><h4>✅ What changes in the app code? Nothing.</h4><p>Once the injection is set, you can fetch data like this — no matter what client is being used:</p><pre>final users = await ref.read(userRepositoryProvider).fetchUsers();</pre><blockquote><em>The real power lies in </em><strong><em>controlling the implementation from a single point</em></strong><em> without touching any business logic or UI code.</em></blockquote><h4>🧼 Conclusion</h4><p>Abstracting packages and managing them via dependency injection will make your Flutter codebase:</p><ul><li>✅ Decoupled from external libraries</li><li>🔁 Easily swappable between implementations</li><li>🧪 Fully testable with mocks or fakes</li><li>🛠️ Clean, reusable, and scalable</li></ul><p>Next time you import a package directly into your logic, ask yourself:</p><blockquote>“What if I need to replace this next week?”</blockquote><p>If your answer is:<br> <strong>“No problem. I’ll just swap the injected implementation.”</strong><br> Then your architecture is on the right track.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af9ee7a0c084" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>