# Level 1–2: Assisted and Paired Coding

URL: https://developertoolkit.ai/en/ladder/level-1-2-assisted-paired/
Description: Autonomy ladder Levels 1 and 2: the five-point diagnostic test and the three-part repository setup (context file, plan gate, verified loop) to reach Level 3.

Levels 1 and 2 of Dan Shapiro's autonomy ladder cover assisted and paired coding: an agent handles discrete chores or writes most of a change while you steer live and read every line. Shapiro estimates 90% of "AI-native" developers sit at Level 2. Leaving requires a context file, a plan gate, and one verified loop.

You run Claude Code, Codex, or Cursor every day, keep diffs small, and still re-type the same test commands and conventions into every new session. Nothing visibly breaks, so nothing pushes you upward—which is exactly why most developers and teams plateau here. This guide gives individual developers the exact three-step upgrade and gives tech leads a checklist for repository readiness.

## How Levels 1 and 2 work in daily engineering

Shapiro's taxonomy (23 January 2026) calls Level 1 "the coding intern" and Level 2 "the junior developer." Below both sits Level 0 ("spicy autocomplete"), where no character reaches disk without explicit approval.

- **Level 1 (Assisted):** You write the core logic and hand off discrete chores—a test fixture, a regex, a migration helper. You keep ownership of design and structure.
- **Level 2 (Paired):** You hand over first-pass writing and keep live steering plus line-by-line reading—matching the interaction model popularized as [AI pair programming](/en/glossary/ai-pair-programming/). Shapiro adds the crucial warning: *"Level 2, and every level after it, feels like you are done. But you are not done."*

Human reading is the sole safety net at Level 2, and industry data shows it already leaks. Sonar's survey of 1,100+ developers (8 January 2026) reported that **96% of developers do not fully trust AI-generated code, while only 48% always verify it before committing.** Half the field is already skimming the only gate Level 2 relies on.

## Are you at Level 2? The five-point test

1. **Whole tasks over completions.** You specify an outcome—such as adding pagination to an API endpoint—rather than accepting token completions inside a function.
2. **Live supervision.** You stay present through the session and interrupt whenever the agent drifts.
3. **Line-by-line commit review.** You inspect every edited line yourself before committing rather than trusting a prose recap.
4. **Human memory substitutes for repo config.** You repeatedly type build commands, conventions, and forbidden paths into fresh sessions.
5. **Single-threaded execution.** Nothing runs unattended in a second worktree, background agent, or CI loop while you focus elsewhere.

Five yeses place a loop cleanly at Level 2. Answering no to item 1 puts you at Level 1. Items 4 and 5 are what anchor you here—and item 4 takes under an hour to eliminate permanently.

## Three repository upgrades that unlock Level 3

None of these upgrades requires switching tools; each produces a verifiable artifact inside the repository.

### 1. Commit one verified context file loaded every session

Stop acting as the agent's short-term memory. Generate your project instructions from the repository itself—containing only verified commands (build, lint, typecheck, test), top-level directory layout, conventions reviewers actually enforce, and forbidden paths (migrations, generated files, secrets). Keep it under 150 lines ([layered context with AGENTS.md](/en/workflows/context/agents-md-context/)).

