mirror of
https://codeberg.org/reverse-skill-lab/apk-reverse
synced 2026-11-15 21:04:20 +08:00
The kit documented rasc and told the reader to reach for it first, but nothing knew whether it was
present: doctor.py had no entry for either indexer, so an environment gate could not answer "is the
fastest indexer available here", and the reference file had no way to say where a built binary lives.
capabilities.py two new capabilities, dex_index_rust and dex_index_python, plus the two tool atoms
they depend on. rasc's install line is its build command, because that is what
acquiring it means; its cost is marked measured (a clean clone built in 117 s here)
rather than estimated. The probe also accepts the work-area path that
rasc_build.py builds into, so a machine that followed the kit's own instructions
is not reported as BLOCKED.
doctor.py reports both, with the next action on the blocked one. Verified: OK with the built
binary present, BLOCKED with the build command when it is moved away.
toolchain.md says the capability is registered, so G2 does not have to guess.
Also fixed, found while verifying this: `doctor.py --json` printed the RESULT= token after the JSON
document, so its output was not parseable by the tool the flag exists for. Same defect that was fixed
in check_commands.py; the status stays a field in the document and the exit code carries the meaning.
Gates: check_repo 0, check_refs 0 dangling, check_routing coherent, check_budget 0, check_commands 0
drift, pytest 625 passed, flake8 0, mypy clean over 55 files.