跪拜 Guibai
← All articles
AI Programming

When AI Writes 80% of Code, the Interview Answer Is About Responsibility, Not Lines

By 怕浪猫 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

When producing code approaches zero cost, the developer's job shifts to defining what correct looks like, constraining trade-offs, and owning risk. Teams that ignore this end up with agents generating plausible code that nobody can verify or trust, which is the real bottleneck in shipping software with AI.

Summary

The question 'if AI writes 80% of your code, why does a company still need you?' is now a standard interview probe in late 2026, and the article argues that the number itself is a distraction. Metrics vary wildly depending on whether you count characters, lines, tasks, or merged production code, so debating the figure is pointless. A better response starts by accepting that AI has already moved from code completion to operating across the entire software delivery pipeline: repo research, planning, implementation, testing, pull requests, review, deployment monitoring, and fault diagnosis. Products like OpenAI Codex, Claude Code, Gemini 4 Carbon, GitHub Copilot cloud agent, Cursor Projects, Factory Missions, and Devin Oncall all demonstrate this, and domestic Chinese tools like DeepSeek, Qwen Code, and Kimi Code are following the same path.

The article then dismantles three stale defensive answers. Claiming 'AI code quality is poor' ignores that DORA 2025 found 90% of technical respondents use AI and 59% say it improves code quality, even if that is self-perception, not proof. Claiming 'AI lacks business or system context' overlooks the fact that agents can research a repo, clarify requirements, and build acceptance contracts; the real gap is organizational constraints that live outside the repo, such as which APIs must not change due to unmigrated clients or which processes need human sign-off. And claiming 'humans must do code review and on-call' fails because Claude Code already reviews PRs and Devin Oncall investigates alerts; the durable role is designing verification mechanisms, limiting permissions, and owning decision points.

The recommended answer has three layers: define goals and acceptance criteria so the agent implements the right problem, make system trade-offs with full awareness of constraints beyond the repo, and design the permissions, validation, and escalation mechanisms that let the agent run while keeping final responsibility human. The article advises pairing this with a real project story structured as task, agent responsibilities, discovered issues, changes you made, and verification method, with data from actual projects only, not invented improvements.

Takeaways
— A Management Science study of 4,867 developers across Microsoft, Accenture, and another Fortune 100 firm found AI code completion assistants raised task completion by 26.08%, with smaller benefits for senior developers and large variance across trials.
— As of November 2026, Claude Code's automatic PR review is generally available for Team and Enterprise plans, with most reviews taking 6-10 minutes.
— GitHub Copilot's cloud agent can research a repo, plan implementation, modify code, run tests, and create a PR, but a single task is limited to one repository, one branch, and one PR.
— Cursor's Rollouts feature checks post-release regressions using logs, metrics, and traces, but it will not merge or roll back changes by itself.
— DORA 2025 reported that 90% of technical respondents use AI, over 80% say it improves personal productivity, and 59% say it improves code quality.
— Stack Overflow's 2026 developer survey found only 6.6% trust AI for many important work decisions, while 48% trust it only when output is easily verifiable and 76.5% run AI answers locally before using them.
— Qwen Code can ingest GitHub commit, review, and CI failure events to read logs and fix issues, but by default it requires user confirmation before publicly replying to PRs.
Conclusions

The 80% figure is a rhetorical trap: the article's real point is that arguing about the number misses the shift from writing code to defining what correct means and verifying it.

The three-layer answer reframes the developer as a systems engineer who designs constraints, permissions, and verification gates around autonomous agents, not as the person who types the code.

The Stack Overflow data suggests the binding constraint is trust infrastructure, not raw agent capability: developers adopt AI widely but demand local execution and security checks before accepting output.

The article's advice to bring real project data implies interviewers now want evidence of working with agents, not just familiarity with their names or features.

Concepts & terms
Architecture Decision Record (ADR)
A documented record of a significant architecture decision, including context, alternatives, the chosen course, and the rationale. The article recommends using ADRs to preserve the reasoning behind system choices when agents generate or compare options.
Wish-driven programming
A programming paradigm associated with DeepSeek's V4.1-Flash release, where the developer states the desired outcome in natural language and the agent generates the implementation and validates it against the goal, rather than the developer composing code line by line.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