기본 콘텐츠로 건너뛰기

글

라벨이 AI Coding Agents인 게시물 표시

Context Engineering (2026): What Survives /compact in Claude Code, Cursor, and Codex

You know the session. Ninety minutes into a refactor, the agent edits the migration file you told it never to touch, or re-adds the dependency you removed at minute ten. Nothing crashed. The context window filled, compacted itself, and left your instructions behind. That is not a model quality problem, and a sharper prompt will not fix it. It is a context engineering problem — the difference in 2026 between an agent that finishes a long task and one that loops until you give up. Most specifics below come from vendor documentation checked on November 27, 2026. Context rot is not a bug you can prompt away Anthropic's write-up describes the failure mode precisely. As tokens accumulate, a model's ability to recall any one of them drops; the company calls the cause an attention budget, because transformers build n-squared pairwise relationships that stretch thinner as context grows. The result is a gradient, not a cliff: the model does not stop at some token count, it gets progr...

Four Agents, One Repo (2026): Worktrees vs Branches vs Cloud Sandboxes

Two agents in one folder is the cheapest way to lose an afternoon. One is mid-refactor in src/api , the second runs the tests and rewrites the lockfile, and the file on disk ends up a merge of two intentions. The models were not the problem. The checkout was. Claude Code, Cursor and Codex have converged on the same answer, a forty-year-old git feature: the worktree. All three inherit the same git rules, including the one that trips people up on day two. Three ways to give an agent its own files Setup What is isolated What still collides One checkout, two sessions Nothing Every file, the index, the port, the build cache Branch switching and stashing Committed history The working tree: a stash pop is a conflict you scheduled Git worktree on one machine Files, HEAD and index per checkout .git metadata, uncopied gitignored files, ports, database Cloud sandbox or VM Files and usually the machine Your local changes, merged back by hand The third row is the sweet spot for solo work. Per ...

GitHub Spec Kit vs Kiro Specs (2026): Where the Spec Actually Lives

You asked for one feature. The agent opened nine files, rewrote a service layer you never planned to touch, and returned a forty-minute diff. The tests pass, so you approve it, and three sessions later nobody remembers why the retry logic waits 200 milliseconds. That is the failure spec-driven development (SDD) is sold to fix, and 2026 is the year the tooling caught up. GitHub's Spec Kit passed 151,000 stars on one claim: keep the intent in Markdown files the agent reads at every step. AWS's Kiro sells that claim as a product feature — requirements.md , design.md and tasks.md generated in the editor, with a credit meter attached. Both are free to try, and they are not interchangeable. The difference is not output quality. It is where the spec lives, where a human stands, and what happens when code and document stop agreeing. What spec-driven development actually asks of you Write down what the system should do before code exists, then treat that document as the source of trut...

Claude Code Hooks vs Subagents (2026): What Actually Stops a Bad Edit

Ask ten people who use Claude Code daily what stops the agent from editing .env and you get two answers. Half point at their CLAUDE.md . The rest say it has never happened, which is not the same as being protected. Anthropic's documentation says the quiet part out loud: an instruction like “never edit .env ” in CLAUDE.md or a skill is a request, not a guarantee, and a PreToolUse hook that blocks the edit is enforcement. That sentence separates the two features people keep confusing. A subagent is a worker with its own context and judgment. A hook is a script that runs whether the model agrees or not. Neither substitutes for the other. Here is which does what, four ways hooks fail open, and a two-layer gate that costs about a cent per review. The difference in one line A subagent decides. A hook happens. When you write a subagent, you write a description , and Claude decides at runtime whether a task matches it: “Claude uses each subagent's description to decide when to deleg...

AGENTS.md vs CLAUDE.md vs .cursorrules (2026): Which File Your Agent Actually Reads

You told your agent to run the tests. It ran something else, or nothing. You said keep components under 200 lines, and the next session it wrote a 400-line one. That is usually not model quality. It is a Markdown file the tool you opened never read. By late 2026 the major coding agents have converged on a filename, mostly. Each vendor still resolves nesting differently, and one prefers a competing vendor's file over the shared standard. Everything below was checked against vendor documentation on November 22, 2026 . The 30-second answer Keep AGENTS.md as your source of truth. Codex introduced it; Cursor, Copilot, Cline, Windsurf, Aider, Zed, goose and Amp read it. Gemini CLI reads it after one settings line. Claude Code reads it only when no CLAUDE.md exists. CLAUDE.md is not obsolete. Claude Code prefers it, and Cursor reads it too, always applied. So for Claude Code plus Cursor, keep a thin CLAUDE.md that imports @AGENTS.md . Stop writing .cursorrules . Cursor calls it...

Cline vs Claude Code (2026): Free Software, Paid Meter

Two coding agents, the same Claude models on tap, and bills that behave nothing alike. Cline gives you the software for nothing and puts the meter in your hand. Claude Code charges $20 a month and never shows you a per-token price until you ask for the API instead. That difference decides purchases more than any feature list. Below is the arithmetic each vendor publishes, checked November 22, 2026. The 30-second answer Claude Code if you want Claude models for a flat $20, work in a terminal or inside your editor, and would rather hit a usage limit than watch a counter. Cline if you want to pick the model per task, run open-weight models for a tenth of the price, and approve every diff before it lands. Both if you are honest about your month. They are not competing for the same slot: one sells an allowance, the other sells an interface. Same model, two meters Cline: the software is free, the model is not Cline is open source and free for individual developers — no seats, no unloc...

Claude Code vs Cursor (2026): What $20 a Month Actually Buys

If you pay for an AI coding tool out of your own pocket, you have probably narrowed the choice to two names: Cursor , the editor that turned AI into a keybinding, and Claude Code , the agent that lives in your terminal and quietly rewrites half your repository. That framing worked in 2025. It does not in late 2026. Cursor's plans are now sold through what the company calls The X Subscription , with one usage pool shared with Grok, and the cheapest tier that can touch a non-Cursor model is $30 a month , not $20. Claude Code, meanwhile, ships inside a $20 Claude Pro plan that also covers chat. That shift changes the arithmetic for freelancers, indie developers, and small teams who cannot expense a $200 seat. Here is what each product actually includes on November 19, 2026, checked against both vendors' own pages. What Changed at Cursor Cursor's pricing page now lists five individual plans and a Teams plan: Plan Price What stands out Free $0 Limited agent and chat requests P...