# Reproduce It, Fix It, Prove It: A Sandbox and Remediation Plans for Technical Support

> A root cause is only half the job. TicketResolve 6.0 phase 3 adds a reproduction sandbox for testing a fix against the failure before it ships, and remediation plans that keep the quick mitigation, the workaround and the real fix apart, with monitoring built from the signals you actually have.

Source: https://www.ticketresolve.ai/blog/sandbox-remediation-plans · Published 2026-11-15 · TicketResolve AI

**The usual end of a technical ticket goes like this: someone suggests a fix, it gets applied, and everyone waits to see whether the customer writes back. Sometimes the fix worked. Sometimes it only hid the symptom. Sometimes it broke something else, and nobody finds out until the next ticket.**

Here's that ending at a company that sells an online booking API to gyms. A customer's integration fails with `422 Unprocessable Entity` when creating bookings since Monday:

- **Monday afternoon.** An engineer finds a new required field, `timezone`, added to the API last week. He switches off the validation with a feature flag. Errors stop. The ticket is closed as *fixed*.
- **Two weeks later.** Someone switches the flag back on during a cleanup. The customer's errors return. Nobody had written down that the flag was a mitigation, not the fix, and nobody had asked the customer to send the new field.

The cause was found. The ending was still wrong.

**The third phase of TicketResolve 6.0 tightens that ending in two ways.**

## First, the basics

- **A reproduction** makes a failure happen on demand. **A sandbox** is a safe test environment to run it in.
- **A scenario** is a short list of requests or browser steps, each with what should happen.
- **A baseline** run shows the failure before any change. **A candidate** run is the same scenario with one change.
- **Synthetic values** are realistic but fake test data.
- **Inconclusive** means the run couldn't tell either way, such as when a request got no response.
- **A mitigation** stops the damage quickly; **a workaround** is something the customer can do meanwhile; **a permanent correction** removes the cause.
- **An approved remediation operation** is a pre-registered action (such as a flag toggle) that runs at its approval level.
- **Post-fix monitoring** watches signals after a fix to check it held.

**Why does this matter?** Testing a fix against the failure before it ships shows whether it changes anything. Keeping mitigation, workaround and fix apart stops a quick patch being mistaken for the real thing. Watching the right signals afterwards shows whether it held.

## The problem, in plain terms

1. **Fixes are applied** without testing against the failure.
2. **Test setups that break** are mistaken for product evidence.
3. **Mitigations are reported** as fixes.
4. **Nobody knows what to watch** after a fix.
5. **Test environments** can be mistaken for production.

## A sandbox for the failure

**The browser reproduction lab already tries to reproduce reported bugs on your product's test account. The sandbox builds on it in three ways: it adds API scenarios, it tests candidate fixes, and it compares the two runs.**

**A scenario is a short list of requests, or browser steps, where each step says what should happen. TicketResolve drafts one from the investigation. The customer's failing API calls become requests with credentials removed and names, e-mails and phone numbers replaced by synthetic values. The reproduction lab's plan becomes the browser version. You edit what you need and run the baseline. If a step fails its expectation, or the reported error shows up in a response, the failure is reproduced. A request that got no response at all is inconclusive, never "reproduced", because a broken test setup is not evidence about the product.**

**From a reproduced baseline you run a candidate: the same scenario with one change. That could be a different request (adding the missing field, say), or the unchanged scenario against an environment where the fix is already deployed. The verification report puts the two side by side and reads one of five ways:**

- **Fixed** in the sandbox
- **Partly fixed**: some failing steps now pass, others don't
- **Not fixed**
- **Regression**: a step that passed before now fails
- **Not reproducible**: the baseline didn't fail, so the change can't be judged

**It also says what the report doesn't prove. A sandbox result shows what happened in a test environment. Production still needs its own verification once the change ships.**

### Where it runs, and what it won't do

**Admins register sandbox environments, and there are three kinds:**

