بنقرة واحدة
data-snapshot-updater
// Use when user wants to Update Metaforge snapshots and bundled default rules
// Use when user wants to Update Metaforge snapshots and bundled default rules
Use when user wants to Run the Arc Raiders AutoScrapper validation stack after edits. Use for linting, typing, tests, workflow checks, and broader repo validation.
Use when user wants to Validate OCR changes against failure corpus before shipping
Add a new OCR regression fixture from an ocr_debug image. Use when a scan misidentified an item and you want to lock in the correct result as a test case.
Use when user wants to Run full validation, push branch, and open a PR with appropriate context notes
Workflow for safely adding, removing, or renaming persisted config fields in config.py. Use whenever editing dataclass fields in src/autoscrapper/config.py. Covers incrementing CONFIG_VERSION, writing a migration function, and validating the round-trip.
Use when user wants to Find and remove genuine dead code using deadcode + vulture. Filters known false positives (dataclass fields, protocol methods, dunder hooks). Run before a cleanup commit.
| name | data-snapshot-updater |
| description | Use when user wants to Update Metaforge snapshots and bundled default rules |
| disable-model-invocation | true |
| context | fork |
| agent | code |
Refresh Arc Tracker / Metaforge data snapshots and regenerate bundled default item rules.
progress/data/*.json or items_rules.default.json appear modified in git status
# Dry-run: show what would change without writing
/data-snapshot-updater --dry-run
# Update live (fetch from Arc Tracker, regenerate rules, report changes)
/data-snapshot-updater
# Verbose: include detailed diff of each file
/data-snapshot-updater --verbose
items_rules.default.json from current item/quest stateRuns: uv run python scripts/update_snapshot_and_defaults.py [--dry-run]
Protected files (auto-generated-do not hand-edit):
src/autoscrapper/progress/data/quests_by_trader.jsonsrc/autoscrapper/items/items_rules.default.jsonInvoke with /data-snapshot-updater [--dry-run] for data maintenance.