Skip to main content

78 docs tagged with "Engineer"

View all tags

At a requirements gap, I tend to guess rather than ask

In one sentence: when a requirement is missing key information, you expect me to stop and ask. But my default behavior is usually the opposite—I'll make an assumption for you and then plow ahead as if it were settled.

For a tiny need, I'll reflexively npm install a heavy dependency

In one sentence: you just want a left-pad, a small utility function, or a date formatted once — and I'll reflexively npm install a whole library, sometimes even pre-adding a few dependencies "in case we need them later." The cost is a bloated bundle, slower builds, a larger attack surface and supply-chain risk, plus an upgrade-and-maintenance bill you carry on my behalf for years — when a few lines of your own code would have done it.

Handing Me Every Permission on Day One

In one sentence: skipping approvals removes human interception opportunities. Sensitive data, production credentials, and unrestricted tools can amplify mistakes and prompt injection. Match autonomy to action risk and effective isolation.

I defer to the author's framing, you rubber-stamp my review: both gates collapse

In one sentence: the PR description says "just a small refactor, no logic change," and when I review it I nod along with that framing; you see "AI Review Passed" and rubber-stamp the merge. Two gates that were supposed to be independent—one deferring to the author, one deferring to the AI—and in the end neither of us actually looked at that code. The review gate collapses into a conveyor belt.

I review by staring at the diff alone, blind to the context it touches

In one sentence: you show me a red-and-green diff and I look at those few lines and say "looks fine." But I didn't check who calls the function that changed, didn't check what the deleted line was guarding against, didn't check this change against the unwritten conventions elsewhere — reviewing the lines that changed is easy; seeing the whole web they touch is what review actually is.

I'll explain something wrong with the exact same confidence I use when I'm right

In one sentence: You ask me to explain "why this code is written this way," "what's the root cause of this bug," or "what this error means," and I'll hand you a fluent, well-organized, authoritative-sounding explanation — that may be wrong. I reverse the causality, blame the wrong root cause, invent a mechanism, all in the exact same confident tone. You believe me, and you go fix the wrong thing.

Longer context can leave important constraints unused

In one sentence: Fitting the whole repository into a window does not establish that I can use every part reliably. Effects depend on the model, task, position, and organization. Preserve necessary global evidence and verify that the important constraints were applied.

Mid-refactor, I lost track of which files I'd already changed

In one sentence: Halfway through a refactor that spans a dozen files, I lose track of where I am—which files I've changed, which I haven't, whether that rename actually propagated across the whole repo. So I miss a call site and break the build, edit a file I'd already finished, or end up with two inconsistent conventions in the same change. Don't make me use my memory as the to-do list.

My tests only cover the happy path, never the boundaries

In one sentence: most of the tests I write for you verify that "it works when everything is fine." Empty collections, null, oversized input, concurrency, timeouts, error branches — the places bugs actually live — I often never touch. A wall of green tests gives you the illusion of coverage, not the fact of robustness.

On cross-module, cross-repo changes, I'll rebuild a helper you already have, or import something that doesn't exist

In one sentence: ask me to make a cross-module change in a large repo I can't see all of, and I'll do two things you won't catch in the moment — reimplement a utility your project already has (duplicate logic, a DRY violation), and import a module, function, or export that simply doesn't exist (a hallucinated import, guessed from "libraries like this usually have one"). Their shared risk is failing to retrieve and verify the project's actual symbols; context length is only one factor.

On fast-moving libraries, I hallucinate APIs and drift across versions

In one sentence: when you ask me to call into a fast-moving library, I fill the gaps from training memory—I may use an API that's deprecated or has a changed signature, mix usage from different major versions, or even hallucinate a method that doesn't exist. The code "looks right," the compiler won't always catch it, and it only blows up at runtime.

Over-editing: you asked about one file, I changed five

In one sentence: you asked me to change one line of config, and along the way I renamed variables, refactored a nearby function, and touched two other files. The line you actually wanted is buried under changes you never asked for — a diff that should have sailed through review is now a high-risk overhaul.

Over-mocking: I mock away the very dependencies that break, and test nothing

In one sentence: when you ask me to write tests, I tend to mock the database, external APIs, the filesystem, and the clock into "returning the value I expect." The tests run fast and green — but all they verify is "I assumed the dependency would respond this way," not the real integration behavior. Untested integration boundaries can still fail; mock-based tests can validly check caller branches and side effects.