| Tool | Standing instructions mechanism | Key nuance | Official docs |
| --- | --- | --- | --- |
| **Claude Code** | `CLAUDE.md` (falls back to `AGENTS.md` when no `CLAUDE.md` exists) | Keep repo rules concise; move deep workflows into `SKILL.md` skills | [Claude Code docs](https://code.claude.com/docs) |
| **Codex** | `AGENTS.md` hierarchy | Loads project-level `AGENTS.md` only once the repository is trusted | [OpenAI Codex docs](https://developers.openai.com/codex) |
| **Cursor** | `.cursor/rules/*.mdc` (`alwaysApply`, `globs`, `description`) and `AGENTS.md` | Scope domain rules by `globs` so irrelevant rules never bloat context | [Cursor docs](https://cursor.com/docs) |

**Verification test:** every command listed in your instructions file exits 0 on a clean checkout, and a fresh session answers "how do I run tests and typecheck here?" accurately with zero prompting.

### 2. Make read-only planning the default gate before edits

Reviewing a ten-line plan takes thirty seconds; untangling a misguided 400-line diff takes an hour. Require the agent to explore first and present a plan naming the files it will change, edge cases, and planned tests before modifying disk:

- **Claude Code:** start complex tasks in read-only Plan mode or configure a project default permission mode while keeping hooks ready for automated checks.
- **Codex:** plan before editing and separate `sandbox_mode` (`workspace-write` for repo edits) from `approval_policy` (`on-request` for interactive pairing; note legacy `untrusted` was retired).
- **Cursor:** toggle **Plan Mode** inside Agent before implementation and refine the plan until every step names target files and verification checks.

See [the build stage](/en/method/lifecycle/build/) and [permissions and sandboxing](/en/workflows/harness/permissions-and-sandboxing/) for full posture trade-offs.

### 3. Run one repeatable task class to a deterministic stop condition

Pick a recurring task—a CRUD endpoint, bug with reproduction, or typed refactor—and define testable acceptance criteria upfront. "Done" means every acceptance test fails before the change and passes after it, the repository's unified check command exits 0, and existing tests remain untouched.

**Copy-paste prompt: paired task with a verified stop condition**

```text
Task: add cursor-based pagination to GET /orders (params: limit default 50 max 200, cursor).

Step 1 (read-only plan):
List every file you will modify, testable acceptance criteria (including limit=0, limit=201,
invalid cursor, and final page), and the tests you will add. Stop and wait for approval.

Step 2 (after approval):
Implement the change. You are finished only when:
- each acceptance criterion has a test that failed first and now passes;
- the repository's test, typecheck, and lint commands all exit 0;
- no existing test, fixture, snapshot, or CI file was edited or skipped.

End with a concise evidence mapping: criterion -> test name -> pass/fail, plus any uncertainties.
```

## Building the checks that will eventually replace line-by-line reading

At Level 2 you still read every line—echoing Kent Beck's [augmented coding](/en/glossary/augmented-coding/) discipline. Treat each paired session as a rehearsal for the checks that will carry Level 3 and Level 4:

| Check | Source | What it proves |
| --- | --- | --- |
| **Unified command gate** | "Verify before finishing" block in `AGENTS.md` | Build, types, lint, and existing suite pass |
| **Acceptance tests** | Plan criteria written before implementation | New behavior holds and tests can genuinely fail |
| **Protected oracle** | Explicit rule + hook / `CODEOWNERS` on test paths | Agent did not weaken checks to pass |
| **Evidence summary** | Structured final report | Every criterion maps to an executed check |

Run `npx @wondelai/harness-audit` ([Harness Audit](/en/harness-audit/)) to confirm your repository passes the Level 2 baseline objectively. Compare your human diff read against the automated evidence on every task: whenever your eyes catch a flaw the checks missed, encode a new check. Once a task class runs cleanly for several tasks without your diff read catching missed bugs, move it into an isolated worktree at [Level 3](/en/ladder/level-3-review-diffs/).

## Four ways the climb out of Level 2 stalls, and how to recover

**Context files list aspirational rules the repo violates**

**Symptom:** agents obey outdated instructions, CI fails, and teammates stop trusting the file. **Recovery:** delete every rule without concrete backing in the repository, verify every listed command exits 0 on a clean checkout, and prune quarterly ([pruning context files](/en/workflows/context/pruning-context-files/)).

**Line-by-line reading silently decays into skimming**

**Symptom:** you approve changes from the agent's summary without inspecting code or running checks (the gap behind Sonar's 48% verification stat). **Recovery:** add a deterministic command gate and acceptance tests before reducing reading on any task class.

**One agent, one terminal caps throughput at your calendar**

**Symptom:** every session requires live babysitting, preventing parallel work. **Recovery:** move your verified task class from Step 3 into a second isolated checkout ([git worktrees](/en/workflows/harness/git-worktrees/)).

**Relying on shifting tool defaults instead of committed config**

**Symptom:** permission modes or review behaviors shift after a tool update and surprise your workflow. **Recovery:** pin project instructions, hooks, and sandbox expectations inside version control and check current syntax in vendor docs.

## What tech leads should verify across Level 2 repositories

Audit three binary facts per repository before introducing parallel agents: a concise instructions file is committed with commands verified in CI, read-only planning is standard before non-trivial edits, and at least one recurring task class uses explicit acceptance criteria with a stop condition.

## Next steps

- [Level 3: You Review the Diffs](/en/ladder/level-3-review-diffs/) — Parallel worktrees, review automation, and breaking the review ceiling
- [Reading evidence instead of code](/en/ladder/evidence-not-diffs/) — What replaces line-by-line review once your checks hold
- [Auditing your agent harness](/en/workflows/harness/harness-audit-guide/) — Verify your repository's Level 0–5 readiness locally
- [Developer track](/en/start/developer/) — Follow the complete step-by-step path from here to Level 4
