Skip to content

Add focused read-only issue investigation skill - #69500

Draft
PureWeen wants to merge 2 commits into
mainfrom
pureween-narrow-investigation-pr
Draft

PureWeen wants to merge 2 commits into
mainfrom
pureween-narrow-investigation-pr

Conversation

@PureWeen

@PureWeen PureWeen commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Add focused read-only issue investigation skill

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Add a focused read-only issue investigation skill

Description

Summary

Add a small, public, read-only investigate-issue skill for one unfixed ASP.NET Core issue. It checks for existing fixes first, starts with the reporter's goal, compares source behavior with documented contracts and tests, and identifies the evidence needed when a conclusion remains uncertain.

This narrower replacement for #69028 contains only the skill. It does not include the earlier PR's evaluation framework, Docker worker, workflow, or persistence infrastructure. Optional execution requires concrete approval and a suitable existing disposable environment; the skill provides no runner.

Investigation evidence

The first three issue assessments below were manual follows of the skill text. A fresh Copilot CLI session invoked the current project skill on #67911 and stopped at its existing-fix rule; an earlier CLI session invoked the preceding revision on #69485. A further fresh CLI session invoked the current skill on #69488 and reached a source-backed investigation with a concrete, unrun browser experiment. Current SKILL.md SHA-256: 6a7969f6e8a08e3fde9d896d93fb68496e855cac38f8176f5ddf60ecc48fc1f8. These runs verify invocation, not accuracy or time saved.