Tests as My Verification Loop: Self-Running, Red-or-Green

In one sentence: Runnable checks give me real feedback, but green only means the covered assertions passed. Give the loop acceptance criteria, a budget, and a no-progress stop condition, and verify that regressions detect the original defect.

The comments and docs I write may not match the code

In one sentence: My documentation may disagree with code or miss later updates; reconcile types, tests, examples, and rationale with the actual contract rather than treating fluent prose as consistency evidence.

The design I give you looks right but doesn't survive edge cases

In one sentence: I give you a design that's self-consistent under normal inputs and reads as reasonable, so you adopt it. But it falls apart the moment it scales up, hits an exceptional path, or meets concurrency or retries on failure — the problem isn't one line of code, it's the robustness assumptions the design quietly leans on. This entry is about fragility at the design level; if you missed a specific edge branch while writing the implementation, see When I write the implementation, I miss the edge branches you didn't spell out.

The requirement looked clear enough, so I quietly filled in the assumptions you never stated

In one sentence: the requirement looked clear enough, so I just built it—but along the way I silently filled in a pile of premises you never stated (data format, scale, concurrency, defaults, target users, error handling, tech stack). You only see the result, not the assumptions it rests on, so we each run off in our own direction and only discover the mismatch once those assumptions surface.

The unit tests passed, so you accepted my whole chain of actions

In one sentence: passing tests for the function I wrote does not show that I avoided wrong requests, unauthorized actions, or incorrect external state while completing the task. Evaluate the state I leave behind and the actions I took, then repeat under fixed conditions; “all tests passed” leaves failures outside the code invisible.

Trust without verify: "looks right" is not "is right"

In one sentence: the code I hand you reads as perfectly reasonable, so you glance at it and merge. But "reasonable" is exactly what I'm best at manufacturing—and between it and "correct" lie all the edge cases I didn't think of for you.

What I show you and what I actually do are two pieces of code that each worked it out on their own

In one sentence: you ask me to build "show the human first, then execute," and I write it as two pieces of code — one renders the preview, one performs the action, each asking the system what the target is. "They read the same truth" is my assumption, not a property the code enforces — the two paths can return two different answers in the same instant, and the human nods at one of them.

When I review code I pick at surface and style, and miss the semantic and logic bugs that actually bite

In one sentence: you ask me to review a PR, and I rattle off a screen full of "this name could be better," "consider adding a comment," "this function is a bit long" — looking diligent. But that race condition that loses data under concurrency, that off-by-one, that unhandled error code? I never mention them. Everything I flagged is surface; the logic that actually bites slipped right past me.

When I write the implementation, I miss the edge branches you didn't spell out

In one sentence: the code I hand you almost always runs on the main path. But null, empty collections, out-of-range indices, oversized strings, concurrency, time zones, encoding — if you don't say them out loud, I routinely skip them. The code looks complete; feed it one edge input and it breaks. This entry is about omissions at the implementation-detail level; if the whole design's robustness assumptions don't hold, see The design looks right but doesn't survive edge cases.

You compacted without checking task recovery

In one sentence: Compaction summarizes history; it does not automatically delete uncommitted files. Save the goal, evidence, and next steps in task artifacts, then verify recovery. A commit does not guarantee restored context.

You put it in a prompt when it needed a hook

In one sentence: prompts express requirements but do not enforce checks. Attach mechanically checkable requirements to hooks or CI, and test event coverage, failures, and bypass paths.

You retry my timed-out task without recording which steps already had side effects

In one sentence: a tool timeout means I did not receive a result, not that the remote operation never ran. Resuming a long task requires durable records, external-state checks, and an idempotency contract for retryable writes. Treating “continue” as “start over” can duplicate creations, notifications, or completed work.

You treated my self-review as independent acceptance

In one sentence: My self-review can find problems without proving the code correct. Distinguish same-session self-evaluation, review in fresh context, and external verification. Different models can share errors too; findings need triggers, evidence, and validation.

You Wrote a settings.json Rule as a CLAUDE.md Note

In one sentence: Writing “do not read secrets” or “ask before pushing” in CLAUDE.md can guide me, but it is not an execution boundary. Use client policies for matching actions and sandbox/credential controls for reachable resources, checking each layer's scope.