diff --git a/docs/compaction-handoff.md b/docs/compaction-handoff.md index c9a98f4..35ab7d8 100644 --- a/docs/compaction-handoff.md +++ b/docs/compaction-handoff.md @@ -4,12 +4,12 @@ Current date/time context: 2026-06-20/21, local timezone America/Chicago. ## Current Installed State -- Latest commit: `64ddf7a Trace GPS provider filters`. +- Latest installed probe commit: `54f014b Trace full GPS query results`. - Installed RED4ext plugin: `Cyberpunk 2077/red4ext/plugins/EdgeWeightGPS/EdgeWeightGPS.dll`. - Installed build is read-only. It should not alter route behavior. -- Plugin log is cleared and empty before the next test: - `Cyberpunk 2077/red4ext/plugins/EdgeWeightGPS/EdgeWeightGPS.log`. +- Latest archived test log: + `logs/EdgeWeightGPS_query_route_probe_2308.log`. - Game is cold as of the latest user message. ## New Toolbox Tools @@ -32,6 +32,7 @@ In `red4ext/EdgeWeightGPS/src/Main.cpp`: - `kEnableGpsTraceHooks = true` - `kEnableGpsQueryLifecycleHooks = true` - `kEnableGpsRouteJobLifecycleHooks = false` +- `kEnableGpsRouteJobStartTrace = false` - `kEnableGpsLocalSearchHooks = true` - `kEnableRouteUiTraceHooks = false` @@ -113,37 +114,81 @@ Route result records: - `h00` in those records matches `worldTrafficLanePersistent.nodeRefHash`. - Route records can be joined to `work/raw-segment-json/all.traffic_persistent.json`. - The low byte of route-record `u08` is not the same as the search point class. +- The log's human wall timestamp has a millisecond rollover bug around second + boundaries. Use the `+Nms` elapsed field for ordering and durations. -## Next User Test +## Latest 23:08 Test Result -Ask the user to run the usual routine: +The user clicked: -1. Launch game. -2. Hit Continue on main menu. -3. Hit Space to Continue. -4. Wait for minimap/GPS to settle. -5. Open map. -6. Plot the usual three routes plus one custom highway-ish target. -7. Close game. +- 23:08 continue on main menu +- 23:30 space to continue +- 23:46 map open +- 23:56 side job +- 24:06 Sinnerman +- 24:14 Claire +- 24:21 custom +- 24:30 Aldecaldo camp +- 24:47 far gig east +- 25:03 Violence +- 25:10 cyberpsycho unfinished highway -Ask for timestamps for: +Use: -- Space-to-Continue -- map open -- each route click -- game cold +```bash +python3 tools/summarize_gps_route_records.py \ + --traffic-json work/raw-segment-json/all.traffic_persistent.json \ + logs/EdgeWeightGPS_query_route_probe_2308.log +``` -After the run: +Important result table: -1. Archive the log to `logs/EdgeWeightGPS_provider_filter_probe_