Absorb gaps from three public reverse-engineering skills

Batch 1 (full): Kotlin original-name recovery (new reference + zero-dep
kotlin_name_recovery.py mining @DebugMetadata/@Metadata.d2/jadx rename
comments, with -o/-p/--grep query modes); jadx advanced flags and a
Fernflower/Vineflower second-engine tier in toolchain.md; BuildConfig
sweep habit in recon.md; WebSocket/long-connection state-chain section
in protocol-reverse.md.

jsvmp-only (batches 2-3): A/B/C recovery ladder with black-box reuse
boundary and a wire-parameter family index in jsvmp-recovery.md; new
js-ast-deobfuscation.md pipeline layer (family detection, per-family
pass order, safe-rewrite rules, minimal bootstrap eval, residue metrics)
with js_obf_detect.py weighted detector.

Wiring: routing.md/SKILL.md symptom+index rows, coverage-and-limits,
route-inventory, evidence-summary, capability-matrix (+3 entries,
labels kept honest: scripts observed on fixtures, absorbed methodology
unverified). 12 new unit tests.

Also: silence two environment-dependent mypy errors (yaml/frida
sentinel assignments) and bump mypy python_version 3.9 -> 3.10 with the
trade-off recorded.

Gates: check_repo/check_refs/check_budget/check_commands/check_routing
PASS; pytest 787 passed; flake8 clean; mypy clean.
This commit is contained in:
dabao1955 committed 2026-10-20 11:54:59 +08:00
1 parent 8f32bb5e29
commit aa9af54854
19 files changed
+1223 -20

No files matched your search

+5 -1
View File
@@ -31,7 +31,11 @@ import sys
try:
import yaml
except ImportError: # the skills CLI is the real authority; this is a local gate
yaml = None
# `ignore[assignment]` because the sentinel assignment is only ill-typed where the
# module IS installed (mypy then knows the name as Module); on a bare machine the
# override in mypy.ini makes it Any and the ignore is unused -- warn_unused_ignores
# is off, so both environments stay clean.
yaml = None # type: ignore[assignment]
ROOT = os.path.dirname(os.path.abspath(__file__))
SKILLS_DIR = os.path.join(ROOT, 'skills')