6c7ba74eb072d6bafdb5ffd34bfdd93d0bc70021
20
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
15aaa65059 |
feat(app): the Advanced page - This PC, Session and Sources; its navigation item and Ctrl+6 there only while the option is on; every catalog entry in en, vi and ja; a guide page (Advanced PR-7, D101/D105/D107) (#393)
Pages/AdvancedPage over ViewModels/AdvancedViewModel. This PC is what the Agent reads now, asked only while the page is on screen and never stored: the facts under the catalog's groups, every series with the time it was read at, and one entry's last five minutes. Session is what a session recorded with the option on stored: the PC as it was, the session's own facts, the statistics, and the entry's series over the session. Sources is every catalog entry with whether it is read, or why not. The navigation item is the menu's last and is bound to Services.AdvancedOption.IsOn - set at start and by the Settings switch - and Ctrl+6 opens the page only while it is on; Ctrl+1..5 keep their pages. A session's summary has "Advanced metrics..." where the session stored them. A viewer opens on Session and asks no Agent. 245 strings in en, vi and ja (ja marked for review): the English label of an entry is its summary in the catalog. A family of more than eight series is drawn as its lowest, average and highest. ISessionRepository.ListAdvancedAsync; SessionSeriesLoader.LoadAdvancedAsync. The guide gains a page; ACCESSIBILITY.md, LIMITATIONS.md, 08_UI §Advanced, the accuracy block and Privacy Policy 2.15 follow. Nothing in src/native changes. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
3751348d5a |
feat: which DLSS a session ran - each library's version and where it was loaded from, the preset the driver reports, DLSS 4 / 4.5 only where the session shows it (D64, beta.24 PR-8) (#323)
- Domain: Detection/DlssGeneration, evidence-bound and strongest first: preset L/M reported applied -> DLSS 4.5, a DLSS-G state at x5 or more -> 4.5, preset J/K -> 4, x3/x4 -> 4, library 2.x -> 2, library 3.x or frame generation 1.x-3.x -> 3; a 310 library alone, a CNN preset or x2 names nothing. Never a default preset inferred from a version. - Application: RuntimeModuleSource / RuntimeModuleSources - a module's folder class (game, graphics driver: the driver store or %ProgramData%\NVIDIA, Windows); RuntimeModuleInfo.Source; CensusNames gains five snapshot-only names (sl.dlss_d, sl.common, sl.reflex, amd_fidelityfx_loader_dx12, nvngx_dlssnr); the aggregator stores sessions.runtime_module_sources (schema 0021) - the class, never the path. - Infrastructure: the module snapshot records every module under %ProgramData%\NVIDIA\NGX whatever its name (the owner's Silent Hill 2 ran x6 through the NVIDIA App override with no census-named DLSS library loaded) and classifies each module's folder. - App: DlssText - the summary's DLSS line, the game page's label, the CSV "# dlss:" line. - Strings: 16 new keys en/vi/ja (ja marked review). - Tests: DlssGenerationTests, RuntimeModuleSourcesTests, RuntimeModuleSnapshotSourceTests (this test process's own modules, a copied native DLL under a temporary NVIDIA\NGX folder), SessionAggregatorTests, LedgerDatabaseTests (script 0021), the repository round trip, DlssTextTests (rows shaped like the owner's Witcher 3 and Silent Hill 2 sessions). - Docs: 05_DETECTION DLSS generation (the table with its sources; "the override loads nvngx_dlss.dll under the same name" struck as unmeasured), 06_DATA_MODEL 0021, 08_UI, LIMITATIONS, guide 03/10, CHANGELOG; legal/ACCURACY.md's DLSS version bullet and Privacy Policy 2.12 in the words approved with the plan. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a6717fe3ca |
feat: the quality mode the NVIDIA App set, where the driver reports its override applied - on every page that names the upscaler; the driver line reads NGX's numbering (D63, beta.24 PR-7) (#322)
- Application: Recording/QualityResolver (D63). When DLSS super resolution ran (a hook named it, or the
driver saw it created and evaluated) and the driver's per-process word says an NVIDIA App override
applied (ENABLED with PERF_MODE, SR_DLAA_MODE or SCALING_RATIO), the mode is the profile's
NGX_DLSS_SR_MODE checked against the word's performanceMode; DLAA from its bit; a custom ratio with
its percent. Disagreement, or a report that does not settle, reads as overridden with no mode - never
the game's value. Otherwise the hooked Streamline byte; otherwise none. Read at display time from
ngx_driver_words and driver_profile, so sessions recorded before resolve alike. NgxDriverWords.Parse;
the live progress event gains upscalerQualityOverride (07_IPC: optional, from the report alone).
- Domain: UpscalerQualityMode, and UpscalerNames decodes the three numberings - the hooked byte
(sl::DLSSMode), the driver's report (NGX's own: measured on the owner's ledger, Silent Hill 2 under the
App's Ultra Performance, profile 5, was reported as 3) and the profile (NGX_DLSS_SR_MODE).
- App: Formats.UpscalerOf(SessionRow / SessionProgressEvent) on the summary, the Sessions tab, the game
page and the live card ("DLSS (driver-reported) Quality · NVIDIA App", "· NVIDIA App override"); mode
names from resx; the driver line decodes the report in NGX's numbering (it printed nothing for 3 and
would have printed a DLAA override's 5 as Ultra Performance); CSV "# quality_mode:".
- Native: five comments that called a quality byte of 0 "NGX MaxPerf" corrected - comments only.
- Strings: 4 new keys en/vi/ja (ja marked review).
- Tests: QualityResolverTests (the owner's Silent Hill 2 and Expedition 33 words as fixtures),
UpscalerNamesTests, FormatsTests, NvidiaOverridesTests, SessionProgressCalculatorTests,
SessionExporterTests, MetricEnumMirrorTests.
- Docs: 03_METRICS Upscaling (D63 amendment; the beta.8 sentence struck for the mode only), 05_DETECTION,
07_IPC, 08_UI, 18_GPU_VENDOR_APIS, LIMITATIONS, guide 03/10, CHANGELOG; legal/ACCURACY.md's Quality mode
bullet in the words approved with the plan, without its FSR clause; Disclaimer 2.11.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
3a25d01bf8 |
feat: every frame-generation state a session held - a bar and a table with each state's share, its own Native -> Displayed and how it was set (D62, beta.24 PR-6) (#321)
- Domain: Metrics/FgMix over the steady state's own five-second windows (FgSlices: the cut and the dominant state, moved out of FgSteadyState unchanged). Windows are active, no frame generation (only where a counted none is allowed) or not classified; active ones are grouped by repeating the steady state's extraction until none is left, a group under 10 s going back to not classified. Each row has its own factor, rates, seconds and share; the shares sum to 1. Never an average across states. - Application: SessionAggregator stores it as sessions.fg_mix (schema 0020, JSON through FgMixRecord) when the frame generation was named and the count stood or was refused only as non_uniform / ambiguous_band. Older sessions keep NULL and are never rebuilt from their blobs. - App: the summary's "Frame generation in this session" - FgMixBar (chart palette, a state by its multiplier, two new keys; follows a theme switch through ApplicationBackgroundColor) and a table (swatch, x4.0 frame generation, 35.33%, 70 -> 282 FPS, time); above it how frame generation was set (NvidiaOverrides.FrameGenerationContext: the NVIDIA App's Dynamic / Fixed, the driver's own profile, or the game); a line for a session that counted frame generation and has no mix. CSV "# fg_mix:"; the FG column's formats moved to resx; the profile line's automatic dynamic target reads "max refresh rate". - Strings: 26 new keys en/vi/ja (ja marked review), one reworded. - Tests: FgMixTests, FgMixPresentationTests, NvidiaOverridesTests, SessionSummaryViewModelTests, SessionExporterTests, SessionAggregatorTests, LedgerDatabaseTests (script 0020), the repository round trip, MetricEnumMirrorTests (FgMixKind is Domain's own); the summary surface in PagesLoadTests carries a mix, so the block is read in both themes and through a switch. - Docs: CLAUDE.md rule 6 (dated amendment), 03_METRICS The mix, 06_DATA_MODEL 0020, 08_UI, LIMITATIONS, guide 03/07/10, CHANGELOG; legal/ACCURACY.md's frame-generation bullet gains the sentence approved with the plan (README and the Disclaimer carry it verbatim). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4130b7cbe4 |
feat(app): the new measurements as summary cards, a render scale chart, a clocks and fan chart, trend metrics and compare rows labelled (presented) (beta.14 PR-8, D49) (#271)
The App's half of D49 (PR-7 recorded the values). Every value is read from the stored row, never recomputed, and reads
N/A on a session recorded before beta.14.
Summary (SessionSummaryViewModel, the cards in AddFrameCards / AddPacingCards / AddMachineCards):
- Time below 60 FPS, with below 30 and "display under {refresh} Hz" beneath - the refresh share named for the display, as
it is over the presents the display received - and Frame to frame; both carry (presented) where the lows do.
- VSync (share of frames, tearing allowed beneath), Ray tracing (share of frames, rays per pixel; only where measured),
Game in focus (foreground over drain ticks), Capture quality (gaps, lost records, faults).
- The 1% Low card carries "displayed: N" where frames were generated - rule 6, beside the game's own, never instead.
- GPU clocks (core, memory; fan and memory temperature beneath), GPU held back (power, heat; NVIDIA only), Frames per watt.
Charts:
- RenderScaleChart over RenderScaleSeries: 100 x sqrt(render / output pixels) as steps, from the render_res blob where the
resolution varied, a flat line at the row's extent where it did not, a sentence where never measured.
- SensorsChart: the memory temperature on the temperatures plot, in a new palette colour (Chart_SensorTertiary: no
existing colour was 60 apart from all six beside it - ChartMathTests caught Chart_Histogram == Chart_Native), and a
Clocks and fan plot - core and memory MHz, fan RPM on the right, the ticks a limit held the card back shaded
(LimitRuns); collapsed when the session stored none of them.
Trend: nine metrics (time below 60 / refresh, frame to frame, render scale = 100 / upscale_ratio, VSync share, frames per
watt from hooked sessions; core clock, memory temperature, power-limit share from every session), with ms, MHz and FPS/W
axes. Compare: nine rows; the median, lows, stutter, time below 60 and frame to frame carry (presented) in the cell of a
present-only session, the best decided on the number, never the label. The Latency tab is shown only for a game with a
session that measured latency (nothing measures Reflex today). Formats.Share, Milliseconds, FramesPerJoule.
Tests: SessionSummaryViewModelTests (every new card with values, a pre-beta.14 row at N/A, the displayed low),
RenderScaleAndClocksTests (scale arithmetic, steps, flat line, limit runs, both charts drawn on the STA thread),
TrendSeriesBuilderTests, CompareViewModelTests (labels and bests), FormatsTests, GameDetailViewModelTests (Latency tab),
ChartMathTests (the clocks plot's colours too).
Docs: 08_UI (summary, trend, compare, latency), 03_METRICS (render scale over time), legal/ACCURACY.md (one bullet, mirrored
into README and DISCLAIMER by accuracy-check; Disclaimer version unchanged as in beta.13), guide/03-read-your-results,
LIMITATIONS, CHANGELOG. Strings en/vi, ja marked for review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
cc847c588e |
feat(app): the game's own memory wherever a session is shown - two summary cards, a stored statistics table, Sessions columns, Trend and Compare metrics, two memory charts, the live card, the CSV line (D43, beta.12 PR-3) (#255)
- Formats.Memory: Task Manager's units (MB below 1 GB, GB to two decimals, 1 GB = 1024 MB, null is N/A, never 0). - Services.GameMemoryText: the summary's VRAM (this game) and RAM (this game) cards - the median with the peak and the shared / commit peak beneath - the Sessions grid's median · peak cells and tooltips, the live line, the CSV `# game_memory:` header line; all from the stored columns and sensor_stats_json. Where Windows reported no private working set the working set is shown and says so; an unpinned hold that summed several processes says how many. - Services.SensorStatsTable + the summary's "Statistics per series": every stored series' mean / median / minimum / peak / readings in its own unit; a session recorded before beta.12 gets one sentence instead. - SensorsChart: two memory plots in GB - Video memory (this game's dedicated and shared, the whole graphics card's) and Memory (this game's private working set or labelled working set, the whole PC's). The line that read the never-produced per-present vram_proc blob is gone. - Trend: MaxVramProcess (vram_proc_max_mb, never written, so never a point) becomes Median / Peak VRAM (game) and Median / Peak RAM (game) in GB, machine metrics over both tiers; Avg RAM in use is labelled as the whole PC's, in GB. Compare gains the four rows, ranking nothing. - Live card: MemoryText from SessionProgress / SessionHeld (the old VramText read a field nothing produced). - Strings: 41 new keys, 4 relabelled, 5 dead ones removed, en/vi/ja (ja marked review); 09_I18N glossary rows. - Tests: GameMemoryTextTests (new), summary, trend, compare, chart, live card, dashboard, export; GamesViewModelTests joins the culture collection (it compared resource text across a parallel culture flip and failed once). - Docs: 08_UI (corrected in place, new beta.12 paragraph), 03_METRICS export schema, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ff949afc6f |
feat(legal): NOTICE with the GPLv3 section 7 additional terms, the licence header in every source file, and the documents for people who build, contribute or redistribute (D45, beta.12 PR-1) (#253)
- 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> |
||
|
|
5a890553b2 |
feat: the display mode - how each game was shown and for how much of the session, both tiers, on the summary, the game page, the trend and compare (schema 0016, beta.10) (#243)
The owner asked for the game's window size and display mode (exclusive fullscreen / borderless / windowed) and the share of the session each took, with trend and compare. PR-2 (#242) published the swap chain's own answer in shared-memory region 4; this change reads the window from outside, classifies, tallies, stores and shows it. - Domain/Display: DisplayModeClassifier (no window -> minimised -> exclusive, only from a region-4 sample under 2 s old -> covers its monitor: borderless when the chain said not exclusive, "fullscreen or borderless" when nothing could say -> windowed), DisplayTally (milliseconds, not ticks: a sample stands for the time until the next), DisplaySummary. - Application: IDisplayProbe; DisplaySampler on the capture loop's tick beside focus (100 ms hooked) and on the Tier-2 hold's tick (1 s) - an interval ending on a paused tick is dropped; ITargetResolver.PidsOf finds a hold's processes by image path in the watcher's snapshot (never by name, never an unreadable path), still opening nothing; CaptureOutcome.Display; the recorder writes it on the row's skeleton (SessionDisplayColumns), so a Tier-2 row has it. - Infrastructure: WindowGeometryProbe - user32 out of process, per-monitor DPI aware (V2) while it asks and put back; the window region 4 names when it still belongs to the game (to its root), else the largest visible, uncloaked, non-tool top-level window of the game's processes; MONITORINFOEX + EnumDisplaySettings for the monitor and its refresh rate. Nothing belonging to the game is read (CLAUDE.md rule 4). Schema 0016: fifteen sessions.display_* columns, ADD COLUMN only; sessions.swap_effect gets its first writer. - Composition: the Agent's CaptureSession and the operator host's take the probe. - App: a Display stat card and line on the session summary, the last measured session and a Display column (tooltip with every share) on the game page, three Trend metrics (exclusive / borderless / windowed share, every tier, never left out as a mid-session change, no exclusive or borderless point where the two could not be told apart), three Compare rows (never ranked), the CSV's "# display:" line (invariant). Strings en/vi/ja; Strings.Designer.cs regenerated. - Tests: classifier and tally (Domain); sampler on a moved clock, pause, staleness, swap-effect names; CaptureSession Tier 1 from region 4 + window and Tier-2 hold by the snapshot's pids; recorder Tier-2 row and hooked row; LatestProcessSnapshot pids; migration 0016 and the repository round trip; WindowGeometryProbe against hook-harness's real window; App card, line, game page, trend, compare, export, DisplayText. - Docs: 03_METRICS (new section Display mode, accuracy row, export header), 04_CAPTURE, 05_DETECTION (runtime facts row; present mode still has no writer), 06_DATA_MODEL (DDL + 0016), 08_UI, 02_SPEC (FR-7.4, FR-7.2 note), CHANGELOG. No hook-path change: the Overlay is untouched by this PR (its cost was measured in #242). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f32c10d758 |
feat(app): the user-mode anti-cheat exception in Settings and on the game page - its option, its list, its versioned disclosure, and the legal text that says it (D33) (#238)
Owner decision D33 (2026-09-26), beta.9 PR-3 of 4, on the guard (#236) and the Agent (#237). This is the part a user sees; every state it shows is the Agent's, read from its columns, and every grant is the Agent's to make. - Settings > Capture: "Allow hooking in games with user-mode anti-cheat that were measured before" (hooking.usermode_ac_exceptions, off by default) and under it the User-mode exceptions list - eligible games (Make exception...), games held back only by the session count, games carrying an exception (Withdraw), each with its finding, its successful hooked sessions and its state. Off, only kept exceptions are listed, suspended. "Checking..." until the Agent has answered about every blocked game; Refresh re-reads. - The disclosure: AntiCheatExceptionPrompt / AntiCheatExceptionDialogContent over the new Safety_Exception_* family (Shared, versioned by AntiCheatExceptionDisclosure.Version; ja English verbatim marked for review). Why it is offered, the risk at the same grain as FR-2.1's dialog (a ban possibly days later, invisible to FrameLedger), what is still refused, how it ends, that it turns nothing on, offline/single-player; the primary button bound to the ticked "I accept the risk of a ban for this game", Enter = Keep it blocked. - AntiCheatExceptions: the handshake on HelloAck.ExceptionDisclosureVersion (no dialog against other text), then SetAntiCheatException; Granted / Withdrawn / Refused (TooFewSessions, the guard's finding, BlockNotExceptionable, could not verify) / OptionOff / VersionMismatch / AgentUnavailable, each said in the user's language. - The game page: a User-mode exception card (ExceptionView over GameRow.AcException) - eligible, checking, not eligible and why (too few sessions; "the guard also found Kernel driver in the game folder (NEPKernel.sys)"; "... is not user-mode throughout"), in force, suspended, ended and why. An exception in force brings the Hooking card back even while anti-cheat cards are hidden, its switch usable through FR-2.1's dialog, the finding still under it. - Marks: the library card says Exception; a session hooked under one is "Hooked · exception" in the Sessions tab (tooltip names the family) and has a line in its summary. - Legal (owner-approved): Disclaimer 2.6 -> 2.7 (sec. 2A describes the exception and its risk; sec. 2's "no setting" sentence points to it), EULA 1.2 -> 1.3 (the code-injection clause names it), the accuracy block (all three copies, re-dated 2026-09-26), SECURITY.md (what in the exception is a security report), README's Hard refusal row. Privacy stays 2.4. The Legal Gate re-shows the two changed documents. Tests: AntiCheatExceptionsTests (handshake, declined sends nothing, our version sent, the Agent's answers, withdrawal needs no dialog, the button waits for the tick), GameDetailViewModelTests (eligible offers it; in force makes the switch usable; off = suspended; the card says Exception; why not eligible - one session, Aniimo's driver, a kernel-level family), SettingsViewModelTests (off by default; the list follows the Agent's columns; off lists only a kept exception). Docs: 08_UI (the game page card, the Settings list), 09_I18N (Safety_Exception_*), 20_OPEN_QUESTIONS (the decision recorded, what stays the owner's), 19_SAFETY (status), CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9e7eed6351 |
fix: a frame-generation session's lows are over application frames, a pause is a gap and not time, and the charts draw what they say (#234)
Owner request 2026-09-25 (beta.8, item 8: fix the charts that are not reasonable). Measured first on the owner's Onimusha demo capture (DLSS FG x3, read from a copy of the ledger): generated frames are submitted half a millisecond after their application frame, so the stored median over presents read 2,073 FPS on a 60 FPS game, and the chart's "native" line was each frame's interval to the generated one before it. - Domain: FrameTimeSeries.ApplicationFrames (application frame to application frame; a gap or an uncounted present breaks the chain); MeasuredSeconds - D leaves out every interval a gap sat in, so AverageFps is the kept intervals over the seconds they span; RecordWindow.SecondsOf and FgWindow.From take the gap set. - Application: SessionAggregator takes median / lows / min / max / sigma / stutter over application frames where generated frames were counted (segments too), the Displayed 1% low over presents, and no frame statistic when a technology was named and no application frame counted. CaptureSession marks a gap before the first record stamped at or after the resume's QPC (test red before the fix). SessionFinalizer writes frame_blobs.first_present_ms (schema 0013). - App: SessionSeriesLoader charts the dominant swapchain, application-frame intervals, every present when all were generated (noted), sensors on the frames' axis when the blob says where the first present is, Tier-2 sensors alone. FrametimeChart: labels (Application frames / Presents), no 0 ms frames after gaps, a note on present timing and closed-up gaps, segment labels, the overlay only when aligned. DistributionChart: histogram over p0.5-p99.5 with centred bars and an outside count; PercentileCurve drawn where ten frames lie beyond each side (FR-4.8 generalised) with the 1% / 0.1% lows marked. SensorsChart: watt axis, "Memory", VRAM 0 left out, distinct colours in both themes (light Percentile was SensorSecondary's gold), both tiers; the summary window gets a Sensors section. The game page reloads when one of its sessions completes. - The live 5 s window reads the survivors' rate over a drop, not the survivors spread over the lost time. - Docs: 03_METRICS, 04_CAPTURE, 06_DATA_MODEL, 08_UI, HANDOFF traps, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
aba58dfd7d |
fix: the Trend tab draws on first open with Native and Presented as two metrics, FPS can show two decimals, and every steady-state factor carries its share (#233)
Owner request 2026-09-25 (beta.8, items 6 and 7: does Trend really work; FPS with up to two decimals behind a setting). - Trend: the page draws what the view model holds when it is made (the load finished before the page subscribed, so every first open was blank); the date axis is made before the theme and the label (DateTimeTicksBottom replaced the axis and dropped both); "Average" is two metrics - Presented FPS on sessions that counted no generated frame, Native FPS where frame generation was measured - and the tab opens on Native when the newest measured session counted generated frames; machine metrics count Tier-2 sessions; partial points (settings changed, or a steady state for Native/Displayed/factor) are hollow with a note; one hardware marker per day; the metric list in the page's language; the empty text names the metric. - FPS decimals: ui.fps_decimals (off by default; Settings > Window), FpsDecimals holder read at start and moved at once, Formats.FpsNumber "62.40" / "62", rounded half away from zero. - Rule 6: the readout line (Average card, Compare) and the Sessions grid's FG column carry the steady share; "Lifetime average" is labelled as the last measured session it is. - Compare: the best cell's accent colour (a local Foreground outranked the trigger), best as shown (ties by displayed text), loads unranked, the 0-100 percentile axis (AutoScale ran after SetLimitsX), and PNG exports with an opaque background (ChartTheme.SavePng). - Docs: 08_UI, 06_DATA_MODEL (ui.fps_decimals), HANDOFF traps, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2c02978b5b |
fix: reasons read as what they are - End task is not a crash, a refusal no anti-cheat names is not "detected", every end reason has its words (#232)
Owner request 2026-09-25 (beta.8, item 5: clearer reasons - 32-bit game, exe missing,
process killed...).
- Exit classification: a crash is an exception's exit code (NTSTATUS 0xC0000000-0xC0FFFFFF
but 0xC000013A, 0xE06D7363 C++, 0xE0434352 .NET, 0x80000003) or the event log's witness;
End task's 1, a program's -1, Ctrl+C are ordinary ends with the code in the notes.
CrashAutoDisablePolicy takes the exit code too and still counts every non-zero exit in
its window (the safety did not loosen); its row reason says "ended abnormally".
- capture_notes: the guard slot has three positions, guard=Reason|Family|Signal, none
dropped and no ';' inside one (an empty family used to be dropped and the signal read as
the family; a ';' in a signal cut it). Old rows are read by the rule that separates them:
findings and the gate's own refusals carry a family, every other reason's second part
was its signal. exit_code, crash_event and the new launch_error are read back.
- A launch that cannot start keeps Windows' reason (IProcessLauncher.Start(..., out
win32Error), a default interface overload; CaptureOutcome.LaunchError).
- App: every SessionEndReason has its sentence (Formats.EndReasonText, enum-walk test);
every familyless guard refusal says what happened (Formats.GuardSentence) in the
summary, the safety notice and the enable-time refusal instead of "<signal> was
detected in this game"; the summary says how it ended ("crashed (0xC0000005 access
violation)", "ended with exit code 1 - what End task and taskkill leave"); the missing
executable bar and notice say whether the drive or the file is missing.
- Docs: 04_CAPTURE (classification corrected, notes format, launch error), 19_SAFETY (crash
safety counts abnormal ends), 08_UI, HANDOFF traps, CHANGELOG.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
7d6b670173 |
feat: a session records the NVIDIA driver profile it ran under, and says what the NVIDIA App overrides - DLSS preset and mode, frame generation, Smooth Motion (#231)
Owner request 2026-09-25 (beta.8, item 4: detect whether the NVIDIA App overrides DLSS
settings - FG, RR, the model preset - through NVAPI).
- NVAPI bridge ABI 2: FlNvDriverProfile(exePath, ids, count, out) reads, through DRS, the
profile the driver applies to an executable (FindApplicationByName on the full path;
none named -> the current global profile) and the value, location and "someone set it"
of each id asked. Read-only: a session is created, loaded, read and destroyed; the
bridge has no DRS setter. A path too long for NVAPI's string is refused, never
truncated. FlNvDriverProfileSize for the mirror.
- The ids and their values' meanings are NVIDIA's NvApiDriverSettings.h (MIT), written as
Application.Capture.NvidiaDriverSettings (18 constants, no header vendored); Smooth
Motion is community-documented only and labelled so.
- NvapiDriverProfileSource (IDriverProfileSource) over the bridge; SessionRecorder reads
the profile beside every session (both tiers), bounded at 5 s, and a failed read costs
the column, never the session. Schema 0012: sessions.driver_profile (DriverProfileRecord
JSON). ngx_driver_words keeps ratio/mode/preset/fg fields beside its masks.
- App: the session summary says the profile and what it overrides ("DLSS override (preset K,
Quality) - Frame Generation override (x4, latest preset)") and what the driver reported
applying in the game's process from its override bits; the game page's Details card has
an "NVIDIA App override" row from the newest session that read one. Configuration, never
a measurement (03_METRICS).
- Fixed: ctest fl_nvapi_bridge passed on its branch line alone (PASS_REGULAR_EXPRESSION
ignores the exit code) while its reference-counting check failed on every GPU machine;
the check is corrected and a FAIL_REGULAR_EXPRESSION added.
- Docs: 18_GPU_VENDOR_APIS (ABI 2, read-only DRS, the ctest trap), 03_METRICS, 06_DATA_MODEL
(0012), 08_UI, HANDOFF traps, CHANGELOG.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
efcee1d08d |
feat: the game page says what the game's files say - x64 or x86, file and store versions, the DLSS/FSR/XeSS files it ships - and a 32-bit game's hooking cannot be turned on (#230)
Owner request 2026-09-25 (beta.8, item 3: game version, DLSS/FSR versions, 32/64-bit). - Schema 0011: games.exe_machine / exe_file_version / exe_product_version / library_versions, written whole by the detection sweep (DetectionWrite). A NULL exe_machine is stale once, so every library entry is read under this build. - PeImports.ReadArchitecture: the COFF machine and, for .NET, the CLR header's flags (Domain.Detection.ExecutableArchitecture: x64 | x86 | arm64 | arm | anycpu | anycpu32 | other | unknown) - an AnyCPU assembly carries an I386 machine and runs as 64-bit unless it prefers or requires 32-bit. - GameFileProbe: the files a capability rule names, with the numeric version of their VS_FIXEDFILEINFO (bounded at 48); RuleEvaluator.NamesFile shares the matcher. - Known not hookable (x86, anycpu32, arm64, arm): SetHookEnabled answers Refused ExecutableNotX64 before anything is scanned or stamped; the sweep turns off hooking on a row enabled before this build (hook_autodisabled_reason); the page disables the switch with the reason and offers no re-enable. A switch that is on can still be turned off. - App: a Details card (runs as, file/product version, store build labelled with its store, engine, shipped libraries), the subtitle says "Steam build 20374416", and the session summary lists the runtime libraries (runtime_modules, recorded since P2 and shown nowhere) against the copy the game ships. - Rules 2026.09.5: fsr gains ffx_fsr3*.dll, xess gains libxess_dx11.dll (+ fixture). - Docs: 05_DETECTION (what the files say about themselves), 06_DATA_MODEL (0011), 07_IPC (ExecutableNotX64), 08_UI (Details, loaded libraries), HANDOFF traps, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3f95c4b9fb |
feat: Tier 2 exists - a refused session is held, unhooked, until the game exits; hooking-off is decided before the process is opened; Steam tools are not games (#216)
Owner ask 2026-09-22 (D23): "Tier 2 does not work - what does it record, and show it." Every refusal returned within a second and the 30 s minimum discarded it. CaptureSession.HoldUnhookedAsync now keeps a refused session open, ticking the telemetry poller through the observer, until the target exits (a pinned liveness, or the executable's name through ITargetResolver.IsRunning when the loop never opened the process). The row lands as T2 with its sensor aggregates and the reason; the summary says why (Formats.Tier2Reason over capture_notes). The operator host sets HoldUnhooked = false. RunAsync reads the consent record before resolving the target: a hooking-off row - merely added, blocked, auto-disabled - is never opened, so an elevated utility in the library (Borderless Gaming) is a quiet Tier-2 row rather than the anti-cheat-driver notice. SteamLibrarySource.KnownTools keeps the next import from adding one. PartialRecovery no longer reads a tick as proof of a hooked session. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
7c67f4610d |
fix: the guard override is withdrawn; a finding turns the game's hooking off at session start and at the re-scan (#215)
Owner decision 2026-09-22 (D22). The per-game override of 2026-09-21 is removed entirely: the native acknowledged entries and reason 28, FlGuardIsJudgement, the SetGuardBypass message, the App's card and dialog, the session mark and export line, the Safety_Bypass_* strings, and schema 0007's five columns (0008 drops them). CLAUDE.md rule 2 reads "there is no override" again; Disclaimer 2.5, EULA 1.2. In its place: an anti-cheat named in the game itself (its process, its title lists, its folder) is written to the row as the pre-scan always wrote it, now also when the guard finds it at a session's start or at the 30 s re-scan (AntiCheatVerdict.IsFindingAboutTheGame, CaptureSession.TurnHookingOffAsync). A machine-wide driver or service refuses that session only. CaptureRefused / SafetyUnhook carry hookingTurnedOff and the notice says so; capture_notes carry hooking-turned-off=. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
234962f0e7 |
feat(safety): a per-game "bypass the anti-cheat guard" switch, at the user's own risk (owner decision 2026-09-21) (#209)
The owner asked for a mode that skips the guard behind a warning the user MUST accept first, and chose the per-game form. CLAUDE.md rule 2 said "There is no override switch. Do not add one"; it is amended with this, and the amendment is the constraint list below. Rule 3 is untouched: the bypass changes WHETHER FrameLedger injects, never HOW. What it is. A switch on the game's page, off by default, never global: no setting, no CLI switch, no environment variable, no field in rules/detection-rules.json (the schema still rejects one). It is a recorded human act - its own disclosure, accepted by a ticked acknowledgement AND the typed phrase BYPASS, stamped by the Agent with the disclosure's version (schema 0007: games.guard_bypass_at / _disclosure_version) through IGuardBypassStore, a port of its own. It is keyed on the executable like consent, and ends when hooking is turned off or the executable changes. What it overrules: the guard's JUDGEMENT (blocklist matches, the suspicious-module rule, scans that could not look, unusable rules, the PreviouslyBlocked latch). What it never overrules: the kill switch, a game merely added, a missing consent, a foreign payload, a 32-bit target, a failed injection, and a Vulkan title the guard refuses. Native. FlGuardedInjectAcknowledged / FlGuardedInjectWhenReadyAcknowledged live in fl_guard.cpp, the one chokepoint file. They run EVERY check, verify the payload, use the same LoadLibraryW primitive, and answer AllowedUnderUserBypass (28) with the family and signal of what was found - never kAllow, so Allowed() stays false for every caller written before it. IsGuardJudgement is the list; FlGuardIsJudgement exports it for the mirror test. Managed. AntiCheatVerdict.IsAllowedUnderBypass, asked by name in CaptureSession only. HookRequest gains the fifth input, built in FromConsent from a stored record that names its disclosure, dropped on a fingerprint mismatch. HookedCaptureGate checks it after the kill switch, enablement and consent. The port's acknowledged methods DEFAULT to the hard gate. GuardSupervisor still scans and still ticks under a bypass; a judgement is kept, counted and does not unhook, a fact still does. SetGuardBypass re-checks everything the App checked; SetHookEnabled under a recorded bypass still writes the finding and stamps consent beside it. Afterwards. sessions.guard_bypassed / guard_bypass_family / guard_bypass_signal; the sessions list, the summary, the CSV header and the JSON export say so. A session recovered from a .partial does not carry the mark (recorded limit). Docs with it: CLAUDE.md rule 2, 19_SAFETY (the spec), 02_SPEC FR-2.7, 06, 07, 08, 14, 20_OPEN_QUESTIONS, SECURITY.md, and tools/chokepoint-check.ps1's own description. Safety strings in en/vi; ja ships the English until a reviewer signs. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
9a14304a41 |
feat: CPU load, memory and (elevated) CPU temperature; per-game trend metrics; Settings shows this PC (#208)
* feat: CPU load, memory and (elevated) CPU temperature are measured; trend metrics per game; Settings shows this PC Telemetry. sessions.avg_cpu_load / avg_cpu_temp / max_cpu_temp / avg_ram_mb and the cpu_load / cpu_temp / ram_mb series were in schema 0001 with no producer. TelemetryPoller now reads the machine beside the GPU on the same 1 Hz tick through ISystemTelemetrySource, and the reading rides each TelemetrySample as a SystemReading - outside GpuSample, whose capability bits and layer attribution mean nothing here. Two unprivileged Win32 calls, no process opened: GetSystemTimes (time busy across every logical processor; the first tick has no interval and is null, never 0) and GlobalMemoryStatusEx. CPU temperature is the one privileged reading: a separate CPU-only LibreHardwareMonitor Computer, opened only when the Agent is elevated AND PawnIO is installed. It is UNMEASURED on real hardware (20_OPEN_QUESTIONS M10 carries the one session that settles it). HelloAck.cpuTempAvailable reports those two conditions instead of a constant false. The .partial sensor chunk carries the three values in bits 12-14 of its existing presence mask, so an older file reads back with an empty reading. No migration; older sessions keep their nulls. App. The game page's Trend tab gains average GPU load, average GPU power, max VRAM (game), average CPU load, max CPU temperature, average memory in use and the xFG factor - a factor that is its session's steady state (rule 6) is a partial point: left out by default, drawn marked when mid-session changes are included. The Sensors chart draws CPU temperature, CPU load and system memory; Compare gains three rows; the session summary gains GPU and CPU cards and the session's hardware snapshot under its header; the live card carries cpuLoadPct. Settings > System states this PC as a session's snapshot would record it (the same IHardwareSnapshotSource), with Copy; nothing is sent anywhere. --diag prints it; the bug bundle's sysinfo.json is deliberately unchanged (its keys are the issue link's prefill). legal/ACCURACY.md and its two embedded copies say what is and is not measured about the processor. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * style: one property per line in the trend test's object initialiser Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
985ecba12e |
fix(app): DLSS is named where the driver reports it, instead of "Unknown upscaler"; a measured preset is its name (#206)
Most DLSS titles call NGX directly, and no NGX hook may exist (the SDK's licence, 20_OPEN_QUESTIONS), so the hook runs and sees nothing: `unknown`. FSR was named because its dispatch is hooked. The NVIDIA driver does report the feature per process; the Agent has stored that on every session since P2 (sessions.upscaler_driver_reported) and the capture host has printed it since 2026-09-06. Nothing under FrameLedger.App read it. Formats.Upscaler(token, quality, driverReported) is 03_METRICS' ladder in one place: a hook's name outranks everything and takes its measured preset; where no hook named one and the driver reports NGX super resolution created and evaluated, the text is "DLSS (driver-reported)" - attributed, identity only, never a quality; otherwise the token's own text, and `unknown` now reads "Upscaler not identified". The library, the session summary, the game page and the live card (SessionProgress.upscalerDriverReported, optional) all use it. Sessions already recorded show it too, because the column was always written. Domain.Metrics.UpscalerNames, promised by 03_METRICS from the start: the one produced quality byte (sl::DLSSMode via Streamline) is its preset's name - "DLSS Balanced", not "DLSS 2". A value with no name is shown as stored. A preset derived from the render scale is still not shown (HANDOFF 7a, an owner decision not taken). Nothing native changed; no hook was added. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|
|
f0da7e5cf7 |
feat(app): the session summary window and the charts -- ChartTheme over two palettes, min/max decimation, the frametime timeline, the distribution, FR-8.3's override, tags/notes, CSV/JSON/PNG export (P3 PR-6) (#160)
Charts/: SessionSeriesLoader decodes a session's blobs once (cumulative time, the
generated and gap bits, the application-frame view with Domain.Metrics.StutterDetector
over it -- the stored count's own rule -- segments from frame index to seconds, sensors
aligned to t_ms with -1 dropped). Decimator is FR-5.3: every bucket's min and max in
order, <= 4000 points per draw; a 500k-point series keeps its spike and its dip.
FrametimeChart: application frames by default, the every-present series behind the
FR-5.4 toggle only when generated frames exist, PSO-compile stutter coloured apart
(FR-5.5), alternating segment spans, GPU temperature/load on the right axis.
DistributionChart: FPS histogram + the percentile curve through Domain.Metrics.Percentile.
ChartTheme.Apply/Attach re-colour every live plot on ApplicationThemeManager.Changed
from Styles/ChartPalette.{Dark,Light}.xaml (the one place hex is allowed);
ChartPaletteTests pins the two files' key parity. ScottPlot.WPF 5.1.59 as pinned.
Windows/SessionSummaryWindow (a secondary FluentWindow with its own ContentDialogHost):
stat cards from the STORED aggregates, never recomputed (lows labelled "(presented)"
when FG was not measured); chips through TriStateResolution with FR-8.3's dialog
writing the override to session_annotations beside the measurement (and the game
default on request; clearing restores the measurement); crash and safety-unhook bars;
tags/notes editor; FR-9 exports -- SessionExporter writes the CSV with 03_METRICS
§Export schema's column line verbatim and its # header block, InvariantCulture
throughout, no rows for Tier 2; the JSON (frameledger-session/1, N/A omitted); PNG via
Plot.SavePng. Opened from a Sessions-tab row (double-click or Open) and from the
Dashboard's recent list. FR-3.8 is an in-app notice on SessionCompleted until the
tray exists (PR-8).
Tests (App, 68): DecimatorTests, ChartPaletteTests, SessionSeriesLoaderTests,
SessionExporterTests (schema, header, invariance under vi-VN, Tier-2 no rows, JSON),
SessionSummaryViewModelTests (cards, override + clear, tags de-duplicated, exports
through a scripted saver), and the charts drawn through Skia under the theme
dictionaries in PagesLoadTests. 57 new App strings in en/vi/ja.
Docs: 08_UI §Session summary + 16_WPFUI §ScottPlot theme sync built notes; HANDOFF
row 6 struck with the two deliberate deviations (a dialog rather than a flyout; the
toast waits for the tray). CHANGELOG.
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
|