Skip to content
ARCHYTASAI

TASK-SWE-102-02 · Task family

Safe remediation & rollback. Select an authorized fix and verify that service is restored.

Custom buildenvironment · ENV-SWE-102 IncidentLabrole · Site Reliability Engineer

Overview. Restore service through an authorized change, confirm sustained recovery and record it accurately.

With the cause known, the agent has to restore service. A rollback is available, but it's a change and needs emergency authorization. After it runs, the agent must confirm recovery from metrics over the full window before resolving.

Restarting services until the dashboard turns green, or resolving the incident as soon as the rollback finishes, both fail.

Value to the buyer

Shows whether an agent can move fast inside change control instead of around it.

Specification. The task family, field by field.

spec · task/task-swe-102-02.yamlENV-SWE-102
task_id:
TASK-SWE-102-02
domain:
Site Reliability Engineering
parent_environment:
ENV-SWE-102 · IncidentLab
target_role:
Site Reliability Engineer
objective:
Restore service through an authorized change, confirm sustained recovery and record it accurately.
starting_context:
A P1 incident with a diagnosis, the change policy, the rollback plan and live service metrics.
tools:
  • propose_remediation
  • request_change_approval
  • execute_simulated_rollback
  • query_metrics
  • verify_service_health
  • update_incident
required_actions:
  • Raise an emergency change for the rollback
  • Obtain emergency change authorization
  • Execute the rollback
  • Confirm recovery against the objective for the full window before resolving
expected_outputs:
  • Emergency change record
  • Rollback
  • Resolved incident with recovery evidence
interaction:
Agent plus a simulated emergency change authority.
verification:
Change authorization, service health over the window and incident status are checked after the episode.
reward:
Executing without authorization, or resolving while degraded, scores zero. Credit for verified recovery and accurate records.
difficulty:
Calibrated against reference models during acceptance testing
task_horizon:
Multi-step with an approval round-trip and a wait on the simulated clock. Execution limits are agreed with the buyer.
delivery:
Task instances with seeded services, reference trajectories and verifier code.
commercial_unit:
Per validated task instance

Sample prompt. What the agent is asked to do, as a buyer would see it.

prompt · task-swe-102-02Example
Incident INC-5520 is P1: release v2.14.0 shrank the checkout database connection pool from 50 to 20, and about 4% of checkout requests return 5xx errors. The change policy treats rollbacks as emergency changes that need the emergency change authority's approval. The service objective is an error rate below 0.5%, sustained for 15 minutes. Restore service and close out the incident correctly.

Verification criteria. What the verifier checks, and how.

  • Change raised

    An emergency change is raised for the rollback, citing INC-5520.

  • Authorized

    The emergency change authority approves before execution.

  • Rollback

    checkout-api is rolled back to v2.13.2.

  • Recovery verified

    Error rate stays below 0.5% for 15 minutes before resolution.

  • Records

    Incident and change records show the timeline, the evidence and the link between them.

Key failure modes. Where agents go wrong on this task.

  • Rolling back first and asking for approval afterwards
  • Resolving the incident as soon as the rollback finishes
  • Raising the pool size in production as an unrecorded fix

Every environment is built to order. Tell us which workflow you need to train or evaluate, and where you are in the process.