Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 6.88 KB

STATE.md

File metadata and controls

23 lines (22 loc) · 6.88 KB

Reverse THIS! state (2026-11-25)

  • Goal: one Windows RE/modding workbench with stable sandbox/bin shims, one owner kit and preserved private targets.
  • Triage: re-triage <file-or-folder> identifies a target from its bytes or engine markers, lists the installed analyzers that read it and the commands to run; --run executes only quick read-only static tools and keeps their output under sandbox/work. Verified against real notepad.exe (native) and a .NET system assembly with the installed pe-recon, Detect It Easy and rz-bin; 20 fixture tests cover formats, engines, a failing tool and paths with spaces, !, parentheses and non-ASCII letters.
  • Version: 1.18.1 in source and published (v1.18.1 from 93157ba); see the release page for the published commit and checksums. 95 catalog tools.
  • Local kit: installed kit at 1.18.1 (local scripts refreshed; other tools unchanged) with Doctor 95 OK (exit 0, about 2 minutes). Maintain dry-run reports 2 leftovers (the 1.17.0 state snapshot and a 1.16.1 pointer backup), which is normal retention.
  • 1.18.1 audit (2026-11-15): fixed a stale owner pointer blocking reinstall after the kit or its sandbox was deleted (installer and Maintain -Apply), re-triage --timeout not stopping the tool behind a .cmd shim, FLOSS/UnityPy/Capstone never updating, and downloads with no stall limit; added uninstall docs. Each fix has a test that failed first. Left as is: Doctor speed (walks ~80k tool files), a dead duplicate JDK block in Install-GitHubZipTool, companions.yml duplicating a maintenance.yml step.
  • Web API reconstruction: optional reverse-api-engineer 0.16.0 pinned from PyPI, with the upstream agent skill for the same tag in skills/reverse-api-engineer/; --version, list --json and agent --dry-run --headless pass. 0.16.0 adds an engineer-only hermes backend (the local hermes CLI is on PATH; not exercised) and an optional codex extra the catalog does not install. Generated clients and HARs stay under sandbox/work/web-api; no MCP or browser service is registered.
  • Unreal for agents: optional fmodel-mcp 1.2.0 (stdio MCP on CUE4Parse 1.2.2, digest-checked release zip, no client registration). Through the kit shim: initialize (2025-11-25), 34 tools and fmodel_capabilities pass; no real game archive opened. Route in docs/unreal-mcp.md.
  • REA integration: rea-agents 6.9.0 (exact npm pin + integrity, tag rea-agents-6.9.0) runs on the kit Ghidra 12.2 with JDK 25: rea doctor --provider ghidra healthy, read-only notepad.exe analysis (853 procedures) and rea mcp doctor (255 tools, 6 prompts) pass. REA's tested build is 12.1.4; the shim prefers sandbox/tools/ghidra-12.1.4 only if someone puts one there, and keeps a caller GHIDRA_INSTALL_DIR.
  • Integrity: cached installs must match every file hash in their existing receipt; changed/missing receipts are rejected and recoverable. Generated shims now carry their own SHA-256 receipt; Doctor detects missing, changed and linked shims. Linked owner roots/ancestors, pointers and tool files are refused.
  • Maintenance: maintain.cmd reports; -Apply removes only owned temps/caches/rollback copies, refuses reparse points, honors .install.lock, and repairs either owner record independently with backups. Ambiguous or failed ownership repair stops -All before tool updates. A missing pointer parent is created after link checks. -Test works from the packaged ZIP; Register-Maintenance.ps1 is explicit opt-in, honors -WhatIf for run/remove/register, and logs to %LOCALAPPDATA%\ReverseThis\maintenance.log.
  • Scheduled task: it stores an absolute owner path and refuses a task without the Reverse THIS! owner marker. Validation requires one action, a recognized PowerShell host, and a decoded Maintain.ps1 -All invocation under the recorded owner; comments, substrings, appended commands, wrong paths and extra actions are rejected. Removal requires the recorded owner to match the current root. After moving the kit, re-register from the new root; the old task fails visibly instead of running stale source.
  • AOB/CI: capstone==5.0.9 is a pinned test dependency; 12 AOB fixtures cover DOTALL wildcards, overlapping matches, executable-section selection, PE bounds/optional headers and masks. GhidraMCP health/MCP probes have 15 offline fixtures including every line-ending combination and split point, incomplete EOF and lifecycle rejection; no real bridge handshake was available on this machine.
  • Windows delivery: test_delivery.py runs in both PowerShell 5.1 and 7 CI jobs through PSHOST; the live companion check stays scheduled/manual. scripts/check_upstreams.py ships in the product, reports observed/baseline/update/compatibility separately, and never blocks CI on drift.
  • Bundle sync: bundle 8.41 dropped the -Packs reverse README prose; scripts/check_companions.py now reads BUNDLED-TOOLS/PACKS.json (enable command, owner, floor 1.4.0, ReverseThis/kit.json detection) and passes. The scheduled companions workflow had failed since 2026-11-09 on that false drift.
  • Addon boundary: Reverse THIS! supplies extraction, conversion, instrumentation, REA and the optional web API reconstruction adapter. It does not install game Forges, Unity MCPs, Blender, image-stack presets or model assets.
  • Presentation (2026-11-25, docs only, unreleased): README in the house layout with cover, social preview and three terminal shots under assets/presentation/ (outside docs/, so not in release ZIPs), all from real runs: re-triage on copies of notepad.exe and System.Xml.dll, re-triage --run (pe-recon, diec, rz-bin exit 0; target not executed), Install-Modkit.ps1 -Plan and -Doctor (95 OK, exit 0). Fixed the dead CUE4Parse link in docs/coverage.md and a count in kit/README.md. Upload assets/presentation/social-preview.png by hand under Settings > Social preview.
  • Next: none queued. Candidate: a recorded real GhidraMCP bridge handshake.
  • Known limits: REA reports Ghidra 12.2 as compatible with an unverified-build note (its tested build is 12.1.4). diec --version hangs when started through cmd (3.21 did too); analysis is unaffected. IDA/JADX/Kuna remain unconfigured optional providers. Context7 submission was declined; agents read encyclopedia/ from disk. Doctor checks files/receipts, not every GUI or target. Supplied upstream snapshots are documented with owners in docs/companions.md; only FModel MCP (and FModel, already present) is catalogued. Marvel Rivals tools (repak-rivals, UAssetToolRivals, the Rivals KawaiiPhysics) belong to a Rivals forge.
  • Run: install.cmd or powershell -NoProfile -ExecutionPolicy Bypass -File Install-Modkit.ps1; check with -Doctor. Logs: sandbox/log/modkit.log.
  • Build/release: bump VERSION + CHANGELOG on main; the release workflow publishes after green CI (two identical builds, attestation, byte re-check). Manual build: python scripts/build_release.py <zip> --commit <sha>.
  • History: CHANGELOG.md and git log. This file holds the current state only.