These requirements apply to all Beutl changes regardless of the editor, automation, or review tools used.
- Keep the GPL/MIT license boundary intact: MIT projects communicate with
Beutl.FFmpegWorkeronly throughBeutl.FFmpegIpc. - Keep both
net11.0andnet11.0-windowstargets building. A new target framework requires an explicit design decision and corresponding build configuration. - Add NUnit coverage for new production logic in the matching project under
tests/(seetests/README.md). - Every new Avalonia
UserControlmust enable compiled bindings withx:CompileBindings="True"and declarex:DataType. - Treat
.editorconfig,xamlstyler.json, anddotnet formatas the source of truth for formatting. - Keep
Beutl.Engine.SourceGeneratorsandtests/SourceGeneratorTestgreen when generator inputs, outputs, or public generated contracts change. - List a new fork or prebuilt native binary in native-dependencies.md, with its upstream and exit condition.
- Do not change existing
.github/workflows/*files without explicit maintainer approval. - Never force-push
mainormaster; push rewritten history only to a feature branch.
Before merging a pull request:
- Run
dotnet format Beutl.slnx --verify-no-changes. - Run
dotnet build Beutl.slnxfor every affected target framework. - Run
dotnet test Beutl.slnx -f net11.0 --settings coverlet.runsettingsand any required platform- or GPU-specific suites. - Review the generated coverage report for unexpected regressions. The repository does not currently enforce a fixed coverage threshold.
- Address all review findings and leave no unresolved review threads.
- Leave no orphaned TODO comments; describe deferred work in the pull request instead.