Compare commits

..
Author SHA1 Message Date
poli0981andClaude Fable 5.2 7a77b731ea docs(handoff): 0.1.0-beta.50's release facts - the run, the digests, the build ids, the delta, the wiki, the rehearsals, the two dates (#472)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 07:06:33 +07:00
poli0981andClaude Fable 5.2 5764d218da release: 0.1.0-beta.50 - what a session was played with: controllers and input, read from outside the game; owner-only item 48 (D155-D163; with D152, D154) (#471)
* feat(input): the arithmetic of controller statistics - classes, batteries, makers, one pad seen twice (D155-D163)

Nothing reads a device yet. Domain.Input says whether an XInput state or a DualSense report is a pad in use and what
its battery is, adds a battery's readings up, counts switches and decides when two entries are one pad;
Application.Input holds one session's slices and turns them into a reading a second; InputSessionBuilder turns a
session's readings into its totals, its controllers as JSON and its timeline. TelemetrySample can carry a reading.

Every byte and reading under test was written by hand: no report from a real controller has passed through this code.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(input): a session can store what it was played with - schema 0024, the .partial file's chunk 11, both tiers (D160)

Nine columns on sessions (the time in front and its four classes, the switches of method, the sources that answered,
the controllers as JSON) and three on games (what a store lists of controller support), ADD COLUMN only. The .partial
file gains chunk 11, so a session recovered after the Agent died keeps its readings. SessionFinalizer.Build stores
them before the tier branch: hooked, unhooked and recovered sessions alike. The input series are sensor_blobs rows
named input.*, which the sensors' read now leaves out and FindInputSensorsAsync returns.

Nothing produces a reading yet. A ledger this build has opened cannot be opened by 0.1.0-beta.49 or earlier.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(input): the input reader, which the Agent does not start yet - raw input for controllers, XInput, the time of the last input (D155, D158, D159)

Application.Input.InputReader takes a slice about ten times a second from Infrastructure.Input.Win32InputBackend, on
the thread of InputDeviceHub, which exists only while a session has a view of it. It opens no device, sends nothing
to one and registers for no keyboard or mouse. tools/input-readonly-check.ps1 holds its Windows calls to a list.

With no controller at hand, what the reader does with one connected is not established.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* fix(input): an arm of XInputPad.Battery's switch said what the default says (Qodana, on #464 after it merged)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(input): no using that makes the file's own qualified names redundant (InspectCode)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(input): what InspectCode reported in the reader's tests - redundant casts, a hub disposed twice, a suppression not needed

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* wip(input): the Agent records what a session was played with - the switch, the terms, the legal texts

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* style(input): import order in the Agent's composition; no redundant qualifier in a test (InspectCode)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* wip(input): what a store lists of controller support, the input libraries, the game page's three rows

* wip(input): the game page's details tests expect the three controller rows; the library names test without ToLowerInvariant

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* docs(guide): the settings page listed Controllers and input twice

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* feat(input): a session's summary says what it was played with - the shares, the controllers and their batteries, two charts, marks on the frame-time chart; Trend, Compare and the CSV export (D155-D163)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* release: 0.1.0-beta.50 - what a session was played with: controllers and input, read from outside the game; owner-only item 48 (D155-D163; with D152, D154)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(app): the bar's gap is named by the class that has it; one sentence for the frames session's own sensors

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(app): the fixture's constant is named as the format check wants

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* test(input): the last-input time is asked not to go back, not to match .NET's tick - the two differ by the time the PC slept; the finding in 21_INPUT_DEVICES and HANDOFF's traps

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* refactor(app): the notes of a session's input need its controllers' record, not its row

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* docs(handoff): auto-merge does not wait for Qodana - the trap, and what was fixed here

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 06:19:24 +07:00
2 changed files with 30 additions and 2 deletions

No files matched your search

+7
View File
@@ -35,6 +35,13 @@ numeric core and does not move; the heading is the full version — corrected 20
## [Unreleased]
### Documentation
- **0.1.0-beta.50's release facts are recorded** (`docs/HANDOFF.md` §Left open by this session): the run, the eight
assets and their digests, the build id in the five native libraries, the delta, the wiki, the rehearsals, what
SonarCloud and Qodana said of the released commit — and that the release shows two dates, the owner's day in
the documents and UTC's on GitHub and in the legal texts.
## Releases
Newest first. Each file holds that release's section exactly as it stood here.
+23 -2
View File
@@ -195,9 +195,30 @@ it meets the owner's Xbox controller and DualSense.**
### Left open by this session
- **This release's own facts** — the tag's run, the digests, the delta, what SonarCloud and Qodana said of the
- ~~**This release's own facts** — the tag's run, the digests, the delta, what SonarCloud and Qodana said of the
released commit — are not in any file yet: the release is cut after this text. Record them in the next pull
request.
request.~~ **Recorded 2026-11-15: 0.1.0-beta.50 was released 2026-11-14T23:41:15Z** (06:41 on 2026-11-15 in the
owner's time zone) from the signed tag on `5764d21` (#471), by run 43652686348 — green at the first attempt, one
run for the one tag push. Eight assets; the seven digests of `SHA256SUMS.txt` equal the ones GitHub computed,
and the portable package hashed here equals its line; the five native libraries in it carry `FL_BUILD_ID
v0.1.0-beta.50`, none of them `-dirty`, and both entry points are there. The delta from beta.49 is 3 099 231
bytes beside a full package of 111 085 471 — "Delta processed 0452 files. 0026 patched, 0426 unchanged". The
wiki was published by run 43654502311 (31 pages, the new *Controllers and input* among them). **The tag's
message reads `0.1.0-beta.50`**, the bare version again.
**Three rehearsals on the release branch, and the third is of the released tree**: run 43646963371 at `9c69a32`
failed in the quality gate on a naming violation in a test fixture of #470; run 43648289839 and run 43649328136
were cancelled as the tree moved (the test of the last-input time; Qodana's notice); run 43650415247 at
`d6e4685` passed, and `main` at `5764d21` is that tree (a delta of 3 112 641 bytes, the same file counts).
**`./build.ps1 check` ran green on the developer PC at `6dadd05`**; the two commits after it were inspected
(ReSharper's InspectCode, no problem of any severity) and the App's suite run again. The owner's
`%LOCALAPPDATA%\FrameLedger\rules` hashed the same before and after.
**SonarCloud analysed `5764d21`: the quality gate passed. Qodana's two reports, CodeQL and `check` are green
on that commit.** On the way: Qodana's managed report on #470 was red with one notice when auto-merge merged
it (fixed in #471, §Traps); SonarCloud passed #467 (81.4 % of new code covered) and #468 (83.6 %).
**One date is two dates**: the changelog, the README and this file say 2026-11-15, the owner's day; GitHub
shows the release on 2026-11-14 (UTC), and the legal texts in the installer are stamped 2026-11-14, the day
`release.yml` reads from UTC. Nothing reads either; a train that ends before 07:00 in the owner's time zone
will show it again.
- **The reader's cost with a controller connected is not measured** (`20_OPEN_QUESTIONS` §M17 f). With none it is
inside the noise.
- **A game run as administrator under an Agent that is not** has not been tried: Windows may not report input