with one click
ci-promote
// Use when user wants to Run full validation, push branch, and open a PR with appropriate context notes
// Use when user wants to Run full validation, push branch, and open a PR with appropriate context notes
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 Update Metaforge snapshots and bundled default rules
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.
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 | ci-promote |
| description | Use when user wants to Run full validation, push branch, and open a PR with appropriate context notes |
| disable-model-invocation | true |
Pre-push checklist - run all steps before opening PR:
---
# 1. Tests
uv run pytest
# 2. Lint
uv run ruff check src/ tests/
# 3. Types
uv run basedpyright src/
If OCR or scanner files changed (inventory_vision.py, scan_loop.py, tesseract.py):
threshold/score_cutoff value changedPush and open PR:
git push -u origin HEAD gh pr create --title 'REPLACE_WITH_TITLE' --body 'REPLACE_WITH_BODY'
PR body checklist:
CONFIG_VERSION bumped if fields changed