<?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 wang.chauyan on Medium]]></title>
        <description><![CDATA[Stories by wang.chauyan on Medium]]></description>
        <link>https://medium.com/@chauyan?source=rss-5b9b597868ae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9V0FVqtoYdeIpNf8ZXbxMQ.png</url>
            <title>Stories by wang.chauyan on Medium</title>
            <link>https://medium.com/@chauyan?source=rss-5b9b597868ae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:53:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chauyan/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[Our System Was Working. Naturally, We Had to Fix That.]]></title>
            <link>https://medium.com/@chauyan/our-system-was-working-naturally-we-had-to-fix-that-7c2de5c3ab4c?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c2de5c3ab4c</guid>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 23:08:33 GMT</pubDate>
            <atom:updated>2026-10-12T23:08:33.538Z</atom:updated>
            <content:encoded><![CDATA[<p>For eight years, a software company’s system had committed the unforgivable offense of working.</p><p>No major outages. Average database response times below fifty milliseconds. Annual availability above 99.99 percent.</p><p>Users were happy. Customer support had gone so long without a technical complaint that people were beginning to suspect it was a legitimate career.</p><p>Then the company hired a new Chief Technology Officer.</p><p>He called a meeting.</p><p>“I’ve reviewed our architecture,” he announced, “and discovered a very serious problem.”</p><p>The senior engineer sat up.</p><p>“A database bottleneck? An undiscovered security vulnerability?”</p><p>“Worse,” said the CTO. “We’re still running a monolith.”</p><p>The room went quiet, as though he had found asbestos in the source code.</p><p>“We have six main modules,” the senior engineer said. “About twenty thousand transactions a day. CPU utilization is under fifteen percent. We have no trouble scaling.”</p><p>The CTO nodded gravely.</p><p>“Exactly.”</p><p>The engineer waited.</p><p>“Having no trouble scaling is a problem?”</p><p>“Our technical team lacks challenges,” the CTO explained. “We’re moving everything to microservices to strengthen our technological competitiveness.”</p><p>Until that moment, the engineers had mistaken delivering a reliable product for doing their jobs.</p><p>Fortunately, leadership was there to correct them.</p><p>────────</p><p>The six modules became thirty-seven independent services.</p><p>An operation that once required a single function call now passed through an API gateway, an authentication service, an order service, an inventory service, a message queue, and three separate databases.</p><p>Looking up an order used to take forty milliseconds. Now it took 1.8 seconds.</p><p>The CTO stared at the performance report.</p><p>“Why is it so slow?”</p><p>“Because work that used to happen inside one process now happens across several distributed services,” the engineer said. “We’ve added network latency, serialization, deserialization, service-to-service authentication, and extra data access.”</p><p>The CTO considered this carefully.</p><p>“So we need a service mesh.”</p><p>It was an elegant diagnosis: the patient was suffering from surgery, and the prescription was more surgery.</p><p>────────</p><p>Three months later, the service mesh went live. Average response time rose to 2.3 seconds.</p><p>The CTO called another meeting.</p><p>“Our biggest problem,” he said, “is insufficient observability.”</p><p>“We already have centralized logging, distributed tracing, and performance monitoring.”</p><p>“Not enough. I want real-time visibility into every service, every request, and every communication between services.”</p><p>The company installed an entire monitoring platform. It generated two hundred gigabytes of logs, traces, and metrics every day.</p><p>The system was still slow, but now they could watch it being slow in extraordinary detail.</p><p>────────</p><p>Six months later, Finance discovered that the cloud bill had quadrupled.</p><p>“Why are costs exploding when we haven’t added users?” the finance director asked.</p><p>“We’re building a highly scalable, cloud-native architecture.”</p><p>“Do we need to scale?”</p><p>“Not currently. But we will if our user base grows a hundredfold.”</p><p>“How much has our customer base grown in the last five years?”</p><p>“About eight percent.”</p><p>“Then why are we spending four times as much now?”</p><p>The CTO answered with the solemn dignity of a man spending someone else’s money.</p><p>“Forward-looking technology investment.”</p><p>Finance had been looking forward too. Mostly to insolvency.</p><p>────────</p><p>Three months later, on a Monday morning, the entire system went down.</p><p>One small authorization service had failed.</p><p>More than twenty other services depended on it, so the failure spread through the platform like a layoff rumor.</p><p>After six hours of investigation, the engineers traced the outage to one incorrect configuration parameter.</p><p>The senior engineer brought the report to the CTO’s office.</p><p>“We found the cause.”</p><p>“What was it?”</p><p>“A misconfigured timeout interacting with upstream retries. Requests kept retrying, creating a retry storm that exhausted connection pools across the other services.”</p><p>The CTO frowned.</p><p>“How could that happen?”</p><p>“A single transaction now crosses eleven services. Each has its own timeouts, retries, and circuit breakers.”</p><p>“I see,” said the CTO. “Our distributed systems capability isn’t mature enough.”</p><p>“What do you propose?”</p><p>“A dedicated Site Reliability Engineering team.”</p><p>The company hired five more engineers.</p><p>Their job was to keep thirty-seven services alive so that customers could continue using six features.</p><p>The architecture had finally created jobs. Mostly in disaster relief.</p><p>────────</p><p>One day, an engineer who had built the original system lost the will to remain diplomatic.</p><p>“Two engineers used to maintain the whole thing. Now we have fifteen, and we spend every day dealing with service failures, network latency, container restarts, and broken deployments. What exactly have we improved?”</p><p>“The old system was stable,” the CTO said, “but it lacked technical depth.”</p><p>“What does ‘technical depth’ mean?”</p><p>“The ability to solve complex engineering problems.”</p><p>The engineer thought for a moment.</p><p>“But these problems only exist because we introduced the new architecture.”</p><p>The CTO smiled.</p><p>“Now you understand why we need more excellent engineers.”</p><p>It was a perfect business model: manufacture the disease, then celebrate the growth of the hospital.</p><p>────────</p><p>A year later, the company held its annual technology showcase.</p><p>The CTO stood before the board, practically glowing.</p><p>“Over the past year, we’ve completed a highly successful digital transformation.”</p><p>He advanced the slide.</p><p>“We introduced Kubernetes, a service mesh, an API gateway, event-driven architecture, distributed tracing, and a complete CI/CD pipeline.”</p><p>Another slide.</p><p>“We successfully decomposed a legacy system into thirty-seven microservices, creating a highly automated, scalable platform aligned with modern technology trends.”</p><p>The chairman raised a hand.</p><p>“How much has performance improved?”</p><p>“It’s currently about fifty times slower.”</p><p>“And reliability?”</p><p>“We had seven major incidents last year. But we now have a comprehensive incident response process.”</p><p>“Maintenance costs?”</p><p>“Up fourfold. But our monitoring capabilities are much more complete.”</p><p>The chairman sat in silence.</p><p>“So the system is slower, more expensive, and more likely to fail. What, exactly, is our greatest achievement?”</p><p>The CTO smiled confidently.</p><p>“Previously, the system was so simple that engineers could usually identify a problem in minutes.”</p><p>He paused for emphasis.</p><p>“Now, a single issue can engage fifteen engineers in three days of cross-functional collaboration, culminating in a forty-page root cause analysis.”</p><p>The chairman stared at him.</p><p>“This proves,” the CTO continued, “that we’ve transformed from a traditional software company into a modern technology enterprise with a strong engineering culture.”</p><p>The old system had delivered a product.</p><p>The new system delivered organizational participation.</p><p>────────</p><p>At that moment, a commotion broke out in the hallway.</p><p>The system had crashed again.</p><p>“What is it this time?” the chairman asked.</p><p>An engineer hurried into the room.</p><p>“The Horizontal Pod Autoscaler detected high load and started adding replicas. The new containers had to download their images, which congested the internal network. That disrupted health checks for the existing services. More containers were marked unhealthy and restarted, which made the congestion worse. Now the cluster is failing.”</p><p>The chairman turned to the CTO.</p><p>“Did we ever have this problem before?”</p><p>“No.”</p><p>“Why not?”</p><p>“We didn’t have Kubernetes.”</p><p>“How did we solve it back then?”</p><p>“We didn’t need to.”</p><p>Silence.</p><p>The chairman turned to the senior engineer.</p><p>“How long would it take to restore the original architecture?”</p><p>“If we use the source code we kept from last year, verify data-format and integration compatibility, then test the restored system — about two weeks.”</p><p>“Do it.”</p><p>The CTO looked horrified.</p><p>“But that would mean an entire year of technology investment was wasted!”</p><p>“And?”</p><p>“We should at least preserve our technical achievements!”</p><p>The chairman considered this.</p><p>“Fine. Keep Kubernetes.”</p><p>Relief washed over the CTO’s face.</p><p>“One cluster,” the chairman continued. “Dedicated to running your technology presentations.”</p><p>The CTO’s smile froze.</p><p>“They’re the only thing in this company that actually needs autoscaling.”</p><p>The chairman closed his laptop.</p><p>“Every time you explain why the system got slower, the slide count grows.”</p><p>────────</p><p>The Joke Beneath the Joke</p><p>Microservices, Kubernetes, and distributed systems have real value. Large platforms, teams that need independent deployments, complex service ecosystems, and high-traffic workloads can all justify them.</p><p>The target of the joke is an engineering habit: confusing complexity with maturity, counting tools as evidence of quality, and introducing more technology to manage the problems introduced by the last round of technology.</p><p>That habit has a name: overengineering.</p><p>Distributed systems are especially good at making it expensive. A call that once happened inside a single process becomes an operation exposed to network latency, unavailable services, data consistency problems, and partial failure.</p><p>A modest business requirement can acquire the operational needs of a multinational infrastructure company without acquiring its revenue.</p><p>The deeper satire is organizational. Management measures innovation by the number of technologies adopted. Engineers inherit the long-term maintenance bill.</p><p>Eventually, the organization starts treating the difficulty of solving a problem as proof of its own value. The question quietly disappears:</p><p>Did this problem ever need to exist?</p><p>The most absurd part of the story isn’t that fifteen engineers needed three days to diagnose an outage.</p><p>It’s that the two engineers from eight years earlier may already have solved the truly difficult problems.</p><p>They solved them so thoroughly that their successors couldn’t see the work.</p><p>Their fatal career mistake was making competence look easy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c2de5c3ab4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Doesn’t Define Seniority, Engineering Judgment Does]]></title>
            <link>https://medium.com/@chauyan/ai-doesnt-define-seniority-engineering-judgment-does-0b939e4862a2?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b939e4862a2</guid>
            <category><![CDATA[engineering-culture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 06:41:12 GMT</pubDate>
            <atom:updated>2026-10-12T06:41:12.943Z</atom:updated>
            <content:encoded><![CDATA[<p>最近在社群上看到不少人轉發這句話：</p><blockquote>“You’re not a senior software engineer in 2026 unless you can rebuild Claude Code (the most basic of agents).”</blockquote><blockquote>— — Geoffrey Huntley, <a href="https://ghuntley.com/replaced/">if your team is too busy doing their ‘normal job’ to experiment with AI, you’re preparing them to be replaced</a>，2026/10/09</blockquote><p>先講清楚我的位置：我帶的團隊現在就在做 Agent Infrastructure，我自己也每天使用 AI coding tools。這篇不是 AI 懷疑論，更不是想否定 AI 對 software engineering 的影響。相反地，我認為 AI 正在大幅改變工程師的工作方式，但我不同意的是：為什麼能不能重建 Claude Code，會成為判斷一個人是不是 senior software engineer 的門檻？</p><p>Huntley 自己在文章裡提到：</p><blockquote>“It’s not that hard to build a coding agent. 300 lines of code running in a loop with LLM tokens.”</blockquote><p>如果一個基本 coding agent 只需要幾百行程式碼就能實作，那這件事到底是在衡量 engineering seniority，還是在衡量一個人對 AI tools 的熟悉程度？</p><p>這兩者不是同一件事。如果大家都開始準備如何實作一個 300 行的 coding agent，這個門檻很快就可能變成下一道 LeetCode。我們只是把面試題目換了，卻沒有解決真正的問題。</p><h3>AI Literacy、AI Proficiency 與 Engineering Seniority 是三件不同的事</h3><p>我認為現在很多討論混淆了三種能力。</p><p>AI Literacy：你是否理解 Context Window、Tokenization、Inference、Tool Calling，以及 LLM 的基本限制。</p><p>AI Proficiency：你是否能有效使用 Claude Code、Codex 等工具，在真實的 Codebase 中完成工作。</p><p>Engineering Seniority：你是否能在複雜、不完整的條件下，運用 Domain Knowledge 做出成熟的工程判斷，理解 Trade-offs，並對結果負責。</p><p>這三種能力有關聯，但不能畫上等號。</p><p>一個 junior engineer 可能非常擅長 Claude Code，能夠快速產出大量高品質的程式碼。</p><p>一個 senior engineer 可能不熟悉 Tokenization 的細節，卻能夠在系統設計時，提前識別架構風險、相容性問題與未來的維護成本。</p><p>我們不能只因為前者更熟悉 AI 工具，就認定他更 Senior。同樣地，也不能因為後者有十幾年工作經驗，就假設他的每個判斷一定更好。Seniority 不是年資，也不是工具熟練度，而是經過實際問題驗證的 Engineering Judgment。</p><h3>AI 讓產出變便宜，但不代表驗證也變便宜</h3><p>AI 改變了 software engineering 的一個重要經濟條件：</p><p>Code Generation 的成本正在快速下降。</p><p>過去需要幾天才能完成的 prototype，現在可能幾個小時內就能產生。AI 可以生成大量的程式碼、相當完美的 test cases、module refactoring，甚至協助完成複雜的跨檔案修改或者跨 feature 修改。但有一件事情沒有以相同速度變便宜：</p><p>判斷這些產出是否真的符合系統需求。</p><p>這裡的驗證不只是確認 code 能不能 compile，或 unit tests 有沒有通過，而是：</p><ul><li>這個設計是否符合現有系統的架構 / design pattern？</li><li>它是否引入新的 security 或 reliability risks？</li><li>是否破壞原本隱含的 compatibility contract？</li><li>在 production 的實際條件下是否仍然成立？</li><li>三個月後，這個決策會不會成為新的 technical debt？</li></ul><p>AI 可以幫助我們加速部分驗證工作，但它不會自動知道每個系統所有的隱含約束。而且當產出的程式碼越來越多，驗證的範圍與複雜度也可能跟著增加。這也是為什麼我認為，在 AI 時代，domain knowledge 不但沒有失去價值，反而變得更重要。</p><h3>Domain knowledge 給你的不只是知識，而是判斷能力</h3><p>我會把 domain knowledge 帶來的價值分成三個部分。</p><p>Taste — 知道什麼是好的設計</p><p>當幾個方案看起來都可行時，工程師能夠根據系統限制、未來演進方向與維護成本，判斷哪個方案比較適合。</p><p>Test — 知道該驗證什麼</p><p>工程師知道系統可能在哪裡出錯，也知道哪些看似正常的訊號，其實無法證明功能真的正確。</p><p>Priority — 知道什麼值得做</p><p>我個人認為這可能是最重要，也最容易被低估的能力，取捨的能力。</p><p>AI 可以讓你更快完成一個 feature，但如果這個 feature 本來就不值得投入，那麼更快完成它，並不代表創造了更多價值。</p><p>其中 Test 特別值得拿出來討論。我用一個 AOSP 的例子說明。</p><h3>可以 compile 並且 run 但卻沒有達成預期效果的 SELinux 規則</h3><p>假設需求很簡單：讓一個 Android App 執行在自己的 SELinux domain 裡，而不是使用既有的共用 domain。AI tools 可能可以很快的在 seapp_contexts 加入這樣一條規則：</p><pre>user=_app isPrivApp=true name=com.example.myapp domain=myapp_app type=privapp_data_file levelFrom=user📋</pre><p>這條 policy 看起來很合理：它指定了 App 名稱，也指定了想要的 SELinux domain，接下來的驗證結果可能是：</p><p>What to verifyresultSELinux Policy 編譯通過裝置開機正常App 功能正常dmesg | grep avc沒有相關 Denial</p><p>所有訊號看起來都正常，但問題是：App 真的執行在 myapp_app Domain 裡嗎？ 不一定。</p><p>在 Android 的 seapp_contexts 選擇邏輯中，規則並不只是依照檔案順序或 Package Name 的精確程度來決定優先權。以這個案例涉及的選擇條件來說，seinfo 的優先順序可能高於 name。如果 App 使用 platform signature，並透過 mac_permissions.xml 取得 seinfo=platform，系統中又存在這類規則：</p><pre>user=_app seinfo=platform domain=platform_app type=app_data_file levelFrom=user📋</pre><p>那麼在相關條件都符合的情況下，App 可能優先 match 這條規則，而不是你新增的、指定 Package Name 的規則。實際結果仍須依 Android 版本、完整 policy 與 selector 條件確認。如果最後 App 落在 platform_app，而這個 domain 已經允許它所需的操作，那麼：</p><ul><li>App 可以正常執行。</li><li>SELinux 不一定會產生 Denial。</li><li>新增的 myapp_app 規則可能根本沒有被使用。</li></ul><p>這時候，compile 成功、App 正常、沒有 AVC denial，都無法證明你的需求已經達成。你需要直接檢查 process 的實際 security context：</p><pre>adb shell ps -AZ📋</pre><p>再確認相關 process 是否真的執行在預期的 domain。還有另一個容易忽略的地方：Android App 可以宣告額外的 process，例如：</p><pre>android:process=&quot;:daemon&quot;📋</pre><p>這會讓實際 process name 與主要 App process 不同。對依賴 name= selector 的規則而言，也必須確認這些 process 是否正確匹配。這個例子的重點不是 AI 一定會產生錯誤的 SELinux 規則。真正的重點是：所選擇的驗證方式 (what to verify)，可能根本無法驗證 policy 真的有被正常啟用。</p><p>懂 AOSP 與 SELinux 的工程師，會知道應該確認實際 process domain，而不只是觀察 compile、boot 與 AVC logs。這種判斷來自 domain knowledge，而不是對 tokenization 的理解。</p><h3>同樣的問題也會出現在 Agent Infrastructure</h3><p>換一個我現在更常接觸的領域。</p><p>之前做 agent runtime 有 authorization layer，負責確認 agent 是否有權限呼叫特定工具。系統裡有完整的 authorization implementation，也有相對應的 unit tests。在一次 code change 之後，意外造成主要 execution path 不再呼叫 authorization。結果就變成：</p><ul><li>Authorization code 還在。</li><li>Authorization unit tests 全部通過。</li><li>Agent 仍然可以正常呼叫工具。</li><li>但真正的 enforcement 已經從執行路徑上消失。</li></ul><p>這跟前面的 SELinux 案例有相同的 failure pattern。</p><p>The signal you are checking does not cover the property you think it covers.</p><p>測試全部通過，不代表 security enforcement 一定有接到實際的執行路徑，非常有可能單純就是沒 cover。沒有 AVC denial，也不代表 SELinux rule 一定有生效。</p><p>這種問題不是靠產生更多 Code 就能解決的。你必須理解系統的 trust boundary、control flow，以及真正需要驗證的 security invariant。對 Agent Infrastructure 而言，這可能意味著你需要做 negative tests，確認沒有授權時請求確實被拒絕，甚至刻意移除 enforcement，檢查測試是否能偵測到問題。</p><p>這就是我所說的 engineering judgment。</p><h3>AI 是乘數，domain knowledge 是被乘數</h3><p>AI is the multiplier. Domain knowledge is what it multiplies.</p><p>還記得我在 podcast 上面說過，AI 能夠放大一個工程師的產出能力，但放大之後的成果品質，仍然取決於工程師能不能理解問題、判斷方向，以及驗證結果。一個具有深厚 domain knowledge 的 senior engineer，使用 AI 後可能不只是寫得更快，而是能夠：</p><ul><li>更快探索不同的架構方案</li><li>更早識別錯誤假設</li><li>更有效率地驗證技術風險</li><li>把時間從 code generation 轉移到 engineering decisions</li></ul><p>不過，我也不認為這代表 senior engineer 在所有情境下都比 junior engineer 更有價值，這裡還有一個經常被忽略的因素：</p><p>What does your team actually need right now?</p><h3>團隊需要的能力，取決於它現在處於什麼階段</h3><p>假設有兩位工程師，</p><p>第一位是 junior engineer，非常擅長 Claude Code，能夠在一天內完成別人可能需要一週的工作。</p><p>第二位是 senior engineer，擁有深厚的 domain knowledge、成熟的 architecture judgment，但使用 AI tools 的熟練程度普通。</p><p>誰對團隊更有價值？</p><p>答案是： It depends.</p><h3>當團隊需要的是 Execution</h3><p>如果 business direction 已經非常明確，architecture 已經決定，requirements 清楚，工作也已經拆解成明確可執行的 tasks。</p><p>那麼團隊現在最需要的，可能就是 execution speed。</p><p>在這個階段，一個能夠有效使用 AI tools、快速交付高品質成果的 junior engineer，可能比上述另一位 senior engineer 帶來更高的邊際價值。因為現在的 bottleneck 不是判斷方向，而是執行速度。當然，這個前提是交付品質能被有效驗證，且系統有適當的 review 與 safety nets。</p><h3>當團隊處於 0-to-1 階段</h3><p>但如果是一個 startup company/startup project，產品方向仍然模糊，architecture 還沒有成形，甚至連這個 idea 值不值得投入資源都不確定。這時候，execution speed 可能不是最重要的問題。真正重要的是：</p><ul><li>現在這個問題是不是正確的問題？</li><li>這個 idea 值不值得投入？</li><li>哪些技術決策會限制未來的選擇？</li><li>現在應該 build、buy，還是根本不需要做？</li><li>哪些假設必須先驗證，才能避免浪費整個團隊的時間？</li></ul><p>在這種環境下，具有成熟 engineering judgment 的 senior engineer，往往能帶來更高的價值。因為一個錯誤的方向，即使執行得再快，也只是更快地浪費資源。</p><h3>真實世界通常不是二選一</h3><p>大部分 Engineering Organizations 都不會永遠停留在同一個階段。</p><p>有些團隊正在探索方向，有些正在建立 architecture，有些正在大規模交付，有些則在維護成熟系統。所以真正的 engineering leadership 問題，不是「Junior + AI 跟 Senior + AI 誰比較強」，而是：</p><p>What is the right mix of execution capacity and engineering judgment for the problems we’re solving?</p><p>好的 engineering organization 需要兩者。</p><p>AI 改變了 execution 的經濟條件，也可能改變團隊的人才配置比例，但這不代表 engineering judgment 不再重要，更不代表我們應該用「能不能重建 Claude Code」來重新定義 seniority。</p><h3>為什麼「理解 AI 底層」也不是通用門檻</h3><p>拿 Git 來做類比 -</p><p>一個 senior engineer 應該知道怎麼使用 Git，也應該理解 rebase、merge、conflict resolution，以及錯誤操作可能帶來的風險，但我們不會要求所有 senior engineer 都必須能夠重新實作 Git。</p><p>AI Tools 也是一樣。如果你只是使用 Claude Code 開發產品，你應該知道：</p><ul><li>Context 太多或品質不佳時，模型可能遺漏重要資訊</li><li>AI 產生的 code 即使通過測試，也可能不符合真正的需求</li><li>自動 context compaction 可能遺失關鍵的設計約束</li><li>Agent 執行工具時，可能產生超出預期的副作用</li></ul><p>你需要知道這些 failure modes，並能夠採取有效的處理方式，但你不一定需要深入研究 tokenizer implementation、KV cache management 或 prefill/decode optimization。</p><p>如果你的工作是設計 Agent Runtime、LLM Serving Infrastructure，或最佳化推論成本，那當然不一樣。因為這些知識直接影響你的 Architecture Decisions。又或者你本來就對這些很有興趣想要多了解，即使跟你目前手上的工作並沒有相關，那我會鼓勵你多深入鑽研。</p><p>The depth of knowledge required should be determined by the problems you are responsible for solving.</p><p>不能因為某個技術現在很熱門，就把它當成所有 senior software engineers 的共同門檻。</p><h3>Huntley 說對的部分</h3><p>我並不是完全不同意 Huntley。</p><p>首先，AI fluency 正在成為 software engineers 越來越重要的能力。工程師如果完全拒絕理解或使用 AI tools，長期來看很可能降低自己的競爭力。其次，他強調 senior engineers 應該具備 taste，並且能夠把工程經驗傳承給下一代，這一點我也認同。另外，如果你正在建立 AI Infrastructure，那麼理解 Agent loop、tool calling、context management 與相關底層機制，確實是工作所需的能力。我想我們真正的分歧在於：</p><p>這些能力是某些工程工作的必要條件，但不應該自動成為所有 senior engineers 的定義。</p><p>AI proficiency 很重要。</p><p>AI internals 在適當的領域也很重要。</p><p>但 engineering seniority 仍然應該由工程師的判斷能力、技術影響力，以及解決複雜問題的能力來衡量。</p><h3>那麼回到面試，我們如何驗證一個 senior engineer 的能力？</h3><p>與其要求候選人從零實作一個 coding agent，我個人會更想看到他如何處理一個看起來已經成功、但可能存在隱藏問題的系統，例如：</p><blockquote>這段 AI 產生的 code 已經通過所有 unit tests、lint 與 type checking。你還會驗證什麼？為什麼？</blockquote><p>或者回到前面的 SELinux 案例：</p><blockquote>Policy 編譯成功、裝置正常開機、App 功能正常，也沒有 AVC denial。你如何確認 App 真的執行在預期的 SELinux domain？</blockquote><p>我不只是想知道候選人能不能找到答案，我更想了解他的思考過程：</p><p>他是否能識別驗證盲點？能否提出合理的假設？知道該收集什麼證據？當新證據出現時，是否願意修正自己的判斷？</p><p>這比背出某個 framework API，或重建一個簡單的 coding agent，更接近我對 senior engineering 能力的期待。當然，任何固定題目都可能被準備。因此真正有效的面試，應該讓候選人面對新的限制與證據，觀察他如何調整判斷，而不是只檢查標準答案。</p><h3>工具會變，engineering judgment 才是長期資產</h3><p>有人可能會說，domain knowledge 也會過期，這個反駁是合理的; 十年前有效的技術方案，今天可能已經不適用。AI 也正在改變 Software Engineering 的方法與最佳實踐，但我認為需要區分兩件事：</p><p>Implementation knowledge 會過期，但理解 constraints、trade-offs 與 failure modes 的能力，通常更具有延續性</p><p>你今天學會怎麼寫一條 seapp_contexts 規則，未來可能會遇到不同的 policy mechanism。但你學到的「一個設定存在，不代表它真的在 Runtime 生效」，仍然可以應用到其他系統。</p><p>你今天熟悉某個 Agent framework，明年它可能就被新的 framework 取代。但你對 authorization boundary、failure recovery、state consistency 與 observability 的理解，仍然會影響你如何設計下一套系統。這些能力也需要持續更新，不能只靠過去的經驗。</p><p>AI 會讓工程師更快產出。</p><p>AI 也會讓優秀的工程師擁有更大的 Leverage。</p><p>但當每個人都能快速產生看起來合理的程式碼時，真正的差異不再只是誰能寫得更快，而是誰能判斷什麼值得做、什麼設計比較好、什麼風險尚未被驗證，以及什麼時候不應該繼續投入。</p><p>AI Doesn’t Define Seniority. Engineering Judgment Does.</p><p>And AI makes that judgment more valuable, not less.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b939e4862a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mocking the Http response on Android (1)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/mocking-the-http-response-on-android-1-32e6a5735e59?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/1024/1*okXn4_U_LmEALHamQCkurg.png" width="1024"></a></p><p class="medium-feed-snippet">Mocking API responses in Android is useful for several reasons:</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/mocking-the-http-response-on-android-1-32e6a5735e59?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/mocking-the-http-response-on-android-1-32e6a5735e59?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/32e6a5735e59</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mock]]></category>
            <category><![CDATA[retrofit]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Wed, 08 Feb 2023 07:41:01 GMT</pubDate>
            <atom:updated>2023-02-08T07:41:01.239Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Use AWS CodeArtifact in your project.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/use-aws-codeartifact-in-your-project-7bf5d3e0d3dc?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/1024/0*-XUhhev6NldddZ5M.jpg" width="1024"></a></p><p class="medium-feed-snippet">Why CodeArtifact</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/use-aws-codeartifact-in-your-project-7bf5d3e0d3dc?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/use-aws-codeartifact-in-your-project-7bf5d3e0d3dc?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bf5d3e0d3dc</guid>
            <category><![CDATA[codebuild]]></category>
            <category><![CDATA[codeartifact]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[gradle]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Mon, 07 Mar 2022 21:34:17 GMT</pubDate>
            <atom:updated>2022-03-07T21:34:17.833Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Import AOSP framework jar file]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/import-aosp-framework-jar-file-f0c2ac979a8a?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/600/0*b-KwYkoqz0plOoln" width="600"></a></p><p class="medium-feed-snippet">Import AOSP framework jar file</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/import-aosp-framework-jar-file-f0c2ac979a8a?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/import-aosp-framework-jar-file-f0c2ac979a8a?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0c2ac979a8a</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[framework]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Mon, 21 Feb 2022 23:06:10 GMT</pubDate>
            <atom:updated>2022-02-21T23:06:10.929Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Gradle dependency management]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/gradle-dependency-management-75105637454f?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/876/0*BXpPWVVXj6n0UTUj.png" width="876"></a></p><p class="medium-feed-snippet">Gradle Dependency Management</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/gradle-dependency-management-75105637454f?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/gradle-dependency-management-75105637454f?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/75105637454f</guid>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Mon, 17 Jan 2022 16:12:35 GMT</pubDate>
            <atom:updated>2022-01-19T03:08:14.881Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[New JDK14 enhancement for NullPointException]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/new-jdk14-enhancement-for-nullpointexception-17c20941d92d?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/1606/0*v8SR0lIqt35D1ohG" width="1606"></a></p><p class="medium-feed-snippet">JEP 358: Helpful NullPointerExceptions</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/new-jdk14-enhancement-for-nullpointexception-17c20941d92d?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/new-jdk14-enhancement-for-nullpointexception-17c20941d92d?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/17c20941d92d</guid>
            <category><![CDATA[nullpointerexception]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[jep]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Wed, 15 Apr 2020 05:51:11 GMT</pubDate>
            <atom:updated>2020-04-15T05:51:11.708Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[MVC, MVP, and MVVM on Android]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/mvc-mvp-and-mvvm-on-android-ac88e0cd6891?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/761/1*hrMBF2WBl8qQ8NGxl53owg.png" width="761"></a></p><p class="medium-feed-snippet">MVC design pattern</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/mvc-mvp-and-mvvm-on-android-ac88e0cd6891?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/mvc-mvp-and-mvvm-on-android-ac88e0cd6891?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac88e0cd6891</guid>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[mvp]]></category>
            <category><![CDATA[mvc]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Sat, 28 Mar 2020 23:27:34 GMT</pubDate>
            <atom:updated>2020-03-28T23:27:34.108Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Dagger Series: Something amazing about Constructor Injection]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/dagger-series-something-amazing-about-constructor-injection-237b3aade62b?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/2600/0*m9NlU8M8TOTvr76D" width="2600"></a></p><p class="medium-feed-snippet">In Dagger, it provides another way to inject/provide resources by using constructor injection. The typical case is that we use constructor&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/dagger-series-something-amazing-about-constructor-injection-237b3aade62b?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/dagger-series-something-amazing-about-constructor-injection-237b3aade62b?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/237b3aade62b</guid>
            <category><![CDATA[dagger-android]]></category>
            <category><![CDATA[dagger-2]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Tue, 07 Jan 2020 07:05:41 GMT</pubDate>
            <atom:updated>2020-01-07T07:05:41.438Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kotlin tricks]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@chauyan/kotlin-tricks-4a7c18c7f244?source=rss-5b9b597868ae------2"><img src="https://cdn-images-1.medium.com/max/1280/0*gcIcvJVSVIeTC-Hz.png" width="1280"></a></p><p class="medium-feed-snippet">Kotlin tricks</p><p class="medium-feed-link"><a href="https://medium.com/@chauyan/kotlin-tricks-4a7c18c7f244?source=rss-5b9b597868ae------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@chauyan/kotlin-tricks-4a7c18c7f244?source=rss-5b9b597868ae------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a7c18c7f244</guid>
            <category><![CDATA[companion]]></category>
            <category><![CDATA[invoke]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[objects]]></category>
            <dc:creator><![CDATA[wang.chauyan]]></dc:creator>
            <pubDate>Sun, 24 Nov 2019 05:35:23 GMT</pubDate>
            <atom:updated>2019-11-24T05:35:23.527Z</atom:updated>
        </item>
    </channel>
</rss>