Compare commits

...
Author SHA1 Message Date
poli0981andClaude Fable 5.1 ab7ce96ad2 release: 0.1.0-beta.4 - the CHANGELOG section, the accuracy block re-dated, README's release lines, HANDOFF; a wrong date corrected
CHANGELOG: [Unreleased] becomes [0.1.0-beta.4] - 2026-09-21 with a user-facing summary and the update notes (quit the
App and end the Agent before installing; the Disclaimer moved to 2.4; no schema change). The accuracy block and its two
embedded copies name 0.1.0-beta.4. HANDOFF gains decision D21 (a process an anti-cheat driver protects is
TargetUnreadable and the bypass stops there - rule 3, not rule 2), four things found and NOT fixed, and three traps.

#212 dated its comments and docs 2026-09-22; it was written and merged on 2026-09-21. Fourteen files corrected, dates
only. VERSION stays 0.1.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-21 22:20:22 +07:00
19 changed files with 74 additions and 19 deletions

No files matched your search

+25
View File
@@ -27,6 +27,31 @@ under a `## [x.y.z] - date` heading in the same commit that bumps `VERSION`, the
## [Unreleased]
_Nothing yet — entries continue here after `0.1.0-beta.4`._
## [0.1.0-beta.4] - 2026-09-21
**The fourth pre-release: four faults found in the first day of `0.1.0-beta.3`.** The same unsigned installer: verify
its hash against `SHA256SUMS.txt`, then *More info → Run anyway*. What changed for a user:
- **Only one FrameLedger window now.** Starting the App while it is already running (a double-click, or the shortcut
while it sits in the tray) brings the running one forward instead of opening a second one with a second tray icon.
- **The safety texts follow your language.** In a Vietnamese UI the consent dialog, the refusal notices and the
guard-bypass card were English.
- **The guard bypass is honest about what it cannot do.** A game whose anti-cheat protects its process (ELDEN RING
under Easy Anti-Cheat is one) cannot be opened by any other program, so FrameLedger cannot measure it with or without
the bypass, and it will not try to get around that protection. beta.3 showed nothing at all in that case; this build
shows a notice that says so, the bypass warning says it before you accept, and the game page no longer says
"Hooking is disabled" beside a hooking switch that is on.
**Updating from `0.1.0-beta.3`:**
- Quit the App (tray icon → Exit) and end `FrameLedger.Agent.exe` before running the installer. On 2026-09-21 an
install over a running Agent left a half-replaced folder and the App failed to start three times
(`Could not load … Microsoft.Data.Sqlite`) until it was installed again.
- The Disclaimer moved to 2.4 (one paragraph about the bypass), so the Legal Gate opens once.
- No schema change. A bypass you already accepted stays on; the new warning text is shown the next time you turn one on.
### Fixed
- **A second App could be started beside the first.** Nothing enforced one instance: the owner's log of 2026-09-21
+3 -3
View File
@@ -6,7 +6,7 @@
<!-- accuracy-block:begin -->
> ⚠ **What FrameLedger actually measures today — 2026-09-21.** The software is a beta; its latest
> **pre-release is `0.1.0-beta.3`** (2026-09-21), an unsigned installer built from that tag with its
> **pre-release is `0.1.0-beta.4`** (2026-09-21), an unsigned installer built from that tag with its
> checksums published beside it. The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
> game in the library runs, injects only into games you enabled and only past the safety guard (or,
@@ -138,7 +138,7 @@ Elevation is **optional — for everything.** Hooked capture is the normal path
## Install
> **The latest pre-release is `v0.1.0-beta.3` (2026-09-21); before it `v0.1.0-beta.2` (2026-09-17) and `v0.1.0-beta.1` (2026-09-16).** They are pre-releases: read `CHANGELOG.md`'s section for the one you install — what it measures, what it does not yet, and how to update — before installing. A source build is `docs/12_BUILD.md`.
> **The latest pre-release is `v0.1.0-beta.4` (2026-09-21); before it `v0.1.0-beta.3` (2026-09-21), `v0.1.0-beta.2` (2026-09-17) and `v0.1.0-beta.1` (2026-09-16).** They are pre-releases: read `CHANGELOG.md`'s section for the one you install — what it measures, what it does not yet, and how to update — before installing. A source build is `docs/12_BUILD.md`.
1. Download the latest `FrameLedger.App-win-Setup.exe` from [Releases](https://github.com/poli0981/frameledger/releases). It installs into `%LOCALAPPDATA%\FrameLedger.App`; your data stays in `%LOCALAPPDATA%\FrameLedger`, and uninstalling asks before touching it.
2. SmartScreen may warn — releases are not code-signed (free, open-source project). Verify the SHA-256 checksum published with each release, then **More info → Run anyway**.
@@ -166,4 +166,4 @@ If you find a game with anti-cheat that FrameLedger fails to detect, please open
---
**Status:** pre-release (beta). Three tagged pre-releases so far; see `CHANGELOG.md` for what each one changed and the accuracy block at the top of this file for what is and is not measured. It is not feature-complete, it certainly still has bugs, and `legal/DISCLAIMER.md` §0 says what that means for you.
**Status:** pre-release (beta). Four tagged pre-releases so far; see `CHANGELOG.md` for what each one changed and the accuracy block at the top of this file for what is and is not measured. It is not feature-complete, it certainly still has bugs, and `legal/DISCLAIMER.md` §0 says what that means for you.
+1 -1
View File
@@ -163,7 +163,7 @@ All screens are `Page`s registered with the navigation page provider and navigat
> fields), **the row's executable path under the subtitle and Change executable… since 2026-09-21** (a store import
> guesses the executable and everything downstream is keyed on it; the pick re-points the row, which comes back
> hooking-off and unconsented like a new game, consent revoked over the pipe first, a block never cleared —
> `05_DETECTION` §Library import), **one App per data folder since 2026-09-22** (`Services.SingleInstance`: a named mutex and a named event keyed on a hash of the data directory, claimed in `Program.Main` after Velopack's hooks and before any window; a later start sets the event and exits 0, and the first instance brings its window forward through `ShellHost.Reveal` — from the tray too. Nothing stopped a second App before: the owner's log shows two started 360 ms apart, two tray icons, a second log file. `--diag` never claims), **the guard-bypass switch since 2026-09-21** (`19_SAFETY` §The user's bypass, FR-2.7: a `CardControl` with a `OneWay` toggle under the hooking card, its body text, and — while it is on — a non-closable **Error** `InfoBar` saying so; ON opens `GuardBypassPrompt`, a `ContentDialog` whose Danger primary button is enabled only while the acknowledgement is ticked AND `BYPASS` is typed, `DefaultButton = Close`; OFF needs no dialog; the switch shows the ROW, never the click; a blocked row's hooking toggle becomes usable while the bypass is on and the block's text stays on the page — as "The guard found: … You chose to bypass it", not as "Hooking is disabled for this game", which is what beta.3 printed beside a hooking switch that was ON; a session that started under it reads "· Guard bypassed: <family>" in the list's exit column and carries an Error `InfoBar` in its summary), **Supports** (from `capability_flags`; ~~empty until P4's scan writes it, and the card says so~~ **written by the Agent's detection sweep since P4 PR-1, 2026-09-14** — the rule ids as product names via `CapabilityNames`, "not scanned yet" only until the Agent's next tick) beside
> `05_DETECTION` §Library import), **one App per data folder since 2026-09-21** (`Services.SingleInstance`: a named mutex and a named event keyed on a hash of the data directory, claimed in `Program.Main` after Velopack's hooks and before any window; a later start sets the event and exits 0, and the first instance brings its window forward through `ShellHost.Reveal` — from the tray too. Nothing stopped a second App before: the owner's log shows two started 360 ms apart, two tray icons, a second log file. `--diag` never claims), **the guard-bypass switch since 2026-09-21** (`19_SAFETY` §The user's bypass, FR-2.7: a `CardControl` with a `OneWay` toggle under the hooking card, its body text, and — while it is on — a non-closable **Error** `InfoBar` saying so; ON opens `GuardBypassPrompt`, a `ContentDialog` whose Danger primary button is enabled only while the acknowledgement is ticked AND `BYPASS` is typed, `DefaultButton = Close`; OFF needs no dialog; the switch shows the ROW, never the click; a blocked row's hooking toggle becomes usable while the bypass is on and the block's text stays on the page — as "The guard found: … You chose to bypass it", not as "Hooking is disabled for this game", which is what beta.3 printed beside a hooking switch that was ON; a session that started under it reads "· Guard bypassed: <family>" in the list's exit column and carries an Error `InfoBar` in its summary), **Supports** (from `capability_flags`; ~~empty until P4's scan writes it, and the card says so~~ **written by the Agent's detection sweep since P4 PR-1, 2026-09-14** — the rule ids as product names via `CapabilityNames`, "not scanned yet" only until the Agent's next tick) beside
> **Last session measured** (upscaler · resolution, frame generation, the non-N/A chips — accent pills, from the
> hooks). Hooking: the toggle is `OneWay` from the row and its command runs `HookingConsent`; a refusal, a
> mismatch or a failure is a persistent `InfoBar` on the page (never a toast); a blocked row disables the
+1 -1
View File
@@ -2,7 +2,7 @@
Languages: **en** (neutral/default) · **vi** · **ja**. Same `.resx` pattern as the rest of the poli0981 portfolio.
> **Both string families are given the UI culture explicitly (2026-09-22).** `App.ApplyCulture` sets `Strings.Culture`
> **Both string families are given the UI culture explicitly (2026-09-21).** `App.ApplyCulture` sets `Strings.Culture`
> AND `FrameLedger.Shared.Strings.Culture`. The second was missing: the safety family fell back to the thread's
> `CurrentUICulture`, and a culture set inside the App's async start flows with that async context, not to the
> dispatcher's later operations — so on an English Windows a Vietnamese UI showed the consent dialog, the refusal
+1 -1
View File
@@ -378,7 +378,7 @@ The list exists twice — `fl::guard::IsGuardJudgement` and `AntiCheatVerdict.Is
kernel anti-cheat does not only detect a loaded DLL; its driver strips other processes' handles to the game. From the
Agent that looks like this: the watcher sees the process (its image path is readable with limited rights), and
`TargetResolver` cannot read its main module — every candidate exists and none can be opened. That is
`SessionEndReason.TargetUnreadable` since 2026-09-22 (it was reported as `TargetAmbiguous`, "more than one process is
`SessionEndReason.TargetUnreadable` since 2026-09-21 (it was reported as `TargetAmbiguous`, "more than one process is
running it", about one process; reached the user as a toast reading `InjectFailed: TargetAmbiguous`; and the one-second
session was discarded for being short — so with the bypass ON the whole visible result was nothing). **The bypass does
not change this and nothing will be built that does**: it overrules FrameLedger's own refusal, and a process another
+30
View File
@@ -1390,6 +1390,36 @@ review of `Safety_Bypass_*`, which ships as English until signed.
- **`guard_test.cpp`'s native-log test slept a fixed 1500 ms** and was read between two lines on a loaded runner; it
polls now. Record a flake on the PR BEFORE `gh run rerun --failed` erases it.
## 0.1.0-beta.4 (2026-09-21) — four faults from beta.3's first day
*Status is `CHANGELOG.md` `[0.1.0-beta.4]`; this is what no other file carries.*
**Decision (D21).** A process an anti-cheat driver protects is `TargetUnreadable`, and **the bypass stops there**: D18's
override overrules FrameLedger's own guard; it is not, and may not become, a way past another product's protection.
Any proposal to "make the bypass work on EAC titles" is rule 3, not rule 2 — refuse it.
**Found and NOT fixed — each needs its own PR.**
- **A refused session is not recorded, though the notice says it is.** `Notice_Refused_Recording` ("the session is still
recorded — duration and hardware telemetry") is appended to every refusal, and `CaptureSession` returns at the
refusal: the run lasts about a second and `SessionFinalizer` discards it as under the minimum length. CLAUDE.md's
Tier 2 ("duration + sensors + the reason") has no producer for a refusal. The new `TargetUnreadable` notice does not
make the claim; the older refusals still do.
- **A released Overlay logs its build as `v0.1.0-beta.3-dirty`**: the CI checkout is dirty by the time CMake runs
`git describe`. Both sides of the handshake compile the same string, so nothing breaks; it is a release that calls
itself dirty.
- **An install over a running Agent half-replaces the folder** (three failed starts, `Microsoft.Data.Sqlite` not found).
The in-app updater stops the Agent first; `Setup.exe` run by hand does not, and only the CHANGELOG says to.
- **A GF2 session ended `SafetyUnhook` 35 s in (2026-09-21 21:45) and nothing recorded which finding fired.** The
Agent's log line names it from this release on; read it the next time it happens before guessing.
**Traps.**
- **`CultureInfo.CurrentUICulture` set inside an `async` start does not reach later dispatcher operations.** A resource
accessor with no explicit `Culture` follows whichever thread asks. Give every string family its culture explicitly.
- **`TargetResolver` counts a process it cannot read, and zero readable + some unreadable is not "ambiguous".** A test
against a real protected process exists (`csrss.exe`); it needs no fixture and runs elevated or not.
- **`Mutex` is thread-affine**: `SingleInstance` is claimed and disposed on `Main`'s thread; its tests are synchronous
on purpose.
## Owner-only — no PR can close these
1. **§S23-2 — branch protection.** `Rules / validate` is not a required status check on
+1 -1
View File
@@ -12,7 +12,7 @@
HTML comments are not part of the block.
-->
> ⚠ **What FrameLedger actually measures today — 2026-09-21.** The software is a beta; its latest
> **pre-release is `0.1.0-beta.3`** (2026-09-21), an unsigned installer built from that tag with its
> **pre-release is `0.1.0-beta.4`** (2026-09-21), an unsigned installer built from that tag with its
> checksums published beside it. The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
> game in the library runs, injects only into games you enabled and only past the safety guard (or,
+1 -1
View File
@@ -117,7 +117,7 @@ Frame timing is derived from high-resolution timestamps taken at the moment the
<!-- accuracy-block:begin -->
> ⚠ **What FrameLedger actually measures today — 2026-09-21.** The software is a beta; its latest
> **pre-release is `0.1.0-beta.3`** (2026-09-21), an unsigned installer built from that tag with its
> **pre-release is `0.1.0-beta.4`** (2026-09-21), an unsigned installer built from that tag with its
> checksums published beside it. The source holds the desktop app
> (library, store import, charts, settings) and the background Agent, which records a session when a
> game in the library runs, injects only into games you enabled and only past the safety guard (or,
+1 -1
View File
@@ -242,7 +242,7 @@ public partial class App : System.Windows.Application
CultureInfo.CurrentUICulture = culture;
Strings.Culture = culture;
// THE SAFETY FAMILY TOO (2026-09-22). FrameLedger.Shared's Strings had no culture of its own and fell back to the
// THE SAFETY FAMILY TOO (2026-09-21). FrameLedger.Shared's Strings had no culture of its own and fell back to the
// thread's - and CurrentUICulture set inside this async start does not reach the dispatcher's later operations,
// so on an English Windows a Vietnamese UI showed the consent dialog, the refusal notices and the guard-bypass
// card in English (the owner's screenshot, beta.3). An explicit culture does not depend on which thread asks.
+1 -1
View File
@@ -18,7 +18,7 @@ internal static class Program
{
VelopackHooks.Configure(VelopackApp.Build()).Run();
// One App per data folder (2026-09-22): a second start hands over to the first and exits. --diag opens no window
// One App per data folder (2026-09-21): a second start hands over to the first and exits. --diag opens no window
// and must work beside a running App, so it never claims.
SingleInstance? single = null;
try
@@ -46,7 +46,7 @@ public sealed class SafetyNotices : IDisposable
return new SafetyNotice(SafetyNoticeKind.Refused,
string.Format(CultureInfo.CurrentCulture, Strings.Notice_Refused_Title_Format, refused.GameName ?? Strings.Common_NotAvailable),
// "The session is still recorded" is not said about a process that could not be opened: that run ends at once
// and is discarded for being short, so the sentence would be false there (2026-09-22).
// and is discarded for being short, so the sentence would be false there (2026-09-21).
string.Equals(refused.Reason, "TargetUnreadable", StringComparison.Ordinal)
? RefusalText(refused.Reason, refused.Family, refused.Signal)
: RefusalText(refused.Reason, refused.Family, refused.Signal) + " " + Strings.Notice_Refused_Recording, now);
@@ -5,7 +5,7 @@ using System.Text;
namespace FrameLedger.App.Services;
/// <summary>
/// One App per data folder per Windows session (2026-09-22). Until this existed nothing stopped a second App: the
/// One App per data folder per Windows session (2026-09-21). Until this existed nothing stopped a second App: the
/// owner's log of 2026-09-21 shows two started 360 ms apart from one double-click — two shells, two tray icons, a
/// second log file (<c>ui-…_001.log</c>, because the first held the day's), both writing one ledger — and with
/// "minimize to tray" on, every click on the shortcut of an App that was already running made another.
@@ -145,7 +145,7 @@ public enum SessionEndReason
/// <summary>
/// The game IS running and its process cannot be opened: every candidate of that name refused to be read, and none
/// could be identified (2026-09-22). Two ordinary causes: an anti-cheat's kernel driver protects the process
/// could be identified (2026-09-21). Two ordinary causes: an anti-cheat's kernel driver protects the process
/// (ELDEN RING under Easy Anti-Cheat, the owner's log of 2026-09-21), or the game runs as administrator and the
/// Agent does not. Nothing was injected, and nothing can be.
/// </summary>
@@ -281,7 +281,7 @@ public sealed class CaptureOrchestrator
_log($"session {r.SessionGuid:N}: {r.Outcome.Reason}; {r.Finalize.Status} (tier {(int)r.Row.Tier}, exit={r.ExitStatus}, frames={r.Row.FrameCount}){GuardDetail(r.Outcome)}");
/// <summary>
/// What the guard said, when it said anything but a plain allow (2026-09-22). A SafetyUnhook on the owner's machine
/// What the guard said, when it said anything but a plain allow (2026-09-21). A SafetyUnhook on the owner's machine
/// left "SafetyUnhook; Saved" in this log and nothing about WHICH finding fired; the pipe event carried it and the
/// log is what survives.
/// </summary>
@@ -13,7 +13,7 @@ namespace FrameLedger.Shared.Safety;
/// </remarks>
public static class GuardBypassDisclosure
{
// /2 (2026-09-22): the text now says what the bypass CANNOT do - a process an anti-cheat driver protects stays
// /2 (2026-09-21): the text now says what the bypass CANNOT do - a process an anti-cheat driver protects stays
// closed to FrameLedger, and nothing will be built to open it. A row stamped /1 keeps its bypass: that text was accepted.
public const string Version = "guard-bypass-dialog/2";
@@ -115,7 +115,7 @@ public sealed class HookingConsentTests
HookingConsentResult refused = await consent.EnableAsync(7, "Title", Ct);
refused.Outcome.Should().Be(HookingConsentOutcome.Refused);
refused.Refusal!.Signal.Should().Be("EasyAntiCheat_EOS.dll");
refused.RefusalText().Should().Contain("eac").And.Contain("EasyAntiCheat_EOS.dll").And.Contain("guard-bypass switch", "the refusal names the one way past it, and whose risk that is (2026-09-22; it said \"no way to override\" until the bypass existed)");
refused.RefusalText().Should().Contain("eac").And.Contain("EasyAntiCheat_EOS.dll").And.Contain("guard-bypass switch", "the refusal names the one way past it, and whose risk that is (2026-09-21; it said \"no way to override\" until the bypass existed)");
agent.Answer = static _ => Ack(IpcMessageType.Refused, new RefusedAck(7, "PreScanCouldNotVerify", null, null));
(await consent.EnableAsync(7, "Title", Ct)).RefusalText().Should().Be(Shared.Strings.Safety_Refused_CouldNotVerify);
@@ -30,7 +30,7 @@ public sealed class SafetyNoticesTests
}
/// <summary>
/// 2026-09-22: a game whose process an anti-cheat driver protects (ELDEN RING under EAC, with the guard bypass on)
/// 2026-09-21: a game whose process an anti-cheat driver protects (ELDEN RING under EAC, with the guard bypass on)
/// reached the user as a toast reading "InjectFailed: TargetAmbiguous" and no session. It is a persistent notice that
/// says why and that the bypass does not change it - and it does NOT claim the session is still recorded, because
/// that run ends at once and is discarded.
@@ -4,7 +4,7 @@ using FrameLedger.App.Services;
namespace FrameLedger.App.Tests;
/// <summary>
/// One App per data folder (2026-09-22): the owner's log showed two started 360 ms apart, each with a shell and a tray
/// One App per data folder (2026-09-21): the owner's log showed two started 360 ms apart, each with a shell and a tray
/// icon. The first claim wins; a later one is told so, asks the first to show itself, and must not start; and the
/// claim ends with the process that holds it.
/// </summary>
@@ -100,7 +100,7 @@ public sealed class TargetResolverTests : IDisposable
}
/// <summary>
/// 2026-09-22, against a real process Windows will not let anybody open: <c>csrss.exe</c> is a protected process, which
/// 2026-09-21, against a real process Windows will not let anybody open: <c>csrss.exe</c> is a protected process, which
/// is what a game under a kernel anti-cheat looks like from here (ELDEN RING under Easy Anti-Cheat, the owner's log).
/// Every candidate of the name exists and none can be read. That is NOT "more than one process is running it" - the
/// answer this gave until now - and no pid comes back, so nothing is ever injected on a guess.