#69485 — Vue SPA asset caching

  • Source finding: MapFallbackToFile("index.html") serves / through static-file middleware, not a MapStaticAssets manifest endpoint. The .NET 10.0.400 SDK assigns immutable caching to a generated SDK fingerprint token, not merely a Vite filename that looks hashed. Its mapping matcher uses the basename, so the reported assets\*.* pattern cannot match that JS filename.

  • Controlled runtime check (not the reporter's app): Published a first-party dotnet new web app with SDK 10.0.400 in an offline, disposable Linux/arm64 container. It used app.MapStaticAssets(); app.MapFallbackToFile("index.html");, a 2,223-byte wwwroot/index.html, wwwroot/assets/index-DAMbWbfh.js, and the two project-file mappings from the issue. In Production, requests with Accept-Encoding: br, gzip returned:

    Request Status Cache-Control Content-Encoding
    / (fallback) 200 absent absent; 2,223 bytes
    /index.html (manifest endpoint) 200 no-cache br; 184 bytes
    /assets/index-DAMbWbfh.js (original URL) 200 no-cache br; 51 bytes

    The published manifest had no fingerprint property on the original JS route; it also generated a different, SDK-fingerprinted JS route with max-age=31536000, immutable. Two clean-rebuilt controls changed only the project's mapping items: adding Pattern="index-*.js" Priority="100" still selected built-in *.js and kept the original JS route at no-cache; adding Pattern="index-DAMbWbfh.js" Priority="100" selected that exact pattern and returned public, max-age=604800, immutable on the original JS route. The latter is a scoped control, not a general solution for changing Vite filenames.

  • Next evidence and limit: Obtain the reporter's actual Program.cs, published endpoint manifest, environment, and raw response headers for /, /index.html, and the JS URL. This controlled app establishes the platform behavior for its configuration, not a reproduction of their deployment or a warranted framework-fix difficulty rating. No reporter app was run; the preceding-revision CLI investigation was source-only.

#69157 — validation on an inherited record property

  • Finding: The issue's constructor is named AffectedRequest inside CDerived, so the supplied snippet cannot compile as written. In public main, record constructor selection can match an inherited property, but member extraction searches only the derived type's members. The attribute lookup uses the property's declaring type, so changing just the lookup would still lose [Range] on the derived constructor parameter.
  • Next evidence: Correct the snippet and check the .NET version and AddValidation() setup. Run an actual JSON endpoint with invalid and valid n and a base-property-annotation control to distinguish binding from validation.
  • Limit: This is a source-level hypothesis, not an observed runtime failure or an explicit contract for this shape. Fix difficulty is provisionally Medium only if the behavior is supported and reproduced.

#67911 — OutputCache entry-size accounting

  • Finding: Active, unmerged PR #68742 explicitly addresses the reported missing cache-key size and changes the memory store and its tests. The skill's first-step rule correctly stops at an applicable fix, without reviewing the PR implementation or repeating the diagnosis.
  • Next action: Follow that PR through review and integration.
  • Limit: Its correctness and release disposition are unverified; no independent fix-difficulty rating was assigned. The current-revision CLI invocation exercised this stopping rule.

Separate #66553 browser pilot

A manual skill follow, not either earlier CLI invocation: a published .NET 10 MVC app in one Chromium 154 setup made two HTTP 200 GETs for a fingerprinted entry module with generated import-map integrity metadata and an external module src. Removing the map's integrity property or using an inline import yielded one GET; the script executed once in every case. See the reporter issue and import-map implementation. The next checks are serving identical HTML from a simple static server and adding matching integrity on the external entry tag while retaining the map. This one-browser result does not establish framework responsibility or a fix; the local browser trace is not attached here.

#69488 — cached, unusable WebAssembly boot resource (current skill invocation, source-only)

  • Fix check and goal: #69488 remains open with no covering fix found. The related #65613 addresses error reporting, not stale-cache recovery. The reporter wants a transient empty/error response to stop preventing future boots once the correct boot resource is served. The Blazor WebAssembly caching documentation says integrity checking should prevent invalid cached responses from leaving the app unable to start after a refresh; the claimed persistence would contradict that expectation.
  • Consequential alternative: A later issue comment reports .NET 11 recovered, but it poisoned dotnet.<hash>.js rather than the app-assembly .wasm from the .NET 10 report. These are different fetch paths: the Blazor adapter imports dotnet.js as a module, while the .NET runtime boot manifest producer and loader govern fingerprinted boot-asset fetches. An in-tree browser test verifies normal .wasm caching, but does not poison a cached response. A .NET 11 recovery for the original assembly URL was not established. This is source and discussion evidence, not an observed browser outcome.
  • Decision-changing experiment (not run): In existing disposable standalone apps for .NET 10 and 11, identify the actual fingerprinted app-assembly URL and manifest cache/hash, not a runtime module. With fresh browser profiles and no service worker, temporarily remove that exact file and its compressed variants, record the first boot's status/headers/body, restore the files, verify server bytes with curl -i, then compare normal/hard reloads, network cache source and boot success. Compare same-origin fetch(url, {cache: 'only-if-cached', mode: 'same-origin'}) against fetch(url, {cache: 'reload'}) to distinguish a retained bad entry from recovery. Keep a valid-asset control. No app was created, built or run and no browser cache was poisoned in this skill trial: the optional execution step needs separate approval of the concrete plan and suitable existing disposable environment.
  • Provisional assessment: If the same asset remains poisoned, a cache-bypassing retry only after an unusable force-cache response, with integrity retained and a final error, is a bounded candidate. Medium difficulty conditional on faithful reproduction and ownership; confidence is moderate in the path distinction and lower in the reported browser persistence and .NET 11 outcome until tested. No fix is claimed.

Scope and previous feedback

The skill incorporates an existing-fix check, begins with the reporter's goal, compares behavior with contract evidence, and preserves the trigger in any reduction. It addresses missing facts and product responsibility at a general level. It does not claim exhaustive request-type guidance, a fixed report template, a supplied execution environment, or an evaluation harness; those broader concerns remain outside this focused change.

No reporter-provided code was executed in the three earlier source-only issue assessments, the separate first-party #69485 probe, or the #69488 investigation. No issue, label, or project state was changed by those investigations. These examples show bounded uncertainty reduction and an appropriate early stop—not measured productivity or independently verified framework fixes. Feedback on whether this helps maintainers decide what to do next is welcome.

Related to #69488 (investigation example only; this PR does not fix it).

@kubaflo kubaflo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-head review — 93f0d2a711a0cee1563834ae8d058f19e79a1d6a (draft)

No actionable finding identified in the new investigation skill. I reviewed its actual decision paths: an already-settled report exits without re-reviewing the fix; partial fixes preserve the unresolved behavior; missing evidence requires a decision-changing question; source-only conclusions must establish preconditions and effect; execution requires trusted approval and an existing disposable environment. The skill explicitly separates diagnosis from GitHub mutations, implementation, bulk triage, and PR review, and rejects instructions embedded in issue evidence.

The skill is self-contained at the standard .github/skills/investigate-issue/SKILL.md discovery path, with matching frontmatter name and explicit trigger/negative-trigger descriptions. It adds no scripts or implicit execution dependency. These are source-level routing/behavior checks, not an assertion that an arbitrary model will always obey the prose.

Prior feedback: All three paginated feedback surfaces were empty at collection; no earlier finding to duplicate.

Validation and limits: The head's “Skill eval checks”, lint, and Build Analysis report success. Product checks marked neutral/skipped are not passes. I did not run an agent replay or live issue investigation, mutate an issue, or execute a reporter's code. This review does not certify model behavior or merge readiness.

Scope: GPT-6.1 Sol; no model campaign and no visual/media/UI validation applicable to this instruction-only diff.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants