feat(scanner): complete localized artifact quality checkpoint

This commit is contained in:
AzuTear
2026-07-11 15:59:19 +02:00
parent 639b0b7f59
commit 8b9f948c6b
215 changed files with 35440 additions and 7273 deletions
+27
View File
@@ -9,8 +9,21 @@ Local Windows-first Electron app for scanning Genshin Impact artifacts, triaging
- Smart Capture for the currently visible artifact detail view with focused OCR crops, parser confidence, and review notes.
- Visible-inventory auto-scan baseline with read-only tile selection, detail verification, OCR, parse, store/review, scroll, and summary.
- Native IK-style artifact capture path that writes card crops and run artifacts for post-capture processing.
- Packaged full-owned-inventory acceptance at 2,211 Artifacts over 70 pages,
followed by current-package reprocessing at 136 Review (6.15%), 0 errors,
and 0 store writes.
- Vendored Inventory Kamera `inventorylists` under `data/ik-inventorylists` as artifact reference data.
- Scan result rail plus Inventory view for native results, stored artifacts, crop previews, IK/GOOD match state, explicit promotion, single-result review/edit/approve, and Artifact-only pipeline state.
- Deterministic roll-efficiency evaluation with reason codes and no fake build-fit claim.
- Score-free, versioned Build-Fit V1 evidence contract plus deterministic
five-slot/Set/aggregate/conflict verification, a four-profile sourced corpus
(Furina, Neuvillette, Raiden Hyperbloom, Nahida Deepwood), explicit source
expiry, and a separate read-only evidence-coverage ranker. The Builds view
shows at most three explainable native-scan suggestions; it never treats
Roll-Efficiency, OCR confidence, character ownership, team, weapon, or
rotation as a guessed fit score.
- Detail-only Worst/Middle/Best upgrade projection for under-leveled, unambiguously identified 5-star Artifacts with four known legal substats.
- Offline replay gate for existing native scan results and an unpacked-package resource/ASAR verifier.
- GOOD import/export, review samples, OCR eval, diagnostics, local artifact store, demo triage/build views, and read-only overlay preview shell.
## Documentation
@@ -24,6 +37,10 @@ This project uses the engineering template from `https://git.noveria.net/bao/tem
- [docs/CONVENTIONS.md](docs/CONVENTIONS.md)
- [docs/DECISIONS.md](docs/DECISIONS.md)
- [docs/CHECKLISTS.md](docs/CHECKLISTS.md)
- [docs/ARTIFACT_EVALUATION_OFFLINE_VALIDATION_2026-07-10.md](docs/ARTIFACT_EVALUATION_OFFLINE_VALIDATION_2026-07-10.md)
- [docs/NATIVE_SCANNER_LIVE_ACCEPTANCE_2026-07-10.md](docs/NATIVE_SCANNER_LIVE_ACCEPTANCE_2026-07-10.md)
- [docs/TOMORROW_LIVE_TEST_PLAN_2026-07-10.md](docs/TOMORROW_LIVE_TEST_PLAN_2026-07-10.md)
- [docs/BUILD_FIT_CONTRACT_V1.md](docs/BUILD_FIT_CONTRACT_V1.md)
- [docs/workflow.md](docs/workflow.md)
## Run
@@ -64,8 +81,18 @@ Der UAC-Prompt lässt sich nicht dauerhaft abschalten; das ist Windows-Design. D
npm run lint
npm test
npm run build
npm run scan:native:replay
npm run package:offline-check
npm run acceptance:offline
```
`scan:native:replay` only reads existing `scan-results.json`; it does not start
Genshin or send input. `package:offline-check` builds and verifies the unpacked
Windows app without launching it.
`acceptance:offline` is the full non-live gate: cleanup/helper safety tests,
TypeScript, all unit/eval tests, saved 20/50/100 validation, a fresh packaged
build, package verification, dependency audits, and `git diff --check`.
## Safety Boundaries
- No memory reads.