mirror of
https://github.com/devmobasa/wayscriber.git
synced 2026-11-01 07:36:42 +01:00
2.1 KiB
2.1 KiB
AGENTS.md
Scope
- Applies to packaging manifests, desktop files, service unit, icons, and package metadata under
packaging/.
Architecture
- Package manifests describe the wayscriber binary and configurator package outputs.
- Package YAML manifests own the desktop asset lists used by
tools/wayscriber.cs assets emit; its implementation is intools/csharp/Commands/AssetsCommand.cs. PKGBUILDand.SRCINFOrepresent Arch/AUR packaging metadata.nixpkgs/package.nixmirrors the recipe owned by nixpkgs; it is a submission draft, not a build input.- Desktop files, icons, and
wayscriber.servicedefine installed desktop and daemon integration.
Invariants
- Keep
package.wayscriber.yaml,package.configurator.yaml,PKGBUILD,.SRCINFO, desktop files, service unit, icons, and release scripts aligned. - A new system library needed by an output both recipes build — that is, the
wayscriberbinary — must reachnixpkgs/package.nixandflake.nixtogether; the nixpkgs bot bumps versions but never build inputs. nixpkgs/package.nixships thewayscriberbinary only, so a system library only the configurator needs belongs inflake.nixalone and must not be added to the nixpkgs recipe.- The configurator's libadwaita Cargo feature floor (
v1_4inconfigurator/Cargo.toml) must stay buildable on the release runner's Ubuntu LTS (24.04 ships libadwaita 1.5); raise it only together with a runner/base-image bump and the workflow dependency lists. - Packaging hotfix versions may differ from Cargo versions only according to the existing versioning policy.
- Do not change daemon service semantics without checking daemon runtime and configurator daemon setup.
Coupled Changes
- Packaging changes may require
tools/,.github/, setup docs,src/systemd_user_service.rs,src/shortcut_hint.rs, and configurator daemon setup updates.
Validation
- Run
tools/check-version-consistency.shandtools/test-package-repo-layout.shfor package/version changes. - Run
tools/check-nixpkgs-recipe.pywhen dependencies, default features, or Nix build inputs change. - Run
git diff --checkfor metadata-only edits.