- **Cloud**: **a public HTTPS test host that TicketResolve calls directly, optionally with a saved test credential bound to that host.**
- **Your agent**: **a private test environment. The TicketResolve agent (1.2.0, `TR_SANDBOX=1`) runs the scenario inside your network. It only reaches hosts listed in `TR_SANDBOX_HOSTS` and uses a credential that never leaves the agent. Test suites you declare there (`TR_SBX_E2E="cmd:…"`) run only on your agent, so customer code never runs on shared infrastructure.**
- **Product test account**: **browser scenarios with the test login you already confirmed. They can also mock external services, for example a payment provider returning 402, to see how the product handles it.**

**Every environment is declared a test environment when it's added, and a host that serves an API file labelled production is refused outright. Requests that change data need two things: an environment that allows writes, and a second person's approval. Runs have hard limits: 20 requests, 15 seconds each, 3 minutes per run, 2 MB per response. Logs, responses and screenshots are deleted after the environment's retention period, and only the verdict remains. Every request, approval and result is audited.**

## Remediation plans that don't blur

**The Resolution tab already ranked options by evidence, history, compatibility, risk and rollback. It now begins with a plan in three tiers:**

1. **Immediate mitigation**: quick, reversible, buys time. A feature flag switched back, a configuration value restored.
2. **Temporary workaround**: what the customer can do meanwhile.
3. **Permanent correction**: the change that removes the cause.

**The three are never reported as each other. A mitigation that makes the errors stop is still a mitigation, and the permanent correction stays open until a verification shows it worked.**

**Each tier shows its evidence and constraints, its risk, its expected downtime and recovery time (labelled as estimates, because they come from the kind of change rather than a measurement), and how to roll it back. Where your team has registered an approved remediation operation that does the job, such as a flag toggle, a restart runbook or a deployment rollback, the plan links to it and shows its approval level. Nothing runs from the plan itself. Production changes go through the same approval framework as before.**

**Configuration drift and API contract changes from phase 2 feed the plan concrete options. A connection pool that went from 50 to 5 becomes "revert DATABASE_POOL_MAX to 50", with its rollback. A secret that differs between environments becomes "check and rotate", marked security-sensitive. A newly required field becomes two options: restore compatibility on the server, or have the customer send the new shape.**

### Watching after the fix

**Every plan ends with post-fix monitoring, built from signals the workspace actually has. That means the error signatures that matched the report, each with its rate before the problem started as the target, plus synthetic checks covering the service, relevant metrics, and new tickets about the same problem. If a signal is missing, such as no error tracker or no synthetic check, the plan says so instead of pretending to watch.**

## A worked example, start to finish

Here's the gym-booking `422`, with the sandbox and a remediation plan. The details are illustrative.

**Monday 14:00, scenario.** From the investigation, TicketResolve drafts a scenario: the customer's failing `POST /bookings` with the API key removed and the member's name, e-mail and phone replaced by synthetic values. Expectation: `201 Created`.

**14:05, baseline.** Run in the **cloud** sandbox (their public test host). Response: `422`, *"timezone is required"*. **Reproduced.**

**14:10, candidate.** The same scenario with one change: `timezone: "Europe/London"` added. Response: `201`. **Verification report: Fixed in the sandbox**, with the note that production needs its own verification.

**14:20, the plan.** The Resolution tab's three tiers, fed by phase 2's **API contract** change (*new required field `timezone`*):

