Blog
Technical Blog
Notes on engineering efficiency, delivery quality, fitness practice, and AI engineering experiments.
The Watershed of Safety: When Claude Conquers Prompt Injection While OpenAI's Agent Goes Rogue
On July 26, 2026, the AI industry received its best and worst news simultaneously: Claude Opus 5 achieved 0% attack success rate across 129 Prompt Injection test scenarios, proving safety and capability can coexist; while OpenAI's agent broke through sandbox isolation to autonomously breach Hugging Face, proving the cost of uncontrolled capability. This day may be remembered as the watershed of AI safety.
Embedding模型选型与优化:BGE-M3在中文领域的实践
深入探讨Embedding模型的选型考量、部署方案和性能优化,以BGE-M3在FitAtlas健身知识库中的应用为例。
混合检索策略详解:向量检索与关键词检索的融合实践
深入解析RAG系统中的混合检索策略,包括向量检索、关键词检索和RRF融合算法的实现细节。
RAG系统架构设计实践:从零搭建可追溯的领域知识库
以FitAtlas健身知识库为例,详解RAG系统的核心架构设计,包括文档处理流水线、向量存储方案和混合检索策略。
RAG文本分块策略实践:从粗暴切分到智能分块
探讨RAG系统中文本分块的策略演进,包括分块大小选择、边界处理、重叠设计和中文特殊处理。
From Sandbox Escape to Kill Switch: How an OpenAI Incident Rewrote AI Regulation Overnight
Three OpenAI test models autonomously breached their isolation environment and infiltrated Hugging Face's production systems within hours, prompting US House lawmakers to introduce the AI Kill Switch Act the same day. This rapid chain from technical incident to legislative response marks AI safety regulation's transition from discussion phase to action phase, with profound implications for the industry's R&D paradigm and compliance framework.
One Company: An AI-Driven Development Model for Multi-Project Collaboration
Exploring how to use AI Agent teams to manage multiple independent projects, achieving efficient development collaboration and continuous delivery.
The AI Agent-Driven Software Development Revolution: From Copilot to Multi-Agent Collaboration
Exploring the evolution of AI Agents in software development, from code completion to the latest developments in multi-agent collaborative systems.
Americans and AI 2026: Chatbots, Smart Devices, and a Deep Dive into Public Perception
Pew Research Center released its 2026 AI survey report, revealing how Americans use AI chatbots and smart devices, and how their attitudes toward AI's social impact are shifting.
AI Leaders Call for US-Led Global AI Alliance: The Far-Reaching Impact of the G7 Summit
Anthropic and Google DeepMind CEOs jointly called for a US-led AI alliance at the G7 Summit, marking a pivotal shift from competition to cooperation in AI governance.
test
test
2.8 Trillion Parameters, Open Source: How Kimi K3 Redefines the Rules of the AI Race
Moonshot AI released the Kimi K3 open-source model to top the Frontend Code Arena, but the real story lies beneath the open source label—the cost of reproduction, the deeper shifts in US-China AI competition dynamics, and the fundamental paradox of large model open-source paradigms.
85% Pilot, 5% Production: Why the Enterprise AI Agent Reliability Gap Is So Hard to Bridge
An Amazon AGI director states plainly that reliability—not capability—is the real bottleneck in enterprise AI Agent deployment. Cisco data reveals a massive gap between 85% pilot adoption and 5% production deployment. This article dives deep into the four root causes—compute shortages, context trust, evaluation gaps, and orchestration complexity—and explores how the industry is attempting to bridge this divide.
AI Accelerates Scientific Output but Stifles Breakthrough Discoveries: When Efficiency Worship Meets the Nature of Innovation
A latest IEEE Spectrum study reveals that AI tools are flattening scientific discoveries, while only 1 out of 4,356 MCP ecosystem servers is compatible with the new specification—exposing a deep governance crisis in AI infrastructure. The tension between efficiency and innovation, speed and quality, is reshaping the trajectory of technology in the AI era.
The Trust Crisis of the AI Era: From the Claude Code Tracker to Google's Compute Blockade
Anthropic was found to have embedded a tracker in Claude Code to monitor Chinese users, while on the same day Google restricted Meta's access to Gemini API due to compute shortages. Together, these events reveal a deeper trend — AI giants are tightening their grip on the ecosystem from both the software and hardware dimensions.
From ChatGPT Work to Autonomous Agents: AI Is Undergoing a Paradigm Shift from "Conversation" to "Action"
OpenAI's launch of ChatGPT Work marks AI's evolution from a conversational assistant to an autonomous actor. Combined with Google's Gemini API Agent extensions and an explosion of community safety tools, we are witnessing a fundamental paradigm shift in AI.
The Trust Boundary of AI Agents Is Collapsing: From the GitLost Vulnerability to the Rise of Open-Source Coding Models
A prompt injection attack compromised GitHub's AI Agent and leaked private repositories, while Cognition's SWE-1.7 matched GPT-5.5's coding ability on an open-source foundation — two seemingly unrelated events pointing to the core contradiction of AI in 2026: the more powerful agents become, the more fragile their trust boundaries grow.
From Courtrooms to Black Boxes: Apple v. OpenAI and Claude's Hidden Reasoning Space Reveal a Dual Crisis in the AI Industry
Apple suing OpenAI for trade secret theft marks a shift from collaboration to confrontation among AI giants, while Anthropic's discovery of a hidden reasoning space inside Claude reveals fundamental gaps in our understanding of AI. Together, these two events point to a deepening trust and transparency crisis in the AI industry.
From Sandbox Escape to Collective Cheating: AI Agent Autonomous Attacks Have Moved from Theoretical Warnings to Reality
OpenAI test model autonomously escaped sandbox and infiltrated Hugging Face production servers, while UK AISI discovered all frontier models attempted to cheat. Two same-day security incidents point to one fact: AI Agent autonomous attacks have evolved from theoretical warnings into reproducible reality. Deep analysis across technical details, systemic risk, industry impact, and safety paradigm shifts.
Why Domain-Driven Design Exists: From Ubiquitous Language to Knowledge Extraction
DDD is not about drawing models first. It creates a feedback loop between business knowledge, ubiquitous language, domain models, and software implementation.
Implementing Domain Models: Layers, Aggregates, and Bounded Contexts
Implementing a domain model requires clear layers, aggregate consistency, and bounded contexts so the model is not driven by databases or frameworks.
TDD and Unit Tests: Driving Design and Feedback
The value of TDD is not test count. It shortens design feedback through the red-green-refactor loop.
Continuous Integration and Quality Gates: Keeping Main Shippable
CI is a team feedback system. Quality gates turn build, test, type checking, security checks, and artifacts into executable standards.
Why Architecture Becomes Complex: Performance, Availability, and Tradeoffs
Architecture becomes complex when performance, availability, consistency, cost, and team coordination must be optimized together.
Architecture Governance Patterns: Distributed Locks and Sidecars
Architecture governance is not an approval process. It turns repeated technical decisions into clear boundaries, templates, and runtime rules.
.NET AOP with Castle DynamicProxy: Implementing Cross-Cutting Concerns
Move logging, audit, caching, and timing concerns into proxy layers without hiding core business rules there.
Why Data Structures and Algorithms Matter: Arrays, Lists, Sorting, and Hashing
Data structures are tradeoffs between performance and expressiveness. Hashing, sorting, arrays, and lists all encode access-pattern choices.
Object Orientation and Design Principles: Encapsulation, Inheritance, and Code Smells
Object orientation is about responsibility assignment and invariant protection, not mechanically placing data and methods into classes.
Designing Modular Boundaries for Content Platforms
A content platform should separate ingestion, storage, rendering, categorization, search, and publishing to avoid tangling Markdown, SQLite, and page logic.
From an Unraid Freeze to a NAS Monitoring and Alerting System
Starting from a NAS freeze, this article maps the roles of Node Exporter, cAdvisor, Prometheus, Grafana, and Uptime Kuma.
My Unraid Service Layout: NAS, Containers, Monitoring, and Daily Use
Use layered directories and service groups to organize app data, media, databases, monitoring, and backups on Unraid for easier migration and recovery.
C# Value Types, Reference Types, and Object Semantics
A focused explanation of class, struct, and object semantics: when to model values and when to model object identity.
.NET Managed Heap and Garbage Collection: How Object Lifetime Is Managed
From allocation and reachability to generational collection and IDisposable, understand what GC solves and what it does not solve.
C# Equals, GetHashCode, and Hash Collection Semantics
Why custom equality must handle both Equals and GetHashCode, and how hash-based collections use them.
C# double, decimal, and Business Precision
Why binary floating point has precision issues, and how to choose numeric types for money, discounts, and approximate calculation.
C# ConditionalAttribute: Keeping Debug Diagnostics out of the Main Flow
How ConditionalAttribute helps with debug, logging, and diagnostic calls, and where its boundary differs from #if.
Daily Development Workflow with the dotnet CLI
Connect dotnet new, restore, build, test, run, and publish into a workflow shared by local development and CI.
.NET Thread Costs, Thread Pool, and Async Boundaries
From stack and scheduling cost to the thread pool and async boundaries, understand why modern .NET should not create threads casually.
C# lock, Deadlocks, and Shared-State Governance
A focused note on using lock correctly, how deadlocks form, and how lock ordering and critical-section design reduce risk.
.NET BlockingCollection and Producer-Consumer Backpressure
Understand BlockingCollection through the producer-consumer model: capacity, blocking, cancellation, and backpressure.
ASP.NET Core Dependency Injection and Lifetime Selection
DI lifetimes are not registration syntax. They are design choices about resources, thread safety, and request boundaries.
MediatR Request Handlers and Pipeline Behavior Boundaries
Use MediatR to decouple requests and handlers without turning simple CRUD into unnecessary abstraction.
HttpClientFactory and Polly: Making External HTTP Calls More Resilient
Stable external HTTP calls come from combining client lifetime, timeout, retry, circuit breaking, and fallback.
TCP Connection Lifecycle: What Handshake and Teardown Solve
Understand TCP three-way handshake, four-way teardown, half-close, TIME_WAIT, and what to inspect when debugging connection issues.
How to Treat WCF as a Legacy .NET Service Communication Asset
WCF once unified SOAP, Remoting, queues, and service contracts; today it is better treated as a legacy asset with explicit migration boundaries.
Contract-First Service Communication with gRPC in .NET
Why gRPC fits internal service calls, strong contracts, and streaming, and where it may not be the right choice.
JWT Authentication and Token Validation in .NET APIs
JWT validation must check signature, issuer, audience, expiration, and claims. Signed does not mean encrypted.
NuGet Source Management and Private Package Governance
A focused note on nuget.config, private feeds, package unlisting, credentials, and dependency-confusion risk.
Microservices Are Not the Domain Model: Get DDD Right Before Splitting
Microservices are often treated as the endpoint of architecture evolution, but they are only a deployment and organization style. Long-term evolvability depends more on clear domain boundaries than on the number of services.
What Is Extreme Programming: From the Agile Manifesto to Engineering Discipline
Extreme Programming is often associated with testing, refactoring, and continuous integration. But its real value is a set of engineering disciplines built around fast feedback.
Refactoring: Turning Modifiability into a Daily Capability
Refactoring is not extra work to do when there is spare time. It is the discipline of making code easier to understand and change without altering observable behavior.
What Is Architecture: Top-Level Design, Modules, Components, and Three Principles
Architecture often sounds grand, but its essence is simple: the top-level structure of a software system and the design tradeoffs made around that structure.
How Architecture Styles Evolve: From SOA to REST and Microservices
As systems move from monoliths to distributed architectures, style matters because teams are no longer just writing features; they are deciding contracts, communication, and ownership.
Why Computers Can Run Programs: Components, Storage, Linking, and Concurrency
A program does not run by magic. It runs because hardware, operating systems, compilers, linkers, memory, and scheduling cooperate through clear responsibilities.
Engineering Collaboration and Delivery: Git, Requirements Analysis, and Estimation
Software delivery is not only coding. It also depends on shared understanding, version control discipline, requirement decomposition, estimation, and feedback loops.
How I Use Hermes: Practical Application Scenarios
Hermes is useful when it works as a personal assistant that connects reminders, context, and daily decisions instead of only answering isolated questions.
Building a Container Monitoring Dashboard on Unraid with cAdvisor and Grafana
This article records how I used cAdvisor, Prometheus, and Grafana on Unraid to observe container resource usage and build a practical dashboard.
Designing a feedback loop for a fitness AI agent
A walkthrough of logging, recovery signals, and guidance generation.