Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Preface

Harness Engineering cover

Read the Chinese edition

This English edition is currently a scaffolded preview.

The full Chinese edition remains the canonical version while the English translation is added chapter by chapter. The table of contents, cover, and chapter placeholders are already in place so the bilingual site structure is stable from the start.

Each English chapter currently links back to its Chinese original. Future updates will replace these placeholders with full translations.

Chapter 1: The Full Tech Stack of an AI Coding Agent

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 2: Tooling System - 40+ Tools as the Model's Hands

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 3: Agent Loop - The Full Lifecycle from User Input to Model Response

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 4: Tool Execution Orchestration - Permissions, Concurrency, Streaming, and Interrupts

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 5: System Prompt Architecture

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 6: Steering Behavior Through Prompts

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 7: Model-Specific Tuning and A/B Testing

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 8: Tool Prompts as Micro-Harnesses

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 9: Automatic Compaction - When and How Context Gets Compressed

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 10: File State Preservation After Compaction

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 11: Micro-Compaction - Precise Context Pruning

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 12: Token Budgeting Strategies

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 13: Cache Architecture and Breakpoint Design

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 14: Cache Break Detection System

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 15: Cache Optimization Patterns

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 16: Permission System

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 17: YOLO Classifier

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 18: Hooks - User-Defined Interception Points

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 19: CLAUDE.md - User Instructions as an Override Layer

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 20: Agent Clusters and Multi-Agent Orchestration

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 21: Effort, Fast Mode, and Thinking

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 22: Skills System - From Built-In to User-Defined

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 23: The Unreleased Feature Pipeline - The Roadmap Behind 89 Feature Flags

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 24: Cross-Session Memory - From Forgetfulness to Persistent Learning

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 25: Harness Engineering Principles

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 26: Context Management as a Core Capability

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 27: Production-Grade AI Coding Patterns

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Chapter 28: Where Claude Code Falls Short

Read the Chinese original

This chapter has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Appendix A: Key File Index

Read the Chinese original

This appendix has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Appendix B: Environment Variable Reference

Read the Chinese original

This appendix has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Appendix C: Glossary

Read the Chinese original

This appendix has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.

Appendix D: Full List of 89 Feature Flags

Read the Chinese original

This appendix has not been translated into English yet.

The Chinese original is already available at the link above. The English translation will be added in a future revision.