
az9713/untangle-rebuild

Simon Tatham の untangle.exe の出荷済み Windows バイナリに対して REA 6.3.0(Ghidra 併用)をテストした記録をまとめたリポジトリ。ソースをダウンロードしてゲームを単一の Web ページとして再構築する前に所見を凍結し、解答キーに対して採点した。

az9713/untangle-rebuild

Windows 11 上で Ghidra 12.1.4 を用いた REA 6.3.0 の 1 回のテストを記録している。エージェントは REA を使い、Simon Tatham の Portable Puzzle Collection(バージョン 20260923.616da16)の出荷済み Windows バイナリ untangle.exe を解析し、所見を書き、git コミットで凍結し、ゲームを単一の Web ページとして再構築した。その後ソースコードが解答キーとしてダウンロードされ、grader エージェントが各所見を確認した。検査可能な 54 件の主張のうち 52 件が正しい(96.3%)。忠実度は L3(同じゲーム ID が同じパズルを与える)。事前知識の混入が記録されている(REA の出力に存在しない 10 個の名前)。prompt、タイムライン、判定、GIF、プレイ可能な再構築版、ツール台帳、ルール監査を含むレシートページを含む。レイアウト表、タイムライン検証手順、履歴書き換えの注記、MIT ライセンスの詳細も含む。
インストール方法は元のソースをご確認ください。
This repository records one test of REA 6.3.0 (with Ghidra 12.1.4) on Windows 11.
An agent (Claude Code, model Opus 5.5) got the shipped Windows binary untangle.exe from Simon Tatham's Portable Puzzle Collection, version 20260923.616da16.
It had no source code. It used REA to analyse the binary, wrote its findings, froze them in a git commit, and rebuilt the game as one web page.
Then it downloaded the source code as an answer key. A separate grader agent marked every finding against the key.
receipt/side-by-side.gif) showed it.random_upto, interpret_move) that occur 0 times in REA's output. They came from memory. So 96.3 % is the highest score that REA alone could explain. Receipt section 11 gives the details.receipt/rebuild-receipt.html). It contains the prompt, the timeline, all claims with verdicts, the GIF, a playable copy of the rebuild, the tool ledger, the rule audit and section 11, "How the reverse engineering was done".rebuild/index.html. Type a game ID such as 10#123456789012345 and select "Load game ID / seed".| Path | Contents |
|---|---|
| rebuild-prompt.md | The test prompt, verbatim (paths changed to <user>) |
| target/ | untangle.exe (SHA-256 1012C8EE…3DE3, 167,496 bytes) and PROVENANCE.md |
| evidence/ | REA outputs, questions.md, evidence-index.md (evidence IDs), rebuild captures, GIF frames |
| findings-before-key.md | Claims C1–C57 and gaps G1–G11, frozen before the key download |
| findings-addendum.md | Facts A1–A8, added after the freeze and before the key |
| rebuild/ | index.html (the rebuild) and selfcheck.js |
| key/ | The source release puzzles-20260923.616da16 (answer key) and KEY-PROVENANCE.md |
| grading.md | The grader's verdicts, verbatim, and the phase 6 differences |
| receipt/ | The receipt, its template and the scripts that build it |
| tool-log.md | The hand-kept log of each non-REA tool use |
Not in the repository: evidence/bundle-phase2.json (the 72 MB REA evidence export; its SHA-256 is in evidence/bundle-phase2.sha256) and key/puzzles.tar.gz (SHA-256 CC419C80…B78E).
The findings were frozen at 22:49:55 −0700. The key was downloaded at 23:01:43 −0700, after that commit.
git log --format="%h %ci %s". Find the commit "phase 3: findings before key".git diff 3f51ccb HEAD -- findings-before-key.md. The output must be empty.findings-before-key.md with findings-before-key.sha256 (E2192039…77F6).On 2026-10-11, before the first push, every commit was rewritten once to remove personal data. Commit times and file contents did not change, except for the removed data. Commit hashes changed. grading.md, findings-addendum.md and key/KEY-PROVENANCE.md still use the old hashes. Use this table to find the new ones.
| Old | New | Commit | |---|---|---| | 9eff675 | 19d4b6d | phase 0: setup | | 7cd33d8 | f5f4f86 | phase 1: binary | | 627c2b6 | ac734b8 | phase 2: REA analysis | | fa61c44 | 3f51ccb | phase 3: findings before key | | 91814f6 | 443a3bf | phase 4: rebuild | | 609cb2e | e290fc8 | phase 4: rebuild (addendum citations) | | de11966 | eb4d719 | phase 5: key downloaded | | 298463f | e02af54 | phase 5: grading | | c00a13e | 5c1e65a | phase 6: side-by-side GIF | | 328aed0 | 6135b70 | phase 7: receipt | | fde4f3e | 03fb5e5 | phase 7: receipt (correction) | | 9f18f63 | c049fc6 | post-test: receipt section 11 |
Removed data: the Windows login name in file paths (now <user>), Claude Code session IDs (now <session-id>), and the user's first name in the logs (now "the user"). The commit author e-mail was kept.
target/untangle.exe and key/puzzles-20260923.616da16/ are by Simon Tatham and others, under the MIT licence. See key/puzzles-20260923.616da16/LICENCE.