Add Copilot repository and path-scoped agent instructions - #7
Merged
Conversation
Copilot created this pull request from a session on behalf of
sbokatuk
July 30, 2026 10:03
View session
sbokatuk
marked this pull request as ready for review
July 30, 2026 11:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repository had no agent instructions of any kind (no
CLAUDE.md,AGENTS.mdorcopilot-instructions.md), so every agent session rediscovered the umbrella's non-obvious constraints from scratch — or got them wrong. Adds repository-wide custom instructions plus two path-scoped files, all verified against the props, csprojs, workflows, scripts and tests that actually enforce the rules..github/copilot-instructions.md$(FFmpegVersion).$(FFmpegKitBindingRevision).global.jsonand .NET 10 for the second pack pass;dotnet build FFmpegKit.Net.slnfails on whichever band is missing.Ffmpegkit.Netnamespaces; exact[pin]ranges; per-variantobj/bin; the heavily-commented csproj style is load-bearing and should be extended, not stripped.master→ auto-release tag → guard job → nuget push → GitHub release. Releases skip re-verification because the PR verified the same commit, which is why the guard must stay.-beta.*pin reaching a release, no Catalyst, no hand-editing merged nupkgs, licence machinery intact..github/instructions/workflows.instructions.md—applyTo: ".github/workflows/*.yml"Trusted-publishing contract (
environment: nuget.org,NUGET_USERas the only secret,id-token: write),verifyinput semantics,masternotmain, and whyrelease.ymlneeds both itsworkflow_dispatchandpush: tagstriggers..github/instructions/packaging.instructions.md—applyTo: "src/**/*.csproj, Directory.Build.props, build/**"Pin discipline including the mirror in
tests/FFmpegKit.Net.PackageTests/Packages.cs, the SDK band/TFM matrix, per-variant output paths, the merge invariant (a dependency group must carry its<dependency>children, not be synthesised empty), and the deliberately literal MAUI Controls floors.Notes for review
Two things in-repo are misleading and were deliberately not repeated:
upstream-drift.yml'sREPIN_HINTpoints at./build/BumpNativeVersion.sh, which does not exist here.FFmpegVersion, i.e.8.1.2-beta.<pr>.<run>— not the four-partVersionPrefix.