Implux Field GuideAGENTIC AI · FORWARD DEPLOYED ENGINEERING

A practical reference for designing agents, delivering software, and proving outcomes.

THE PRACTITIONER'S REFERENCE
Questions · Patterns · Practice

Mock interview / timed practice

Agent coding and production debugging mock interview

A practical round for diagnosing duplicate side effects and tenant isolation failures in a restarted agent workflow.

Timed interviewer sequenceTrade-off follow-upsSelf-scoring rubric

The prompt

An agent occasionally repeats a write after a worker restart and sometimes acts on a record from another tenant. Explain how you would reproduce, isolate, fix, and test both defects, then discuss rollout and observability.

How to run the round

Set a timer and answer aloud before reading the guidance. Ask a partner to reveal one follow-up at a time, or record yourself and review the answer against the rubric. Leave a few minutes at the end to state what evidence would change your design.

  1. 0–8 min · Reproduce

    Ask for run IDs, state snapshots, tool request IDs, tenant identity, expected invariant, observed effect, and whether the failure is deterministic.

  2. 8–18 min · Trace the lifecycle

    Follow admission, persisted state, model decision, authorization, tool call, timeout, checkpoint, restart, replay, and final verification.

  3. 18–30 min · Fix duplicate writes

    Use stable operation IDs and downstream idempotency where possible. Reconcile unknown outcomes before retry; distinguish at-least-once delivery from exactly-once effects.

  4. 30–38 min · Fix tenant leak

    Derive tenant and principal from trusted identity, authorize each resource server-side, filter before model context, and test caches and traces for boundary leaks.

  5. 38–48 min · Test and release

    Add regression, adversarial, restart, timeout, and cross-tenant tests. Canary with safe traffic or shadow mode and define stop and rollback criteria.

  6. 48–55 min · Communicate

    Summarize user impact, mitigation, root cause, permanent fix, verification evidence, and how affected customers are notified or reconciled.

Answer structure to keep visible

Separate diagnosis from mitigation. First protect users and bound further effects. Then reconstruct one failed run across durable state and external effects. Make the fix enforce invariants at trusted boundaries, add a regression test that reproduces the failure, and verify the rollout with observable signals.

ContainContain
Reconstruct traceReconstruct trace
Enforce invariantEnforce invariant
Reproduce in a testReproduce in a test
Canary and verifyCanary and verify
A compact sequence is easier to follow than an unordered inventory of components.

Common misses to watch for

Treating a retry as safe because the client did not receive a response; trusting tenant IDs supplied by model arguments; assuming workflow checkpointing makes external writes exactly once; patching only the symptom without replay tests; logging raw secrets or customer records during diagnosis.

Score the answer

Dimension1 · Missing2 · Partial3 · Strong4 · Exceptional
Problem framingAssumes the task.Asks generic questions.Clarifies success, constraints, and risk.Prioritizes unknowns and adapts scope as evidence changes.
Technical reasoningLists tools without a coherent flow.Happy path only.Explains state, boundaries, and trade-offs.Compares viable alternatives with workload evidence.
Reliability and safetyTrusts model output.Names generic guardrails.Places enforcement, recovery, and verification at boundaries.Connects threat model, failure containment, and operational ownership.
Evidence and communicationClaims success without proof.Names measures without decisions.Defines tests, success signals, and stop conditions.Uses evidence to make a clear, reversible decision and explains uncertainty.

Self-score: Rate each dimension 1–4, cite a specific moment in your answer, then choose the lowest-scoring dimension for the next practice session. A total score is a coaching aid, not a hiring prediction.

Interviewer follow-ups

  • Which assumption is most fragile, and how would you test it?
  • What changes if the cost of a wrong action is ten times higher?
  • What would you deliberately leave out of the first release?
  • Who owns this system the day after launch, and what would trigger a rollback?
Use the practice method ↗