1. **Immediate mitigation:** switch off the new validation with the existing feature flag. Evidence: the contract change; risk: low; expected downtime: none (**estimate**); rollback: switch it back. Linked to their **approved remediation operation** *toggle-flag*, approval level: second person.
2. **Temporary workaround:** none needed for the customer while the flag is off.
3. **Permanent correction:** two options: **restore compatibility on the server** (default `timezone` from the gym's settings), or **have the customer send the new shape**. Each with evidence, risk and rollback.

**14:30.** The mitigation runs through the operation's approval. Errors stop. The plan shows **mitigation applied**; the **permanent correction stays open**.

**Tuesday.** Engineering chooses *restore compatibility on the server*. A candidate run against the staging environment where it's deployed, **with the flag back on**: `201`. Fixed in the sandbox.

**Wednesday, post-fix monitoring.** After release: the error signature *"timezone is required"* at its rate **before the problem started** (zero) as the target; the synthetic check on `/bookings`; new tickets about the same problem. The plan notes: **no error tracker connected for the mobile SDK**, so that signal is missing.

**Two weeks later.** Someone switches the flag back on in a cleanup. Nothing breaks: the permanent correction is in place, and monitoring stays at target.

## Five more real-world scenarios

### 1. No response from the test host

**Situation.** The baseline request times out.

**How TR handles it.** Inconclusive, never reproduced: a broken setup isn't evidence about the product.

### 2. A production host

**Situation.** Someone registers a host serving an API file labelled production.

**How TR handles it.** Refused outright.

### 3. A request that changes data

**Situation.** A scenario creates real bookings.

**How TR handles it.** Needs an environment that allows writes and a second person's approval.

### 4. A private test environment

**Situation.** The test environment is only reachable inside the company network.

**How TR handles it.** The agent runs the scenario inside, reaching only `TR_SANDBOX_HOSTS`.

### 5. Mocking a payment failure

**Situation.** The team wants to see how the product handles a declined card.

**How TR handles it.** A browser scenario on the product test account can mock a payment provider returning 402.

## Before and after

**Before.** A feature flag that stopped the errors, a ticket closed as fixed, and the same errors back two weeks later when someone tidied up.

**After.** A reproduced baseline, a candidate that showed the fix works, a plan that kept mitigation and correction apart, a permanent correction verified with the flag back on, and monitoring against the rate before the problem.

## How to tell it's working

- **Fixes are tested** against the failure before shipping.
- **Mitigations stay labelled** until the correction is verified.
- **Missing monitoring signals** are listed and filled.

## Who it's for

- **Support and platform engineers** who fix customer problems.
- **Engineering leads** who approve production changes.
- **Teams with private test environments.**

## How it fits with the rest of TicketResolve

The sandbox builds on the **browser reproduction lab**; plans build on the **Resolution tab** and phase 2's **configuration drift** and **API contracts**. Production changes run through **approved remediation operations**.

## Mistakes to avoid

- **Closing tickets on a mitigation.**
- **Treating inconclusive** as reproduced or not.
- **Skipping post-fix monitoring.**

## Do it in TicketResolve, step by step

**Where:** the investigation's sandbox and Resolution tab (`/dashboard/investigate`). **You'll need:** a registered sandbox environment (cloud, your agent, or product test account); approvers for writes and production changes. **Full guides:** [TR Investigate: from a ticket to a verified fix](https://www.ticketresolve.ai/docs/guide/tr-investigate) and [API workbench: reproduce a customer's API call](https://www.ticketresolve.ai/docs/guide/api-workbench).

1. **Register a sandbox environment** (admins); it's declared a test environment.
2. **Draft a scenario** from the investigation; edit as needed.
3. **Run the baseline** and check it reproduces.
4. **Run a candidate** with one change.
5. **Read the verification report**: fixed, partly fixed, not fixed, regression, or not reproducible.
6. **Read the plan's three tiers**, with evidence, risk, estimates and rollback.
7. **Apply mitigation** through an approved operation if needed; keep the correction open.
8. **Set up post-fix monitoring** and fill missing signals.

**How to check it worked:** the plan shows mitigation and correction separately, and the correction closes only after verification.

## Frequently asked questions

**What's a candidate run?**
The same scenario with one change, compared with the baseline.

**What if the baseline doesn't fail?**
Not reproducible: the change can't be judged.

**Is a sandbox result proof in production?**
No. Production needs its own verification.

**Where can scenarios run?**
A cloud test host, your agent in your network, or your product's test account.

**What are the run limits?**
20 requests, 15 seconds each, 3 minutes per run, 2 MB per response.

**Can a mitigation close a ticket?**
No. It's reported as a mitigation; the correction stays open until verified.

**Does anything run from the plan?**
No. Production changes go through approved remediation operations.

**What if a monitoring signal is missing?**
The plan says so.
