This repository contains a portable NuGet safe-upgrade workflow.
Use these instructions for Copilot agent-style tasks.
When upgrading NuGet packages:
- Read
nuget-upgrade-exclusions.jsonfirst. - Preserve target-framework-specific package version lines.
- Treat
Microsoft.Extensions.*,Microsoft.AspNetCore.*, andMicrosoft.EntityFrameworkCore*as framework-coupled package families unless the repository config says otherwise. - Prefer the shared upgrade workflow over manual package edits.
- Validate accepted candidates with restore and resolved-package inspection before keeping changes.
- Repo-wide Copilot guidance:
.github\copilot-instructions.md - Copilot agent:
.github\agents\umbrella-nuget-safe-upgrade.agent.md - Copilot skill wrapper:
.github\skills\umbrella-nuget-safe-upgrade\scripts\Invoke-NuGetSafeUpgrade.ps1 - Shared implementation:
.ai-shared\skills\umbrella-nuget-safe-upgrade\scripts\Invoke-NuGetSafeUpgrade.ps1
.github\skills\ and .github\agents\ are generated outputs — do not edit them directly.
- Edit skill files in
.ai-shared\skills\<name>\SKILL.md - Edit agent files in
.ai-shared\agents\claude\or.ai-shared\agents\github\ - Define MCP servers once in the root
.mcp.jsonserversobject; do not edit generatedmcpServersor.codex\config.tomlentries directly - Run
umbrella-ai syncto regenerate adapters, compatibility MCP entries, and Codex MCP configuration - Commit both the canonical source and the regenerated files