Posts
- The Aesthetics Layer: The Feature Works, and the Page Is Still Wrong
Part five of the five-layer constraints series (the aesthetics layer), closing the five layers. Why a page can be wrong with every feature right; how visual regression actually runs (screenshots, baselines, pixel diffs); what each of the three UI deduction rules polices; why “what good looks like” must be written as anchors first; and the half that must be admitted — automation only measures half of it. Overview in “From ‘It Runs’ to Deliverable.”
- The Clarify Phase: Write “Done” Down as a Countable Checklist
Part one of the five-phase series (the Clarify phase), opening the phase block. How a one-line request becomes a locked contract: the planner interviews until open questions hit zero, then authors seven contract files in a fixed order; why the coverage gate blocks all code until coverage is complete; and why an existing PRD is imported, never rewritten. Overview in “From ‘It Runs’ to Deliverable.”
- The Deliver Phase: Done Is a State Only the Kernel May Set
Part five of the Harness five-phase series (Deliver). Why the done state may only be set by the kernel, when evaluation passed, stable passes are met, and the delivery gate is green all at once; why the gate runs the project's own build, tests, and lint instead of inventing another set of checks; why the acceptance report must state what was never verified; how stable changes are folded into the project overview after done; and why Paused, the state entered when budgets run out, is more honest than a fake done — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- The Engineering Layer: Changing One Page Should Not Wake Ten Others
Part four of the five-layer constraints series (the engineering layer). Why import direction is law rather than convention, why import cycles are banned outright, why the point of a 300-line file cap is not the number itself, and why the checks sit on the only road to delivery — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- The Evaluate Phase: The One Who Grades Can't Be the One Who Wrote It
Part three of the five-phase series (Evaluate). Why a model grading its own code always ends in full marks, why evaluation needs an evaluator in a fresh context, how the rubric's three item types are scored, why essential and pitfall vetoes can't be saved by a high total, and why a report is never edited once written — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- The Implement Phase: One Task at a Time, One Real Commit per Task
Part two of the five-phase series (the Implement phase). Why the developer role never sees the rubric, why work proceeds one task at a time with one precise commit per task, and why the commit id it reports is verified by the kernel with git rev-parse — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- The State Layer: The Same Fact Must Live in Exactly One Place
Part three of the five-layer constraints series (the state layer). Why state bugs pass the compiler and lint unseen, why every fact is listed before its schema is written (field, type, initial value, whether it may be absent, source of truth), why server data and client state live apart, and why persisted keys must be namespaced — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- The Styling Layer: The Wrong Color Isn't on the Palette
Part two of the five-layer constraints series (the styling layer). Why AI-written pages each look fine alone but don't read as one product together; how design tokens shrink the option set until a wrong choice is impossible; and a quieter failure — an AI inventing token names that don't exist, while an undefined CSS variable fails in silence. Overview in “From ‘It Runs’ to Deliverable,” part one is “The Language Layer.”
- The Verify Phase: Passing Once May Just Be Luck
Part four of the five-phase series (the Verify phase). Why one evaluation pass is not proof: Verify must be run by a different fresh evaluator context, all judge-item evidence is regenerated from scratch with stale evidence scoring zero automatically, and the feature must pass a configured number of consecutive times — the mechanical differences from Evaluate, and why each one exists. Overview in “From ‘It Runs’ to Deliverable”; previous part: the Evaluate phase.
- The Language Layer: Code Should Be Stopped the Second It Is Written Wrong
Part one of the five-layer constraints series (the language layer). Why the first layer must be compile-time, what TypeScript strict mode actually pins down, why any and @ts-ignore are backdoors to be sealed, and why type checking belongs after every task — the why and the how. Overview in “From ‘It Runs’ to Deliverable.”
- From “It Runs” to Deliverable: Design Notes on a Frontend AI Collaboration System
The previous post covered why AI-written code needs a scene where mistakes surface; this one describes how I built that scene: five layers of constraints, a five-phase state machine with three roles, an evaluation system that never lets the model grade its own work, and a kernel that runs long workflows on a file-based state machine. The system is open source (frontend-harness-cli), and every mechanism described here can be found in the repository.
- a16z's Latest Report: 29 Highest-Spending AI Products That Never Made the Traffic Charts
a16z's 7th edition: 29 of the top 50 AI products by consumer spending don't appear on any traffic chart. Traffic is vanity, revenue is sanity — and the overlap between these lists is shockingly small.
- "Selector can't has classes from different scopes" — how to fix this csso error
What the csso 'Selector can't has classes from different scopes' error means, why it happens in webpack builds that pass usage scopes to csso, and the three ways to fix it.
- Can ChatGPT Help You Improve Your Spoken English? An Honest Guide
Yes — ChatGPT is a solid free speaking partner for fluency practice, roleplay, and instant corrections. But it can't score your pronunciation, structure your learning, or force real output. Here's how to use it well and what to pair it with.
- Which AI Coding Tool Should You Choose? 2026 Comprehensive Comparison Guide
A 2026 comparison of AI coding tools — Cursor, Claude Code, GitHub Copilot, Windsurf and more — covering real costs, use cases, hidden fees, and ban risks.
- How to Buy Codex: The Complete Flow for Subscribing to ChatGPT Through the US App Store
A record of the complete process for using Codex by creating a new Apple ID, switching to the US region, buying a gift card, and subscribing to ChatGPT in the App Store.
- How to Buy ChatGPT Plus with Google Play on Android
A simple tested path for subscribing to ChatGPT Plus on Android through Google Play, using a US Google Play profile, a Visa card, and a US VPN node.
- OpenAI Codex CLI Guide (2026): Install, AGENTS.md, Permissions & Real-World Pitfalls
A practitioner's Codex CLI guide: install, AGENTS.md setup, permission boundaries, skills and subagents — plus the common mistakes I actually hit adopting it.
- Claude Code vs OpenAI Codex in 2026: Which AI Coding Agent Should You Choose?
A practical 2026 comparison of Claude Code vs OpenAI Codex: setup, workflow, pricing model, cloud delegation, and who each tool is best for.
- Gemini CLI Is Being Sunset: How to Migrate to Antigravity CLI in 2026
Google has announced the transition from Gemini CLI to Antigravity CLI, and relevant personal/free requests will stop being served starting June 18, 2026. This guide covers who is affected, how to migrate, and what to update.
- 502 Error Investigation: From TCP Health Check False Positives to HTTP Health Check Fix
Partial requests returning 502 errors led us to discover that TCP health checks cannot detect application-layer availability. Here's our complete investigation and fix.
- AI News Digest | OpenAI Images 2.0 Dominates Image Generation; SpaceX Invests Billions in Cursor; Meta's Mandatory AI Training Tracking Sparks Controversy
This AI news digest covers OpenAI's Images 2.0 model release, SpaceX's strategic partnership with Cursor, Google Gemini Deep Research updates, Kimi K2.6's agent capabilities, and Meta's mandatory AI training tracking software controversy.
- Complete Guide to Purchasing ChatGPT/Claude on Apple Store
Step-by-step tutorial: How to subscribe to ChatGPT and Claude on US Apple Store, including top-up, tax-free address setup, and contacting support to remove purchase restrictions.
- Frontier AI Digest | Musk Predicts AGI Two Steps Away; NSA Controversy Over Anthropic Model Usage; Grok Transforms Creative Mode
This AI digest covers Musk's roadmap defining Grok 5 as AGI, NSA's model supply chain controversy, Anthropic's Opus 4.7 major update, Tesla Bot structural evolution, and the latest AI developments.
- AI News Digest | OpenAI Codex Evolves into System-Level Operator; Claude Opus 4.7 Explodes; Ternary 1.58-bit Model Released
This AI digest covers OpenAI Codex's evolution into an AI operator, Claude Opus 4.7 release and performance controversy, Google Gemma 4 26B availability, 1.58-bit ternary model Bonsai, NVIDIA Lyra 2.0, Tesla FSD v14.3.1, and more.
- AI News Digest | Gemini Mac App Launches; 1-bit LLM Era Begins; Anthropic Revenue Hits $30B
This AI digest covers Gemini's official Mac client, Gemini 3.1 Flash TTS, 1-bit quantized models, Cursor's interactive Canvas, NVIDIA Lyra 2.0 open source, Anthropic's explosive revenue growth, and more.
- Frontier AI Digest | GPT-5.4 and Opus 4.7 Dual Flagship Release; NVIDIA Quantum AI Model Launch; Tesla Robots Enter Production Lines
This AI digest covers the latest developments including OpenAI's GPT-5.4-Cyber for cybersecurity, Anthropic's Claude Opus 4.7, Google's Gemma 4 local reasoning, Midjourney V8.1, and Tesla's Optimus robots in production lines.
- How to Build Real Wealth: The Truth About Money?
Interpreting Dan Koe's profound insights on money: Making money is a skill, and the real obstacle is your cognitive level about money. Five levels from survival to contribution will help you re-understand the relationship between money and life.
- Practicing Karpathy's Personal Knowledge Base Method with a Git Repository
Build a three-layer knowledge pipeline (raw, notes, posts) with Git + Markdown + LLM, inspired by Karpathy's LLM Wiki method.
- AI Agent Beginner's Guide: From Concepts to Protocols
Core AI Agent concepts: Agent vs Copilot, single/multi-Agent architectures, MCP and SGP protocols, and implementation strategies.
- AI Coding Playbook: Tool Selection, Workflows, and Prompt Templates
AI programming guide for developers: tool selection by scenario, Cherry Studio design workflows, and prompt templates.
- Mindset Upgrade for the AI Era: From Writing Code to Defining Problems
When code generation costs approach zero, the real scarcity is asking good questions. Notes on AI-era mindset shifts and career strategy.
- A Practical Guide to Selling on Pinduoduo: From Zero to Profit
Beginner's guide to selling on Pinduoduo: product selection, pricing, shipping, and pitfalls to avoid for profitability.
- AI Is Rewriting the Playbook: How to Thrive When Productivity Jumps 10x
An actionable career adaptation framework for knowledge workers when AI boosts productivity 10x, based on industry reports and history.
- 100vh layout margin-top causing bottom spacing issues and solutions
within a container whose height is limited by 100vh, the margin-top property of a child element may cause unnecessary bottom spacing and scrollbars.
- Gemini CLI Configuration Tutorial
how i use Gemini CLI to Translate large amouts of text
- Node.js CPU Spike Analysis: When Requests Hang and Event Loop Starves
Why CPU spikes to 100% when requests hang - two real production cases on timeouts and rate limiting
- Node.js Dependency Injection
Node.js dependency injection explained with TypeScript metadata generation, reflection API, and framework implementation details.
- Algorithm Analysis
In-depth algorithm analysis covering complexity, sorting, binary search, greedy, divide-and-conquer, backtracking, and dynamic programming.
- Analysis of Data Structure Characteristics
Data structures fundamentals covering linear and non-linear structures, including trees, heaps, skip lists, and advanced data structures.
- Data Structure Practice Problems
Data structures problem-solving guide with LeetCode examples covering arrays, stacks, binary search, trees, heaps, and graph algorithms.
- A Detailed Explanation and Problem Analysis of Cookie Technology
Complete Cookie technology guide covering CookieStore API, SameSite protection, CSRF defense, and cross-domain strategies.
- A Practical Guide to Service Worker
Implement Service Workers: caching strategies, update mechanisms, offline support, and edge cases in PWA development.
- Admin/Backend Solutions
Admin/backend architecture solution based on ICE 3.0 with permission control and communication mechanisms.
- Animation Library Recommendations and Usage Guide
Animation library guide covering Framer Motion and Anime.js with declarative animations, gestures, and practical examples.
- Cross-Terminal Development and Dynamic Practices
Cross-platform development architecture with modular design, responsive layout, platform-specific builds, and dynamic capabilities.
- Detailed Explanation and Problem Analysis of CDN Technology
CDN technical guide covering caching strategies, auto-optimization, acceleration methods, IVS architecture, and real-world case studies.
- Frontend Architecture
Frontend architecture guide covering business architecture, product design, and enterprise application principles.
- Frontend Engineering Guide
Frontend engineering guide covering project structure, Lerna multi-package management, Babel, gray deployment, and best practices.
- Frontend Performance Optimization Guide
Frontend performance optimization covering key metrics (TTFB, FCP, LCP, CLS), optimization strategies, and analysis methods.
- Internationalization and Localization
Complete i18n/l10n guide covering multi-language support, CLDR data usage, RTL layout handling, and frontend value considerations.
- NodeJS Development and Operations
Complete Node.js development and operations guide covering architecture, stability, monitoring, and deployment strategies.
- Overview of Containerization Technology
Container technology overview explaining Docker, resource management, and the evolution from physical machines to virtualization to containers.
- Pitfalls of Upgrading Midway from v6 to v8
Midway v6 to v8 upgrade troubleshooting guide covering common errors, configuration migration, and dependency issues.
- React Common Issues and Solutions
Solve common React issues: form resets, closure pitfalls, infinite loops, Error Boundaries, and performance optimization patterns.
- Webpack Complete Guide: Loaders, Chunk Splitting, Tree Shaking, Module Federation & Common Errors
A complete Webpack guide: how loaders work, Webpack-Chain and chunk splitting, Externals, Module Federation, Tree Shaking, how Webpack compares with Rollup and Vite — plus causes and fixes for common errors like "webpackJsonp is not defined" and "Can't resolve 'fs'".
- Node Stream Complete Guide Notes
Node.js streams and network fundamentals covering TCP/UDP protocols, HTTP, HTTPS, and common communication protocols.
- Frontend Tracking Guide
Frontend tracking with SPM parameters: source tracking, exposure positions, session identification, and cross-page analytics.
- Guide to Multi-platform Development and Mobile Optimization
Multi-platform development with React Native, Flutter, Taro, and responsive design techniques for mobile optimization.
- Automated Application Deployment and Publishing
How to use pm2 for automated script-based application startup and deployment
- What You Need to Know About CSS
Grid Layout; Animations: usage of animation, animation-play-state, :checked, transform; CSS writing guidelines and examples
- What You Need to Know About NPM
Master NPM: ghost dependencies, pnpm comparison, TypeScript types, package.json fields, and dependency management best practices.
- What You Need to Know About JavaScript
Essential JavaScript knowledge covering closures, prototypes, async patterns, DOM manipulation, and modern ES features.
- React Server Component
React Server Components explained: zero-bundle components, server-client boundaries, and the future of React rendering.
- React SSR (Streaming Server-Side Rendering)
React SSR deep dive: streaming server-side rendering, selective hydration, and performance optimization techniques.
- Concurrent Mode
What is the history of Concurrent Mode and what problems does it solve?
- What Problems Does React Solve?
Understand React's design philosophy, the problems it solves, and why its component model matters for modern UI development.
- Suspense
Master React Suspense for async components, code-splitting, data fetching, and providing better UX with fallback UI patterns.
- What You Need to Know About AI
AI fundamentals: machine learning, embeddings, model training, prompt engineering, and practical guidance on using AI tools effectively.
- My Investment Journey
Personal investment guide covering index funds, stock analysis, financial statements, investment psychology, and financial freedom.
- Top 3 English Learning Tools in the Age of AI
Modern English learning with AI: practical strategies, speaking practice tips, and building confidence without expensive classes.
- SQL Statement Classification and Usage Guide
Complete SQL guide covering DDL, DML, DCL statements, common functions, and practical database operation examples.
- React State Management & Global Shared State Design
React state management guide comparing Class vs Hooks patterns and solutions like Redux, MobX, and zustand.
- Understanding Streams in Node.js
Node.js stream technology from beginner to advanced, covering networking, RPC, WebSockets, and practical patterns.
- How to Be a Different and Successful Engineer
How to become better from a technical person's perspective
- AB Experiment Principles and Practice
Learn A/B testing principles including hypothesis testing, orthogonal experiments, traffic splitting, and data-driven decision strategies.
- How to Define a Problem
The greater the problem you can define, the greater the success you can achieve.
- How to Write Unit Tests
Unit testing setup with Mocha, TypeScript integration, code coverage with NYC, and testing best practices.
- Influence and Promotion Guide
Guide to building workplace influence, navigating promotions, and developing core competencies for career growth.
- What You Need to Know About Node.js
Node.js operations guide covering service restart, multi-tenant deployment, HSF service calls, and log management.
- A Practical Guide to SSR
Master SSR: server-side rendering, static generation, hydration, serverless deployment, and streaming for optimal performance.
- Frontend Engineer Skill Tree
Refine the growth model indicators for frontend engineers, gradually improving personal professional skills
- Understanding the Essence of Computers
Explore the essence of computers: digital encoding, binary systems, logic gates, and how hardware executes software instructions.
- [Translation] How to Work Hard
Paul Graham's essay on how to work hard -- finding the right field, sustained effort, and avoiding procrastination.
- Why React Hooks
React Hooks evolution from class components, core hooks (useState, useEffect), and performance optimization strategies.
- Node.js Case Studies
Node.js debugging guide with Chrome Inspector techniques, practical case studies, and NodeParty community insights.