{
  "schema": "aibast-deployment-recipe/1.0",
  "name": "@aibast-agents-library/grid-asset-maintenance",
  "display_name": "Predictive Asset Maintenance Intelligence Agent",
  "registry_url": "https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/registry.json",
  "source_url": "https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/agents/@aibast-agents-library/energy_stacks/grid_asset_maintenance_stack/grid_asset_maintenance_agent.py",
  "source_path": "agents/@aibast-agents-library/energy_stacks/grid_asset_maintenance_stack/grid_asset_maintenance_agent.py",
  "target_filename": "grid_asset_maintenance_agent.py",
  "expected_tool": "GridAssetMaintenanceAgent",
  "brainstem": {
    "health_url": "http://localhost:7071/health",
    "chat_url": "http://localhost:7071/chat",
    "ui_url": "http://localhost:7071",
    "installers": {
      "macos_linux": "https://microsoft.github.io/aibast-agents-library/install.sh",
      "windows_powershell": "https://microsoft.github.io/aibast-agents-library/install.ps1",
      "windows_cmd": "https://microsoft.github.io/aibast-agents-library/install.cmd"
    },
    "default_source_dir": "~/.brainstem/src/rapp_brainstem",
    "default_agents_dir": "~/.brainstem/src/rapp_brainstem/agents",
    "policy_clean_launcher_dir": "~/.copilot/bin"
  },
  "smoke_test": {
    "prompt": "Which of our grid assets are most likely to fail in the next 90 days, and what's driving it?",
    "arguments": {
      "operation": "risk_ranking"
    },
    "must_call": "GridAssetMaintenanceAgent",
    "must_include": [
      "Grid Asset Risk Ranking",
      "TX-0417"
    ]
  },
  "copilot_studio": {
    "plugin": "mcs-assistant@copilot-studio-plugin",
    "minimum_pac_version": "2.9.3",
    "authoring_mode": "cli-copilot",
    "status": "source-package-ready-not-deployed",
    "operations": [
      "risk_ranking",
      "work_order_draft",
      "register_update",
      "replacement_plan"
    ],
    "manual_global_instructions": "manual/GLOBAL-INSTRUCTIONS.md",
    "manual_knowledge_files": [
      "manual/knowledge/aibast_grid-asset-maintenance-synthetic-records.md",
      "manual/knowledge/aibast_grid-asset-maintenance-rules-and-guardrails.md"
    ],
    "manual_skill_count": 4,
    "required_connections": [
      "Microsoft Dataverse asset health tables filled by Power Automate from the condition-monitoring system (read-only)",
      "Dynamics 365 Field Service for preventive work orders, raised only after a maintenance planner approves the draft",
      "ERP stores and fixed asset register through Power Automate, written only after a reliability engineer approves the update",
      "Microsoft Entra ID user identity for the approving planner and engineer"
    ],
    "publish_requires_confirmation": true,
    "validated_manual": {
      "display_name": "Predictive Asset Manual",
      "bot_id": "bbacea8d-6354-40ec-be46-df2d139fa3b6",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "skills": 4,
      "knowledge_files": 2
    },
    "validated_pilot": {
      "display_name": "Predictive Asset Maintenance",
      "bot_id": "c48354e8-7eac-4fc6-bdfa-ee04b478ec1d",
      "schema_name": "aibast_PredictiveAssetMaintenance",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "published": true
    },
    "export_agent": {
      "display_name": "Predictive Asset Manual",
      "schema_name": "cr2bf_predictiveassetmanual_4Mnun7",
      "solution_unique_name": "aibast_PredictiveAssetManualBuild",
      "bot_id": "bbacea8d-6354-40ec-be46-df2d139fa3b6",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "status": "Draft",
      "published": false,
      "packaging": "pac copilot pack"
    }
  },
  "demo_scenarios": [
    "grid-asset-maintenance-risk-ranking",
    "grid-asset-maintenance-work-order-draft",
    "grid-asset-maintenance-register-update",
    "grid-asset-maintenance-replacement-plan"
  ],
  "write_controls": {
    "authenticated_tools_required": true,
    "explicit_human_approval_required": true,
    "authorization_check_required": true,
    "audit_log_required": true,
    "local_demo_performs_writes": false
  }
}
