Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
AI, ML & LLMLeadSpecialistStrategy

As a QA lead, what would you put in place before your team uses coding agents every day on the product and its tests?

Answer

Set up the harness before scaling usage. Write one short instructions file with commands, test-writing rules and scope limits, and define one verify command as 'done', enforced by a hook before the agent finishes and as a required CI check. Give tiered permissions: free edits in an isolated worktree or sandbox, approval for dependencies, CI configuration, migrations and deletions, and no production secrets. Require human review of test diffs for weakened assertions and keep changes small. Start with tasks that have checkable results, turn every recurring agent mistake into a rule or check with an owner, and compare escaped defects, rework and cost per merged change with a baseline.

Strong answer includes

  • defines a single verification command and enforces it with hooks and CI
  • uses isolated environments and tiered permissions for risky actions
  • keeps human review focused on test changes and small diffs
  • runs a feedback loop that turns recurring mistakes into checks and measures outcomes against a baseline

Practical example

Before rollout, a QA lead adds AGENTS.md with `npm run verify` as the definition of done, a Stop hook that runs it, worktree-per-task sandboxes without production credentials, and a review rule that any removed assertion needs a written reason. A weekly review turns the top recurring agent mistake into a new lint rule or test.

#coding-agents#agent-harness#qa-lead#governance#ai-qa

Sources

What is asked in a Harness Engineer interview?Outcome School · Round-by-round harness-engineer interview: the agent loop, stopping criteria, loop detection, self-correction through tests, evaluating harness changes and designing a team harnessTop 30 AI-Native Engineer Interview Questions and Answers [2026]Second Talent · Coding-agent workflow questions: instruction files, making project rules stick, verifying an agent's 'all tests pass', reviewing agent diffs and agent permissionsSDET Interview Prep for AI-Era Hiring: 50 QuestionsScrolltest · An SDET interviewer's question set, including AI copilots in the daily testing workflow and a senior-level quality strategy for agentic systemsHarness engineering: leveraging Codex in an agent-first worldOpenAI · Short AGENTS.md as a map, invariants enforced by custom linters and structural tests, lint messages written as fix instructionsHarness engineering for coding agent usersBirgitta Böckeler, martinfowler.com · Builder and user harness, guides and sensors, computational and inferential controls, and keeping quality checks earlyHooks referenceAnthropic · Hook events and exit codes: feedback after a tool call and blocking the agent from stopping until a check passes