Records what v1 (PR #2) taught in .agents/mind/, so later sessions do not relearn it: 7 new gotchas, a new open.md with the unverified hardware checks and deferred review notes, and an updated index.
Decisions
None changed. The gotchas cite D5, D6 and D11.
How it was tested
python -B tools/docs/check_docs.py: 0 errors on f108226. Docs only.
Closes #3
## What and why
Records what v1 (PR #2) taught in `.agents/mind/`, so later sessions do not relearn it: 7 new gotchas, a new `open.md` with the unverified hardware checks and deferred review notes, and an updated index.
## Decisions
None changed. The gotchas cite D5, D6 and D11.
## How it was tested
`python -B tools/docs/check_docs.py`: 0 errors on `f108226`. Docs only.
Adds the pitfalls v1 hit (GUI-host output encoding, init-only JSON
defaults, Windows replace vs. readers, Stream Deck environment
inheritance, the app/CLI name clash, plugin version bumps, missing local
midnights) and the checks and review notes still open after PR #2.
Refs #3
Issue #3: all three checklist items are done in this PR but still unticked. AGENTS.md asks to keep the plan current. The PR also adds a seventh gotcha (missing local midnights) that the issue does not list. It fits the issue's purpose; add it to the checklist.
.agents/mind/index.md:12: "An idle refresh writes only snapshot.json" is a little stronger than D5 and the code. Once an hour, an unchanged probe sample is still written (D5: "otherwise at most once an hour"; Core AGENTS.md: "without writing history before that hourly point"). Wording such as "history writes follow new data or the hourly sample" would be exact.
.agents/mind/open.md:5: four separate review items share one entry. Separate entries are easier to remove one at a time as they are resolved, as the mind rules ask.
.agents/mind/open.md:6: the issue #1 status note only says a 1-in-173 failure "was seen once". It does not name 5c5973a. The count fits a run before 15c7e68 (174 tests), but the commit cannot be checked from the record.
Checked
Commit f108226f04b09376d608eb9698270baec6da14a7 (PR head), first review. There were no earlier agent reviews on the PR.
Read: the PR body, issue #3, the root AGENTS.md, src/FinalToken.Core/AGENTS.md, D5, D6 and D11 in docs/decisions.md, docs/agents/review.md, the whole diff (git diff origin/master...f108226, 3 files, +20/-2), and the PR #2 and issue #1 comments that the new entries summarize.
Checked each entry against the code at the head:
UTF-8 child pipes and own handles: ProcessRunner.cs:30-31; tests/FinalToken.ProcessHost is a WinExe; matches D6.
Settable persisted defaults: Settings.cs uses { get; set; } with initializers; Core AGENTS.md states the rule.
Reader sharing and replace retry: AtomicFile.cs:74, IncrementalScanner.cs:56; matches D5.
FINALTOKEN_DATA_DIR: Settings.cs:39.
CLI name: AssemblyNamefinaltoken-cli vs. app FinalToken.
Plugin version: PluginInstaller.cs:32 only reports an update when shipped > installed. publish.py stamps <Version> + .0, and Directory.Build.props is 1.0.1, so it ships 1.0.1.0. The locally installed plugin manifest is 1.0.1.0, as open.md:7 says.
Local midnights: CalendarDays; Cairo, Santiago and Beirut regression tests in ReviewRegressionTests.cs. The remaining ConvertTimeToUtc call (ClaudeUsageParser.cs:50) guards invalid times and is not a day boundary.
npm discovery: CliDiscovery.cs:44-47. Deferred notes match the PR #2 review comments. 5c5973a, 15c7e68 and fd30dfc exist (reachable from refs/pull/2/head), and their messages match what the entries say.
Idle writes: RefreshEngine.cs:212-213 (see the note above).
Ran in a separate worktree on Windows 11:
python -B tools/docs/check_docs.py: 0 errors. It scans .agents/mind/, so the D5, D6 and D11 citations resolve.
Not run: the build and tests, because the change is docs only and touches no code, project or build file.
**Agent review: pass** on f108226f04b09376d608eb9698270baec6da14a7
## Blocking
None.
## Notes
- Issue [#3](https://git.finalfactory.de/FinalFactory/FinalToken/issues/3): all three checklist items are done in this PR but still unticked. `AGENTS.md` asks to keep the plan current. The PR also adds a seventh gotcha (missing local midnights) that the issue does not list. It fits the issue's purpose; add it to the checklist.
- `.agents/mind/index.md:12`: "An idle refresh writes only `snapshot.json`" is a little stronger than D5 and the code. Once an hour, an unchanged probe sample is still written (D5: "otherwise at most once an hour"; Core `AGENTS.md`: "without writing history before that hourly point"). Wording such as "history writes follow new data or the hourly sample" would be exact.
- `.agents/mind/open.md:5`: four separate review items share one entry. Separate entries are easier to remove one at a time as they are resolved, as the mind rules ask.
- `.agents/mind/open.md:6`: the issue #1 status note only says a 1-in-173 failure "was seen once". It does not name `5c5973a`. The count fits a run before `15c7e68` (174 tests), but the commit cannot be checked from the record.
## Checked
Commit `f108226f04b09376d608eb9698270baec6da14a7` (PR head), first review. There were no earlier agent reviews on the PR.
Read: the PR body, issue #3, the root `AGENTS.md`, `src/FinalToken.Core/AGENTS.md`, D5, D6 and D11 in `docs/decisions.md`, `docs/agents/review.md`, the whole diff (`git diff origin/master...f108226`, 3 files, +20/-2), and the PR #2 and issue #1 comments that the new entries summarize.
Checked each entry against the code at the head:
- UTF-8 child pipes and own handles: `ProcessRunner.cs:30-31`; `tests/FinalToken.ProcessHost` is a `WinExe`; matches D6.
- Settable persisted defaults: `Settings.cs` uses `{ get; set; }` with initializers; Core `AGENTS.md` states the rule.
- Reader sharing and replace retry: `AtomicFile.cs:74`, `IncrementalScanner.cs:56`; matches D5.
- `FINALTOKEN_DATA_DIR`: `Settings.cs:39`.
- CLI name: `AssemblyName` `finaltoken-cli` vs. app `FinalToken`.
- Plugin version: `PluginInstaller.cs:32` only reports an update when shipped > installed. `publish.py` stamps `<Version>` + `.0`, and `Directory.Build.props` is `1.0.1`, so it ships `1.0.1.0`. The locally installed plugin manifest is `1.0.1.0`, as `open.md:7` says.
- Local midnights: `CalendarDays`; Cairo, Santiago and Beirut regression tests in `ReviewRegressionTests.cs`. The remaining `ConvertTimeToUtc` call (`ClaudeUsageParser.cs:50`) guards invalid times and is not a day boundary.
- npm discovery: `CliDiscovery.cs:44-47`. Deferred notes match the PR #2 review comments. `5c5973a`, `15c7e68` and `fd30dfc` exist (reachable from `refs/pull/2/head`), and their messages match what the entries say.
- Idle writes: `RefreshEngine.cs:212-213` (see the note above).
Ran in a separate worktree on Windows 11:
- `python -B tools/docs/check_docs.py`: 0 errors. It scans `.agents/mind/`, so the D5, D6 and D11 citations resolve.
- `python -B tools/docs/test_check_docs.py`: 15 passed.
Not run: the build and tests, because the change is docs only and touches no code, project or build file.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #3
What and why
Records what v1 (PR #2) taught in
.agents/mind/, so later sessions do not relearn it: 7 new gotchas, a newopen.mdwith the unverified hardware checks and deferred review notes, and an updated index.Decisions
None changed. The gotchas cite D5, D6 and D11.
How it was tested
python -B tools/docs/check_docs.py: 0 errors onf108226. Docs only.Agent review: pass on
f108226f04Blocking
None.
Notes
AGENTS.mdasks to keep the plan current. The PR also adds a seventh gotcha (missing local midnights) that the issue does not list. It fits the issue's purpose; add it to the checklist..agents/mind/index.md:12: "An idle refresh writes onlysnapshot.json" is a little stronger than D5 and the code. Once an hour, an unchanged probe sample is still written (D5: "otherwise at most once an hour"; CoreAGENTS.md: "without writing history before that hourly point"). Wording such as "history writes follow new data or the hourly sample" would be exact..agents/mind/open.md:5: four separate review items share one entry. Separate entries are easier to remove one at a time as they are resolved, as the mind rules ask..agents/mind/open.md:6: the issue #1 status note only says a 1-in-173 failure "was seen once". It does not name5c5973a. The count fits a run before15c7e68(174 tests), but the commit cannot be checked from the record.Checked
Commit
f108226f04b09376d608eb9698270baec6da14a7(PR head), first review. There were no earlier agent reviews on the PR.Read: the PR body, issue #3, the root
AGENTS.md,src/FinalToken.Core/AGENTS.md, D5, D6 and D11 indocs/decisions.md,docs/agents/review.md, the whole diff (git diff origin/master...f108226, 3 files, +20/-2), and the PR #2 and issue #1 comments that the new entries summarize.Checked each entry against the code at the head:
ProcessRunner.cs:30-31;tests/FinalToken.ProcessHostis aWinExe; matches D6.Settings.csuses{ get; set; }with initializers; CoreAGENTS.mdstates the rule.AtomicFile.cs:74,IncrementalScanner.cs:56; matches D5.FINALTOKEN_DATA_DIR:Settings.cs:39.AssemblyNamefinaltoken-clivs. appFinalToken.PluginInstaller.cs:32only reports an update when shipped > installed.publish.pystamps<Version>+.0, andDirectory.Build.propsis1.0.1, so it ships1.0.1.0. The locally installed plugin manifest is1.0.1.0, asopen.md:7says.CalendarDays; Cairo, Santiago and Beirut regression tests inReviewRegressionTests.cs. The remainingConvertTimeToUtccall (ClaudeUsageParser.cs:50) guards invalid times and is not a day boundary.CliDiscovery.cs:44-47. Deferred notes match the PR #2 review comments.5c5973a,15c7e68andfd30dfcexist (reachable fromrefs/pull/2/head), and their messages match what the entries say.RefreshEngine.cs:212-213(see the note above).Ran in a separate worktree on Windows 11:
python -B tools/docs/check_docs.py: 0 errors. It scans.agents/mind/, so the D5, D6 and D11 citations resolve.python -B tools/docs/test_check_docs.py: 15 passed.Not run: the build and tests, because the change is docs only and touches no code, project or build file.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.