* ci: Qodana - a workflow of its own from JetBrains' template, Qodana Community for .NET over FrameLedger.slnx (D93)
The first run: the linter in its Linux container, EnableWindowsTargeting passed
to it, no quality gate yet - what it builds and what it reports decides the rest.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* ci: Qodana's gate is zero problems, and the inspections this project argues with are off in .editorconfig, each with its reason (D93)
Pushed before the fixes on purpose: the run this starts has the settings and
none of the fixes, so it shows the gate failing on what is left.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* fix: what Qodana's first run reported, settled - about 400 fixes in 181 files, none changing behaviour; the documents (D93)
Redundant qualifiers, casts, using directives, nullable suppressions and unsafe
modifiers removed from the report's own positions; var for built-in types and
one-line block bodies brought to .editorconfig's style by dotnet format; every
XAML item template names its DataType and a binding that reached its page through
DataContext.ViewModel names the page's type; two unread fields, two overwritten
initialisers and an unused parameter removed; SpokenTextAutomationPeer no longer
assumes the base peer's name is a string.
docs/13_CI_CD.md §Qodana, CLAUDE.md, the wiki's workflow table, HANDOFF's
decisions index (D93) and the changelog entry.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
- NOTICE: copyright, GPL-3.0-only, and three additional terms of the kinds section 7 permits - (b) preserve the
notices and the attribution in the program's legal notices, (c) mark a modified version as different and do not
call it "FrameLedger" alone, (e) no trademark rights in the name. Shipped as licenses\NOTICE.txt; release.yml
refuses a published tree without it.
- Section 7 wants additional terms named in the source files: every first-party .cs .cpp .h .inl .ps1 .xaml file
(1,053; src/native/third_party excluded) opens with the SPDX line and a pointer to NOTICE. tools/notice-check.ps1
is the gate (six self-test cases, both directions; -Fix writes a missing header) and tools/resx-gen.ps1 generates
the string accessors with the header.
- The native VERSIONINFO LegalCopyright said GPL-3.0-or-later; it now names the real licence.
- CONTRIBUTING.md, FORKING.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1 by reference), legal/TRADEMARKS.md.
- 12_BUILD gate list, CLAUDE.md layout and conventions.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Ports (Application.Persistence): ISessionRepository gains FindByIdAsync, ListByGameAsync
(newest first, bounded), SummariseByGameAsync (count / hooked / playtime / last played per
game in one query), FindSegmentsAsync, FindSensorsAsync. ISessionAnnotationRepository (new):
tags as a JSON array, notes, and FR-8.3's per-session overrides -- on session_annotations,
the UI-owned table, NEVER on sessions (06_DATA_MODEL §Writer ownership), beside the
measurement rather than over it so clearing an override restores what was measured;
Application.TriState.TriStateResolution is the precedence (manual -> measured -> inherited
from games.*_default -> N/A). IGameRepository gains FindByIdAsync, UpdateMetadataAsync
(FR-1.3, wholesale, changed fields marked `user` in field_provenance), SetTriStateDefaultAsync,
RemoveAsync(keepSessions) (FR-1.4: keep = games.removed_at and a later launch restores the
row; delete = the cascade). ILegalAcceptanceStore.RecordAsync / ListAsync. GameRow carries
the metadata, the defaults, hook_consent_at, hook_prescan_state, removed_at.
Settings registry (D16, closes 20_OPEN_QUESTIONS §G's row): SettingsRegistry (12 keys with
kind, default, range/choices, who reads) + RegisteredSettings over ISettingsStore --
validating writes, tolerant reads, nothing cached. SettingsRecorderPolicy resolves
capture.min_session_s, retention.raw_sessions_per_game (0 = unlimited -> a sweep that keeps
everything) and telemetry.interval_ms at each session start through the new IRecorderPolicy
on SessionRecorder, whose poller factory now takes the session's options; an operator's
bounded --seconds N keeps its bound. The App's appearance keys are the registry's.
Schema: 0002_annotation_overrides_and_removal.sql -- the first append, ALTER TABLE ADD
COLUMN only (three override columns, games.removed_at); LatestVersion = 2.
Display: Infrastructure.Recording.PrimaryDisplay (EnumDisplaySettingsW via CsWin32) fills
hardware_snapshots.display_res / display_hz, "null until P3" since PR-B.
Tests: the four PR-B adapters that had none (game, hardware snapshot, settings, legal),
the annotation repository incl. the resolution over stored rows, the session queries incl.
NFR-4 measured (100-session game lists in a few ms against the 500 ms ceiling), the
registry both directions, the policy, the resolution, the display producer. 224
Application, 264 Infrastructure.
Docs: 06_DATA_MODEL §Settings registry (new), §Writer ownership, the tables, §Retention,
§Migrations (0002); 20_OPEN_QUESTIONS §G row closed; HANDOFF §P3 row 3 struck with the one
deviation (no IRtOverrideRepository -- the overrides are the annotation row's) and D16/D8
amended; ISettingsStore's own doc no longer calls the registry open. CHANGELOG.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>