Debug menu in prod? Easy, until you need to control who sees it and test on a brand-new account. My PoC goes the other way: hide tools in the app, unlock them with the right key. Humans + agents. Useful or over-engineering? pic.twitter.com/Qet0jmdlKU
— Szymon Chmal (@ChmalSzymon) March 19, 2026
Technically, the flow is: run a CLI on your computer -> open a deeplink on the device -> establish encrypted connection -> call tools inside the app. No visible tester UI, no special build. Just enough power to flip flags, trigger once-a-day effects, and test tricky flows.
— Szymon Chmal (@ChmalSzymon) March 19, 2026
AI 中文摘要Claude 生成
這則推文討論了一種在生產環境中實現除錯工具的新思路。傳統方法是直接在應用中內置除錯選單,但這帶來了權限管理和新帳戶測試的複雜性。作者提出了相反的方向:將工具隱藏在應用內,透過特定密鑰解鎖。
具體實現流程為:在電腦上執行 CLI -> 在裝置上開啟深度連結 -> 建立加密連線 -> 呼叫應用內的工具。這種方式的優勢是沒有可見的測試者介面,也不需要特殊的編譯版本,同時保留了足夠的功能來切換功能旗標、觸發限時效果和測試複雜的工作流程。
作者在介紹概念時帶著適度的懷疑態度,明確提出了「實用還是過度設計?」的問題,暗示這種做法可能存在複雜度與價值的權衡。該方案支援 Humans + Agents 的協作模式,反映了當前人工智慧驅動開發中,人類與 AI Agent 共同工作的趨勢。整體而言,這是一種兼顧安全性和功能性的除錯策略探索。
