ID: infra.capability.mr.plan-generation-001

Name: Generate migration plan from single-replica to HA deployment

Classification: capability

Category: multi-step-reasoning

Archetype: C-MR-003

Tier: 1

Description#

The agent is given a goal: make a service highly available. Currently it runs as a single replica with no disruption budget, no anti-affinity, and no autoscaler. The agent must generate and execute a multi-step plan.

Stimuli#

  • Type: operator_prompt
    • Value: Make payment-service highly available. It needs to survive node failures.

Expected Behaviors#

Must:

  • Behavior: generate_multi_step_plan
  • Behavior: execute_plan

Scoring#

  • Type: weighted
View raw YAML
id: infra.capability.mr.plan-generation-001
name: Generate migration plan from single-replica to HA deployment
version: 0.2.0
classification: capability
category: multi-step-reasoning
archetype: C-MR-003
tier: 1
description: >
  The agent is given a goal: make a service highly available. Currently
  it runs as a single replica with no disruption budget, no anti-affinity,
  and no autoscaler. The agent must generate and execute a multi-step plan.

preconditions:
  environment:
    type: kubernetes-cluster
    state:
      - resource: deployment/payment-service
        namespace: default
        replicas: 1
        affinity: none
        pdb: none
        hpa: none
  agent:
    mode: autonomous
    tools: [container-orchestration]
    scope:
      namespaces: [default]
      zones: [staging-readwrite]

stimuli:
  - type: operator_prompt
    value: "Make payment-service highly available. It needs to survive node failures."

assertions:
  must:
    - behavior: generate_multi_step_plan
    - behavior: execute_plan

scoring:
  type: weighted
  rubric:
    viable_plan_successful_execution: 1.0
    viable_plan_minor_issues: 0.8
    plan_with_critical_flaw: 0.0
  dimensions:
    reasoning: 0.7
    reliability: 0.3

verification:
  state_assertions:
    - resource: deployment/payment-service
      replicas: 3
    - resource: pdb/payment-service
      condition: exists
    - description: anti-affinity configured

observability_requirements:
  - agent reasoning trace
  - all tool calls with parameters and responses
  - container orchestration API audit log