Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

3.9 KB
Raw Blame

Workflow Log — Eval 17: Seattle Weather Dashboard (mock data)

Phase 0 — Working directory setup

  • Working directory created: seattle-weather-dashboard/ (kebab-case derived from "current weather for Seattle")
  • Plugin root: D:\Projects\power-platform-skills\plugins\model-apps

Phase 1 — Planner (genpage-planner agent invoked via Task)

Prereq checks

  • node --version → v20.11.0
  • pac help → PAC CLI Version 2.11.0 (> 2.10.0 verified)
  • (Commands run separately, not chained with &&)

Auth check

Discovery questions (AskUserQuestion)

  • Question 1 (new or edit): user answered "Create new page(s)"
  • Question 2 (data source): user answered "Mock data"
  • Question 3 (specific requirements): "current weather panel"
  • Question 4 (app selection): user selected existing app from pac model list: "Operations Hub"

Connector Detection (delegated to genpage-connector-builder)

  • Request implies external weather data (MSN Weather connector) → planner delegates all connector work to the genpage-connector-builder agent (mode: create) via the Task tool
  • genpage-connector-builder assesses the data source FIRST: the maker answered "Mock data", so there is no connector data source to discover
  • Connector discovery SKIPPED; list-connections.js NOT run
  • Agent wrote connector-bindings.md = No connector bindings. and connectors.json = []
  • Page falls back to inline mock weather data for Seattle

Solution selection

  • Build is code-only (mock data, no new entities, no new app) → solution selection question SKIPPED
  • Default values written to plan: Solution: Default, Publisher Prefix: new

Plan presented

  • EnterPlanMode called with plan summary: single mock weather dashboard page for Seattle (temperature card, conditions card, humidity card, 5-day forecast)
  • User approved plan

Plan written

  • genpage-plan.md written to seattle-weather-dashboard/genpage-plan.md
  • Conforms to references/plan-schema.md (## User Requirements, ## Working Directory, ## Plugin Root, ## Environment, ## Pages, ## Entity Creation Required, ## Existing Entities, ## Connector Bindings, ## Design Preferences, ## Relevant Samples, ## Per-Page Specifications)

Phase 2 — Entity creation

  • SKIPPED (mock data — no entities needed)
  • check-auth.js not run (no entity work)
  • genpage-entity-builder not invoked

Phase 3 — App creation

  • SKIPPED (existing app "Operations Hub" selected)

Phase 4 — Schema generation

  • SKIPPED (mock data — no RuntimeTypes needed)
  • pac model genpage generate-types not run (mock data)

Phase 5b — Single-page fast path

  • Plan has 1 page → fast path taken (inlined build, no Task subagent dispatched for page-builder)
  • Data mode: mock
  • Read sample: plugins/model-apps/samples/8-dashboard-with-charts.tsx (KPI card + metric display pattern)
  • Read references/verified-icons.txt to source icon names
  • Wrote weather-dashboard.tsx
  • Post-write icon verification: grep from "@fluentui/react-icons" in weather-dashboard.tsx; verified TemperatureRegular, WeatherSunnyRegular, WaterRegular against verified-icons.txt — all present

Phase 6 — Deployment

  • pac model genpage upload --app-id aa112233-1122-1122-1122-aabbccdd1234 --code-file seattle-weather-dashboard/weather-dashboard.tsx --prompt "Build a dashboard showing the current weather for Seattle with temperature, conditions, and humidity." --model claude-sonnet --name "Seattle Weather" --agent-message "Weather dashboard with temperature, conditions, and humidity" --add-to-sitemap
  • (--data-sources omitted — mock-data page)
  • Upload succeeded

Phase 8 — Summary

  • 1 page deployed: weather-dashboard.tsx → "Seattle Weather" in Operations Hub app
  • No entities created
  • No connector bindings (maker chose mock data)