You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 894a267
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ Keep this map short and stable. When code moves, AI agents should re-read the mo
212
212
- Settings-page explanation values (`*_D`, including `S_*_D` and `C_*_D`) must not use sentence-ending or sentence-separating full stops (`。` or `.`); preserve technical dots in file names, domains, process names, and version identifiers.
213
213
- Views commonly set `DataContext = this` and expose `ViewModel`; bindings use `ViewModel.*`.
-`Global.props` carries the main MSBuild behavior: unsafe enabled, Windows targeting enabled, SourceLink, full debug symbols, and default exclusion of project-local `artifacts/` / `publish/` output trees from SDK item globbing. The shared `AssemblyInfo.cs` is enabled only by entry assemblies that explicitly set `EnableGitInfoGenerator` (`SecRandom.Desktop`, `SecRandom.Android`, and `SecRandom.iOS`); `SecRandom.Core` reads that entry assembly metadata rather than generating a second public `SecRandom.GitInfo` type.
215
+
- `Global.props` carries the main MSBuild behavior: unsafe enabled, Windows targeting enabled, SourceLink, full debug symbols, and default exclusion of project-local `artifacts/` / `publish/` output trees from SDK item globbing. The shared `AssemblyInfo.cs` is enabled only by entry assemblies that explicitly set `EnableGitInfoGenerator` (`SecRandom.Desktop`, `SecRandom.Android`, and `SecRandom.iOS`); `SecRandom.Core` reads that head-assembly metadata rather than generating a second public `SecRandom.GitInfo` type. Every head must publish itself through `GlobalConstants.SetVersionAssembly` during startup (`SecRandom.Desktop/Program.Main`, `SecRandom.Android` `MobileApplication.CustomizeAppBuilder`, `SecRandom.iOS/MobileEntryPoint.Main`) **before** any version value is read: Android has no managed `Main`, so `Assembly.GetEntryAssembly()` is null there and the lookup would otherwise fall back to `SecRandom.Core` and render the whole version surface — settings title bar, `producer_version`, Sentry release, update checks — as `v0.0.0.0`. A new platform head must therefore set its own assembly rather than rely on the entry-assembly fallback.
216
216
-`Directory.Build.props` only pins `AvaloniaVersion`.
217
217
- Standalone verification scripts live under `scripts/`; keep them self-contained and write outputs under `artifacts/`.
218
218
- Release CI keeps generated material under `artifacts/release/`: RID publish trees under `publish/`, portable ZIP assembly under `portable/`, Windows installer staging under `installer/` and `setup/`, platform package workspaces under `linux/` / `macos/`, upload candidates under `dist/`, and release-job downloads/final signed assets under `downloaded/` / `output/`. Every Android build must receive the same configured release keystore secrets, rejects missing signing configuration, and verifies the produced APK certificate against that keystore before upload. The Android job stages signed arm64 and x64 APKs separately; the release job includes the supported APK artifacts in `output/`, the signed manifest, and the GitHub release. Portable ZIP contents must remain a root `SecRandomLauncher` plus one valid `app-*` payload directory; do not rearrange that runtime package contract.
Copy file name to clipboardExpand all lines: SecRandom.Core/AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ SecRandom.Core/
80
80
-`IProfileService.LoadStudentProfile(name)` switches the app-layer active point-call student list and matching history; callers should use it instead of constructing profile configs directly when changing the active roll-call list.
81
81
- Profile startup/switching validates nonempty names with `ProfileConfigBase` before path access or saving the active profile. Archive settings validation checks roll-call/quick-draw `DefaultClass` and lottery `DefaultPool` before snapshots or commit; the exact empty string means no selection, not a file name.
82
82
- Registration helpers are responsible for both keyed DI and `PagesRegistryService` metadata.
83
+
- Build metadata is never generated inside Core: the platform head assembly carries it (root `AssemblyInfo.cs` plus `EnableGitInfoGenerator`), and every head publishes itself through `GlobalConstants.SetVersionAssembly` before any version value is read. Android has no managed entry point, so `Assembly.GetEntryAssembly()` is null there and the version would otherwise fall back to this library and render as `v0.0.0.0` across the settings title bar, `producer_version`, export file names, and telemetry. Keep the entry-assembly fallback for desktop and test hosts, and never reintroduce a Core-local `SecRandom.GitInfo` type.
83
84
-`DrawEngine` is partial: keep filtering in `DrawEngine.Filter.cs`, weight math in `DrawEngine.WeightCalculator.cs`,
84
85
orchestration in `DrawEngine.cs`.
85
86
- Weighted drawing validates count, candidates, and weights before sampling; preserve explicit `DrawStatus` returns over
0 commit comments