{
  "description": "Automation profile configurations for M6 acceptance tests",
  "fixtures": [
    {
      "name": "builtin_profiles",
      "expected_names": ["manual", "review", "supervised", "cautious", "trusted", "auto", "ci", "full-auto"],
      "manual_thresholds": {
        "decompose_task": 1.0,
        "create_tool": 1.0,
        "select_tool": 1.0,
        "require_sandbox": true,
        "require_checkpoints": true,
        "allow_unsafe_tools": false
      },
      "full_auto_thresholds": {
        "decompose_task": 0.0,
        "create_tool": 0.0,
        "select_tool": 0.0,
        "require_sandbox": false,
        "require_checkpoints": false,
        "allow_unsafe_tools": true
      }
    },
    {
      "name": "custom_profile",
      "config": {
        "name": "acme/strict",
        "description": "Strict profile for ACME Corp",
        "schema_version": "1.0",
        "decompose_task": 1.0,
        "create_tool": 1.0,
        "select_tool": 1.0,
        "edit_code": 1.0,
        "execute_command": 1.0,
        "create_file": 1.0,
        "delete_content": 1.0,
        "access_network": 1.0,
        "install_dependency": 1.0,
        "modify_config": 1.0,
        "approve_plan": 1.0,
        "require_sandbox": true,
        "require_checkpoints": true,
        "allow_unsafe_tools": false
      }
    },
    {
      "name": "profile_resolution_precedence",
      "cases": [
        {"plan": "ci", "action": "auto", "project": "manual", "expected": "ci"},
        {"plan": null, "action": "auto", "project": "manual", "expected": "auto"},
        {"plan": null, "action": null, "project": "manual", "expected": "manual"},
        {"plan": null, "action": null, "project": null, "expected": "manual"}
      ]
    }
  ]
}
