Five principles govern agent-native design. For detailed explanations, examples, and test criteria, see core-principles.md.
PrincipleOne-line testParityCan the agent achieve every outcome the UI allows?GranularityChanging behavior means editing prose, not refactoring codeComposabilityCan a feature be added by writing a new prompt, without new code?Emergent CapabilityCan the agent handle open-ended requests it wasn't designed for?Improvement Over TimeDoes the app work better after a month, even without code changes?
Route directly when the request or delegated task identifies the topic. When a material focus remains unresolved, present the relevant options using AskUserQuestion in Claude Code (load it with ToolSearch if needed), request_user_input in Codex, or numbered options in chat when no question tool is available. Wait only for the answer needed to resolve that choice.
ResponseAction1, "design", "architecture", "plan"Read architecture-patterns.md, then apply architecture-review-checklist.md2, "files", "workspace", "filesystem"Read files-universal-interface.md and shared-workspace-architecture.md3, "tool", "mcp", "primitive", "crud"Read mcp-tool-design.md4, "domain tool", "when to add"Read from-primitives-to-domain-tools.md5, "execution", "completion", "loop"Read agent-execution-patterns.md6, "prompt", "system prompt", "behavior"Read system-prompt-design.md7, "context", "inject", "runtime", "dynamic"Read dynamic-context-injection.md8, "parity", "ui action", "capability map"Read action-parity-discipline.md9, "self-modify", "evolve", "git"Read self-modification.md10, "product", "progressive", "approval", "latent demand"Read product-implications.md11, "mobile", "ios", "android", "background", "checkpoint"Read mobile-patterns.md11a, "icloud", "storage", "documents", "file state", "entitlement"Read mobile-storage.md11b, "background task", "battery", "on-device", "cloud routing"Read mobile-execution.md11c, "model tier", "token budget", "cost-aware", "batch", "caching"Read mobile-cost.md12, "test", "testing", "verify", "validate"Read agent-native-testing.md13, "review", "refactor", "existing"Read refactoring-to-prompt-native.md14, "anti-pattern", "mistake", "wrong"Read anti-patterns.md15, "success", "criteria", "verify", "checklist"Read success-criteria.md16, "hook", "hooks", "PreToolUse", "decision control", "async hook", "permissionDecision"Read hooks-patterns.md17, "cli", "command line", "stdout", "exit code", "--format", "--dry-run"Read cli-agent-interface.md18, "approval", "approve before send", "outbound", "ledger", "double-send"Read operator-approval-loop.md0, "quick start", "getting started", "overview", "introduction"Read quick-start.md
After reading the reference, apply those patterns to the user's specific context.
Read the relevant reference before implementing or reviewing the matching behavior:
Existing specialized references, when the corresponding topic applies: