Skip to content

Refresh 6 stale instruction files (#2133)#2139

Open
KomalSrinivasan wants to merge 1 commit into
github:mainfrom
KomalSrinivasan:fix/issue-2133-stale-resource-refresh
Open

Refresh 6 stale instruction files (#2133)#2139
KomalSrinivasan wants to merge 1 commit into
github:mainfrom
KomalSrinivasan:fix/issue-2133-stale-resource-refresh

Conversation

@KomalSrinivasan

@KomalSrinivasan KomalSrinivasan commented Jun 26, 2026

Copy link
Copy Markdown

Picks up the 6 instruction files the Resource Staleness Report deep-reviewed and flagged with concrete problems. 4 "Targeted refresh" + 2 "Minor modernization". The remaining 716 stale files are bulk batch-commit noise per the report itself, so they stay out.

Changes

Targeted refresh

instructions/blazor.instructions.md

  • C# 13 to C# 14 (C# 14 GA'd with .NET 10 in Nov 2025).
  • Drop the "All unit testing must use Visual Studio Enterprise" mandate. Replaced with cross-IDE guidance so VS Code and Rider users aren't gated on a paid SKU.
  • Swap "rely on Visual Studio's diagnostics tools" for dotnet-trace / dotnet-counters, which work cross-platform.

instructions/copilot-thought-logging.instructions.md

  • Narrow applyTo from ** (every file in the repo) to **/Copilot-Processing.md.
  • Replace 9 Windows-style \Copilot-Processing.md paths with POSIX ./Copilot-Processing.md so the workflow runs on macOS and Linux.

instructions/genaiscript.instructions.md

  • Drop the "avoid exception handlers or error checking" line. It's actively unsafe advice for an AI to follow. Replaced with: handle errors at I/O and external API boundaries, let unexpected exceptions surface.

instructions/memory-bank.instructions.md

  • Add the required description frontmatter (it was missing, which is a validation failure per AGENTS.md).
  • Narrow applyTo from ** to memory-bank/** so it only fires in repos that actually use the pattern.
  • Add an opt-in note up top so contributors know auxiliary files will be created in the workspace root.

Minor modernization

instructions/azure-functions-typescript.instructions.md

  • Node.js v20 to v22 LTS (v22 is the current Azure Functions Node LTS).

instructions/localization.instructions.md

  • Relative ../../issues link in the disclaimer to absolute https://github.com/github/awesome-copilot/issues so it resolves regardless of where the localized doc sits.

Auto-generated

docs/README.instructions.md got regenerated by npm run build to pick up the new memory-bank description. CI requires this stay in sync.

Verification

  • npm install && npm run build exits 0. Generated marketplace.json with 96 plugins.
  • grep -n '\\Copilot-Processing' instructions/copilot-thought-logging.instructions.md returns 0 matches.
  • Diff is scoped to exactly 7 files. Nothing else touched.

Out of scope

  • The 716 other "stale" files. The report itself notes they're dominated by batch commits and recommends a maintainer-side sweep, not a community PR.
  • The 25 "aging" (14-30 day) files. Not flagged as problematic.
  • bicep-code-best-practices, cmake-vcpkg, nextjs-tailwind, generate-modern-terraform-code-for-azure. The report explicitly says "no urgent change needed" on these.

Closes #2133 partial.

@github-actions github-actions Bot added the instructions PR touches instructions label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 7 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 0
ℹ️ Info 0

✅ No matching risk patterns were detected in changed files.

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

Targeted refresh:
- blazor: C# 13 to C# 14. Drop the Visual Studio Enterprise mandate so contributors on VS Code or Rider aren't blocked by a paid SKU. Swap VS-only profiling for dotnet-trace and dotnet-counters.
- copilot-thought-logging: narrow applyTo from '**' to '**/Copilot-Processing.md'. Replace 9 Windows backslash paths with POSIX './Copilot-Processing.md' so the workflow works on macOS and Linux.
- genaiscript: drop the "avoid exception handlers or error checking" line. Replace it with: handle errors at I/O and external API boundaries, let unexpected exceptions surface.
- memory-bank: add the required 'description' frontmatter field (was a validation failure). Narrow applyTo from '**' to 'memory-bank/**'. Add an opt-in note so contributors know auxiliary files land in the workspace root.

Minor modernization:
- azure-functions-typescript: Node.js v20 to v22 LTS.
- localization: relative '../../issues' disclaimer link to absolute https://github.com/github/awesome-copilot/issues so it resolves regardless of the localized doc's path.

docs/README.instructions.md regenerated by 'npm run build' to pick up the new memory-bank description.
@KomalSrinivasan KomalSrinivasan force-pushed the fix/issue-2133-stale-resource-refresh branch from a0bf675 to 45edc81 Compare June 26, 2026 21:45
@KomalSrinivasan KomalSrinivasan changed the title Refresh 6 stale instruction files (#2133) 🤖🤖🤖 Refresh 6 stale instruction files (#2133) Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instructions PR touches instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📋 Resource Staleness Report

1 participant