Restore RatEye submodule integration and add scan diagnostics - #22
Conversation
📝 WalkthroughWalkthroughRatEye is converted to a recursively initialized Git submodule with updated project wiring, CI validation, documentation, and test ownership. RatScanner also captures scan diagnostics and adds a localized settings action to export the latest capture and manifest. ChangesRatEye submodule integration
Scan diagnostic export
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Scan as RatScannerMain
participant Store as ScanDiagnosticStore
participant UI as SettingsAdvanced
participant Disk as Debug directory
Scan->>Store: record latest scan diagnostics
UI->>Scan: request diagnostic export
Scan->>Store: export stored bundle
Store->>Disk: write capture.png and scan.ratdiag.json
Store-->>UI: return success path or error
Possibly related issues
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This comment was marked as resolved.
This comment was marked as resolved.
|
Correction: this earlier closure rationale was wrong. Maintainer direction is to keep RatEye split into its own repository for modularity. This PR is active again and restores RatEye through the standalone repository/submodule boundary; #24 is not the architectural replacement for this work. |
|
Running ultrareview automatically — This PR replaces in-tree RatEye with a Git submodule, updates CI, adds scan diagnostics export, and spans 90 files — the blast radius of a misconfigured submodule, broken CI, or data-integrity bug could break builds or corrupt scan output, warranting deep multi-pass review.. I'll post findings when complete. |
What changed
ProjectReference18c9141from Restore standalone RatEye engine and add scan benchmarks RatEye#1Why
RatEye is intended to remain a reusable scan engine that never knows about RatScanner. The previous monorepo layout made host and engine concerns easy to intertwine and prevented other consumers from using the engine cleanly. A source submodule preserves independent repositories and packageability while avoiding a NuGet publish for every coordinated development change.
The diagnostic export makes live OCR/icon failures reproducible locally and provided the evidence needed to separate grid localization, invalid catalog templates, and UI-state-sensitive ranking instead of guessing from live scans.
User and developer impact
Developers must clone/update submodules before building. End users gain an explicit Advanced-settings export for the most recent scan diagnostic; exports remain local unless the user chooses to share them. RatEye identifies the controlled F-1 item in normal, FIR, Task-Wishlist, and Task-Wishlist+FIR states.
Validation
actionlintpassedpublish.batsucceeded:Depends on tarkovtracker-org/RatEye#1 at commit
18c9141.