From 4107180b394a7e0f9da017f7a34b20dd98bfaf48 Mon Sep 17 00:00:00 2001 From: ModSync CI Date: Mon, 23 Nov 2026 21:12:46 +0000 Subject: [PATCH 01/19] fix(ci): restore the verified baseline across the lane's loop-mounted storage Every install lane (all 12: k1/k2 x cli/gui x three patcher backends) failed at "Recover and verify the lane-local game baseline", so no patcher lane ever installed anything and the cross-lane comparison had nothing to compare. Exhaustive lanes loop-mount a compressed btrfs image as FULLRUN_STORAGE_ROOT. recover() verified the baseline under RUNNER_TEMP and then renamed the verified tree into the mount, which crosses filesystems (EXDEV). The broad OSError handler reported that as "No verified baseline is available". On EXDEV, restore the same already-verified seal directly at the destination with verify_seal (unpack + inventory verification), so only freshly verified bytes are materialized and nothing is copied unverified. Any other OSError still fails recovery. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QDKiomK3BZE8fScCAGRfuq --- tools/modsync-ci/fullrun_baseline.py | 13 ++++++++++- tools/modsync-ci/test_fullrun_baseline.py | 27 +++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/tools/modsync-ci/fullrun_baseline.py b/tools/modsync-ci/fullrun_baseline.py index 5dc3772f..dc3f9ac7 100644 --- a/tools/modsync-ci/fullrun_baseline.py +++ b/tools/modsync-ci/fullrun_baseline.py @@ -11,6 +11,7 @@ the local game-cache unpack process, never to an application process. """ import argparse +import errno import hashlib import os from pathlib import Path @@ -206,7 +207,17 @@ def verify(candidate, label): shutil.copyfile(seal, staging) os.replace(staging, seal_dir / game_backup.RESTORED_SEAL) game_dir.parent.mkdir(parents=True, exist_ok=True) - verified_game.rename(game_dir) + try: + verified_game.rename(game_dir) + except OSError as error: + # Exhaustive lanes put the game on a loop-mounted filesystem, so the + # verified tree under RUNNER_TEMP cannot be renamed into it. Restore + # the same verified seal directly at the destination instead of + # copying, so only freshly verified bytes are ever materialized. + if error.errno != errno.EXDEV: + raise + verify_seal(game, seal_dir / game_backup.RESTORED_SEAL, game_dir, environ) + print("baseline verified at destination (separate filesystem)", flush=True) result["available"] = True return result diff --git a/tools/modsync-ci/test_fullrun_baseline.py b/tools/modsync-ci/test_fullrun_baseline.py index b60ce08d..2dd16eaa 100644 --- a/tools/modsync-ci/test_fullrun_baseline.py +++ b/tools/modsync-ci/test_fullrun_baseline.py @@ -1,5 +1,6 @@ """Credential-free recovery/namespace tests; no Rust or game processes run.""" import contextlib +import errno import io import os from pathlib import Path @@ -91,6 +92,32 @@ def test_valid_cache_is_verified_and_missing_current_backup_requires_publication self.assertEqual(self.verified, [b"cache-good"]) self.assertEqual(self.clients, [("owner/current", "current-only")]) + def rename_raising(self, code): + original = Path.rename + + def rename(path, target): + if Path(target) == self.game: + raise OSError(code, os.strerror(code)) + return original(path, target) + return mock.patch.object(Path, "rename", autospec=True, side_effect=rename) + + def test_a_game_dir_on_another_filesystem_is_restored_from_the_verified_seal(self): + # Exhaustive lanes loop-mount the game storage, so the verified tree under + # RUNNER_TEMP cannot be renamed into it (EXDEV). + self.cached() + with self.rename_raising(errno.EXDEV): + result = self.recover() + self.assertEqual(result, {"available": True, "origin": "cache", "backup_required": True}) + self.assertEqual((self.game / "verified.txt").read_bytes(), b"cache-good") + # Verified once as a candidate and once again at the destination, never copied. + self.assertEqual(self.verified, [b"cache-good", b"cache-good"]) + + def test_other_rename_failures_still_fail_recovery(self): + self.cached() + with self.rename_raising(errno.EACCES), self.assertRaises(PermissionError): + self.recover() + self.assertFalse(self.game.exists()) + def test_corrupt_cache_tries_current_before_legacy_and_preserves_other_candidates(self): self.cached(b"bad-cache", "old.seal") self.backup() From 730025af2e1d385370c57270d9bc4fb78ca61292 Mon Sep 17 00:00:00 2001 From: ModSync CI Date: Mon, 23 Nov 2026 22:28:46 +0000 Subject: [PATCH 02/19] fix(ci): recover the manual-plan-pinned DeadlyStream version from its history Mod authors re-upload files on DeadlyStream, so the current download no longer matches the bytes the manual plans pin in archive_sha256, and the install lanes stop at source_program_archive_identity_changed. cache.py now loads the k1/k2 manual plans' archive_sha256 once (an unreadable or malformed plan is an error) and, for a DeadlyStream archive whose name the plans pin to other bytes, walks the file's ?changelog= version history newest first, downloading each past version through the existing request/fetch path and limits until one hashes to the pin. That object is stored under the pinned name; every version hashed is recorded in version_history on the entry and report. No match fails the item with status pinned-version-not-in-history and never keeps the unpinned bytes; a cached object that conflicts with a pin is no longer a cache hit. Unpinned names are unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QDKiomK3BZE8fScCAGRfuq --- tools/modsync-ci/cache.py | 235 ++++++++++++++++- .../modsync-ci/test_cache_version_history.py | 244 ++++++++++++++++++ 2 files changed, 471 insertions(+), 8 deletions(-) create mode 100644 tools/modsync-ci/test_cache_version_history.py diff --git a/tools/modsync-ci/cache.py b/tools/modsync-ci/cache.py index 4db5c517..c79f9fe6 100644 --- a/tools/modsync-ci/cache.py +++ b/tools/modsync-ci/cache.py @@ -45,6 +45,10 @@ HTML_REJECTED = "not a supported archive (HTML and unknown payloads rejected)" TOOL_PROVIDERS = ("mega", "google-drive") PINS_PATH = Path(__file__).with_name("seed_pins.json") +PLAN_PATHS = tuple(Path(__file__).parent / "fixtures" / "ci" / name + for name in ("k1-manual-plan.json", "k2-manual-plan.json")) +PLAN_PIN_STATE = {"pins": None} +PINNED_MISSING = "pinned-version-not-in-history" PIN_PROVIDERS = ("nexus", "gamefront") PIN_PROVENANCE = "operator-local-download" PIN_EXTENSIONS = ("zip", "7z", "rar", LOOSE) @@ -1003,6 +1007,53 @@ def load_pins(path=None): return pins +def load_plan_pins(paths=None): + """{archive file name: frozenset of SHA-256} from the manual plans' archive_sha256, read once. + + The plans are the authority for which bytes a restored `{archives}/` must have; a plan that + cannot be read or has a malformed table is an error, never an empty mapping. + """ + with STATE_LOCK: + if paths is None and PLAN_PIN_STATE["pins"] is not None: + return PLAN_PIN_STATE["pins"] + pins = {} + for path in paths or PLAN_PATHS: + path = Path(path) + try: + document = json.loads(path.read_text(encoding="utf-8")) + except (OSError, ValueError) as error: + raise ValueError("manual plan pins unreadable: %s (%s)" % (path.name, type(error).__name__)) from None + table = document.get("archive_sha256") if isinstance(document, dict) else None + if not isinstance(table, dict): + raise ValueError("manual plan pins malformed: %s has no archive_sha256 object" % path.name) + for token, sha in table.items(): + name = token[len("{archives}/"):] if isinstance(token, str) and token.startswith("{archives}/") else "" + if not name or "/" in name or not isinstance(sha, str) or not SHA256.fullmatch(sha): + raise ValueError("manual plan pins malformed: %s has an invalid archive_sha256 entry" % path.name) + pins.setdefault(name, set()).add(sha) + pins = {name: frozenset(shas) for name, shas in pins.items()} + if paths is None: + PLAN_PIN_STATE["pins"] = pins + return pins + + +def plan_pin_for(item, name): + """SHA-256 values the manual plans accept for this DeadlyStream archive name, or None if unpinned.""" + if item.get("provider") != "deadlystream" or not isinstance(name, str): + return None + return load_plan_pins().get(name) + + +def plan_conflicts(item, entry): + """Stored objects whose archive name a manual plan pins to other bytes.""" + conflicts = [] + for each in entry_objects(entry): + pinned = plan_pin_for(item, each.get("archive_name")) + if pinned is not None and each.get("sha256") not in pinned: + conflicts.append(each) + return conflicts + + def reviewed_pin_matches(item, entry, pins): """Compare reviewed body identities independently of mutable status/evidence tags.""" pin = (pins or {}).get(item.get("id")) @@ -1128,7 +1179,18 @@ def refresh_one(item, old, root, args, endpoint=None, depth=0): return result -def fetch_many(item, old, root, args, rows, depth): +def fetch_many(item, old, root, args, rows, depth, want=None): + if want is not None: + # A past version's file list: keep the one file with the wanted bytes, hash the rest only. + seen = [] + for row in rows: + try: + fetched = fetch_item(item, {}, root, args, row["url"], depth, want) + except VersionMismatch as mismatch: + seen.extend(mismatch.files) + continue + return {**fetched, "listed_name": row["name"], "row": row["r"]} + raise VersionMismatch(seen) previous = {each.get("endpoint_id"): each for each in entry_objects(old)} budget = args.max_bytes objects = [] @@ -1152,16 +1214,156 @@ def announced_size(headers): return int(match[2]) if match and int(match[1]) + 1 == int(match[2]) else None -def fetch_item(item, old, root, args, endpoint=None, depth=0): +class VersionMismatch(ValueError): + """A DeadlyStream download whose bytes differ from the manual plan pin for its file name.""" + + def __init__(self, files): + super().__init__("downloaded archive differs from its manual plan pin") + self.files = files + + +class PinnedVersionMissing(ValueError): + def __init__(self, message, history): + super().__init__(message) + self.version_history = history + + +class Changelog(HTMLParser): + """Every link of a page with its text, for DeadlyStream version-history links.""" + + def __init__(self): + super().__init__() + self.links = [] + self.open = None + + def handle_starttag(self, tag, attrs): + if tag == "a": + href = dict(attrs).get("href") + self.open = {"href": href, "text": []} if href else None + if self.open is not None: + self.links.append(self.open) + + def handle_endtag(self, tag): + if tag == "a": + self.open = None + + def handle_data(self, data): + if self.open is not None: + self.open["text"].append(data) + + +def history_page(url, page, args): + """Source and final URL of a page of this DeadlyStream file (the file page or one changelog page).""" + with request(url, args, {"Referer": page}) as response: + if "html" not in response.headers.get("Content-Type", "").lower(): + raise ValueError("version history page is not HTML") + final = urlsplit(checked_url(response.geturl())) + same = FILE_ID.match(final.path) + if (final.scheme != "https" or final.port not in (None, 443) or final.hostname != urlsplit(page).hostname + or not same or same[1] != FILE_ID.match(urlsplit(page).path)[1]): + raise ValueError("version history redirect changed file identity") + body = response.read(2 * 1024 * 1024 + 1) + if len(body) > 2 * 1024 * 1024: + raise ValueError("landing page too large") + source = body.decode("utf-8", errors="replace") + if re.search(r"cf-turnstile|g-recaptcha(?!-response)|h-captcha|/cdn-cgi/challenge-platform|\s*Just a moment", source, re.I): + raise ValueError("provider challenge/CAPTCHA; blocked-pending-user-action") + return source, response.geturl() + + +def page_links(source, base, page): + """(absolute URL, query, link text) of links to this file page itself on the same https host.""" + parser = Changelog() + parser.feed(source) + parser.close() + target = urlsplit(page) + for link in parser.links: + url = urljoin(base, html.unescape(link["href"])) + parsed = urlsplit(url) + if (parsed.scheme == "https" and parsed.port in (None, 443) and parsed.hostname == target.hostname + and parsed.path.rstrip("/") == target.path.rstrip("/")): + yield checked_url(url), parse_qs(parsed.query), " ".join("".join(link["text"]).split()) + + +def changelog_versions(source, base, page): + """[(changelog id, version label or None)] of past versions, newest first; id 0 is the current one.""" + found = {} + for _, query, text in page_links(source, base, page): + number = query.get("changelog", [""])[0] + if re.fullmatch(r"[0-9]{1,12}", number) and int(number) > 0: + label = text if text and len(text) <= 40 and re.search(r"[0-9]", text) else None + found[int(number)] = found.get(int(number)) or label + return sorted(found.items(), reverse=True) + + +def version_download(source, base, page, number): + """The `?do=download&version=<id>` link of one changelog page.""" + for url, query, _ in page_links(source, base, page): + if query.get("do") == ["download"] and query.get("version") == [str(number)] and "r" not in query: + return url + raise ValueError("changelog page has no download link for its version") + + +def pinned_version(item, root, args, mismatch): + """Walk the file's DeadlyStream version history for the bytes the manual plan pins. + + The first past version whose file hashes to the pin is stored and returned under the pinned name; + every version hashed is recorded. No match fails the item: the unpinned bytes are never used. + """ + name = mismatch.files[0]["file"] + pinned = plan_pin_for(item, name) + history = [{"changelog": 0, "label": "current", **each} for each in mismatch.files] + origin = urlsplit(item["url"]) + if not FILE_ID.match(origin.path): + raise ValueError("pinned archive is not on a DeadlyStream file page") + page = urlunsplit(("https", origin.hostname, origin.path, "", "")) + try: + source, base = history_page(page, page, args) + except (ValueError, OSError, HTTPException) as error: + raise PinnedVersionMissing("version history unavailable for %s: %s" % (name, safe_reason(error)), + history) from None + want = {"file": name, "sha256": pinned} + for number, label in changelog_versions(source, base, page): + record = {"changelog": number, "label": label} + try: + changelog, changelog_base = history_page(page + "?changelog=%d" % number, page, args) + link = version_download(changelog, changelog_base, page, number) + found = fetch_item(item, {}, root, args, link, 0, want) + except VersionMismatch as other: + history.extend({**record, **each} for each in other.files) + if not other.files: + history.append({**record, "error": "version lists no files"}) + continue + except (ValueError, OSError, HTTPException) as error: + history.append({**record, "error": safe_reason(error)}) + continue + history.append({**record, "file": found["archive_name"], "sha256": found["sha256"], "size": found["size"]}) + return {**found, "pinned_version": record, "version_history": history} + raise PinnedVersionMissing("%s: %s pinned to sha256 %s; none of %d hashed version(s) match" + % (PINNED_MISSING, name, ",".join(sorted(pinned)), + sum(1 for each in history if "sha256" in each)), history) + + +def fetch_item(item, old, root, args, endpoint=None, depth=0, want=None): + """Fetch one endpoint. `want` ({file, sha256}) is set only inside a version-history walk.""" + try: + return fetch_endpoint(item, old, root, args, endpoint, depth, want) + except VersionMismatch as mismatch: + if want is not None or not mismatch.files: + raise + return pinned_version(item, root, args, mismatch) + + +def fetch_endpoint(item, old, root, args, endpoint=None, depth=0, want=None): previous_bundle = old old = {} if "objects" in old else old endpoint = endpoint or resolve(item, args) if isinstance(endpoint, list): - return fetch_many(item, previous_bundle, root, args, endpoint, depth + 1) + return fetch_many(item, previous_bundle, root, args, endpoint, depth + 1, want) if item["provider"] in TOOL_PROVIDERS: return fetch_with_tool(item, root, args) endpoint_key = endpoint_id(endpoint) - valid = local_valid(root, old) + valid = local_valid(root, old) and not plan_conflicts(item, old) headers = {"Referer": item["url"]} if item["provider"] == "deadlystream" else {} if valid and old.get("endpoint_id") == endpoint_key: if old.get("etag"): @@ -1188,12 +1390,12 @@ def fetch_item(item, old, root, args, endpoint=None, depth=0): rows = page_rows(response, item) if len(rows) > 1 or multi_selectors(item): response.close() - return fetch_many(item, previous_bundle, root, args, rows, depth + 1) + return fetch_many(item, previous_bundle, root, args, rows, depth + 1, want) attachment = rows[0]["url"] if endpoint_id(attachment) == endpoint_key: raise ValueError("download endpoint did not resolve to an attachment; provider adapter required") response.close() - return fetch_item(item, old, root, args, attachment, depth + 1) + return fetch_item(item, old, root, args, attachment, depth + 1, want) expected = announced_size(response.headers) if expected is not None and expected > args.max_bytes: raise ValueError("archive exceeds size limit") @@ -1228,6 +1430,11 @@ def fetch_item(item, old, root, args, endpoint=None, depth=0): raise ValueError("downloaded file does not match the reviewed direct link; " "re-review archive_selections.json") name = pinned_direct["file"] + pinned = want["sha256"] if want is not None else plan_pin_for(item, name) + if pinned is not None and sha not in pinned: + raise VersionMismatch([{"file": name, "sha256": sha, "size": size}]) + if want is not None: + name = want["file"] if not (valid and old.get("sha256") == sha): os.replace(path, root / "objects" / sha) etag = response.headers.get("ETag") @@ -2167,6 +2374,7 @@ def verified_selection(item, entry, root, args, pins=None): return (bool(entry_objects(entry)) and objects_match_selection(item, entry) and original_guide_inputs.required_matches(item, entry, entry) and reviewed_pin_matches(item, entry, pins) + and not plan_conflicts(item, entry) and local_valid(root, entry) and all(verified_object(item, stored, root, args) for stored in entry_objects(entry))) @@ -2239,7 +2447,10 @@ def acquire(item, old, root, args, pins): cache_source = recover_objects(item, old, root, args, pins) valid = bool(cache_source) and verified_selection(item, old, root, args, pins) if not valid or not verified_selection(item, old, root, args, pins): - raise AcquisitionFailure(safe_reason(error), mode, True, "failed-no-valid-cache") from None + failure = AcquisitionFailure(safe_reason(error), mode, True, "failed-no-valid-cache") + if isinstance(getattr(error, "version_history", None), list): + failure.version_history = error.version_history + raise failure from None reason = failure_reason(error) record_failure(item, "cached-fallback", reason=reason, echo=False) warn("provider attempt failed for " + item["id"][:8] + " (" + reason @@ -2532,6 +2743,7 @@ def main(argv=None): manifest = json.loads(manifest_path.read_text()) if manifest_path.exists() else {"schema": 1, "entries": {}} if manifest.get("schema") != 1 or not isinstance(manifest.get("entries"), dict): raise ValueError("unsupported manifest schema") + load_plan_pins() if args.remote: pull_manifest(args, root, manifest) restored_names = {} @@ -2602,6 +2814,9 @@ def main(argv=None): entry["source"] = source if isinstance(old.get("acquisition"), dict): entry["acquisition"] = copy.deepcopy(old["acquisition"]) + history = [record for each in entry_objects(old) for record in each.get("version_history", [])] + if history: + entry["version_history"] = copy.deepcopy(history) if old.get("provenance") == original_guide_inputs.PROVENANCE: entry["provenance"] = old["provenance"] entry["reviewed_original_guide_input"] = copy.deepcopy(old["reviewed_original_guide_input"]) @@ -2661,7 +2876,11 @@ def main(argv=None): prune(root, manifest, limit, stage["hold"], stage_dir) continue entry.update(status="unresolved", reason=safe_reason(error)) - if (args.command == "restore" and args.deselect_unavailable + if isinstance(getattr(error, "version_history", None), list): + entry["version_history"] = copy.deepcopy(error.version_history) + if str(error).startswith(PINNED_MISSING): + entry["status"] = PINNED_MISSING + elif (args.command == "restore" and args.deselect_unavailable and not args.cache_only): mark_unavailable(entry, item, report) if args.command == "refresh" and old and not is_pinned(item, old, pins): diff --git a/tools/modsync-ci/test_cache_version_history.py b/tools/modsync-ci/test_cache_version_history.py new file mode 100644 index 00000000..ed7d311f --- /dev/null +++ b/tools/modsync-ci/test_cache_version_history.py @@ -0,0 +1,244 @@ +"""DeadlyStream re-uploads: a download that differs from its manual plan pin walks the version history.""" + +import hashlib +import importlib.util +import json +from pathlib import Path +import tempfile +import types +import unittest +from unittest import mock + +spec = importlib.util.spec_from_file_location("cache", Path(__file__).with_name("cache.py")) +cache = importlib.util.module_from_spec(spec) +spec.loader.exec_module(cache) + +PAGE = "https://deadlystream.com/files/file/990001-example-npc-diversity/" +NAME = "Example NPC Diversity.7z" +CURRENT = b"7z-current-v1.2" * 8 +V11 = b"7z-older-v1.1" * 8 +V10 = b"7z-oldest-v1.0" * 8 +V09 = b"7z-ancient-v0.9" * 8 + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def item(): + kind, direct = cache.provider(PAGE) + return {"id": cache.key_for(PAGE), "url": PAGE, "provider": kind, "direct": direct, "guides": []} + + +def args(**extra): + return types.SimpleNamespace(retries=0, timeout=5, max_bytes=10 ** 6, download_timeout=60, + integrity_timeout=5, **extra) + + +def download(version=None): + query = "do=download&version=%d&csrfKey=key" % version if version else "do=download&csrfKey=key" + return PAGE + "?" + query + + +FILE_PAGE = ("<html><body><a href='%s'>Download this file</a><ul>" + "<li><a href='?changelog=0'>1.2</a></li>" + "<li><a href='%s?changelog=4943'>1.1</a></li>" + "<li><a href='%s?changelog=4000'> 1.0 </a></li>" + "<li><a href='?changelog=3000'>0.9</a></li>" + "<li><a href='https://example.com/files/file/990001-x/?changelog=9999'>evil</a></li>" + "</ul></body></html>") % (download().replace("&", "&"), PAGE, PAGE) + + +def changelog(version): + return "<html><body><a href='%s'>Download</a></body></html>" % download(version).replace("&", "&") + + +class Response: + def __init__(self, url, body, content_type, disposition=None): + self.url, self.body, self.code = url, body, 200 + self.headers = {"Content-Type": content_type, "Content-Length": str(len(body))} + if disposition: + self.headers["Content-Disposition"] = disposition + + def geturl(self): + return self.url + + def read(self, size=-1): + chunk, self.body = (self.body, b"") if size < 0 else (self.body[:size], self.body[size:]) + return chunk + + def close(self): + pass + + def __enter__(self): + return self + + def __exit__(self, *exc): + return False + + +class Site: + """Routes request() by exact URL to an HTML page or an archive body; records every URL asked for.""" + + def __init__(self, archives): + self.pages = {PAGE: FILE_PAGE, PAGE + "?changelog=4943": changelog(4943), + PAGE + "?changelog=4000": changelog(4000), PAGE + "?changelog=3000": changelog(3000)} + self.archives = archives + self.urls = [] + + def __call__(self, url, request_args, headers=None): + self.urls.append(url) + if url in self.pages: + return Response(url, self.pages[url].encode(), "text/html; charset=utf-8") + if url in self.archives: + return Response(url, self.archives[url], "application/x-7z-compressed", + 'attachment; filename="%s"' % NAME) + raise ValueError("HTTP 404") + + +ARCHIVES = {download(): CURRENT, download(4943): V11, download(4000): V10, download(3000): V09} + + +class VersionHistoryTests(unittest.TestCase): + def setUp(self): + temporary = tempfile.TemporaryDirectory() + self.addCleanup(temporary.cleanup) + self.root = Path(temporary.name) + (self.root / "objects").mkdir() + + def fetch(self, pins, site, call=None): + with mock.patch.dict(cache.PLAN_PIN_STATE, {"pins": pins}), \ + mock.patch.object(cache, "request", site), \ + mock.patch.object(cache, "validate", return_value="7z"), \ + mock.patch.object(cache, "load_selections", return_value={}), \ + mock.patch.object(cache.time, "sleep"): + return (call or (lambda: cache.fetch_item(item(), {}, self.root, args())))() + + def stored(self): + return sorted(path.name for path in (self.root / "objects").iterdir()) + + def test_pinned_old_version_is_recovered_from_history(self): + site = Site(ARCHIVES) + result = self.fetch({NAME: frozenset({sha(V10)})}, site) + self.assertEqual(result["sha256"], sha(V10)) + self.assertEqual(result["archive_name"], NAME) + self.assertEqual((self.root / "objects" / sha(V10)).read_bytes(), V10) + self.assertEqual(self.stored(), [sha(V10)], "only the pinned bytes are stored") + self.assertEqual(result["pinned_version"], {"changelog": 4000, "label": "1.0"}) + history = [(each["changelog"], each.get("label"), each.get("sha256"), each.get("size")) + for each in result["version_history"]] + self.assertEqual(history, [(0, "current", sha(CURRENT), len(CURRENT)), (4943, "1.1", sha(V11), len(V11)), + (4000, "1.0", sha(V10), len(V10))]) + self.assertTrue(all(each["file"] == NAME for each in result["version_history"])) + self.assertNotIn(PAGE + "?changelog=3000", site.urls, "the walk stops at the first match") + self.assertNotIn(download(3000), site.urls) + self.assertFalse(any("example.com" in url for url in site.urls)) + + def test_pinned_version_reaches_the_acquisition_receipt(self): + site = Site(ARCHIVES) + receipt, source = self.fetch({NAME: frozenset({sha(V11)})}, site, lambda: cache.acquire( + item(), {}, self.root, args(download_mode="refresh"), {})) + self.assertEqual(source, "website") + self.assertEqual(receipt["sha256"], sha(V11)) + self.assertEqual(receipt["pinned_version"]["changelog"], 4943) + self.assertEqual([each["changelog"] for each in receipt["version_history"]], [0, 4943]) + + def test_no_matching_version_fails_loudly_and_never_uses_unpinned_bytes(self): + site = Site(ARCHIVES) + pin = "ab" * 32 + with self.assertRaises(cache.PinnedVersionMissing) as caught: + self.fetch({NAME: frozenset({pin})}, site) + message = str(caught.exception) + self.assertTrue(message.startswith(cache.PINNED_MISSING), message) + self.assertIn(NAME, message) + self.assertIn(pin, message) + self.assertEqual(self.stored(), [], "no unpinned object is stored") + self.assertEqual([(each["changelog"], each["sha256"]) for each in caught.exception.version_history], + [(0, sha(CURRENT)), (4943, sha(V11)), (4000, sha(V10)), (3000, sha(V09))]) + + def test_no_matching_version_fails_the_acquisition_with_its_history(self): + site = Site(ARCHIVES) + with self.assertRaises(cache.AcquisitionFailure) as caught: + self.fetch({NAME: frozenset({"cd" * 32})}, site, lambda: cache.acquire( + item(), {}, self.root, args(download_mode="refresh"), {})) + self.assertTrue(str(caught.exception).startswith(cache.PINNED_MISSING)) + self.assertEqual(len(caught.exception.version_history), 4) + self.assertEqual(self.stored(), []) + + def test_version_errors_are_recorded_and_the_walk_continues(self): + site = Site({download(): CURRENT, download(4000): V10}) + site.pages[PAGE + "?changelog=4943"] = "<html><body>no download here</body></html>" + result = self.fetch({NAME: frozenset({sha(V10)})}, site) + self.assertEqual(result["sha256"], sha(V10)) + failed = [each for each in result["version_history"] if each["changelog"] == 4943] + self.assertEqual(failed, [{"changelog": 4943, "label": "1.1", + "error": "changelog page has no download link for its version"}]) + + def test_unpinned_file_is_accepted_without_reading_the_history(self): + site = Site(ARCHIVES) + result = self.fetch({"Some Other Archive.7z": frozenset({sha(V10)})}, site) + self.assertEqual(result["sha256"], sha(CURRENT)) + self.assertEqual(result["archive_name"], NAME) + self.assertNotIn("version_history", result) + self.assertFalse(any("changelog" in url for url in site.urls), site.urls) + self.assertEqual(self.stored(), [sha(CURRENT)]) + + def test_matching_current_download_is_accepted_without_reading_the_history(self): + site = Site(ARCHIVES) + result = self.fetch({NAME: frozenset({sha(CURRENT)})}, site) + self.assertEqual(result["sha256"], sha(CURRENT)) + self.assertFalse(any("changelog" in url for url in site.urls), site.urls) + + def test_cached_object_with_other_bytes_than_the_pin_is_not_a_cache_hit(self): + (self.root / "objects" / sha(CURRENT)).write_bytes(CURRENT) + entry = {"sha256": sha(CURRENT), "size": len(CURRENT), "extension": "7z", "archive_name": NAME} + check = lambda: cache.verified_selection(item(), entry, self.root, args(), {}) + self.assertFalse(self.fetch({NAME: frozenset({sha(V10)})}, Site({}), check)) + self.assertTrue(self.fetch({NAME: frozenset({sha(CURRENT)})}, Site({}), check)) + self.assertTrue(self.fetch({}, Site({}), check)) + + +class PlanPinLoadingTests(unittest.TestCase): + def setUp(self): + temporary = tempfile.TemporaryDirectory() + self.addCleanup(temporary.cleanup) + self.directory = Path(temporary.name) + + def plan(self, name, value): + path = self.directory / name + path.write_text(value if isinstance(value, str) else json.dumps(value), encoding="utf-8") + return path + + def test_repository_plans_pin_the_drifted_archives(self): + with mock.patch.dict(cache.PLAN_PIN_STATE, {"pins": None}): + pins = cache.load_plan_pins() + self.assertIn("f5da0ee1823feeba8e881dd5626361f6bd4d0e5e6d8c0764ca45e5c6c6f69fc4", + pins["K1 Twi_lek Male NPC Diversity.7z"]) + self.assertIn("TSL Twi_lek Male NPC Diversity.7z", pins) + + def test_plans_merge_by_file_name(self): + one = self.plan("a.json", {"archive_sha256": {"{archives}/x.7z": "1" * 64}}) + two = self.plan("b.json", {"archive_sha256": {"{archives}/x.7z": "2" * 64, "{archives}/y.zip": "3" * 64}}) + self.assertEqual(cache.load_plan_pins([one, two]), + {"x.7z": frozenset({"1" * 64, "2" * 64}), "y.zip": frozenset({"3" * 64})}) + + def test_unreadable_or_malformed_plan_is_an_error_not_an_empty_mapping(self): + cases = [self.plan("broken.json", "{not json"), + self.plan("missing-table.json", {"steps": []}), + self.plan("bad-sha.json", {"archive_sha256": {"{archives}/x.7z": "nothex"}}), + self.plan("bad-key.json", {"archive_sha256": {"x.7z": "1" * 64}}), + self.directory / "absent.json"] + for path in cases: + with self.subTest(path=path.name), self.assertRaises(ValueError) as caught: + cache.load_plan_pins([path]) + self.assertIn("manual plan pins", str(caught.exception)) + + def test_other_providers_are_never_plan_checked(self): + other = {"provider": "http", "url": "https://example.com/x.7z"} + with mock.patch.dict(cache.PLAN_PIN_STATE, {"pins": {NAME: frozenset({"1" * 64})}}): + self.assertIsNone(cache.plan_pin_for(other, NAME)) + self.assertEqual(cache.plan_pin_for(item(), NAME), frozenset({"1" * 64})) + + +if __name__ == "__main__": + unittest.main() From 1987027afc18b405455a6ba796a894c7efc99578 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Mon, 23 Nov 2026 22:31:54 +0000 Subject: [PATCH 03/19] docs: record the pinned DeadlyStream version recovery boundary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiomK3BZE8fScCAGRfuq --- COMPATIBILITY.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index e4ce33bb..f54d7b55 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,6 +337,24 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. +## CI archive refresh recovers the manual-plan-pinned DeadlyStream version, 2026-11-23 UTC + +The CI archive cache (`tools/modsync-ci/cache.py`, Python CI tooling only; the Rust +downloader is unchanged) now holds DeadlyStream downloads to the manual plans' +`archive_sha256` pins (`tools/modsync-ci/fixtures/ci/{k1,k2}-manual-plan.json`). Authors +re-upload files: K1 Twi'lek Male NPC Diversity moved to v1.2 on 2026-11-18, the refresh +stored the new bytes as a normal update, and every install lane then stopped at +`observe_k1_bound_model` with `source_program_archive_identity_changed`. A download whose +file name the plans pin to other bytes now walks the page's version history +(`?changelog=<id>` → `?do=download&version=<id>`), hashes each past version, records +every hash in the entry's `version_history`, and keeps the first that matches, stored +under the pinned name. No match fails the item with `pinned-version-not-in-history`; the +unpinned bytes are never stored, and a cached object that contradicts a pin no longer +counts as a cache hit or a fallback. File names without a plan pin behave as before. +An unreadable or malformed plan stops the run. Covered by +`test_cache_version_history.py` (12 tests, offline HTML fixtures); the live changelog +markup was confirmed on the Twi'lek page, and the first CI refresh is the live proof. + ## DeadlyStream pages with loose files or non-ASCII file names, 2026-11-14 UTC A DeadlyStream page that offers an archive beside a loose file now plans only its From d3bc4d53efc2276ef71b691696a7794b5667d05c Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:36:48 +0000 Subject: [PATCH 04/19] fix(ci): name the exception type when the artifact store index fails The two artifact store index failure paths in cache.py warned without saying what failed. They now include the exception type only, never its message, which could carry a URL. Covered by a new test in test_cache.py. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- tools/modsync-ci/cache.py | 9 +++++---- tools/modsync-ci/test_cache.py | 13 +++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/tools/modsync-ci/cache.py b/tools/modsync-ci/cache.py index c79f9fe6..b75db9a0 100644 --- a/tools/modsync-ci/cache.py +++ b/tools/modsync-ci/cache.py @@ -2062,8 +2062,9 @@ def artstore_session(): if callable(reuse_urls): reuse_urls() session = {"client": client, "index": module.load_index(client)} - except Exception: - warn("artifact store index unavailable; continuing without it") + except Exception as error: + # The type alone says token, network or format; a message could carry a URL. + warn("artifact store index unavailable (%s); continuing without it" % type(error).__name__) ARTSTORE_STATE["session"] = session return ARTSTORE_STATE["session"] @@ -2208,8 +2209,8 @@ def stage_candidates(root, manifest, stage_dir=None): deferred = deferred_shas() return [{"path": str(found[sha]), "sha256": sha} for sha in sorted(wanted, key=lambda sha: (sha not in deferred, sha))] - except Exception: - warn("artifact store index unreadable; nothing staged") + except Exception as error: + warn("artifact store index unreadable (%s); nothing staged" % type(error).__name__) return [] diff --git a/tools/modsync-ci/test_cache.py b/tools/modsync-ci/test_cache.py index 0c372a9d..318dd276 100644 --- a/tools/modsync-ci/test_cache.py +++ b/tools/modsync-ci/test_cache.py @@ -140,6 +140,19 @@ def load_index(client=None, **options): each.join() self.assertEqual(len(loads), 1) + def test_an_index_failure_names_only_the_exception_type(self): + def load_index(client=None, **options): + raise ConnectionResetError("https://store.invalid/index?credential=hidden") + + cache.ARTSTORE_STATE["module"] = types.SimpleNamespace( + load_index=load_index, fetch=lambda *a, **k: False, + client_mod=types.SimpleNamespace(from_environment=lambda: object())) + with mock.patch.object(cache, "warn") as warn: + self.assertIsNone(cache.artstore_session()) + message, = warn.call_args.args + self.assertIn("(ConnectionResetError)", message) + self.assertNotIn("hidden", message) + class RecoverTests(unittest.TestCase): def setUp(self): From a4c64a8a6c4968035cb1970c6f86e00d7ef6a97f Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:03:06 +0000 Subject: [PATCH 05/19] CI: create one P2P identity per pinned archive version A pinned version is its archive bytes plus its file name. torrent_identity.py derives the BitTorrent v1 info hash and magnet for that pair with the rules of src/p2p.rs::rebuild_single_info, so the same pinned version always maps to the same info hash. P2P is now two separate tests: - identity: test_torrent_identity.py recreates five info hashes the production CLI rebuilds, validates the pin files and all pinned file names; the archive stage creates the identity of every pinned version it holds verified bytes for and uploads a public receipt. - transfer: the two-device loopback, which now also requires the pinned torrent creator to mint the same info hash as torrent_identity.py. Pins live in fixtures/ci/{k1,k2}-p2p-identity.json because the manual-plan parser rejects unknown keys. They start empty: no real archive bytes were available, so the first archive-stage receipt is the source for them. Every pinned magnet must carry its name (dn). No Rust source changed and no Rust tests were run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- .github/workflows/cache-archives.yml | 29 ++ .github/workflows/fullrun-p2p.yml | 21 ++ COMPATIBILITY.md | 34 ++ docs/ci-fullruns.md | 2 + .../fixtures/ci/k1-p2p-identity.json | 5 + .../fixtures/ci/k2-p2p-identity.json | 5 + tools/modsync-ci/p2p_loopback.py | 12 + tools/modsync-ci/test_torrent_identity.py | 247 +++++++++++++++ tools/modsync-ci/torrent_identity.py | 293 ++++++++++++++++++ 9 files changed, 648 insertions(+) create mode 100644 tools/modsync-ci/fixtures/ci/k1-p2p-identity.json create mode 100644 tools/modsync-ci/fixtures/ci/k2-p2p-identity.json create mode 100644 tools/modsync-ci/test_torrent_identity.py create mode 100644 tools/modsync-ci/torrent_identity.py diff --git a/.github/workflows/cache-archives.yml b/.github/workflows/cache-archives.yml index 72c96186..9cc5d9d9 100644 --- a/.github/workflows/cache-archives.yml +++ b/.github/workflows/cache-archives.yml @@ -125,6 +125,35 @@ jobs: python tools/modsync-ci/fullrun_stage.py refresh --guides guide-input --games "$GAMES" \ --cache "$RUNNER_TEMP/mod-cache" --output "$RUNNER_TEMP/archive-evidence" \ --install-profile "$INSTALL_PROFILE" --download-mode "$DOWNLOAD_MODE" + # First P2P test: each pinned version (bytes and name) has one creatable info hash. + # No torrent session, peer or credential is involved; transfer is the separate p2p job. + - name: Create the P2P identity of every pinned archive version + id: p2p-identity + if: ${{ steps.refresh.outcome == 'success' }} + env: + GAMES: ${{ inputs.games }} + run: | + python - <<'PYIDENTITY' + import json,os,sys + from pathlib import Path + sys.path.insert(0,'tools/modsync-ci') + import torrent_identity + games=json.loads(os.environ['GAMES']) + assert isinstance(games,list) and games and all(game in ('k1','k2') for game in games) + root,fixtures=Path(os.environ['RUNNER_TEMP']),Path('tools/modsync-ci/fixtures/ci') + codes=[torrent_identity.main(['survey','--plan',str(fixtures/(game+'-manual-plan.json')), + '--pins',str(fixtures/(game+'-p2p-identity.json')),'--objects',str(root/'mod-cache'/'objects'), + '--receipt',str(root/'p2p-identity'/(game+'-p2p-identity.json'))]) for game in games] + sys.exit(max(codes)) + PYIDENTITY + - name: Upload public P2P identity receipt + if: ${{ (success() || failure()) && steps.p2p-identity.outcome != 'skipped' }} + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 + with: + name: p2p-identity-${{ github.run_id }}-${{ github.run_attempt }} + path: ${{ runner.temp }}/p2p-identity + if-no-files-found: warn + retention-days: 14 - name: Admit only the six verified public objects for auxiliary caching id: k1-public-ready if: ${{ inputs.cache_writer && startsWith(github.ref, 'refs/heads/') && steps.refresh.outcome == 'success' && steps.k1-public-key.outputs.applicable == 'true' && steps.k1-public-cache.outputs.cache-hit != 'true' }} diff --git a/.github/workflows/fullrun-p2p.yml b/.github/workflows/fullrun-p2p.yml index bab892ae..d949e5a2 100644 --- a/.github/workflows/fullrun-p2p.yml +++ b/.github/workflows/fullrun-p2p.yml @@ -9,7 +9,28 @@ on: MODSYNC_SOURCE_TOKEN: {required: false} permissions: {contents: read} jobs: + # First test: an info hash can be created for a pinned version, without the binary or a network. + identity: + name: P2P identity (info hash creation) + runs-on: ubuntu-24.04 + timeout-minutes: 5 + steps: + - name: Checkout owned CI + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 + with: + repository: ${{ github.repository }} + ref: ${{ github.event.pull_request.head.sha || github.sha }} + persist-credentials: false + - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 + with: {python-version: '3.12'} + - name: Create info hashes for known versions and check every committed pin + working-directory: tools/modsync-ci + run: python -m unittest -v test_torrent_identity + # Second test: real transfer between two isolated devices. No long-lived seeder + # exists yet, so this proves the engine path, not public swarm availability. isolated-devices: + name: P2P availability (two-device loopback, seeder pending) + needs: identity runs-on: ubuntu-24.04 timeout-minutes: 60 env: {RUSTUP_TOOLCHAIN: 1.95.0} diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index f54d7b55..6144188d 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,6 +337,40 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. +## CI creates one P2P identity per pinned archive version, 2026-11-24 UTC + +Python CI tooling only; no Rust source changed and no Rust tests were run. A pinned +version is its archive bytes (`archive_sha256`) plus its file name, and +`tools/modsync-ci/torrent_identity.py` derives the BitTorrent v1 info hash and magnet +for that pair with the rules of `src/p2p.rs::rebuild_single_info` (one file, 2 MiB +pieces, the pinned creator's extra empty checksum on an exact piece boundary). The same +bytes under the same name always give the same info hash; another name is another +torrent, which is why every pinned magnet must state its name (`dn`). + +P2P now has two separate CI tests: + +1. Identity. `test_torrent_identity.py` (11 tests) recreates five info hashes that the + production CLI reported as `rebuilt` for the same bytes and names + (`torrent-seed --authored-magnet` with a wrong hash, checked on 2026-11-24, including + files of exactly one and two pieces), checks that all 200 K1 and 159 K2 pinned file + names are valid torrent names, and validates the pin files + `tools/modsync-ci/fixtures/ci/{k1,k2}-p2p-identity.json`. The archive stage then + creates the identity of every pinned version whose verified bytes are in its object + cache and uploads a public `p2p-identity` receipt. A version whose identity cannot be + created, or differs from its pin, fails that stage; an existing pin is never replaced. +2. Transfer. The two-device loopback (`p2p_loopback.py`) is unchanged in what it + transfers and additionally requires the pinned torrent creator to mint the same info + hash as `torrent_identity.py` for its fixture. + +Limits. The pin files are empty: no real archive bytes were available where this was +written, so no real version is pinned yet and the first archive-stage receipt is the +source for them. The pins live beside the manual plans because the plan parser rejects +unknown keys. Agreement with the torrent creator's own minting was not run locally (the +build host has no IPv6, which direct seeding needs); it is asserted by the second test in +CI. No long-lived seeder exists, so neither test shows that a pinned version can be +fetched from a public swarm. ModSync itself still accepts a magnet without a name and +falls back to the local file name; the name requirement is enforced for CI pins only. + ## CI archive refresh recovers the manual-plan-pinned DeadlyStream version, 2026-11-23 UTC The CI archive cache (`tools/modsync-ci/cache.py`, Python CI tooling only; the Rust diff --git a/docs/ci-fullruns.md b/docs/ci-fullruns.md index d62d0b2c..df136b68 100644 --- a/docs/ci-fullruns.md +++ b/docs/ci-fullruns.md @@ -48,6 +48,8 @@ The stage workflows are reusable **inside this repository**. The operator entry The required `p2p` stage uses two private Linux network namespaces connected only to each other, with separate filesystem views, home directories and caches. Production ModSync authors the torrent, seeds on device 1 and downloads on device 2. The proof checks exact payload bytes, SHA-256 and the actual sender upload counter. A fresh receiver must reject a wrong SHA-256 after a real transfer. Device 2 then seeds its downloaded archive back to a fresh device-1 workspace after the original is moved outside both views. Tracker/proxy-list acquisition is disabled and the devices have no Internet route. The bounded public receipt records isolation, transfer outcomes and cleanup. +P2P is checked by two separate tests. The first, identity, needs no binary and no network: the `p2p` stage's `P2P identity (info hash creation)` job runs `test_torrent_identity.py`, and the `archives` stage creates the info hash of every pinned archive version it holds verified bytes for (`torrent_identity.py survey`), compares it with `tools/modsync-ci/fixtures/ci/{k1,k2}-p2p-identity.json` and uploads a public `p2p-identity` receipt. To pin new versions, copy the `created-unpinned` entries from that receipt into the pin file, or run `survey --write-pins` against a verified object cache; an existing pin is never replaced. The second test is the two-device transfer above, shown as `P2P availability (two-device loopback, seeder pending)` because no long-lived seeder exists yet; it runs only after the identity job passes. + The legacy operation named `seed` is an optional staged archive-store import. Its S3/rclone credentials belong only to that import; ModSync peer seeding runs in the required `p2p` stage without those credentials. The two-device proof requires Linux namespace provisioning and fails when isolation cannot be established. ## Configuration and credentials diff --git a/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json new file mode 100644 index 00000000..6ca2b732 --- /dev/null +++ b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json @@ -0,0 +1,5 @@ +{ + "schema": 1, + "piece_length": 2097152, + "archives": {} +} diff --git a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json new file mode 100644 index 00000000..6ca2b732 --- /dev/null +++ b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json @@ -0,0 +1,5 @@ +{ + "schema": 1, + "piece_length": 2097152, + "archives": {} +} diff --git a/tools/modsync-ci/p2p_loopback.py b/tools/modsync-ci/p2p_loopback.py index fb086941..a8ea4a02 100644 --- a/tools/modsync-ci/p2p_loopback.py +++ b/tools/modsync-ci/p2p_loopback.py @@ -21,6 +21,8 @@ import uuid import zipfile +import torrent_identity + DIRECT = ["--no-proxy", "--peer-proxy-list-url", "", "--tracker-list-url", ""] @@ -286,6 +288,16 @@ def interrupted(signum, _frame): magnet, torrent_info = info.get("magnet", ""), info.get("torrentInfo") if not magnet.startswith("magnet:?") or info.get("sha256") != expected: raise RuntimeError("Production authoring returned an invalid identity") + # The first P2P test creates identities without this binary. Here the + # pinned torrent creator must mint the very same one for the same bytes. + created = torrent_identity.create(archive, archive.name) + minted_hash, minted_name = torrent_identity.parse_magnet(magnet) + receipt["identity"] = {"name": created["name"], "info_hash": created["info_hash"], + "minted_info_hash": minted_hash, "minted_name": minted_name} + if (created["sha256"] != expected or created["info_hash"] != minted_hash + or minted_name not in (None, created["name"])): + raise RuntimeError("Production authoring and torrent_identity disagree on the info hash") + receipt["identity"]["matches_production_creator"] = True def trial(label, source_device, source, destination_device, destination, wrong=False): seed, ready, peer = sandbox.start(source_device, source, "/device/files/fixture.zip", magnet, torrent_info) diff --git a/tools/modsync-ci/test_torrent_identity.py b/tools/modsync-ci/test_torrent_identity.py new file mode 100644 index 00000000..ce640e99 --- /dev/null +++ b/tools/modsync-ci/test_torrent_identity.py @@ -0,0 +1,247 @@ +"""First P2P test: a pinned archive version has exactly one creatable BitTorrent identity. + +The golden vectors are the info hashes the production CLI rebuilds for these exact +bytes and names (``modsync torrent-seed --authored-magnet``, which reports its own +``rebuilt`` hash). They are recreated here without the CLI. The second P2P test, +``p2p_loopback.py``, compares this module with what the pinned torrent creator mints +in the binary it transfers with. +""" +import hashlib +import io +import json +from pathlib import Path +import struct +import tempfile +import unittest +import zlib +from contextlib import redirect_stdout + +import torrent_identity as identity + +HERE = Path(__file__).resolve().parent +FIXTURES = HERE / "fixtures" / "ci" +MIB = 1024 * 1024 + + +def stored_zip(total, member=b"payload.bin"): + """A deterministic one-member stored ZIP that is exactly ``total`` bytes long.""" + size = total - (30 + len(member)) - (46 + len(member)) - 22 + assert size > 0 + payload = hashlib.shake_256(b"modsync-p2p-identity-%d" % total).digest(size) + crc = zlib.crc32(payload) + local = struct.pack("<4sHHHHHIIIHH", b"PK\x03\x04", 20, 0, 0, 0, 0x21, crc, size, size, len(member), 0) + member + central = struct.pack("<4sHHHHHHIIIHHHHHII", b"PK\x01\x02", 20, 20, 0, 0, 0, 0x21, crc, size, size, + len(member), 0, 0, 0, 0, 0, 0) + member + end = struct.pack("<4sHHHHIIH", b"PK\x05\x06", 0, 0, 1, 1, len(central), len(local) + size, 0) + return local + payload + central + end + + +# (torrent name, archive bytes, archive SHA-256, info hash rebuilt by the production CLI) +VECTORS = ( + ("small.zip", 4096, + "500dcd5130be2f28c1736d5ee3dc8134cd0a0027366fbf28135999f3437b9a13", "a34d54cfb632bbbccb775347f33abd20deccdc0b"), + ("Exactly One Piece.zip", 2 * MIB, + "1b205ff0f6a821840f787ff9a2e5849ed81cead03866628402f50be5aa55c78c", "5e0f030badd37537996d8361edf79843c1d7db32"), + ("one-piece-plus-one.zip", 2 * MIB + 1, + "7f880c764694ec564e6905c7c179ef112d3f9936fea79c2b64876efd5bd9c5bb", "f5a7cf1d6a091b383e1b84d10528bdf2a3bf0603"), + ("exactly_two_pieces.zip", 4 * MIB, + "5ede203784d9d4a48c16db385de36636db7caa7e91f46f062c48cd00117703c8", "969b7441a518bab160b54b2314199b88413d927e"), + ("Odd [v1.2] ~ café + more.zip", 5 * MIB + 7, + "aa95b4296414b8f29d65e6139d4f38af2a865680617b6f58ce70c6f6031f6b86", "df7190fc13c0e3fe9d6b5a89853a4802692504f6"), +) + + +class Creation(unittest.TestCase): + def setUp(self): + self.directory = tempfile.TemporaryDirectory() + self.root = Path(self.directory.name) + self.addCleanup(self.directory.cleanup) + + def write(self, name, data): + path = self.root / name + path.write_bytes(data) + return path + + def test_recreates_the_identities_the_production_cli_rebuilds(self): + for name, total, sha256, info_hash in VECTORS: + with self.subTest(name=name): + created = identity.create(self.write("bytes", stored_zip(total)), name) + self.assertEqual((created["bytes"], created["sha256"], created["info_hash"], created["name"]), + (total, sha256, info_hash, name)) + self.assertEqual(identity.parse_magnet(created["magnet"]), (info_hash, name)) + + def test_same_pinned_version_always_yields_the_same_info_hash(self): + data = stored_zip(3 * MIB + 5) + first = identity.create(self.write("a", data), "Mod 1.0.zip") + second = identity.create(self.write("b", data), "Mod 1.0.zip") + self.assertEqual(first, second) + # The name is part of the identity: the same bytes under another name are another torrent. + renamed = identity.create(self.write("c", data), "Mod 1.1.zip") + self.assertEqual(renamed["sha256"], first["sha256"]) + self.assertNotEqual(renamed["info_hash"], first["info_hash"]) + changed = identity.create(self.write("d", data[:-1] + bytes([data[-1] ^ 1])), "Mod 1.0.zip") + self.assertNotEqual((changed["sha256"], changed["info_hash"]), (first["sha256"], first["info_hash"])) + + def test_piece_layout_follows_the_pinned_creator(self): + def info(total): + created = identity.create(self.write("bytes", b"\x5a" * total), "n") + return created["info_hash"] + def expected(total, pieces): + body = b"d6:lengthi%de4:name1:n12:piece lengthi2097152e6:pieces%d:" % (total, len(pieces)) + pieces + b"e" + return hashlib.sha1(body).hexdigest() + full, empty = hashlib.sha1(b"\x5a" * (2 * MIB)).digest(), hashlib.sha1(b"").digest() + self.assertEqual(info(1), expected(1, hashlib.sha1(b"\x5a").digest())) + # A file ending on a piece boundary carries one extra checksum of no bytes. + self.assertEqual(info(2 * MIB), expected(2 * MIB, full + empty)) + self.assertEqual(info(2 * MIB + 1), expected(2 * MIB + 1, full + hashlib.sha1(b"\x5a").digest())) + + def test_refuses_what_the_engine_refuses(self): + path = self.write("bytes", b"x") + for name in ("", ".", "..", "a/b.zip", "a\\b.zip", "c:evil.zip", "trailing.", "trailing ", "what?.zip", + "star*.zip", "CON.zip", "com1", "LPT².7z", "n" * 256, 'quote".zip', "pipe|.zip"): + with self.subTest(name=name): + self.assertFalse(identity.safe_name(name)) + with self.assertRaises(identity.IdentityError): + identity.create(path, name) + for name in ("COM10.zip", "com1x.zip", "Mod [v2] (final).7z", "café.rar", "n" * 255): + self.assertTrue(identity.safe_name(name), name) + with self.assertRaises(identity.IdentityError): + identity.create(self.write("empty", b""), "empty.zip") + + def test_magnet_has_one_canonical_text(self): + info_hash = "0123456789abcdef0123456789abcdef01234567" + self.assertEqual(identity.magnet(info_hash, "A b~[1]+é_-.zip"), + "magnet:?xt=urn%3Abtih%3A" + info_hash + "&dn=A+b%7E%5B1%5D%2B%C3%A9_-.zip") + with self.assertRaises(identity.IdentityError): + identity.magnet(info_hash.upper(), "a.zip") + self.assertEqual(identity.parse_magnet("magnet:?xt=urn:btih:" + info_hash.upper()), (info_hash, None)) + for bad in ("http://x", "magnet:?dn=a", "magnet:?xt=urn:btih:abc", + "magnet:?xt=urn:btih:%s&xt=urn:btih:%s" % (info_hash, "f" * 40)): + with self.assertRaises(identity.IdentityError): + identity.parse_magnet(bad) + + +class Pins(unittest.TestCase): + def entry(self, name, data): + with tempfile.TemporaryDirectory() as temporary: + path = Path(temporary) / "bytes" + path.write_bytes(data) + return identity.create(path, name) + + def document(self, **archives): + return {"schema": 1, "piece_length": identity.PIECE_LENGTH, "archives": archives} + + def test_pin_rules(self): + one, two = self.entry("One.zip", b"one"), self.entry("Two.zip", b"two") + archives = {"{archives}/One.zip": one["sha256"], "{archives}/Two.zip": two["sha256"]} + self.assertEqual(identity.validate_pins(self.document(), archives), sorted(archives)) + good = {"{archives}/One.zip": one} + self.assertEqual(identity.validate_pins(self.document(**good), archives), ["{archives}/Two.zip"]) + nameless = dict(one, magnet="magnet:?xt=urn%3Abtih%3A" + one["info_hash"]) + with self.assertRaisesRegex(identity.IdentityError, r"no name \(dn\)"): + identity.validate_pins(self.document(**{"{archives}/One.zip": nameless}), archives) + tracker = dict(one, magnet=one["magnet"] + "&tr=http%3A%2F%2F192.0.2.1%2Fannounce") + other_name = dict(one, name="Other.zip", magnet=identity.magnet(one["info_hash"], "Other.zip")) + other_bytes = dict(one, sha256=two["sha256"]) + other_hash = dict(one, info_hash=two["info_hash"]) + shared = {"{archives}/One.zip": one, "{archives}/Two.zip": dict(two, info_hash=one["info_hash"], + magnet=identity.magnet(one["info_hash"], "Two.zip"))} + for label, broken in (("tracker", {"{archives}/One.zip": tracker}), ("name", {"{archives}/One.zip": other_name}), + ("bytes", {"{archives}/One.zip": other_bytes}), ("hash", {"{archives}/One.zip": other_hash}), + ("unknown", {"{archives}/Three.zip": one}), ("shared", shared), + ("extra", {"{archives}/One.zip": dict(one, peers=[])}), + ("size", {"{archives}/One.zip": dict(one, bytes=0)})): + with self.subTest(label=label), self.assertRaises(identity.IdentityError): + identity.validate_pins(self.document(**broken), archives) + for broken in ({"schema": 2, "piece_length": identity.PIECE_LENGTH, "archives": {}}, + {"schema": 1, "piece_length": 262144, "archives": {}}, {"schema": 1, "archives": {}}, []): + with self.assertRaises(identity.IdentityError): + identity.validate_pins(broken, archives) + + def test_committed_pins_agree_with_the_manual_plans(self): + for game in ("k1", "k2"): + with self.subTest(game=game): + plan = json.loads((FIXTURES / ("%s-manual-plan.json" % game)).read_text(encoding="utf-8")) + archives = identity.plan_archives(plan) + pins = json.loads((FIXTURES / ("%s-p2p-identity.json" % game)).read_text(encoding="utf-8")) + identity.validate_pins(pins, archives) + # Every pinned version must be nameable as a torrent before any bytes are seen. + self.assertEqual([key for key in archives if not identity.safe_name(key[len(identity.PREFIX):])], []) + + +class Survey(unittest.TestCase): + def setUp(self): + self.directory = tempfile.TemporaryDirectory() + self.root = Path(self.directory.name) + self.addCleanup(self.directory.cleanup) + self.objects = self.root / "objects" + self.objects.mkdir() + self.archives = {} + for name, data in (("Present.zip", b"present"), ("Second.7z", b"second"), ("Absent.rar", b"absent")): + checksum = hashlib.sha256(data).hexdigest() + self.archives["{archives}/" + name] = checksum + if name != "Absent.rar": + (self.objects / checksum).write_bytes(data) + self.plan = self.root / "plan.json" + self.plan.write_text(json.dumps({"archive_sha256": self.archives})) + self.pins = self.root / "pins.json" + self.pins.write_text(json.dumps({"schema": 1, "piece_length": identity.PIECE_LENGTH, "archives": {}})) + self.receipt = self.root / "out" / "receipt.json" + + def run_survey(self, *extra): + with redirect_stdout(io.StringIO()): + code = identity.main(["survey", "--plan", str(self.plan), "--pins", str(self.pins), + "--objects", str(self.objects), "--receipt", str(self.receipt), *extra]) + return code, json.loads(self.receipt.read_text()) + + def test_creates_every_available_version_and_pins_it_once(self): + code, receipt = self.run_survey() + self.assertEqual((code, receipt["status"]), (0, "passed")) + self.assertEqual(receipt["counts"], {"bytes-unavailable": 1, "created-unpinned": 2}) + self.assertEqual(json.loads(self.pins.read_text())["archives"], {}) + code, receipt = self.run_survey("--require-bytes") + self.assertEqual((code, receipt["status"]), (1, "failed")) + code, _ = self.run_survey("--write-pins") + self.assertEqual(code, 0) + pinned = json.loads(self.pins.read_text())["archives"] + self.assertEqual(sorted(pinned), ["{archives}/Present.zip", "{archives}/Second.7z"]) + code, receipt = self.run_survey("--write-pins") + self.assertEqual(receipt["counts"], {"bytes-unavailable": 1, "created-matches-pin": 2}) + self.assertEqual(json.loads(self.pins.read_text())["archives"], pinned) + + def test_a_pin_that_differs_from_the_bytes_fails_and_is_never_replaced(self): + self.run_survey("--write-pins") + document = json.loads(self.pins.read_text()) + entry = document["archives"]["{archives}/Present.zip"] + entry["info_hash"] = "0" * 40 + entry["magnet"] = identity.magnet("0" * 40, "Present.zip") + self.pins.write_text(json.dumps(document)) + code, receipt = self.run_survey("--write-pins") + self.assertEqual((code, receipt["problems"]), (1, ["{archives}/Present.zip"])) + self.assertEqual(receipt["archives"]["{archives}/Present.zip"]["status"], "pin-mismatch") + self.assertEqual(json.loads(self.pins.read_text()), document) + + def test_wrong_object_bytes_are_never_given_an_identity(self): + (self.objects / self.archives["{archives}/Present.zip"]).write_bytes(b"tampered") + code, receipt = self.run_survey() + record = receipt["archives"]["{archives}/Present.zip"] + self.assertEqual((code, record["status"]), (0, "bytes-unverified")) + self.assertNotIn("info_hash", record) + + def test_io_failures_are_reported_instead_of_raised(self): + from contextlib import redirect_stderr + from unittest import mock + with mock.patch.object(identity, "create", side_effect=PermissionError("denied")): + code, receipt = self.run_survey() + record = receipt["archives"]["{archives}/Present.zip"] + self.assertEqual((code, record["status"], record["reason"]), (0, "bytes-unverified", "PermissionError")) + arguments = ["survey", "--objects", str(self.objects), "--receipt", str(self.receipt)] + self.pins.write_text("{not json") + with redirect_stderr(io.StringIO()) as errors: + self.assertEqual(identity.main([*arguments, "--plan", str(self.plan), "--pins", str(self.pins)]), 1) + self.assertEqual(identity.main([*arguments, "--plan", str(self.root / "absent"), "--pins", str(self.pins)]), 1) + self.assertEqual(errors.getvalue().count("unusable plan or pin file"), 2) + + +if __name__ == "__main__": + unittest.main() diff --git a/tools/modsync-ci/torrent_identity.py b/tools/modsync-ci/torrent_identity.py new file mode 100644 index 00000000..cbafc816 --- /dev/null +++ b/tools/modsync-ci/torrent_identity.py @@ -0,0 +1,293 @@ +#!/usr/bin/env python3 +"""Create the one BitTorrent v1 identity that belongs to a pinned archive version. + +A pinned version is its archive bytes (SHA-256) plus its file name. This module +derives the info dictionary, info hash and magnet for that pair with the same +rules as ``src/p2p.rs::rebuild_single_info``: one file, 2 MiB pieces, bencode keys +``length``/``name``/``piece length``/``pieces`` and the final-piece behaviour of +the pinned librqbit 9.0.1 creator. The result is a pure function of +(bytes, name), so the same pinned version always yields the same info hash. + +No network access, no torrent session and no external program is used. + +Pin files (``fixtures/ci/{k1,k2}-p2p-identity.json``) sit beside the manual plans +because the plan parser rejects unknown keys. Shape:: + + {"schema": 1, "piece_length": 2097152, + "archives": {"{archives}/Name.zip": {"sha256": "<hex>", "bytes": 123, + "name": "Name.zip", "info_hash": "<40 hex>", + "magnet": "magnet:?xt=urn%3Abtih%3A<40 hex>&dn=Name.zip"}}} +""" +import argparse +import hashlib +import json +from pathlib import Path +import re +import sys +import urllib.parse + +PIECE_LENGTH = 2 * 1024 * 1024 +MAX_INFO = 32 * 1024 +SCHEMA = 1 +PREFIX = "{archives}/" +SHA256 = re.compile(r"[0-9a-f]{64}") +INFO_HASH = re.compile(r"[0-9a-f]{40}") +_REFUSED = set(':\0<>|"*?/\\') +_DEVICES = {"CON", "PRN", "AUX", "NUL", "CONIN$", "CONOUT$"} +_FORM_SAFE = frozenset(b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789*-._") + + +class IdentityError(ValueError): + """The pair (bytes, name) cannot carry a ModSync torrent identity.""" + + +def _reserved(name): + stem = name.split(".")[0].rstrip(" ").upper() + stem = "".join(chr(ord(char) - 32) if "a" <= char <= "z" else char for char in stem) + if stem in _DEVICES: + return True + for prefix in ("COM", "LPT"): + rest = stem[len(prefix):] if stem.startswith(prefix) else "" + if len(rest) == 1 and rest in "0123456789¹²³": + return True + return False + + +def safe_name(name): + """Mirror of ``p2p.rs::safe_file_name``: one literal, portable file name.""" + return (isinstance(name, str) and name not in ("", ".", "..") + and len(name.encode("utf-8", "surrogatepass")) <= 255 + and not _REFUSED.intersection(name) and not name.endswith((" ", ".")) + and not _reserved(name)) + + +def _encode(text): + """``application/x-www-form-urlencoded`` exactly as the engine's URL library writes it.""" + return "".join(chr(byte) if byte in _FORM_SAFE else "+" if byte == 0x20 else "%%%02X" % byte + for byte in text.encode("utf-8")) + + +def magnet(info_hash, name): + """The canonical magnet for a pinned version: the info hash and its name, nothing else.""" + if INFO_HASH.fullmatch(info_hash or "") is None or not safe_name(name): + raise IdentityError("a magnet needs a lowercase 40-digit info hash and a safe name") + return "magnet:?xt=" + _encode("urn:btih:" + info_hash) + "&dn=" + _encode(name) + + +def parse_magnet(uri): + """Return (info_hash, name or None). Refuses conflicting or missing BTv1 hashes.""" + if not isinstance(uri, str) or not uri.startswith("magnet:?"): + raise IdentityError("a magnet URI is required") + info_hash, name = None, None + for key, value in urllib.parse.parse_qsl(uri[len("magnet:?"):], keep_blank_values=True): + if key == "xt" and value.startswith("urn:btih:"): + found = value[len("urn:btih:"):].lower() + if INFO_HASH.fullmatch(found) is None or info_hash not in (None, found): + raise IdentityError("the magnet needs exactly one 40-digit hex BTv1 info hash") + info_hash = found + elif key == "dn" and value: + name = value + if info_hash is None: + raise IdentityError("the magnet needs a BTv1 info hash") + return info_hash, name + + +def create(path, name): + """Hash ``path`` once and return its identity under ``name``. + + Returns ``{"sha256", "bytes", "name", "info_hash", "magnet"}``. Raises + ``IdentityError`` when the engine would refuse to mint or rebuild this torrent. + """ + if not safe_name(name): + raise IdentityError("unsafe torrent name") + encoded_name = name.encode("utf-8") + content, piece = hashlib.sha256(), hashlib.sha1() + pieces, length, remaining = bytearray(), 0, PIECE_LENGTH + with open(path, "rb") as stream: + while True: + chunk = stream.read(min(remaining, 1 << 20)) + if not chunk: + break + content.update(chunk) + piece.update(chunk) + length += len(chunk) + remaining -= len(chunk) + if remaining == 0: + pieces += piece.digest() + piece, remaining = hashlib.sha1(), PIECE_LENGTH + if len(pieces) > MAX_INFO: + raise IdentityError("torrent info exceeds the size limit") + if length == 0: + raise IdentityError("an empty file has no torrent identity") + # The pinned creator closes with one more checksum whenever bytes were read, + # so a file ending exactly on a piece boundary carries the SHA-1 of nothing. + pieces += piece.digest() + info = (b"d6:lengthi%de4:name%d:%s12:piece lengthi%de6:pieces%d:" + % (length, len(encoded_name), encoded_name, PIECE_LENGTH, len(pieces))) + bytes(pieces) + b"e" + if len(info) > MAX_INFO: + raise IdentityError("torrent info exceeds the size limit") + info_hash = hashlib.sha1(info).hexdigest() + return {"sha256": content.hexdigest(), "bytes": length, "name": name, + "info_hash": info_hash, "magnet": magnet(info_hash, name)} + + +def plan_archives(plan): + """``{plan path: sha256}`` for every archive a manual plan pins.""" + archives = plan.get("archive_sha256") + if not isinstance(archives, dict) or not archives: + raise IdentityError("the plan pins no archives") + for key, checksum in archives.items(): + if (not isinstance(key, str) or not key.startswith(PREFIX) or not isinstance(checksum, str) + or SHA256.fullmatch(checksum) is None): + raise IdentityError("the plan has a malformed archive pin") + return archives + + +def validate_pins(document, archives): + """Check a pin file against a plan's archives without any archive bytes. + + Every pinned entry must name a plan archive with the same SHA-256, carry a safe + name equal to the plan's file name, and a magnet that states that name (``dn``) + and that info hash and nothing else. One info hash never serves two contents. + Returns the list of plan paths that are not pinned yet. + """ + if (not isinstance(document, dict) or document.get("schema") != SCHEMA + or document.get("piece_length") != PIECE_LENGTH or not isinstance(document.get("archives"), dict) + or set(document) != {"schema", "piece_length", "archives"}): + raise IdentityError("unsupported P2P identity pin file") + owners = {} + for key, entry in document["archives"].items(): + if key not in archives: + raise IdentityError("P2P identity for an archive the plan does not pin: %s" % key) + if not isinstance(entry, dict) or set(entry) != {"sha256", "bytes", "name", "info_hash", "magnet"}: + raise IdentityError("malformed P2P identity: %s" % key) + name, info_hash = entry["name"], entry["info_hash"] + if entry["sha256"] != archives[key]: + raise IdentityError("P2P identity is for other bytes than the plan pins: %s" % key) + if name != key[len(PREFIX):] or not safe_name(name): + raise IdentityError("P2P identity name must be the plan's safe file name: %s" % key) + if (not isinstance(entry["bytes"], int) or isinstance(entry["bytes"], bool) or entry["bytes"] <= 0 + or not isinstance(info_hash, str) or INFO_HASH.fullmatch(info_hash) is None): + raise IdentityError("malformed P2P identity: %s" % key) + stated_hash, stated_name = parse_magnet(entry["magnet"]) + if stated_name is None: + raise IdentityError("pinned magnet has no name (dn): %s" % key) + if stated_hash != info_hash or stated_name != name or entry["magnet"] != magnet(info_hash, name): + raise IdentityError("pinned magnet does not match its identity: %s" % key) + if owners.setdefault(info_hash, entry["sha256"]) != entry["sha256"]: + raise IdentityError("one info hash is pinned for two different contents: %s" % key) + return sorted(set(archives) - set(document["archives"])) + + +def survey(archives, objects, pins): + """Create the identity of every plan archive whose verified bytes are in ``objects``. + + ``objects`` is a content-addressed directory (``<sha256>`` regular files). + Returns ``(entries, problems)``. A problem is a version whose identity cannot be + created, or whose created identity differs from its pin. + """ + entries, problems = {}, [] + pinned = pins.get("archives", {}) if pins else {} + for key in sorted(archives): + checksum, name = archives[key], key[len(PREFIX):] + record = {"sha256": checksum, "name": name} + source = Path(objects) / checksum + if not safe_name(name): + record["status"] = "unsafe-name" + problems.append(key) + elif source.is_symlink() or not source.is_file(): + record["status"] = "bytes-unavailable" + else: + try: + identity = create(source, name) + except IdentityError as error: + record.update(status="not-creatable", reason=str(error)) + problems.append(key) + except OSError as error: + # Unreadable bytes are not evidence about the version; report, do not guess. + record.update(status="bytes-unverified", reason=type(error).__name__) + else: + if identity["sha256"] != checksum: + record["status"] = "bytes-unverified" + else: + record.update(identity) + if key not in pinned: + record["status"] = "created-unpinned" + elif pinned[key] == identity: + record["status"] = "created-matches-pin" + else: + record["status"] = "pin-mismatch" + problems.append(key) + entries[key] = record + return entries, problems + + +def _load(path): + return json.loads(Path(path).read_text(encoding="utf-8")) + + +def _pin_document(entries): + return {"schema": SCHEMA, "piece_length": PIECE_LENGTH, + "archives": {key: {field: entries[key][field] for field in ("sha256", "bytes", "name", "info_hash", "magnet")} + for key in sorted(entries) if entries[key]["status"].startswith("created")}} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + commands = parser.add_subparsers(dest="command", required=True) + one = commands.add_parser("create", help="print the identity of one archive file") + one.add_argument("archive", type=Path) + one.add_argument("--name", help="torrent name; defaults to the file name") + many = commands.add_parser("survey", help="create identities for a plan's pinned archives from a hash-object cache") + many.add_argument("--plan", type=Path, required=True) + many.add_argument("--pins", type=Path, required=True) + many.add_argument("--objects", type=Path, required=True) + many.add_argument("--receipt", type=Path, required=True) + many.add_argument("--require-bytes", action="store_true", + help="also fail when any pinned archive has no verified bytes in the cache") + many.add_argument("--write-pins", action="store_true", + help="record newly created identities in the pin file; an existing pin is never replaced") + args = parser.parse_args(argv) + if args.command == "create": + try: + print(json.dumps(create(args.archive, args.name or args.archive.name), sort_keys=True)) + except (IdentityError, OSError) as error: + print("torrent_identity: %s" % error, file=sys.stderr) + return 1 + return 0 + try: + archives = plan_archives(_load(args.plan)) + pins = _load(args.pins) + validate_pins(pins, archives) + except (IdentityError, OSError, ValueError) as error: + print("torrent_identity: unusable plan or pin file: %s" % error, file=sys.stderr) + return 1 + entries, problems = survey(archives, args.objects, pins) + counts = {} + for record in entries.values(): + counts[record["status"]] = counts.get(record["status"], 0) + 1 + missing = [key for key, record in entries.items() if record["status"] in ("bytes-unavailable", "bytes-unverified")] + failed = bool(problems) or (args.require_bytes and bool(missing)) + receipt = {"schema": SCHEMA, "proof": "p2p-identity-creation", "piece_length": PIECE_LENGTH, + "status": "failed" if failed else "passed", "plan": args.plan.name, "pinned_archives": len(archives), + "counts": dict(sorted(counts.items())), "problems": problems, "archives": entries} + try: + args.receipt.parent.mkdir(parents=True, exist_ok=True) + args.receipt.write_text(json.dumps(receipt, indent=1, sort_keys=True) + "\n", encoding="utf-8") + if args.write_pins and not problems: + merged = dict(_pin_document(entries)["archives"]) + merged.update(pins["archives"]) + document = {"schema": SCHEMA, "piece_length": PIECE_LENGTH, + "archives": {key: merged[key] for key in sorted(merged)}} + validate_pins(document, archives) + args.pins.write_text(json.dumps(document, indent=1) + "\n", encoding="utf-8") + except OSError as error: + print("torrent_identity: cannot write the receipt or pin file: %s" % type(error).__name__, file=sys.stderr) + return 1 + print(json.dumps({"status": receipt["status"], "plan": receipt["plan"], "pinned_archives": len(archives), + "counts": receipt["counts"], "problems": problems}, sort_keys=True)) + return 1 if failed else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) From 77f53569264d508388e41f9b5836c86fabb68769 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:39:49 +0000 Subject: [PATCH 06/19] docs: list every CI workflow with its jobs and steps docs/ci-workflows.md gives an itemized list of the 17 workflows (name, file, trigger, purpose) and, for each job, its dependencies and step names in order. The step lists are generated from the workflow files. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- docs/ci-workflows.md | 456 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 456 insertions(+) create mode 100644 docs/ci-workflows.md diff --git a/docs/ci-workflows.md b/docs/ci-workflows.md new file mode 100644 index 00000000..78cccc6e --- /dev/null +++ b/docs/ci-workflows.md @@ -0,0 +1,456 @@ +# CI workflows, step by step + +Every workflow in `.github/workflows`, what starts it, and what each job does in order. The step lists are generated from the workflow files, so each line is a real step name. For why the stages exist and how to operate them, see `docs/ci-fullruns.md`. + +## Itemized list + +| Workflow | File | Started by | Purpose | +| --- | --- | --- | --- | +| Engine full-run CI | `fullrun.yml` | push, pull request, manual run | Entry point. Plans the run, then calls the stage workflows below and collects one verdict. | +| PR tooling contracts (no installation coverage) | `fullrun-pr-contracts.yml` | pull request | Fast pull request check of the Python tooling. It gives no installation coverage. | +| Full-run tooling contracts | `fullrun-toolkit.yml` | called by another workflow, manual run | Runs every Python unit test under `tools/modsync-ci` and lints the full-run workflows. | +| Exact-head production application builds | `production-build.yml` | called by another workflow, manual run | Builds the production applications from the exact commit under test. | +| Game cache (reusable) | `cache-game.yml` | called by another workflow | Prepares and verifies the game baseline each install lane starts from. | +| Full-run archive preparation | `cache-archives.yml` | called by another workflow | Restores and verifies every mod archive, refreshing from the mod sites when asked. Also creates the P2P identity (info hash) of each pinned archive version. | +| Full-run Rust installation lane | `fullrun-lane.yml` | called by another workflow | One real installation: one game, one mode (CLI or GUI), one patcher backend. | +| Compare six real patcher installations | `fullrun-compare.yml` | called by another workflow | Compares the six installations of one game with each other. | +| Full-run P2P isolated device proof | `fullrun-p2p.yml` | called by another workflow | The two P2P tests: info hash creation, then a real transfer between two isolated devices. | +| Optional staged archive-store import | `cache-seed.yml` | called by another workflow | Optional import of staged archives into the archive store. Dry run unless asked. | +| Retain verified K1 public inputs | `retain-k1-public-inputs.yml` | manual run, called by another workflow | Stores the six verified public K1 widescreen inputs as ciphertext and proves they restore. | +| Production parity gates | `ci.yml` | pull request, manual run | Pull request gates on the Rust engine and its workflows. The job list below is the exact scope. | +| Full real-asset filesystem parity | `fullrun-parity.yml` | manual run | Manual filesystem parity run on real assets. Needs a self-hosted runner group. | +| Manual package artifacts (unverified) | `package-manual.yml` | manual run, called by another workflow | Manual, unverified package builds for each platform. | +| Release | `release.yml` | manual run, push | Builds and publishes a release. Never run without an explicit request. | +| Pages | `pages.yml` | push, manual run | Publishes the project site. | +| Bootstrap retained legacy ciphertext | `bootstrap-legacy-artifacts.yml` | manual run | One-off manual import of retained legacy ciphertext. | + +## How a full run fits together + +`fullrun.yml` runs `plan` first. On a full run it then starts `toolkit`, `production`, `games`, `archives` and `p2p` side by side. `install` waits for `production`, `games` and `archives` and runs one lane per game, mode and patcher backend. `comparison` follows `install`. `result` waits for everything and fails if any required job failed, was skipped or is missing. + +Mod archives are refreshed from the mod sites once, in `archives`. On a full run the install lanes read the verified cache and do not download again. A standalone `install` run still uses the download mode it was given. + +## Engine full-run CI + +File: `.github/workflows/fullrun.yml`. Started by: push, pull request, manual run. + +Entry point. Plans the run, then calls the stage workflows below and collects one verdict. + +### Job `plan` + +1. Checkout owned CI +2. Freeze repository-specific source and guide identities +3. Quick syntax and configuration checks +4. Quick workflow validation +5. Retain public plan + +### Job `toolkit` + +Waits for: `plan`. +Calls `fullrun-toolkit.yml`. + +### Job `production` + +Waits for: `plan`. +Calls `production-build.yml`. + +### Job `games` + +Waits for: `plan`. +Calls `cache-game.yml`. + +### Job `archives` + +Waits for: `plan`. +Calls `cache-archives.yml`. + +### Job `install` + +Waits for: `plan`, `production`, `games`, `archives`. +Calls `fullrun-lane.yml`. + +### Job `comparison` + +Waits for: `plan`, `install`. +Calls `fullrun-compare.yml`. + +### Job `seed`: Optional archive-store import + +Waits for: `plan`. +Calls `cache-seed.yml`. + +### Job `retain_inputs` + +Waits for: `plan`. +Calls `retain-k1-public-inputs.yml`. + +### Job `p2p` + +Waits for: `plan`. +Calls `fullrun-p2p.yml`. + +### Job `result` + +Waits for: `plan`, `toolkit`, `production`, `games`, `archives`, `install`, `comparison`, `seed`, `retain_inputs`, `p2p`. + +1. Checkout owned CI +2. Fail on every required missing, incomplete, cancelled or failed result +3. Retain public requested-scope verdict + +## PR tooling contracts (no installation coverage) + +File: `.github/workflows/fullrun-pr-contracts.yml`. Started by: pull request. + +Fast pull request check of the Python tooling. It gives no installation coverage. + +### Job `toolkit`: Credential-free tooling contracts + +Calls `fullrun-toolkit.yml`. + +## Full-run tooling contracts + +File: `.github/workflows/fullrun-toolkit.yml`. Started by: called by another workflow, manual run. + +Runs every Python unit test under `tools/modsync-ci` and lints the full-run workflows. + +### Job `contract` + +1. Checkout owned CI +2. Use `actions/setup-python` +3. Install pinned Python test dependencies +4. Verify repository-owned Python tooling and workflow contracts +5. Quick syntax and configuration checks +6. Validate full-run workflow syntax and expressions + +## Exact-head production application builds + +File: `.github/workflows/production-build.yml`. Started by: called by another workflow, manual run. + +Builds the production applications from the exact commit under test. + +### Job `production` + +1. Admit exact owned head +2. Use `actions/checkout` +3. Prepare production toolchain and native libraries +4. Build once with clean environment and record exact compiled inputs +5. Seal only application binary and provenance after credential-free build +6. Publish encrypted application bundle and nonsecret outer metadata only + +## Game cache (reusable) + +File: `.github/workflows/cache-game.yml`. Started by: called by another workflow. + +Prepares and verifies the game baseline each install lane starts from. + +### Job `game` + +1. Use `actions/checkout` +2. Check game-stage credentials before acquisition +3. Reserve space on the disposable hosted runner +4. Look up encrypted game cache +5. Recover and verify baseline bytes from cache or backups +6. Restore game from seed +7. Require a restored baseline or seed for the probe +8. Download game with SteamCMD +9. Seal newly acquired game +10. Release the producer's unsealed working copy +11. Verify prepared seal before any publication +12. Save verified encrypted game cache +13. Stage verified encrypted game backup in the current repository +14. Upload encrypted game backup to this run's repository +15. Require publication of a needed current-repository backup + +## Full-run archive preparation + +File: `.github/workflows/cache-archives.yml`. Started by: called by another workflow. + +Restores and verifies every mod archive, refreshing from the mod sites when asked. Also creates the P2P identity (info hash) of each pinned archive version. + +### Job `archives` + +1. Checkout owned CI +2. Check archive-stage credentials before acquisition +3. Checkout admitted guides +4. Use `actions/setup-python` +5. Reclaim unused hosted SDK space for selected archives +6. Install archive tools +7. Restore existing archive accelerator +8. Prepare applicable exact K1 public-input identity +9. Restore exact K1 six-public-input accelerator +10. Verify requested archive inputs +11. Create the P2P identity of every pinned archive version +12. Upload public P2P identity receipt +13. Admit only the six verified public objects for auxiliary caching +14. Save exact verified K1 six-public-input accelerator +15. Save verified public mod archive accelerator +16. Retain encrypted stage evidence + +## Full-run Rust installation lane + +File: `.github/workflows/fullrun-lane.yml`. Started by: called by another workflow. + +One real installation: one game, one mode (CLI or GUI), one patcher backend. + +### Job `install` + +1. Checkout owned CI +2. Check install-stage credentials before materialization +3. Checkout admitted guides +4. Use `actions/setup-python` +5. Verify actual engine and guide identities +6. Reserve space on the disposable hosted runner +7. Prepare native production runtime +8. Install native GUI input libraries +9. Prefetch locked engine dependencies without persistent Git credentials +10. Prepare private copy-on-write storage for exhaustive installs +11. Restore sealed game accelerator +12. Recover and verify the lane-local game baseline +13. Restore archive accelerator +14. Resolve exact K1 auxiliary cache identity +15. Restore exact K1 auxiliary cache independently of its producer +16. Install the admitted full guide and require complete coverage +17. Compress complete comparison manifests +18. Retain encrypted comparison manifests for the same-run comparison job +19. Retain encrypted lane evidence +20. Release disposable exhaustive storage + +## Compare six real patcher installations + +File: `.github/workflows/fullrun-compare.yml`. Started by: called by another workflow. + +Compares the six installations of one game with each other. + +### Job `compare` + +1. Checkout owned comparison implementation +2. Use `actions/setup-python` +3. Reserve space for complete checkpoint manifests +4. Verify same-run provenance and compare every component and final tree +5. Retain complete encrypted file differences + +## Full-run P2P isolated device proof + +File: `.github/workflows/fullrun-p2p.yml`. Started by: called by another workflow. + +The two P2P tests: info hash creation, then a real transfer between two isolated devices. + +### Job `identity`: P2P identity (info hash creation) + +1. Checkout owned CI +2. Use `actions/setup-python` +3. Create info hashes for known versions and check every committed pin + +### Job `isolated-devices`: P2P availability (two-device loopback, seeder pending) + +Waits for: `identity`. + +1. Checkout owned CI +2. Use `actions/setup-python` +3. Verify the triggering engine commit +4. Prepare production CLI toolchain +5. Prefetch locked engine dependencies without persistent Git credentials +6. Build production CLI only +7. Verify isolated device transfer, hash rejection and reverse seeding +8. Upload bounded public P2P receipt + +## Optional staged archive-store import + +File: `.github/workflows/cache-seed.yml`. Started by: called by another workflow. + +Optional import of staged archives into the archive store. Dry run unless asked. + +### Job `seed`: Import verified archives + +1. Checkout owned CI +2. Check seed-stage credentials before import +3. Checkout admitted guides +4. Use `actions/setup-python` +5. Install verified transfer tool +6. Verify staged objects and optionally import +7. Retain encrypted stage evidence + +## Retain verified K1 public inputs + +File: `.github/workflows/retain-k1-public-inputs.yml`. Started by: manual run, called by another workflow. + +Stores the six verified public K1 widescreen inputs as ciphertext and proves they restore. + +### Job `publish` + +1. Use `actions/checkout` +2. Use `actions/setup-python` +3. Prepare bounded ordinary archive readers +4. Compute exact six-input accelerator identity +5. Restore exact existing six-public-input accelerator +6. Verify all six public inputs and stage at most one encrypted pack +7. Publish encrypted pack first +8. Reconcile live API packs and preserve the complete cumulative inventory +9. Publish cumulative index last +10. Retain separate encrypted producer diagnostics + +### Job `verify` + +Waits for: `publish`. + +1. Use `actions/checkout` +2. Use `actions/setup-python` +3. Prepare ordinary verification readers +4. Independently verify uploaded ZIPs and decrypt all six pinned inputs +5. Retain separate encrypted verification diagnostics + +## Production parity gates + +File: `.github/workflows/ci.yml`. Started by: pull request, manual run. + +Pull request gates on the Rust engine and its workflows. The job list below is the exact scope. + +### Job `workflows`: Validate workflows + +1. Use `actions/checkout` +2. Validate workflow syntax and expressions + +### Job `production` + +1. Use `actions/checkout` +2. Use `dtolnay/rust-toolchain` +3. Use `Swatinem/rust-cache` +4. Install system and MinGW packages +5. Run an unnamed script +6. Run an unnamed script +7. Preinstall validator rejects impossible instructions +8. Run an unnamed script +9. Run an unnamed script +10. Run an unnamed script +11. Windows cross-check headers +12. Run an unnamed script +13. Run an unnamed script + +### Job `native` + +1. Use `actions/checkout` +2. Use `dtolnay/rust-toolchain` +3. Use `Swatinem/rust-cache` +4. Run an unnamed script +5. Run an unnamed script +6. Run an unnamed script +7. Run an unnamed script + +### Job `tests` + +1. Use `actions/checkout` +2. Use `dtolnay/rust-toolchain` +3. Use `Swatinem/rust-cache` +4. Install system packages +5. Tests (CLI-only build) +6. Tests (default build with desktop) + +### Job `result`: Required CI result + +Waits for: `workflows`, `production`, `native`, `tests`. + +1. Require every mandatory or requested job to succeed + +## Full real-asset filesystem parity + +File: `.github/workflows/fullrun-parity.yml`. Started by: manual run. + +Manual filesystem parity run on real assets. Needs a self-hosted runner group. + +### Job `parity` + +1. Use `actions/checkout` +2. Predict, install and compare on one runner + +## Manual package artifacts (unverified) + +File: `.github/workflows/package-manual.yml`. Started by: manual run, called by another workflow. + +Manual, unverified package builds for each platform. + +### Job `package` + +1. Use `actions/checkout` +2. Initialize retained lane identity +3. Verify exact input and install selected toolchain +4. Linux build dependencies +5. Prepare locked dependency cache +6. Produce build receipt and assemble package +7. Retain source-bound receipts and artifacts, including failed lanes + +## Release + +File: `.github/workflows/release.yml`. Started by: manual run, push. + +Builds and publishes a release. Never run without an explicit request. + +### Job `prepare` + +1. Resolve version and commit + +### Job `package` + +Waits for: `prepare`. +Calls `package-manual.yml`. + +### Job `github-release` + +Waits for: `prepare`, `package`. + +1. Download the packaged targets +2. Collect release files +3. Publish the GitHub release + +### Job `nexus` + +Waits for: `prepare`, `github-release`. + +1. Check Nexus Mods configuration +2. Download the released package +3. Build the Nexus archive +4. Read the file description +5. Upload to Nexus Mods +6. Record the Nexus upload so a retry does not repeat it + +## Pages + +File: `.github/workflows/pages.yml`. Started by: push, manual run. + +Publishes the project site. + +### Job `deploy` + +1. Checkout +2. Configure Pages +3. Upload site +4. Deploy + +## Bootstrap retained legacy ciphertext + +File: `.github/workflows/bootstrap-legacy-artifacts.yml`. Started by: manual run. + +One-off manual import of retained legacy ciphertext. + +### Job `plan` + +1. Use `actions/checkout` +2. Pin source artifacts and merge every retained index fragment +3. Use `actions/upload-artifact` + +### Job `transfer` + +Waits for: `plan`. + +1. Use `actions/checkout` +2. Use `actions/download-artifact` +3. Verify ZIP and copy only original sealed members +4. Use `actions/upload-artifact` + +### Job `publish-index` + +Waits for: `plan`, `transfer`. + +1. Use `actions/checkout` +2. Use `actions/download-artifact` +3. Preserve the current repository index in this cumulative publication +4. Use `actions/upload-artifact` From 5b824c9cb878529a0fcec49f9ec5fa7cbd6d2e38 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:45:09 +0000 Subject: [PATCH 07/19] CI: add a sample download mode and make it the release-candidate default For each game the archive stage draws one archive source from the run id and attempt, restores it with a live provider attempt, then restores everything from the verified cache. The stage fails unless that attempt is on record. Release candidates default to sample instead of refresh, so a run no longer asks DeadlyStream and Nexus for every archive. refresh stays selectable and still satisfies the release gate; cache-first still does not. This narrows what a release-candidate run proves about downloads to one drawn source per game, recorded in COMPATIBILITY.md. No Rust source changed and no Rust tests were run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- .github/workflows/fullrun.yml | 8 +- COMPATIBILITY.md | 19 +++ docs/ci-fullruns.md | 4 + tools/modsync-ci/fullrun_contract.py | 8 +- tools/modsync-ci/fullrun_stage.py | 89 +++++++++-- tools/modsync-ci/test_fullrun_sample.py | 178 +++++++++++++++++++++ tools/modsync-ci/test_fullrun_workflows.py | 4 +- 7 files changed, 290 insertions(+), 20 deletions(-) create mode 100644 tools/modsync-ci/test_fullrun_sample.py diff --git a/.github/workflows/fullrun.yml b/.github/workflows/fullrun.yml index c2adc424..e378a2fd 100644 --- a/.github/workflows/fullrun.yml +++ b/.github/workflows/fullrun.yml @@ -21,9 +21,9 @@ on: options: [minimal, full, exhaustive] default: minimal download_mode: - description: Cache-first, or try every download and fall back to valid cached versions + description: Cache-first, sample (one random mod per game live, the rest cached), or refresh (try every download) type: choice - options: [cache-first, refresh] + options: [cache-first, sample, refresh] default: cache-first counterpart_sha: description: Exact mod-builds guide commit; empty uses the reviewed .github/fullrun.json pin @@ -56,7 +56,7 @@ env: FULLRUN_DEFAULTS: >- {"push":"quick","pull_request":"full","workflow_dispatch":"minimal", "release_candidate":"exhaustive","default_download_mode":"cache-first", - "release_download_mode":"refresh","release_target_branches":["main","master"], + "release_download_mode":"sample","release_target_branches":["main","master"], "release_branch_prefixes":["release/","release-please--"],"release_labels":["release","release-candidate"]} permissions: {contents: read, actions: read} concurrency: @@ -196,7 +196,7 @@ jobs: uses: ./.github/workflows/fullrun-lane.yml with: install_profile: ${{ needs.plan.outputs.install_profile }} - # The archive producer exercises refresh once; consumers reuse its verified cache. + # The archive producer does every live download once; consumers reuse its verified cache. # Standalone install dispatches still honor the requested downloader mode. download_mode: ${{ needs.plan.outputs.operation == 'full' && 'cache-first' || needs.plan.outputs.download_mode }} engine_repository: ${{ needs.plan.outputs.engine_repository }} diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 6144188d..02ae16d1 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,6 +337,25 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. +## CI release candidates download one drawn mod per game live, 2026-11-24 UTC + +Python CI tooling and workflow policy only; no Rust source changed and no Rust tests +were run. A third download mode, `sample`, joins `cache-first` and `refresh`. For each +game the archive stage draws one archive source from the run id and attempt +(`fullrun_stage.sample_source`; policy-skipped helpers are never drawn), restores that +one source with `--download-mode refresh`, then restores every source from the verified +cache. The stage fails unless the drawn source's report shows a real provider attempt. +Release candidates now default to `sample` instead of `refresh`; `refresh` remains +selectable and still satisfies the release gate, `cache-first` still does not. + +This narrows a proof boundary on purpose. A release-candidate run no longer shows that +every provider was attempted, only one drawn source per game, so a broken download for +any other mod is found when its turn is drawn or when a `refresh` run is requested. +In exchange a run no longer asks DeadlyStream and Nexus for every archive. A provider +attempt that ends in a verified cache fallback still counts as an attempt, as it did for +`refresh`. Covered by `test_fullrun_sample.py` (10 tests); the first release-candidate run +is the live proof. + ## CI creates one P2P identity per pinned archive version, 2026-11-24 UTC Python CI tooling only; no Rust source changed and no Rust tests were run. A pinned diff --git a/docs/ci-fullruns.md b/docs/ci-fullruns.md index df136b68..ee9ee160 100644 --- a/docs/ci-fullruns.md +++ b/docs/ci-fullruns.md @@ -48,6 +48,10 @@ The stage workflows are reusable **inside this repository**. The operator entry The required `p2p` stage uses two private Linux network namespaces connected only to each other, with separate filesystem views, home directories and caches. Production ModSync authors the torrent, seeds on device 1 and downloads on device 2. The proof checks exact payload bytes, SHA-256 and the actual sender upload counter. A fresh receiver must reject a wrong SHA-256 after a real transfer. Device 2 then seeds its downloaded archive back to a fresh device-1 workspace after the original is moved outside both views. Tracker/proxy-list acquisition is disabled and the devices have no Internet route. The bounded public receipt records isolation, transfer outcomes and cleanup. +### Download modes + +`cache-first` reuses verified cached archives. `sample` downloads one archive source per game live, drawn from the run id and attempt, and takes the rest from the verified cache; it is the release-candidate default. `refresh` attempts every provider and falls back to verified cache. Live downloads happen once, in the `archives` stage; on a full run the install lanes read its cache. + P2P is checked by two separate tests. The first, identity, needs no binary and no network: the `p2p` stage's `P2P identity (info hash creation)` job runs `test_torrent_identity.py`, and the `archives` stage creates the info hash of every pinned archive version it holds verified bytes for (`torrent_identity.py survey`), compares it with `tools/modsync-ci/fixtures/ci/{k1,k2}-p2p-identity.json` and uploads a public `p2p-identity` receipt. To pin new versions, copy the `created-unpinned` entries from that receipt into the pin file, or run `survey --write-pins` against a verified object cache; an existing pin is never replaced. The second test is the two-device transfer above, shown as `P2P availability (two-device loopback, seeder pending)` because no long-lived seeder exists yet; it runs only after the identity job passes. The legacy operation named `seed` is an optional staged archive-store import. Its S3/rclone credentials belong only to that import; ModSync peer seeding runs in the required `p2p` stage without those credentials. The two-device proof requires Linux namespace provisioning and fails when isolation cannot be established. diff --git a/tools/modsync-ci/fullrun_contract.py b/tools/modsync-ci/fullrun_contract.py index 1612e458..2d65396d 100644 --- a/tools/modsync-ci/fullrun_contract.py +++ b/tools/modsync-ci/fullrun_contract.py @@ -83,7 +83,7 @@ def plan(config, execution_repository, own_sha, counterpart_sha="", operation="c DEFAULT_WORKFLOW_POLICY = { "push": "quick", "pull_request": "full", "workflow_dispatch": "minimal", "release_candidate": "exhaustive", "default_download_mode": "cache-first", - "release_download_mode": "refresh", "release_target_branches": ["main", "master"], + "release_download_mode": "sample", "release_target_branches": ["main", "master"], "release_branch_prefixes": ["release/", "release-please--"], "release_labels": ["release", "release-candidate"], } @@ -100,10 +100,10 @@ def workflow_policy(event, payload=None, overrides=None, requested_profile="", r or bool(labels.intersection(policy["release_labels"]))) profile = policy["release_candidate"] if release else (requested_profile or policy.get(event, "minimal")) download = policy["release_download_mode"] if release else (requested_download or policy["default_download_mode"]) - if profile not in ("quick", "minimal", "full", "exhaustive") or download not in ("cache-first", "refresh"): + if profile not in ("quick", "minimal", "full", "exhaustive") or download not in ("cache-first", "sample", "refresh"): raise ValueError("unsupported installation profile or download policy") - if release and (profile != "exhaustive" or download != "refresh"): - raise ValueError("release candidates require exhaustive installation and downloader refresh") + if release and (profile != "exhaustive" or download not in ("sample", "refresh")): + raise ValueError("release candidates require exhaustive installation and a live downloader attempt") return {"install_profile": profile, "download_mode": download, "release_candidate": release, "require_downloader_attempts": release} diff --git a/tools/modsync-ci/fullrun_stage.py b/tools/modsync-ci/fullrun_stage.py index 6aaab2c2..76091ab0 100644 --- a/tools/modsync-ci/fullrun_stage.py +++ b/tools/modsync-ci/fullrun_stage.py @@ -224,12 +224,63 @@ def source_filter(scope): return [argument for identity in scope["archive_source_ids"] for argument in ("--source-id", identity)] +DOWNLOAD_MODES = ("cache-first", "sample", "refresh") + + +def cache_mode(args): + """The mode every archive is restored with. A sampled run reuses the verified cache.""" + mode = getattr(args, "download_mode", "cache-first") + if mode not in DOWNLOAD_MODES: + raise ValueError("unsupported download mode") + return "cache-first" if mode == "sample" else mode + + +def sample_seed(environ=None): + """One draw per workflow run attempt, repeatable from the run's public identity.""" + environ = os.environ if environ is None else environ + return "%s:%s" % (environ.get("GITHUB_RUN_ID") or "local", environ.get("GITHUB_RUN_ATTEMPT") or "1") + + +def sample_source(scope, game, seed): + """The one archive source this run downloads live; None when nothing can be downloaded.""" + candidates = sorted(set(scope["archive_source_ids"]) - set(scope["non_acquisition_policy_source_ids"])) + if not candidates: + return None + draw = int(hashlib.sha256(("%s:%s" % (seed, game)).encode()).hexdigest(), 16) + return candidates[draw % len(candidates)] + + +def sample_report(output, game): + return Path(output) / ("live-sample-%s.json" % game) + + +def sampled_attempt(args, game, scope): + """Return the drawn source once its live provider attempt is on record, else raise.""" + chosen = sample_source(scope, game, sample_seed()) + if chosen is None: + return None + path = sample_report(args.output, game) + if path.is_symlink() or path.stat().st_size > 32 * 1024 * 1024: + raise ValueError("unsafe live sample report") + report = json.loads(path.read_text()) + entries = report["entries"] + if (report.get("command") != "restore" or report.get("ok") is not True or len(entries) != 1 + or entries[0].get("id") != chosen or entries[0].get("status") != "restored"): + raise ValueError("live sample did not restore the drawn source") + acquisition = entries[0].get("acquisition", {}) + if acquisition.get("download_mode") != "refresh" or acquisition.get("provider_attempted") is not True: + raise ValueError("live sample lacks a real provider attempt") + return chosen + + def downloader_validation(args, games): """Describe real provider attempts separately from verified cache reuse.""" mode = getattr(args, "download_mode", "cache-first") + restore_mode = cache_mode(args) scopes = {game: install_scope(args, game) for game in games} selected = {identity for scope in scopes.values() for identity in scope["archive_source_ids"]} attempted, downloaded, fallback, policies, valid, seen = set(), set(), set(), set(), set(), set() + sampled, expected_samples = set(), 0 failures = [] for game, scope in scopes.items(): path = Path(args.output) / ("verify-%s.json" % game) @@ -251,7 +302,7 @@ def downloader_validation(args, games): policies.add(identity) continue acquisition = entry.get("acquisition", {}) - if entry.get("status") != "restored" or acquisition.get("download_mode") != mode: + if entry.get("status") != "restored" or acquisition.get("download_mode") != restore_mode: raise ValueError("downloader input is not verified for the requested mode") valid.add(identity) if acquisition.get("provider_attempted") is True: @@ -266,13 +317,18 @@ def downloader_validation(args, games): if (acquisition.get("provider_outcome") == "cached-fallback" or acquisition.get("valid_cache_fallback") is True): fallback.add(identity) - except (OSError, ValueError, KeyError, TypeError): + if mode == "sample" and sample_source(scope, game, sample_seed()) is not None: + expected_samples += 1 + sampled.add(sampled_attempt(args, game, scope)) + except (OSError, ValueError, KeyError, TypeError, IndexError, AttributeError): failures.append(game) missing = selected - valid - policies unattempted = selected - attempted - policies if mode == "refresh" else set() - passed = not failures and not missing and not unattempted and seen == selected + passed = (not failures and not missing and not unattempted and seen == selected + and (mode != "sample" or len(sampled) >= min(1, expected_samples))) return {"schema_version": 1, "status": "passed" if passed else "failed", "install_profile": getattr(args, "install_profile", "minimal"), "download_mode": mode, + "live_sample_source_ids": sorted(sampled), "selected_source_ids": sorted(selected), "provider_attempted_source_ids": sorted(attempted), "valid_cache_fallback_source_ids": sorted(fallback), "downloaded_source_ids": sorted(downloaded), "non_acquisition_policy_source_ids": sorted(policies), @@ -319,7 +375,7 @@ def identity(path): raise failure return supplemental_public_inputs.ensure(args.guides, destination, args.cache, report_path, map_path, Path(args.output) / "k2-supplemental-public-inputs.json", - download_mode=getattr(args, "download_mode", "cache-first")) + download_mode=cache_mode(args)) if failure is not None: raise failure return None @@ -340,11 +396,23 @@ def refresh_archives(args, games): scope = scopes[game] contract.write_json(evidence / ("install-profile-%s.json" % game), scope) report_path = evidence / ("verify-%s.json" % game) + chosen = (sample_source(scope, game, sample_seed()) + if getattr(args, "download_mode", "cache-first") == "sample" else None) + if chosen is not None: + # One live provider download per game and run keeps the downloaders exercised + # without asking every mod site for every archive. Its verified bytes land in + # the cache, so the complete restore below reads them like any other archive. + with tempfile.TemporaryDirectory(prefix="archive-live-sample-", dir=cache_root.parent) as live: + checked([sys.executable, str(HERE / "cache.py"), "restore", *guides(args.guides, [game]), + "--cache-dir", args.cache, "--destination", live, + "--report", str(sample_report(evidence, game)), "--download-mode", "refresh", + "--source-id", chosen, *uncached_options([game]), *remote_options()], + evidence / ("live-sample-%s-private.log" % game)) with tempfile.TemporaryDirectory(prefix="archive-verification-", dir=cache_root.parent) as temporary: map_path = evidence / ("verify-%s-archive-map.json" % game) restore_with_public_supplement([sys.executable, str(HERE / "cache.py"), "restore", *guides(args.guides, [game]), "--cache-dir", args.cache, "--destination", temporary, "--report", str(report_path), - "--download-mode", getattr(args, "download_mode", "cache-first"), + "--download-mode", cache_mode(args), *source_filter(scope), *(["--archive-map", str(map_path)] if game == "k2" else []), *uncached_options([game]), *remote_options()], evidence / ("verify-%s-private.log" % game), @@ -364,7 +432,7 @@ def refresh_archives(args, games): if scope["requires_k1_widescreen_inputs"] and native_k1_scope(args.guides): auxiliary = k1_widescreen_inputs.ensure( Path(temporary), cache_root, evidence / "k1-native-inputs.json", - download_mode=getattr(args, "download_mode", "cache-first")) + download_mode=cache_mode(args)) if auxiliary.get("ok") is not True: raise ValueError("Pinned K1 native inputs unavailable; inspect encrypted acquisition evidence") receipts[-1]["native_widescreen_inputs_verified"] = 6 @@ -506,7 +574,7 @@ def install(args): options = uncached_options([args.game]) restore_with_public_supplement([sys.executable, str(HERE / "cache.py"), "restore", *guides(args.guides, [args.game]), "--cache-dir", args.cache, "--destination", str(work / "archives"), - "--download-mode", getattr(args, "download_mode", "cache-first"), + "--download-mode", cache_mode(args), *(source_filter(scope) if scope is not None else []), "--archive-map", str(temp / "archive-map.json"), "--report", str(temp / "restore.json"), *options, *remote_options()], temp / "restore-private.log", args, args.game, @@ -516,7 +584,7 @@ def install(args): if (scope is None or scope["requires_k1_widescreen_inputs"]) and native_k1_scope(args.guides): auxiliary = k1_widescreen_inputs.ensure( work / "archives", Path(args.cache), temp / "k1-native-inputs.json", - download_mode=getattr(args, "download_mode", "cache-first")) + download_mode=cache_mode(args)) if auxiliary.get("ok") is not True: raise ValueError("Pinned K1 native inputs unavailable; inspect encrypted acquisition evidence") if args.game == "k1" and scope is not None: @@ -682,8 +750,9 @@ def main(argv=None): if name in ("refresh", "install"): child.add_argument("--install-profile", choices=("minimal", "full", "exhaustive"), default="minimal", help="original guide coverage to acquire and install") - child.add_argument("--download-mode", choices=("cache-first", "refresh"), - default="cache-first", help="reuse verified cache, or check every selected upstream input") + child.add_argument("--download-mode", choices=DOWNLOAD_MODES, default="cache-first", + help="reuse verified cache; sample downloads one drawn source live; " + "refresh checks every selected upstream input") if name == "seed": child.add_argument("--dry-run", action="store_true") if name in ("identity", "install"): diff --git a/tools/modsync-ci/test_fullrun_sample.py b/tools/modsync-ci/test_fullrun_sample.py new file mode 100644 index 00000000..b5310319 --- /dev/null +++ b/tools/modsync-ci/test_fullrun_sample.py @@ -0,0 +1,178 @@ +"""The sample download mode: one drawn archive source per game is downloaded live, the rest come from cache.""" +import json +import os +from pathlib import Path +import tempfile +import types +import unittest +from unittest import mock + +import cache +import fullrun_contract +import fullrun_stage + +SCOPE = {"archive_source_ids": ["a", "b", "c", "helper"], "non_acquisition_policy_source_ids": ["helper"], + "non_archive_provenance_source_ids": []} +RUN = {"GITHUB_RUN_ID": "4242", "GITHUB_RUN_ATTEMPT": "1"} +SEED = "4242:1" # what sample_seed derives from RUN + + +def restored(identity, mode, attempted=False): + return {"id": identity, "status": "restored", + "acquisition": {"download_mode": mode, "provider_attempted": attempted}} + + +class Draw(unittest.TestCase): + def test_draw_is_repeatable_per_run_and_never_a_policy_helper(self): + seed = fullrun_stage.sample_seed(RUN) + self.assertEqual(seed, SEED) + first = fullrun_stage.sample_source(SCOPE, "k1", seed) + self.assertEqual(first, fullrun_stage.sample_source(SCOPE, "k1", seed)) + drawn = {fullrun_stage.sample_source(SCOPE, "k1", "%d:1" % run) for run in range(200)} + self.assertEqual(drawn, {"a", "b", "c"}) + self.assertIsNone(fullrun_stage.sample_source( + {"archive_source_ids": ["helper"], "non_acquisition_policy_source_ids": ["helper"]}, "k1", seed)) + self.assertEqual(fullrun_stage.sample_seed({}), "local:1") + + def test_only_the_three_modes_exist_and_sample_restores_from_cache(self): + modes = {mode: fullrun_stage.cache_mode(types.SimpleNamespace(download_mode=mode)) + for mode in fullrun_stage.DOWNLOAD_MODES} + self.assertEqual(modes, {"cache-first": "cache-first", "sample": "cache-first", "refresh": "refresh"}) + with self.assertRaises(ValueError): + fullrun_stage.cache_mode(types.SimpleNamespace(download_mode="everything")) + # Older callers pass no mode at all and keep the cache-first behaviour. + self.assertEqual(fullrun_stage.cache_mode(types.SimpleNamespace()), "cache-first") + + def test_nothing_is_drawn_when_no_source_can_be_downloaded(self): + nothing = {"archive_source_ids": [], "non_acquisition_policy_source_ids": []} + self.assertIsNone(fullrun_stage.sample_source(nothing, "k1", SEED)) + only = {"archive_source_ids": ["solo"], "non_acquisition_policy_source_ids": []} + self.assertEqual({fullrun_stage.sample_source(only, game, "%d:1" % run) + for game in ("k1", "k2") for run in range(20)}, {"solo"}) + + +class Validation(unittest.TestCase): + def setUp(self): + directory = tempfile.TemporaryDirectory() + self.addCleanup(directory.cleanup) + self.output = Path(directory.name) + self.args = types.SimpleNamespace(output=str(self.output), download_mode="sample", install_profile="exhaustive") + for patcher in (mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), + mock.patch.dict(os.environ, RUN)): + patcher.start() + self.addCleanup(patcher.stop) + self.chosen = fullrun_stage.sample_source(SCOPE, "k1", SEED) + entries = [restored(identity, "cache-first") for identity in ("a", "b", "c")] + entries.append({"id": "helper", "status": cache.UNCACHED_SKIPPED}) + (self.output / "verify-k1.json").write_text(json.dumps({"command": "restore", "ok": True, "entries": entries})) + + def sample(self, entries, ok=True): + fullrun_stage.sample_report(self.output, "k1").write_text( + json.dumps({"command": "restore", "ok": ok, "entries": entries})) + + def test_a_recorded_live_attempt_on_the_drawn_source_passes(self): + self.sample([restored(self.chosen, "refresh", attempted=True)]) + result = fullrun_stage.downloader_validation(self.args, ["k1"]) + self.assertEqual((result["status"], result["live_sample_source_ids"], result["download_mode"]), + ("passed", [self.chosen], "sample")) + self.assertEqual(result["unattempted_required_source_ids"], []) + + def test_a_missing_or_weaker_sample_fails(self): + other = next(identity for identity in ("a", "b", "c") if identity != self.chosen) + self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "failed") + for label, entries, ok in (("cache only", [restored(self.chosen, "refresh")], True), + ("wrong mode", [restored(self.chosen, "cache-first", attempted=True)], True), + ("other source", [restored(other, "refresh", attempted=True)], True), + ("not ok", [restored(self.chosen, "refresh", attempted=True)], False), + ("empty", [], True)): + with self.subTest(label=label): + self.sample(entries, ok) + result = fullrun_stage.downloader_validation(self.args, ["k1"]) + self.assertEqual((result["status"], result["incomplete_games"]), ("failed", ["k1"])) + + def test_the_other_modes_do_not_need_a_sample(self): + self.args.download_mode = "cache-first" + self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "passed") + self.args.download_mode = "refresh" + # Refresh still demands a provider attempt for every source, which cached entries lack. + self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "failed") + + +class Stage(unittest.TestCase): + def run_stage(self, mode): + class Reached(Exception): + pass + + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), + output=str(root / "evidence"), download_mode=mode, install_profile="minimal") + with mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), \ + mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), \ + mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), \ + mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), \ + mock.patch.object(fullrun_stage, "remote_options", return_value=[]), \ + mock.patch.object(fullrun_stage, "checked") as checked, \ + mock.patch.object(fullrun_stage, "restore_with_public_supplement", side_effect=Reached) as complete, \ + mock.patch.dict(os.environ, RUN), self.assertRaises(Reached): + fullrun_stage.refresh_archives(args, ["k1"]) + return checked, complete + + def test_sample_downloads_only_the_drawn_source_live_then_restores_all_from_cache(self): + checked, complete = self.run_stage("sample") + command = checked.call_args.args[0] + chosen = fullrun_stage.sample_source(SCOPE, "k1", SEED) + self.assertEqual(checked.call_count, 1) + self.assertEqual(command[command.index("--download-mode") + 1], "refresh") + self.assertEqual([command[index + 1] for index, word in enumerate(command) if word == "--source-id"], [chosen]) + everything = complete.call_args.args[0] + self.assertEqual(everything[everything.index("--download-mode") + 1], "cache-first") + self.assertEqual(everything.count("--source-id"), len(SCOPE["archive_source_ids"])) + + def test_a_failed_live_download_fails_the_stage_and_is_reported(self): + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), + output=str(root / "evidence"), download_mode="sample", + install_profile="minimal") + failure = ValueError("live download command failed") + with mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), \ + mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), \ + mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), \ + mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), \ + mock.patch.object(fullrun_stage, "remote_options", return_value=[]), \ + mock.patch.object(fullrun_stage.contract, "emit_outputs") as outputs, \ + mock.patch.object(fullrun_stage, "checked", side_effect=failure), \ + mock.patch.object(fullrun_stage, "restore_with_public_supplement") as complete, \ + mock.patch.dict(os.environ, RUN), self.assertRaises(ValueError) as raised: + fullrun_stage.refresh(args, ["k1"]) + # The failure is the download's own, nothing was restored after it, and the + # stage still wrote and published a failed validation. + self.assertIs(raised.exception, failure) + complete.assert_not_called() + report = json.loads((root / "evidence" / "downloader-validation.json").read_text()) + self.assertEqual((report["status"], report["incomplete_games"]), ("failed", ["k1"])) + outputs.assert_called_once_with({"download_validation": "failed"}) + + def test_other_modes_make_no_separate_live_download(self): + for mode in ("cache-first", "refresh"): + checked, complete = self.run_stage(mode) + everything = complete.call_args.args[0] + self.assertEqual((checked.call_count, everything[everything.index("--download-mode") + 1]), (0, mode)) + + +class Policy(unittest.TestCase): + def test_release_candidates_sample_by_default_and_may_still_refresh(self): + payload = {"pull_request": {"base": {"ref": "main"}, "head": {"ref": "feature"}, "labels": []}} + policy = fullrun_contract.workflow_policy("pull_request", payload) + self.assertEqual((policy["download_mode"], policy["release_candidate"]), ("sample", True)) + refreshed = fullrun_contract.workflow_policy("pull_request", payload, {"release_download_mode": "refresh"}) + self.assertEqual(refreshed["download_mode"], "refresh") + with self.assertRaises(ValueError): + fullrun_contract.workflow_policy("pull_request", payload, {"release_download_mode": "cache-first"}) + manual = fullrun_contract.workflow_policy("workflow_dispatch", None, None, "minimal", "sample") + self.assertEqual(manual["download_mode"], "sample") + + +if __name__ == "__main__": + unittest.main() diff --git a/tools/modsync-ci/test_fullrun_workflows.py b/tools/modsync-ci/test_fullrun_workflows.py index 295319dd..91def7b5 100644 --- a/tools/modsync-ci/test_fullrun_workflows.py +++ b/tools/modsync-ci/test_fullrun_workflows.py @@ -72,7 +72,7 @@ def test_event_defaults_bind_trusted_pr_heads_and_keep_pushes_quick(self): for event, requested, write, base, expected, profile, download, writer in ( ("push", "", False, "feature", "check", "quick", "cache-first", False), ("pull_request", "", True, "feature", "full", "full", "cache-first", True), - ("pull_request", "", True, "main", "full", "exhaustive", "refresh", True), + ("pull_request", "", True, "main", "full", "exhaustive", "sample", True), ("workflow_dispatch", "full", False, "feature", "full", "minimal", "cache-first", False), ("workflow_dispatch", "games", True, "feature", "games", "minimal", "cache-first", True), ("workflow_dispatch", "install", True, "feature", "install", "minimal", "cache-first", False), @@ -117,7 +117,7 @@ def test_release_policy_cannot_be_downgraded_and_forks_cannot_acquire(self): {"labels": [{"name": "release-candidate"}]}): policy = fullrun_contract.workflow_policy("pull_request", {"pull_request": pull}, requested_profile="minimal", requested_download="cache-first") - self.assertEqual((policy["install_profile"], policy["download_mode"]), ("exhaustive", "refresh")) + self.assertEqual((policy["install_profile"], policy["download_mode"]), ("exhaustive", "sample")) with self.assertRaises(ValueError): fullrun_contract.plan(config, config["repository"], "a" * 40, operation="full", event="pull_request", trusted_pull_request=False) From cdc8710cd4c4c2ab28670966ef66c2ed23191478 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:12:46 +0000 Subject: [PATCH 08/19] CI: create P2P identities even when archive acquisition fails Run 45298805484 refreshed every mod, DeadlyStream answered HTTP 403 for 28 sources and one had no cached copy, so the archive stage failed and the identity step was skipped. Bytes already verified in the object cache keep their identity, so the step now also runs after a failed acquisition. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- .github/workflows/cache-archives.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cache-archives.yml b/.github/workflows/cache-archives.yml index 9cc5d9d9..76e8141a 100644 --- a/.github/workflows/cache-archives.yml +++ b/.github/workflows/cache-archives.yml @@ -129,7 +129,9 @@ jobs: # No torrent session, peer or credential is involved; transfer is the separate p2p job. - name: Create the P2P identity of every pinned archive version id: p2p-identity - if: ${{ steps.refresh.outcome == 'success' }} + # Also after a failed acquisition: bytes already verified in the object cache keep + # their identity, and one unreachable mod site must not hide every other receipt. + if: ${{ (success() || failure()) && (steps.refresh.outcome == 'success' || steps.refresh.outcome == 'failure') }} env: GAMES: ${{ inputs.games }} run: | From 41b54e970ef04d8f831f943b9a3756ecdde7461e Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 01:57:10 +0000 Subject: [PATCH 09/19] CI: pin the P2P identity of 191 archive versions Copied from the public p2p-identity receipt of run 45303323274 (commit cdc8710): 106 of 200 K1 and 85 of 159 K2 pinned versions. Each entry was validated against its manual plan (SHA-256, file name, magnet with dn). The remaining 94 and 74 had no verified bytes in that run's object cache. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 14 +- .../fixtures/ci/k1-p2p-identity.json | 745 +++++++++++++++++- .../fixtures/ci/k2-p2p-identity.json | 598 +++++++++++++- 3 files changed, 1349 insertions(+), 8 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 02ae16d1..8b2ee7c2 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -381,12 +381,14 @@ P2P now has two separate CI tests: transfers and additionally requires the pinned torrent creator to mint the same info hash as `torrent_identity.py` for its fixture. -Limits. The pin files are empty: no real archive bytes were available where this was -written, so no real version is pinned yet and the first archive-stage receipt is the -source for them. The pins live beside the manual plans because the plan parser rejects -unknown keys. Agreement with the torrent creator's own minting was not run locally (the -build host has no IPv6, which direct seeding needs); it is asserted by the second test in -CI. No long-lived seeder exists, so neither test shows that a pinned version can be +Pinned so far, from the archive-stage receipt of run 45303323274 (commit `cdc8710`): +106 of 200 K1 and 85 of 159 K2 versions. The other 94 and 74 had no verified bytes in +that run's object cache, so they stay unpinned until a run holds them. In the same run +the second test passed, so the torrent creator minted the info hash that +`torrent_identity.py` computed for the loopback fixture. + +Limits. The pins live beside the manual plans because the plan parser rejects unknown +keys. No long-lived seeder exists, so neither test shows that a pinned version can be fetched from a public swarm. ModSync itself still accepts a magnet without a name and falls back to the local file name; the name requirement is enforced for CI pins only. diff --git a/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json index 6ca2b732..2d77316a 100644 --- a/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json +++ b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json @@ -1,5 +1,748 @@ { "schema": 1, "piece_length": 2097152, - "archives": {} + "archives": { + "{archives}/Ajunta__39_s Swords.7z": { + "sha256": "5c1c3e2a23de8a96f7bdf275d0326a8ed79aac786d8e5f096c92e9b799a7bbf9", + "bytes": 241822, + "name": "Ajunta__39_s Swords.7z", + "info_hash": "19adbd67d2c6c79b6e54a8245c91b75c853ed710", + "magnet": "magnet:?xt=urn%3Abtih%3A19adbd67d2c6c79b6e54a8245c91b75c853ed710&dn=Ajunta__39_s+Swords.7z" + }, + "{archives}/Alignment_Affects_Force_Powers_K1_v1c1c1.zip": { + "sha256": "0afcee10faabef4540fb4e6ccb840e820eec7aa0faa3370f7d846d7b6a4434ef", + "bytes": 1064162, + "name": "Alignment_Affects_Force_Powers_K1_v1c1c1.zip", + "info_hash": "0d94a619fa93003690e82d25b3719759149ad49d", + "magnet": "magnet:?xt=urn%3Abtih%3A0d94a619fa93003690e82d25b3719759149ad49d&dn=Alignment_Affects_Force_Powers_K1_v1c1c1.zip" + }, + "{archives}/Balanced Pazaak.zip": { + "sha256": "9b6524b4ef5da39f1413badc8bc6c4e16ac4701fc53e37591b3fa745cae3bc7c", + "bytes": 508, + "name": "Balanced Pazaak.zip", + "info_hash": "735a91204621059f259350bc108131f5bc14b121", + "magnet": "magnet:?xt=urn%3Abtih%3A735a91204621059f259350bc108131f5bc14b121&dn=Balanced+Pazaak.zip" + }, + "{archives}/Bastila Has Battle Meditation v1.2.zip": { + "sha256": "8542dc733b4d66d222248078eda23c007e1d6bd46049be46d9be802177ddc16a", + "bytes": 952583, + "name": "Bastila Has Battle Meditation v1.2.zip", + "info_hash": "400567d720910a5bd3aab065d2e3b5ede44f3e68", + "magnet": "magnet:?xt=urn%3Abtih%3A400567d720910a5bd3aab065d2e3b5ede44f3e68&dn=Bastila+Has+Battle+Meditation+v1.2.zip" + }, + "{archives}/Bek Control Room Restoration 1.1.zip": { + "sha256": "06704e7e7fa2e8996fc3b4e02505d0c69bd502f1f367a408df9044bcbbac67af", + "bytes": 2601, + "name": "Bek Control Room Restoration 1.1.zip", + "info_hash": "19d37f70fa4882fb73655f7a7865c37fa7c3b421", + "magnet": "magnet:?xt=urn%3Abtih%3A19d37f70fa4882fb73655f7a7865c37fa7c3b421&dn=Bek+Control+Room+Restoration+1.1.zip" + }, + "{archives}/CK-Ixgil the Bith.zip": { + "sha256": "78debc218543c73b42468cae4623a95a93a4ceab3ca64326b6fe6a6162c7b676", + "bytes": 449789, + "name": "CK-Ixgil the Bith.zip", + "info_hash": "3f2fe34be9f6d9df5de10ba293f3248029ba43f2", + "magnet": "magnet:?xt=urn%3Abtih%3A3f2fe34be9f6d9df5de10ba293f3248029ba43f2&dn=CK-Ixgil+the+Bith.zip" + }, + "{archives}/CK-Minor music tweaks.zip": { + "sha256": "5c635b68cf9871ee5ce0e4b2f27c7a3a866146fa9a910dfb0de9984ddfdd9cc5", + "bytes": 2246915, + "name": "CK-Minor music tweaks.zip", + "info_hash": "46b3fd2c84794ce7bbaab7221ea6f6828bd124ab", + "magnet": "magnet:?xt=urn%3Abtih%3A46b3fd2c84794ce7bbaab7221ea6f6828bd124ab&dn=CK-Minor+music+tweaks.zip" + }, + "{archives}/Calo Nord Recolor.zip": { + "sha256": "5a7a5a404bfe417586cecfce0aac4b51ae6188563e536ced2d3666029df89247", + "bytes": 907573, + "name": "Calo Nord Recolor.zip", + "info_hash": "d8979a610b800e3c7e1fa35905f2096e58d8cce3", + "magnet": "magnet:?xt=urn%3Abtih%3Ad8979a610b800e3c7e1fa35905f2096e58d8cce3&dn=Calo+Nord+Recolor.zip" + }, + "{archives}/Canderous Patch.rar": { + "sha256": "bedf387e79e926ce809c75f6b9a2709ea3f258b8baebdac8f2a65a3e36740013", + "bytes": 104, + "name": "Canderous Patch.rar", + "info_hash": "56bc7b8cd85f216c7a24d6a9fd54771fc90bc3c8", + "magnet": "magnet:?xt=urn%3Abtih%3A56bc7b8cd85f216c7a24d6a9fd54771fc90bc3c8&dn=Canderous+Patch.rar" + }, + "{archives}/Character Start Up Changes.zip": { + "sha256": "406e4854819c00e7f3195af8cf5a0a97630d15ce8597ec8a02ef7a387d3e52d3", + "bytes": 349844, + "name": "Character Start Up Changes.zip", + "info_hash": "6b9266d743bdaa77ee38d8ef0d44b7594fb5a394", + "magnet": "magnet:?xt=urn%3Abtih%3A6b9266d743bdaa77ee38d8ef0d44b7594fb5a394&dn=Character+Start+Up+Changes.zip" + }, + "{archives}/Character_Startup_Changes_Patch.zip": { + "sha256": "9566d3f42ea646b110a1520407a4539bbc094437c480ec2dc3f535388cb76e87", + "bytes": 7430, + "name": "Character_Startup_Changes_Patch.zip", + "info_hash": "228aee76e9361b7b65b478aeab110648903df2da", + "magnet": "magnet:?xt=urn%3Abtih%3A228aee76e9361b7b65b478aeab110648903df2da&dn=Character_Startup_Changes_Patch.zip" + }, + "{archives}/Consistent Conditioning Icons.7z": { + "sha256": "d1e8e293f564feb5e5d804a886247b4deb21583496df01b48c914ba10a14154a", + "bytes": 235609, + "name": "Consistent Conditioning Icons.7z", + "info_hash": "63578093edd1385a648755245c8dccfdd1bb200f", + "magnet": "magnet:?xt=urn%3Abtih%3A63578093edd1385a648755245c8dccfdd1bb200f&dn=Consistent+Conditioning+Icons.7z" + }, + "{archives}/Custom Selkath Animation.rar": { + "sha256": "5c3164dd33a899fcee98d0f52dbc0d70e4025a7eef695a520fb766dcfd11751f", + "bytes": 648909, + "name": "Custom Selkath Animation.rar", + "info_hash": "2cb9f5a594db212cbcc4a94c0ff64237ecb1df53", + "magnet": "magnet:?xt=urn%3Abtih%3A2cb9f5a594db212cbcc4a94c0ff64237ecb1df53&dn=Custom+Selkath+Animation.rar" + }, + "{archives}/DI_HRBM_2.7z": { + "sha256": "c809672ec443216194061c7958664b47c2210f5abc63d1a59cd49d700f695991", + "bytes": 550147, + "name": "DI_HRBM_2.7z", + "info_hash": "1f417870666e311e10404d6027329cbfabe7f6ac", + "magnet": "magnet:?xt=urn%3Abtih%3A1f417870666e311e10404d6027329cbfabe7f6ac&dn=DI_HRBM_2.7z" + }, + "{archives}/DantTrainingLS-66-1-0.zip": { + "sha256": "2614afaf76d80d69a2512b206dfb29f66843d216efb38ceda613e851ac1551c4", + "bytes": 337303, + "name": "DantTrainingLS-66-1-0.zip", + "info_hash": "ac93eabcd7dac404946f116619c007060d631dea", + "magnet": "magnet:?xt=urn%3Abtih%3Aac93eabcd7dac404946f116619c007060d631dea&dn=DantTrainingLS-66-1-0.zip" + }, + "{archives}/Daviks Trophies.7z": { + "sha256": "64fd8244315856ba4902b81bd3f04cbedceb123033f3d915a46b3b25aa1177e3", + "bytes": 576172, + "name": "Daviks Trophies.7z", + "info_hash": "0892cb5726762a5cf31b3094405d9802940e65e5", + "magnet": "magnet:?xt=urn%3Abtih%3A0892cb5726762a5cf31b3094405d9802940e65e5&dn=Daviks+Trophies.7z" + }, + "{archives}/Door Mural-1632-1-0-1713374023.zip": { + "sha256": "7add8cda2320f0bf5e0e6bbc6739a5c59fb68083429c93e59f8f2f49f32df1d9", + "bytes": 17869526, + "name": "Door Mural-1632-1-0-1713374023.zip", + "info_hash": "2ca9ddb7617445f3416812cb0a57e7769c080267", + "magnet": "magnet:?xt=urn%3Abtih%3A2ca9ddb7617445f3416812cb0a57e7769c080267&dn=Door+Mural-1632-1-0-1713374023.zip" + }, + "{archives}/Duncan on Manaan.7z": { + "sha256": "25f94edc74e4e29e2d602064b41ad2ce9cbf9b83deded0a19a24ed7566a30f23", + "bytes": 7210, + "name": "Duncan on Manaan.7z", + "info_hash": "e3bf6672da9fdfa5e9d679fed9dec60306698c0c", + "magnet": "magnet:?xt=urn%3Abtih%3Ae3bf6672da9fdfa5e9d679fed9dec60306698c0c&dn=Duncan+on+Manaan.7z" + }, + "{archives}/Fen_s - Jolee-1192-1.zip": { + "sha256": "2dfa64b5eb3906a8b7550fb7efa7712e80c1cdb328fd22630ef3566a47d7bc1d", + "bytes": 8446385, + "name": "Fen_s - Jolee-1192-1.zip", + "info_hash": "e69e664ee22cd18bf1a3a81f42dba7cb9078ddb8", + "magnet": "magnet:?xt=urn%3Abtih%3Ae69e664ee22cd18bf1a3a81f42dba7cb9078ddb8&dn=Fen_s+-+Jolee-1192-1.zip" + }, + "{archives}/Grenades and mines HD.rar": { + "sha256": "d4d37e2969fd1af070bb71fe54b3887fc0f02319438b62888bf1b7c80e5970e1", + "bytes": 880699, + "name": "Grenades and mines HD.rar", + "info_hash": "9487d3c4969913f35e5fd3c17d1da9dc6bc6aaec", + "magnet": "magnet:?xt=urn%3Abtih%3A9487d3c4969913f35e5fd3c17d1da9dc6bc6aaec&dn=Grenades+and+mines+HD.rar" + }, + "{archives}/HD Realistic Sand People Patch.zip": { + "sha256": "f377c901799721ffd50d84d0c26f3a6acb5ed7e6a1bb8212d609871f05aa7539", + "bytes": 1193, + "name": "HD Realistic Sand People Patch.zip", + "info_hash": "4942cbd8fbb9e490e43ccd7e8f99dfa74d237c71", + "magnet": "magnet:?xt=urn%3Abtih%3A4942cbd8fbb9e490e43ccd7e8f99dfa74d237c71&dn=HD+Realistic+Sand+People+Patch.zip" + }, + "{archives}/HD Vrook Recolored.zip": { + "sha256": "b0adc751c7f0c27cc3ea15c0dcb82423eacddc6b1c49fdf64c3f15f83621cb45", + "bytes": 2365035, + "name": "HD Vrook Recolored.zip", + "info_hash": "a020a3848c55a1697d6fae148e06a1121fa1bfc3", + "magnet": "magnet:?xt=urn%3Abtih%3Aa020a3848c55a1697d6fae148e06a1121fa1bfc3&dn=HD+Vrook+Recolored.zip" + }, + "{archives}/HD_Pazaak_Cards.zip": { + "sha256": "1ea20910d306fa02901ec6eda8476cd59cab7da8f63e354aeddae9ae7b6d8bc6", + "bytes": 277770, + "name": "HD_Pazaak_Cards.zip", + "info_hash": "adf028a8c9c88c1850a4854d04d07a218720c2e9", + "magnet": "magnet:?xt=urn%3Abtih%3Aadf028a8c9c88c1850a4854d04d07a218720c2e9&dn=HD_Pazaak_Cards.zip" + }, + "{archives}/Helena_Shan_Improvement.zip": { + "sha256": "ad7ce3e01353f56a8c6a190cc406f7834356a55eae14013c3e43873e466b5e59", + "bytes": 2041813, + "name": "Helena_Shan_Improvement.zip", + "info_hash": "0bcd72629548bbeec966643215a57476addfcf2e", + "magnet": "magnet:?xt=urn%3Abtih%3A0bcd72629548bbeec966643215a57476addfcf2e&dn=Helena_Shan_Improvement.zip" + }, + "{archives}/High quality skyboxes model fixes.rar": { + "sha256": "a5916af847b1036bc0890bab3c988dba49a9055e7f12f39d05ba0a5cddce3fc4", + "bytes": 380316, + "name": "High quality skyboxes model fixes.rar", + "info_hash": "b22f3b87fa6e844a87f91bf38443919ad0d5646e", + "magnet": "magnet:?xt=urn%3Abtih%3Ab22f3b87fa6e844a87f91bf38443919ad0d5646e&dn=High+quality+skyboxes+model+fixes.rar" + }, + "{archives}/Improved Cantina Sitters.zip": { + "sha256": "aa57f3cb93658406b65f175943099cfae2d81e4c86990dba8ffe8804e34dc70a", + "bytes": 1724749, + "name": "Improved Cantina Sitters.zip", + "info_hash": "089f200a3a5aa83420fb53efa5765e97ef33f879", + "magnet": "magnet:?xt=urn%3Abtih%3A089f200a3a5aa83420fb53efa5765e97ef33f879&dn=Improved+Cantina+Sitters.zip" + }, + "{archives}/JAO_Saber_Replacement.7z": { + "sha256": "cec86a5b9cd89951ac796ff345990d2f36eac8eae33132f19306338e7d3b4714", + "bytes": 246733, + "name": "JAO_Saber_Replacement.7z", + "info_hash": "4ecab58ca805d56c87771d804855ee6de10b182e", + "magnet": "magnet:?xt=urn%3Abtih%3A4ecab58ca805d56c87771d804855ee6de10b182e&dn=JAO_Saber_Replacement.7z" + }, + "{archives}/JC_s Blaster Visual Effects for K1.zip": { + "sha256": "d50e72d0635f0cf1505d29878ef832b2084e2b058af4c83a82e25e036f354288", + "bytes": 244296, + "name": "JC_s Blaster Visual Effects for K1.zip", + "info_hash": "49d638c85dcc47722f35ea719147b86dc0b939f9", + "magnet": "magnet:?xt=urn%3Abtih%3A49d638c85dcc47722f35ea719147b86dc0b939f9&dn=JC_s+Blaster+Visual+Effects+for+K1.zip" + }, + "{archives}/JC_s Jedi Tailor for K1 v1.4.zip": { + "sha256": "074f3d7b447019d20f855915d82f0aefcbb94a8b96235c7ef6020af25aad0d19", + "bytes": 948402, + "name": "JC_s Jedi Tailor for K1 v1.4.zip", + "info_hash": "0d4ffc4af9a657aed45e92d390f73077a3dc99a0", + "magnet": "magnet:?xt=urn%3Abtih%3A0d4ffc4af9a657aed45e92d390f73077a3dc99a0&dn=JC_s+Jedi+Tailor+for+K1+v1.4.zip" + }, + "{archives}/JC_s Korriban - Back in Black for K1 v2.3.zip": { + "sha256": "9e9462731ae2247126be75f08819e5b6d66d7aa50b1a4e5fcc44bcaf10cfd032", + "bytes": 1945885, + "name": "JC_s Korriban - Back in Black for K1 v2.3.zip", + "info_hash": "7e4ef6ea272331779d87823a9719e53eee1b2727", + "magnet": "magnet:?xt=urn%3Abtih%3A7e4ef6ea272331779d87823a9719e53eee1b2727&dn=JC_s+Korriban+-+Back+in+Black+for+K1+v2.3.zip" + }, + "{archives}/JC_s Leviathan - Ain_t No Air In Space for K1.zip": { + "sha256": "ec86d7d6a4f8eb123b06c19ad64a3a463c20baa525567ab47a2f9a50bd5d8314", + "bytes": 388925, + "name": "JC_s Leviathan - Ain_t No Air In Space for K1.zip", + "info_hash": "1616c6c0ac1568928a8104f09ec3d48a394e4a38", + "magnet": "magnet:?xt=urn%3Abtih%3A1616c6c0ac1568928a8104f09ec3d48a394e4a38&dn=JC_s+Leviathan+-+Ain_t+No+Air+In+Space+for+K1.zip" + }, + "{archives}/JC_s Minor Fixes - Compatibility Patch-1282-4-1-1629713341.rar": { + "sha256": "28a09afd65caafe6aaf28bbaca08863ddc2aa56344e3380b92aea00dae9e84f3", + "bytes": 50099701, + "name": "JC_s Minor Fixes - Compatibility Patch-1282-4-1-1629713341.rar", + "info_hash": "5e173c0f9d98fe376dcf31bb5406ab50cc80156e", + "magnet": "magnet:?xt=urn%3Abtih%3A5e173c0f9d98fe376dcf31bb5406ab50cc80156e&dn=JC_s+Minor+Fixes+-+Compatibility+Patch-1282-4-1-1629713341.rar" + }, + "{archives}/JC_s Vision Enhancement for K1 v1.2.zip": { + "sha256": "76069ee1c70ac4a73705238d9296e8665fc33e50f405d5972e60c9f7ca0027d6", + "bytes": 559912, + "name": "JC_s Vision Enhancement for K1 v1.2.zip", + "info_hash": "a27f438eb85640c318e1df919e04892bf7d93542", + "magnet": "magnet:?xt=urn%3Abtih%3Aa27f438eb85640c318e1df919e04892bf7d93542&dn=JC_s+Vision+Enhancement+for+K1+v1.2.zip" + }, + "{archives}/Jedi Choice Dialogue Enhancement.zip": { + "sha256": "c6b1abc53056134163d9df75ef32e164b043ca98f34f3dd29bb0b5c6208a16c5", + "bytes": 25254, + "name": "Jedi Choice Dialogue Enhancement.zip", + "info_hash": "d3b0818a86e19eca86468e25eaf7b26cebb7aca3", + "magnet": "magnet:?xt=urn%3Abtih%3Ad3b0818a86e19eca86468e25eaf7b26cebb7aca3&dn=Jedi+Choice+Dialogue+Enhancement.zip" + }, + "{archives}/Juhani Dialogue Restoration.zip": { + "sha256": "fa51c69d3e177a311b12a624e96c9afbd16e64ef714f241cac48acf6afd98465", + "bytes": 6644, + "name": "Juhani Dialogue Restoration.zip", + "info_hash": "26abcc1a1779673d11189b1f3cf0c37e7287772a", + "magnet": "magnet:?xt=urn%3Abtih%3A26abcc1a1779673d11189b1f3cf0c37e7287772a&dn=Juhani+Dialogue+Restoration.zip" + }, + "{archives}/Juhani_Romance_Enhancement.zip": { + "sha256": "c12af9f784a7c5107904823c2df8d40f8fd318ad2bcabd1fa1761a741daebd0f", + "bytes": 484646, + "name": "Juhani_Romance_Enhancement.zip", + "info_hash": "010a4dbe1dc8de45235fe143b529950c1677b94e", + "magnet": "magnet:?xt=urn%3Abtih%3A010a4dbe1dc8de45235fe143b529950c1677b94e&dn=Juhani_Romance_Enhancement.zip" + }, + "{archives}/K1 Party Conversations on Ebon Hawk v1_3_1.7z": { + "sha256": "6876c7313b16f5f6a559fcdabb720088c93647fcca4ee175a7c4696f8f92d2b6", + "bytes": 393212, + "name": "K1 Party Conversations on Ebon Hawk v1_3_1.7z", + "info_hash": "bd9bc608a507aa3b97ac8e087e652d810df83ad1", + "magnet": "magnet:?xt=urn%3Abtih%3Abd9bc608a507aa3b97ac8e087e652d810df83ad1&dn=K1+Party+Conversations+on+Ebon+Hawk+v1_3_1.7z" + }, + "{archives}/K1 SL Mouth Adjustment v1.1.1.7z": { + "sha256": "3edbbdf9ee22cd6fa0727d9e29d22b58dfd8ce75c4e3f79f54da7cb4aaff1021", + "bytes": 47279, + "name": "K1 SL Mouth Adjustment v1.1.1.7z", + "info_hash": "acb4933d294be2f748fb948f1849d527f9465f01", + "magnet": "magnet:?xt=urn%3Abtih%3Aacb4933d294be2f748fb948f1849d527f9465f01&dn=K1+SL+Mouth+Adjustment+v1.1.1.7z" + }, + "{archives}/K1CP Patch.rar": { + "sha256": "8564c745f3cd545cc356fc9932b5ede331adbd0b7bdd365da3bcd6f4b613665c", + "bytes": 128612, + "name": "K1CP Patch.rar", + "info_hash": "ba3969235e2623bba7ef993aa39bd35af8b02946", + "magnet": "magnet:?xt=urn%3Abtih%3Aba3969235e2623bba7ef993aa39bd35af8b02946&dn=K1CP+Patch.rar" + }, + "{archives}/K1_HDStarsAndNebulas_1_3.zip": { + "sha256": "5f15be30ef787d2519fcfde7e434c414e320becbb54f0390585d7fdd6addb1d0", + "bytes": 2004533, + "name": "K1_HDStarsAndNebulas_1_3.zip", + "info_hash": "34c6734be7daa1197f86ae3a91df88b225c294f7", + "magnet": "magnet:?xt=urn%3Abtih%3A34c6734be7daa1197f86ae3a91df88b225c294f7&dn=K1_HDStarsAndNebulas_1_3.zip" + }, + "{archives}/KOTOR 1 Community Patch - Compatibility Patch-1282-4-1-1629713397.rar": { + "sha256": "5f0aabcc532e1825e338f419b1e7bbec42846fd9f659db34c5924f9b13e50133", + "bytes": 74083907, + "name": "KOTOR 1 Community Patch - Compatibility Patch-1282-4-1-1629713397.rar", + "info_hash": "046537ca44b124d95d43ef4045a5d4f4e5585260", + "magnet": "magnet:?xt=urn%3Abtih%3A046537ca44b124d95d43ef4045a5d4f4e5585260&dn=KOTOR+1+Community+Patch+-+Compatibility+Patch-1282-4-1-1629713397.rar" + }, + "{archives}/KOTOR1-Blaster-Adjustment_v1.0.0.zip": { + "sha256": "0da5c362054f798b61f8c885bf8ec5ca84de7e480ae3e7f67cd2db74ae61e44b", + "bytes": 363642, + "name": "KOTOR1-Blaster-Adjustment_v1.0.0.zip", + "info_hash": "4b5993d3ef5f9ff303afc0710b88ea6b98e9480a", + "magnet": "magnet:?xt=urn%3Abtih%3A4b5993d3ef5f9ff303afc0710b88ea6b98e9480a&dn=KOTOR1-Blaster-Adjustment_v1.0.0.zip" + }, + "{archives}/KOTOR1-Mandalorian-Armor_v2.0.0.zip": { + "sha256": "18af51ec23eac6e5ae95a27e1c985618e9fa7f5c68716a553e9fdd738a548969", + "bytes": 2820958, + "name": "KOTOR1-Mandalorian-Armor_v2.0.0.zip", + "info_hash": "554869841df22742293e6537f4529edb33959d50", + "magnet": "magnet:?xt=urn%3Abtih%3A554869841df22742293e6537f4529edb33959d50&dn=KOTOR1-Mandalorian-Armor_v2.0.0.zip" + }, + "{archives}/KOTOR1-Republic-Soldier_v1.4.0.zip": { + "sha256": "8e38d79359888df01160929815dc8d87e82a6997ff1f79ea7f8615484581717e", + "bytes": 2103921, + "name": "KOTOR1-Republic-Soldier_v1.4.0.zip", + "info_hash": "2c4696fb88006ab31ebb30348f0bd00ceeae8541", + "magnet": "magnet:?xt=urn%3Abtih%3A2c4696fb88006ab31ebb30348f0bd00ceeae8541&dn=KOTOR1-Republic-Soldier_v1.4.0.zip" + }, + "{archives}/KOTOR1-Security-Spikes_v1.2.2.zip": { + "sha256": "5619d0bb78cfe901568e880410dc004d029170223410a803ec9268df3e784407", + "bytes": 1171816, + "name": "KOTOR1-Security-Spikes_v1.2.2.zip", + "info_hash": "b2bad5c33b823f460e3fac605aca729700dcc878", + "magnet": "magnet:?xt=urn%3Abtih%3Ab2bad5c33b823f460e3fac605aca729700dcc878&dn=KOTOR1-Security-Spikes_v1.2.2.zip" + }, + "{archives}/KOTOR1-Thematic-Companions_v1.0.1.zip": { + "sha256": "fe4fc60fcaed76e123b2563b934030ed9bb4a1c1b97481ab401ab34aba79e3af", + "bytes": 357556, + "name": "KOTOR1-Thematic-Companions_v1.0.1.zip", + "info_hash": "6ad6ca5d0c430fbf86ef073e7b0832127f9155b1", + "magnet": "magnet:?xt=urn%3Abtih%3A6ad6ca5d0c430fbf86ef073e7b0832127f9155b1&dn=KOTOR1-Thematic-Companions_v1.0.1.zip" + }, + "{archives}/KillCzerkaJerk.zip": { + "sha256": "c35c49ff297a2cefde992596d261ee365aefdcd233b55206bedbd5661e2d9769", + "bytes": 489373, + "name": "KillCzerkaJerk.zip", + "info_hash": "07e82fa32dfedf188272343144145125f8b7599a", + "magnet": "magnet:?xt=urn%3Abtih%3A07e82fa32dfedf188272343144145125f8b7599a&dn=KillCzerkaJerk.zip" + }, + "{archives}/Kiosk HD 15.03.2024.rar": { + "sha256": "e77a881d231baef41543c45af30eca72d8c05f58359fa88b238c8bc92fa561c4", + "bytes": 2157170, + "name": "Kiosk HD 15.03.2024.rar", + "info_hash": "d3c4ca0aaccdb724ebec14d76ae0f1c68c457cef", + "magnet": "magnet:?xt=urn%3Abtih%3Ad3c4ca0aaccdb724ebec14d76ae0f1c68c457cef&dn=Kiosk+HD+15.03.2024.rar" + }, + "{archives}/Kiosk Model Fix K1.7z": { + "sha256": "af330d30bff654f56ef0b947af1165564c375c4efba3a489874d6122df73cda7", + "bytes": 14541, + "name": "Kiosk Model Fix K1.7z", + "info_hash": "4ad3f91b27d74ba678d560bb9b845aadd2df3c8f", + "magnet": "magnet:?xt=urn%3Abtih%3A4ad3f91b27d74ba678d560bb9b845aadd2df3c8f&dn=Kiosk+Model+Fix+K1.7z" + }, + "{archives}/Korriban Patch.7z": { + "sha256": "de54c6d0c89b8152b4df6125b45d54bce876b9cb566da4297e6472df90223f27", + "bytes": 155, + "name": "Korriban Patch.7z", + "info_hash": "54106fcd0828785123d1c2a847d60e2f5d417ad1", + "magnet": "magnet:?xt=urn%3Abtih%3A54106fcd0828785123d1c2a847d60e2f5d417ad1&dn=Korriban+Patch.7z" + }, + "{archives}/KotOR1 Droid Claw Fix.zip": { + "sha256": "73fc19bba379797163e41b6e7080e5db5cfba4812e0a18231959dd2970de6976", + "bytes": 341986, + "name": "KotOR1 Droid Claw Fix.zip", + "info_hash": "bae2254f8f9cf6927324ab5b8620126acd36c69d", + "magnet": "magnet:?xt=urn%3Abtih%3Abae2254f8f9cf6927324ab5b8620126acd36c69d&dn=KotOR1+Droid+Claw+Fix.zip" + }, + "{archives}/KotOR_Dialogue_Fixes_5_5.7z": { + "sha256": "20d58b1b9dd8d2f4007db94a1e1d0df4d124345d427916922277d3d63049773f", + "bytes": 1071767, + "name": "KotOR_Dialogue_Fixes_5_5.7z", + "info_hash": "929963bb3b9059e17e4c8d56ec46ed1e40f06719", + "magnet": "magnet:?xt=urn%3Abtih%3A929963bb3b9059e17e4c8d56ec46ed1e40f06719&dn=KotOR_Dialogue_Fixes_5_5.7z" + }, + "{archives}/Leviathan Differentiated Dialogue.7z": { + "sha256": "4fd9ea37ee35f825403e69f586ecadba8d161c8c71d2e86ef059bbc440d06f4e", + "bytes": 12369, + "name": "Leviathan Differentiated Dialogue.7z", + "info_hash": "0d3c2566387980e288c09a9bf48b9abc210306dd", + "magnet": "magnet:?xt=urn%3Abtih%3A0d3c2566387980e288c09a9bf48b9abc210306dd&dn=Leviathan+Differentiated+Dialogue.7z" + }, + "{archives}/Miscellaneous Compatibility Patches-1282-4-1-1629713437.rar": { + "sha256": "8bc574b9537112fda55032c9a4d7490a98c7fdc00d3ca6c860c1ccd3ae014db2", + "bytes": 13533093, + "name": "Miscellaneous Compatibility Patches-1282-4-1-1629713437.rar", + "info_hash": "2a0c5bbb101f9a82a27940f39cdb8447011c78cc", + "magnet": "magnet:?xt=urn%3Abtih%3A2a0c5bbb101f9a82a27940f39cdb8447011c78cc&dn=Miscellaneous+Compatibility+Patches-1282-4-1-1629713437.rar" + }, + "{archives}/Multifire and Autofire-1711-1-2-2-1769975013.7z": { + "sha256": "b006a7f68cdff71774fed72670b482e8a136b121e052422555c61f9fad02a6e4", + "bytes": 11182582, + "name": "Multifire and Autofire-1711-1-2-2-1769975013.7z", + "info_hash": "b4ac61928479b83809f57000a657531f1abf249a", + "magnet": "magnet:?xt=urn%3Abtih%3Ab4ac61928479b83809f57000a657531f1abf249a&dn=Multifire+and+Autofire-1711-1-2-2-1769975013.7z" + }, + "{archives}/NO_Fighters.zip-90-v1-0.zip": { + "sha256": "d8967de95af75b2cef07507a159bdceb081852f7bf495bd847a81b4fb21119df", + "bytes": 3226, + "name": "NO_Fighters.zip-90-v1-0.zip", + "info_hash": "4b7332ac664edb8af5aab97950d4da6d204899e5", + "magnet": "magnet:?xt=urn%3Abtih%3A4b7332ac664edb8af5aab97950d4da6d204899e5&dn=NO_Fighters.zip-90-v1-0.zip" + }, + "{archives}/NPC_Alignment_Fix_v1_1.rar": { + "sha256": "9aceaad3bd4e999f713bae17464a605ee014cba47e4c6a526cae45e49696d0e4", + "bytes": 1714221, + "name": "NPC_Alignment_Fix_v1_1.rar", + "info_hash": "f5689904945ca1f856767ec8fe4aa714ab88a793", + "magnet": "magnet:?xt=urn%3Abtih%3Af5689904945ca1f856767ec8fe4aa714ab88a793&dn=NPC_Alignment_Fix_v1_1.rar" + }, + "{archives}/N_DeadeyeH01.rar": { + "sha256": "c4c6a03079da78b6be559f03d06f80f77377c7876862c39f6efd727442979f5d", + "bytes": 1445793, + "name": "N_DeadeyeH01.rar", + "info_hash": "a0f404723bb6e29bd1e98eaf123b5c112845eb6a", + "magnet": "magnet:?xt=urn%3Abtih%3Aa0f404723bb6e29bd1e98eaf123b5c112845eb6a&dn=N_DeadeyeH01.rar" + }, + "{archives}/N_oldAMH01.rar": { + "sha256": "b15813262cec4c277b6c948c0c6638f7640a09e47778512838ca930bfb2846af", + "bytes": 1706103, + "name": "N_oldAMH01.rar", + "info_hash": "3971be1929265d36ced9f9152b1f902d0871442d", + "magnet": "magnet:?xt=urn%3Abtih%3A3971be1929265d36ced9f9152b1f902d0871442d&dn=N_oldAMH01.rar" + }, + "{archives}/PC Dialogue with Davik_s Slaves Change.7z": { + "sha256": "9ceea33b790c0179154185128ae30dd4e5cdbb82221a787700ad15fa594bf218", + "bytes": 334893, + "name": "PC Dialogue with Davik_s Slaves Change.7z", + "info_hash": "01616a05a63d37fad07f260165f7ac4c538383f7", + "magnet": "magnet:?xt=urn%3Abtih%3A01616a05a63d37fad07f260165f7ac4c538383f7&dn=PC+Dialogue+with+Davik_s+Slaves+Change.7z" + }, + "{archives}/QSRPK1.7z": { + "sha256": "f359948b6fe92bed3b4d773f5b36f028f183baffa8dd0f20284d3c1a0ba6ec84", + "bytes": 583573, + "name": "QSRPK1.7z", + "info_hash": "1533114411751d507e0157aae489bb442b3566b5", + "magnet": "magnet:?xt=urn%3Abtih%3A1533114411751d507e0157aae489bb442b3566b5&dn=QSRPK1.7z" + }, + "{archives}/RecruitT3M4Early.rar": { + "sha256": "39de204e7f59920bb210b6e0c5138ca5b3312712a6e6fe6c77716e99d84c1d9a", + "bytes": 13706, + "name": "RecruitT3M4Early.rar", + "info_hash": "027e118a9fb6ae581ab2cdab5013c2cf049e1e6b", + "magnet": "magnet:?xt=urn%3Abtih%3A027e118a9fb6ae581ab2cdab5013c2cf049e1e6b&dn=RecruitT3M4Early.rar" + }, + "{archives}/Robes_With_Shadows_JC_K1_v1.2.0.7z": { + "sha256": "927fcb0b50fad0b959e2147af694d76768e6e58a8c16777e8b07e7340897423b", + "bytes": 877587, + "name": "Robes_With_Shadows_JC_K1_v1.2.0.7z", + "info_hash": "683de9b5f07833b5f1edd6d5a7cfd6bb913102b0", + "magnet": "magnet:?xt=urn%3Abtih%3A683de9b5f07833b5f1edd6d5a7cfd6bb913102b0&dn=Robes_With_Shadows_JC_K1_v1.2.0.7z" + }, + "{archives}/SAWL Patch.rar": { + "sha256": "681ff0da13422831fb006d810fef5733473c866900589aadbce049cc1f58bdcd", + "bytes": 1958, + "name": "SAWL Patch.rar", + "info_hash": "bd05c18e19528f4439cce72dfe2d787a081d5a54", + "magnet": "magnet:?xt=urn%3Abtih%3Abd05c18e19528f4439cce72dfe2d787a081d5a54&dn=SAWL+Patch.rar" + }, + "{archives}/SH_AnimatedCantinaSign.7z": { + "sha256": "4463b360c31b310825464143d5e911b8551a0877b767e96fbd6d6f30252aea38", + "bytes": 563673, + "name": "SH_AnimatedCantinaSign.7z", + "info_hash": "4386f7dd0538dc45ebdf2c1ae79c830ce86e4f8d", + "magnet": "magnet:?xt=urn%3Abtih%3A4386f7dd0538dc45ebdf2c1ae79c830ce86e4f8d&dn=SH_AnimatedCantinaSign.7z" + }, + "{archives}/SH_EHCockpitUpgrade_LEH_Scre01_MS.7z": { + "sha256": "1ffd749b8ffcfeb6d5735161e72d1360bf72e7f398abdc3765b4c655b7abe2dc", + "bytes": 2192608, + "name": "SH_EHCockpitUpgrade_LEH_Scre01_MS.7z", + "info_hash": "a7bfba1f85261e236923068c4ab8478abe8b80c4", + "magnet": "magnet:?xt=urn%3Abtih%3Aa7bfba1f85261e236923068c4ab8478abe8b80c4&dn=SH_EHCockpitUpgrade_LEH_Scre01_MS.7z" + }, + "{archives}/SMRE Version 3.0.zip": { + "sha256": "91e546732e8c96584449c6a0f0823d303fbbba04a147ba926445f331b0d860ec", + "bytes": 1168253, + "name": "SMRE Version 3.0.zip", + "info_hash": "e217878a313dc83ff1829b297e55a5dc5c4e1561", + "magnet": "magnet:?xt=urn%3Abtih%3Ae217878a313dc83ff1829b297e55a5dc5c4e1561&dn=SMRE+Version+3.0.zip" + }, + "{archives}/Sentinel Sneak Attack-1710-1-2-0-1757276890.7z": { + "sha256": "94f6455a5888726bc8f9b621976e7e6ec37fdcc69c00f9201588213fa141cbed", + "bytes": 11173121, + "name": "Sentinel Sneak Attack-1710-1-2-0-1757276890.7z", + "info_hash": "bda42d20a19e8c346675b301505677c16f678eb8", + "magnet": "magnet:?xt=urn%3Abtih%3Abda42d20a19e8c346675b301505677c16f678eb8&dn=Sentinel+Sneak+Attack-1710-1-2-0-1757276890.7z" + }, + "{archives}/Sith Art-1632-1-1713373365.zip": { + "sha256": "d5a4625c467128f9465d02f7470d611027478eea68fb5fe24eb6e30838b2c5d2", + "bytes": 5397819, + "name": "Sith Art-1632-1-1713373365.zip", + "info_hash": "6730a85c57486e464f913bce62aa166ee2d7b744", + "magnet": "magnet:?xt=urn%3Abtih%3A6730a85c57486e464f913bce62aa166ee2d7b744&dn=Sith+Art-1632-1-1713373365.zip" + }, + "{archives}/Sneak Attack 10 Restoration.zip": { + "sha256": "8067c59b86c8f22a2a74a94938ed8829a2236856de60e01a9cecf3fa2dd7c596", + "bytes": 336885, + "name": "Sneak Attack 10 Restoration.zip", + "info_hash": "d5532838b64353e2042ae8b30d7df90a3632089b", + "magnet": "magnet:?xt=urn%3Abtih%3Ad5532838b64353e2042ae8b30d7df90a3632089b&dn=Sneak+Attack+10+Restoration.zip" + }, + "{archives}/Taris Rapid Transit FULL-1666-1-1-1727167081.rar": { + "sha256": "27fd874bca4479fac2f244fdc7d59e538757bf301e105f691dffbfbc20c09871", + "bytes": 2087151, + "name": "Taris Rapid Transit FULL-1666-1-1-1727167081.rar", + "info_hash": "6efe47fa3b03438c3ee4af5b9b3c3ceddee6ac37", + "magnet": "magnet:?xt=urn%3Abtih%3A6efe47fa3b03438c3ee4af5b9b3c3ceddee6ac37&dn=Taris+Rapid+Transit+FULL-1666-1-1-1727167081.rar" + }, + "{archives}/Taris Reskin Patch.7z": { + "sha256": "96eef8278b672ff2fe550c5b0c4981bd9f70509b2c34a9acd80e8d406ab4f7a0", + "bytes": 1127698, + "name": "Taris Reskin Patch.7z", + "info_hash": "8ea4f459fd52cda6949a44992b17b5140957b458", + "magnet": "magnet:?xt=urn%3Abtih%3A8ea4f459fd52cda6949a44992b17b5140957b458&dn=Taris+Reskin+Patch.7z" + }, + "{archives}/Taris_Reskin-10-1-0.zip": { + "sha256": "10b7632787e36921ea5111e22baf1c544a13b80d4769d860b13c396d9c0e17f5", + "bytes": 28108209, + "name": "Taris_Reskin-10-1-0.zip", + "info_hash": "8226e6a6ea803ac1a196ee3e26272e3cf0d524c8", + "magnet": "magnet:?xt=urn%3Abtih%3A8226e6a6ea803ac1a196ee3e26272e3cf0d524c8&dn=Taris_Reskin-10-1-0.zip" + }, + "{archives}/Thematic The One.7z": { + "sha256": "a86775163f673a7cdb16900b36e7b506c825e9eb2d3686c6b97e8a4d97a47853", + "bytes": 302715, + "name": "Thematic The One.7z", + "info_hash": "409f350af73f68a56a5740147c1a451bfebab201", + "magnet": "magnet:?xt=urn%3Abtih%3A409f350af73f68a56a5740147c1a451bfebab201&dn=Thematic+The+One.7z" + }, + "{archives}/Trask Ulgo Without Tutorials.7z": { + "sha256": "b9e4b5f4934594400cbc4873cbba12b78444174d5239b92f0049d746f31207cc", + "bytes": 453590, + "name": "Trask Ulgo Without Tutorials.7z", + "info_hash": "9c086c74fca27dc1a715a17b5196b33e1655a6a4", + "magnet": "magnet:?xt=urn%3Abtih%3A9c086c74fca27dc1a715a17b5196b33e1655a6a4&dn=Trask+Ulgo+Without+Tutorials.7z" + }, + "{archives}/Ultimate Character Overhaul -REDUX- ( LITE ) - TPC Version-1282-4-1-1628550322.rar": { + "sha256": "ed3034b682c07d8bf3056a3c3769aaa82dc6275926d48a5234b014c9ee8aced8", + "bytes": 329786108, + "name": "Ultimate Character Overhaul -REDUX- ( LITE ) - TPC Version-1282-4-1-1628550322.rar", + "info_hash": "5c24e95b6e59b2ce385d402b8bd6be5a6df4c22d", + "magnet": "magnet:?xt=urn%3Abtih%3A5c24e95b6e59b2ce385d402b8bd6be5a6df4c22d&dn=Ultimate+Character+Overhaul+-REDUX-+%28+LITE+%29+-+TPC+Version-1282-4-1-1628550322.rar" + }, + "{archives}/Ultimate Kashyyyk High Resolution - TPC Version-1365-1-2-1669476173.rar": { + "sha256": "3d53dc0c905f28043c500c74eaa814ffb8447ed4c7aeed38f8367d9b3115752b", + "bytes": 316045534, + "name": "Ultimate Kashyyyk High Resolution - TPC Version-1365-1-2-1669476173.rar", + "info_hash": "8a71f03d64fe71ada35d9c730a0b7aebf78492d1", + "magnet": "magnet:?xt=urn%3Abtih%3A8a71f03d64fe71ada35d9c730a0b7aebf78492d1&dn=Ultimate+Kashyyyk+High+Resolution+-+TPC+Version-1365-1-2-1669476173.rar" + }, + "{archives}/Ultimate Unknown World High Resolution - TPC Version-1369-1-2-1675865873.rar": { + "sha256": "85ddb679d923d72806b3b7085cc5ce33c9ae99f21705469fa25b27a4b80f9fac", + "bytes": 280988383, + "name": "Ultimate Unknown World High Resolution - TPC Version-1369-1-2-1675865873.rar", + "info_hash": "124eee7733cbcfe7213f49434b4d52f11eeeaa54", + "magnet": "magnet:?xt=urn%3Abtih%3A124eee7733cbcfe7213f49434b4d52f11eeeaa54&dn=Ultimate+Unknown+World+High+Resolution+-+TPC+Version-1369-1-2-1675865873.rar" + }, + "{archives}/WookieWarbladeFix-Redrob41.7z": { + "sha256": "e8be4a2386ad3f27ff594481e2d0544fb8b37ce18a395cd1a88e54cd8b7bb5e7", + "bytes": 13523, + "name": "WookieWarbladeFix-Redrob41.7z", + "info_hash": "f7c8edd4a1f333897ef607adc209025886847abe", + "magnet": "magnet:?xt=urn%3Abtih%3Af7c8edd4a1f333897ef607adc209025886847abe&dn=WookieWarbladeFix-Redrob41.7z" + }, + "{archives}/[K1] Repair Affects Stun Droid.zip": { + "sha256": "1f9df7fccc51a2031242605fddb99924698a68873827aa6ea6903ef57c6f5ff4", + "bytes": 351766, + "name": "[K1] Repair Affects Stun Droid.zip", + "info_hash": "fdcfccb59086e9847d28a7e9e71ee7e2df641918", + "magnet": "magnet:?xt=urn%3Abtih%3Afdcfccb59086e9847d28a7e9e71ee7e2df641918&dn=%5BK1%5D+Repair+Affects+Stun+Droid.zip" + }, + "{archives}/[K1]_All_Hands_on_Deck_for_the_Leviathan_Prison_Break.7z": { + "sha256": "e71a0fbad091c2e0a735927178777d2f7a538ff073de0a9d59706326f3ba8f12", + "bytes": 819917, + "name": "[K1]_All_Hands_on_Deck_for_the_Leviathan_Prison_Break.7z", + "info_hash": "503fa9942c71b7d41bdae87f9f280b37b5176a19", + "magnet": "magnet:?xt=urn%3Abtih%3A503fa9942c71b7d41bdae87f9f280b37b5176a19&dn=%5BK1%5D_All_Hands_on_Deck_for_the_Leviathan_Prison_Break.7z" + }, + "{archives}/[K1]_Control_Panel_For_Kashyyyk_Shadowlands_Forcefield_v1.1.7z": { + "sha256": "91606b147a991143bedb87af1566bfe678bacdc66c0cef8eb36ddc7e13ef9287", + "bytes": 490129, + "name": "[K1]_Control_Panel_For_Kashyyyk_Shadowlands_Forcefield_v1.1.7z", + "info_hash": "4b01a5616f50f6f9855bf7979d05c46e778e7f27", + "magnet": "magnet:?xt=urn%3Abtih%3A4b01a5616f50f6f9855bf7979d05c46e778e7f27&dn=%5BK1%5D_Control_Panel_For_Kashyyyk_Shadowlands_Forcefield_v1.1.7z" + }, + "{archives}/[K1]_Diversified_Wounded_Republic_Soldiers_On_Taris_v1.4.7z": { + "sha256": "263036b8b60ba8b14e45d3799fde77af862a6fd270298b88ad01c55f9d1fea35", + "bytes": 1684994, + "name": "[K1]_Diversified_Wounded_Republic_Soldiers_On_Taris_v1.4.7z", + "info_hash": "246723321c1719567bd763a0c4b6626299015e82", + "magnet": "magnet:?xt=urn%3Abtih%3A246723321c1719567bd763a0c4b6626299015e82&dn=%5BK1%5D_Diversified_Wounded_Republic_Soldiers_On_Taris_v1.4.7z" + }, + "{archives}/[K1]_Dodonna_s_Transmission_v1.1.rar": { + "sha256": "1f4e3a6123a5a2501c7746654777816d100533d269f204a51c52e62eefdd7ed4", + "bytes": 303455, + "name": "[K1]_Dodonna_s_Transmission_v1.1.rar", + "info_hash": "3b0aaf11f3f1da37d95a78ecaedd792a7e693192", + "magnet": "magnet:?xt=urn%3Abtih%3A3b0aaf11f3f1da37d95a78ecaedd792a7e693192&dn=%5BK1%5D_Dodonna_s_Transmission_v1.1.rar" + }, + "{archives}/[K1]_Legends_-_Elder_Droids_Unique_VO_v1.0.0.7z": { + "sha256": "e2ed0581b9d50553145c5427e04b5468b3f1675805b1215f4bcbf9fecf603be2", + "bytes": 383384, + "name": "[K1]_Legends_-_Elder_Droids_Unique_VO_v1.0.0.7z", + "info_hash": "b176d0fd2079d5f51c8531e30f8f490ce1609551", + "magnet": "magnet:?xt=urn%3Abtih%3Ab176d0fd2079d5f51c8531e30f8f490ce1609551&dn=%5BK1%5D_Legends_-_Elder_Droids_Unique_VO_v1.0.0.7z" + }, + "{archives}/[K1]_Legends_Ajunta_Pall_s_Blade_v1.0.2b.7z": { + "sha256": "feed2380e867a1dee546ad0a89133af6fca079c559ebb4cf59e6b25c86c7acde", + "bytes": 2544714, + "name": "[K1]_Legends_Ajunta_Pall_s_Blade_v1.0.2b.7z", + "info_hash": "feb630a62536e44f643774067cd1f9eb33eb58f0", + "magnet": "magnet:?xt=urn%3Abtih%3Afeb630a62536e44f643774067cd1f9eb33eb58f0&dn=%5BK1%5D_Legends_Ajunta_Pall_s_Blade_v1.0.2b.7z" + }, + "{archives}/[K1]_Movie-Style_Holograms_For_Twisted_Rancor_Trio_Puzzle.7z": { + "sha256": "3291ed85da5f6d048c70385f2139e9be0185f103520c5bb04608aef98bce5906", + "bytes": 1159124, + "name": "[K1]_Movie-Style_Holograms_For_Twisted_Rancor_Trio_Puzzle.7z", + "info_hash": "3cadd44e2d4bb2d6cc3a22ac3043fb897d13f3b1", + "magnet": "magnet:?xt=urn%3Abtih%3A3cadd44e2d4bb2d6cc3a22ac3043fb897d13f3b1&dn=%5BK1%5D_Movie-Style_Holograms_For_Twisted_Rancor_Trio_Puzzle.7z" + }, + "{archives}/[K1]_Movie-Style_Holograms_for_End_Game_Cutscenes_v1.1.7z": { + "sha256": "85b6087bb5c8eb58c40967215fffc72e05009deba7b7d139bbe0f045552ee84a", + "bytes": 1726568, + "name": "[K1]_Movie-Style_Holograms_for_End_Game_Cutscenes_v1.1.7z", + "info_hash": "8d5099fc5515547697214149a0cfb7273a264031", + "magnet": "magnet:?xt=urn%3Abtih%3A8d5099fc5515547697214149a0cfb7273a264031&dn=%5BK1%5D_Movie-Style_Holograms_for_End_Game_Cutscenes_v1.1.7z" + }, + "{archives}/[K1]_Movie-Style_Rakatan_Holograms_v1.2.1.7z": { + "sha256": "f0c7a6371e8d999ad5f353c7993dd6c53977a644047e2fd349455dd34e7e83b5", + "bytes": 1728348, + "name": "[K1]_Movie-Style_Rakatan_Holograms_v1.2.1.7z", + "info_hash": "fb1b59c11a8485d9f234315dd3ff1b3a4f502029", + "magnet": "magnet:?xt=urn%3Abtih%3Afb1b59c11a8485d9f234315dd3ff1b3a4f502029&dn=%5BK1%5D_Movie-Style_Rakatan_Holograms_v1.2.1.7z" + }, + "{archives}/[K1]_Player_Head_PFHB02_DS_Transition_Eye_Fix.7z": { + "sha256": "b2fe1bba724f8bd90159cf7f8a9bd73302d059a52532f154478f4ad50bc49354", + "bytes": 2400946, + "name": "[K1]_Player_Head_PFHB02_DS_Transition_Eye_Fix.7z", + "info_hash": "7b88fa05441d3fba075199805d09141a7d0e8aff", + "magnet": "magnet:?xt=urn%3Abtih%3A7b88fa05441d3fba075199805d09141a7d0e8aff&dn=%5BK1%5D_Player_Head_PFHB02_DS_Transition_Eye_Fix.7z" + }, + "{archives}/[K1]_Republic_Soldier_s_New_Shade_v1.1.1.7z": { + "sha256": "05ec51500ff2506cf79e66232d14bac04149d74a46d02c4026b47b6cbf42f668", + "bytes": 1233344, + "name": "[K1]_Republic_Soldier_s_New_Shade_v1.1.1.7z", + "info_hash": "c13cbe3a35d755e7d93daf74037f063b96407962", + "magnet": "magnet:?xt=urn%3Abtih%3Ac13cbe3a35d755e7d93daf74037f063b96407962&dn=%5BK1%5D_Republic_Soldier_s_New_Shade_v1.1.1.7z" + }, + "{archives}/[K1]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z": { + "sha256": "e28dd8e789dec84a3553802680ecf3531b471a63759a191f71b13bab5d5e0c29", + "bytes": 684734, + "name": "[K1]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z", + "info_hash": "43a804495d0dc115e7b99f300a16b05b6b2def21", + "magnet": "magnet:?xt=urn%3Abtih%3A43a804495d0dc115e7b99f300a16b05b6b2def21&dn=%5BK1%5D_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z" + }, + "{archives}/[K1]_Trandoshans_Rescale.7z": { + "sha256": "c9c228493778a1c27e0c10d936ccd8b5fc8c8e4fede0eda7a259cb1cda8d68f0", + "bytes": 389366, + "name": "[K1]_Trandoshans_Rescale.7z", + "info_hash": "dcc12e186bf3717d6590c45a04cece5afcd10b6d", + "magnet": "magnet:?xt=urn%3Abtih%3Adcc12e186bf3717d6590c45a04cece5afcd10b6d&dn=%5BK1%5D_Trandoshans_Rescale.7z" + }, + "{archives}/[K1]_UWTMF_Missing_Lamps_Fix_v1.0.0.7z": { + "sha256": "bd543b8b58286a81bf57c8a327ff41951630b9169ffa58820db0aac69334a72a", + "bytes": 474576, + "name": "[K1]_UWTMF_Missing_Lamps_Fix_v1.0.0.7z", + "info_hash": "3470d29cea04d762e4d941d0db16dd9fe4c9ccb3", + "magnet": "magnet:?xt=urn%3Abtih%3A3470d29cea04d762e4d941d0db16dd9fe4c9ccb3&dn=%5BK1%5D_UWTMF_Missing_Lamps_Fix_v1.0.0.7z" + }, + "{archives}/[K1]_Vulkar_Accel_Bench_v1.0.1.7z": { + "sha256": "851152f160b242337a03e5b93a8845476477b7f3a7b576b7af4da2a52e593891", + "bytes": 468998, + "name": "[K1]_Vulkar_Accel_Bench_v1.0.1.7z", + "info_hash": "b8b746fdf92c6c015455e8e4fa3c93975fee0110", + "magnet": "magnet:?xt=urn%3Abtih%3Ab8b746fdf92c6c015455e8e4fa3c93975fee0110&dn=%5BK1%5D_Vulkar_Accel_Bench_v1.0.1.7z" + }, + "{archives}/[KotOR] Swoop Bike Upgrades 1.1.7z": { + "sha256": "f6111e02c24ffed221e14dec51aa2d50dfc4e0c614550681456aed1dba57a2bb", + "bytes": 389583, + "name": "[KotOR] Swoop Bike Upgrades 1.1.7z", + "info_hash": "d7bb8a690c8c86c50944ac380aee302063630809", + "magnet": "magnet:?xt=urn%3Abtih%3Ad7bb8a690c8c86c50944ac380aee302063630809&dn=%5BKotOR%5D+Swoop+Bike+Upgrades+1.1.7z" + }, + "{archives}/ajunta_pall_unique_appearance_1.1.rar": { + "sha256": "6f3abbfdbf18719905cac6042685541b2bb4b17dd77ad042266bd99efa2466cd", + "bytes": 1654204, + "name": "ajunta_pall_unique_appearance_1.1.rar", + "info_hash": "8ee888fc34e43542edf1a4f45c37282e0de97ea5", + "magnet": "magnet:?xt=urn%3Abtih%3A8ee888fc34e43542edf1a4f45c37282e0de97ea5&dn=ajunta_pall_unique_appearance_1.1.rar" + }, + "{archives}/di_kaw2.7z": { + "sha256": "12eb3a564ac3e4d3aa02811666fa7b9731ceb93624e1e46694f91b455e2fa795", + "bytes": 22539, + "name": "di_kaw2.7z", + "info_hash": "dd02e5dac0304a96bc175f62f428068f5dcc8b2e", + "magnet": "magnet:?xt=urn%3Abtih%3Add02e5dac0304a96bc175f62f428068f5dcc8b2e&dn=di_kaw2.7z" + }, + "{archives}/ebon_hawk_camera.zip": { + "sha256": "536e2d2a40ef2dd65bd0c7335bafbe1a37b536fc9204aed94af9ac15a8ea43ec", + "bytes": 1821, + "name": "ebon_hawk_camera.zip", + "info_hash": "566a03860406a16c1fa4751ca28b46efc9f30cfc", + "magnet": "magnet:?xt=urn%3Abtih%3A566a03860406a16c1fa4751ca28b46efc9f30cfc&dn=ebon_hawk_camera.zip" + }, + "{archives}/hp_grenades-0-4-1209-0-4-1547556830.zip": { + "sha256": "55b6ac6d744ce5faccbdaa6ef9f82955a8202294dcd9cbd6dd36c1dc6c8f7558", + "bytes": 687827, + "name": "hp_grenades-0-4-1209-0-4-1547556830.zip", + "info_hash": "04a768680f4ff3a92d45be35469aaa2aa0b797f2", + "magnet": "magnet:?xt=urn%3Abtih%3A04a768680f4ff3a92d45be35469aaa2aa0b797f2&dn=hp_grenades-0-4-1209-0-4-1547556830.zip" + }, + "{archives}/juhaniCathar_head.zip": { + "sha256": "d796a7a1c9e2e71e11495c8f395731cfd9ecf7cb1de656f66148a45d1b87788f", + "bytes": 187119, + "name": "juhaniCathar_head.zip", + "info_hash": "03d7d0e9373b60f9ba2c53a4274d5245bdc04ed7", + "magnet": "magnet:?xt=urn%3Abtih%3A03d7d0e9373b60f9ba2c53a4274d5245bdc04ed7&dn=juhaniCathar_head.zip" + }, + "{archives}/saberthrow_kd.zip": { + "sha256": "49102336c67b81f538df5f0186585392c5f879db57c62d87e24cfe8411a5dbef", + "bytes": 356643, + "name": "saberthrow_kd.zip", + "info_hash": "2dba1d5fce85c9f9e4b84f19bbd723f0106cb807", + "magnet": "magnet:?xt=urn%3Abtih%3A2dba1d5fce85c9f9e4b84f19bbd723f0106cb807&dn=saberthrow_kd.zip" + }, + "{archives}/sherruksabers.7z": { + "sha256": "30a1e58d2eadfac4b510674a322ddf0940a7a776b1931c349b6bad837842cb03", + "bytes": 683581, + "name": "sherruksabers.7z", + "info_hash": "820c54d771202acb4f439e02ca5162e08d764379", + "magnet": "magnet:?xt=urn%3Abtih%3A820c54d771202acb4f439e02ca5162e08d764379&dn=sherruksabers.7z" + }, + "{archives}/tar02_duelorg021.dlg": { + "sha256": "6ebb0b909c4ac7496971e3cc1320ce14b04fc67aec167f0feeb0e332181aff57", + "bytes": 65442, + "name": "tar02_duelorg021.dlg", + "info_hash": "b761741ee511b6f746c460d22ca3bba0fddf8f0f", + "magnet": "magnet:?xt=urn%3Abtih%3Ab761741ee511b6f746c460d22ca3bba0fddf8f0f&dn=tar02_duelorg021.dlg" + }, + "{archives}/visual_effects_k1.7z": { + "sha256": "2aa9df4b10d608b100d86c89bd0de9ddfe05be9c95e2558ad326f239791c3043", + "bytes": 247446, + "name": "visual_effects_k1.7z", + "info_hash": "9a7025342398b25d37674e604c012804b81b02b2", + "magnet": "magnet:?xt=urn%3Abtih%3A9a7025342398b25d37674e604c012804b81b02b2&dn=visual_effects_k1.7z" + }, + "{archives}/vurt_k1_eh_retexture_v10.rar": { + "sha256": "5ce6fd700ffd6174ee69dd92495a9df6889141b2c5f0541e1ac84a8fd6e8c96e", + "bytes": 94724263, + "name": "vurt_k1_eh_retexture_v10.rar", + "info_hash": "5222cfb80ab0df47e6eb1e30af3ac85c3589c238", + "magnet": "magnet:?xt=urn%3Abtih%3A5222cfb80ab0df47e6eb1e30af3ac85c3589c238&dn=vurt_k1_eh_retexture_v10.rar" + } + } } diff --git a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json index 6ca2b732..6f1545dc 100644 --- a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json +++ b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json @@ -1,5 +1,601 @@ { "schema": 1, "piece_length": 2097152, - "archives": {} + "archives": { + "{archives}/Alignment_Affects_Force_Powers_TSL_v101.zip": { + "sha256": "cd140d856ca5f6835985beeab84e3276c16fb57cc7033fcb9ee9fc215e8fbda5", + "bytes": 575065, + "name": "Alignment_Affects_Force_Powers_TSL_v101.zip", + "info_hash": "a95d7de90b39da55d285b33b2c262b10fe8a1eeb", + "magnet": "magnet:?xt=urn%3Abtih%3Aa95d7de90b39da55d285b33b2c262b10fe8a1eeb&dn=Alignment_Affects_Force_Powers_TSL_v101.zip" + }, + "{archives}/AtrisHolocron.7z": { + "sha256": "af911024285b5e734c43ae4653dd14babdc1bb9878f957b02191033c55f7ff2c", + "bytes": 923581, + "name": "AtrisHolocron.7z", + "info_hash": "810edfe48eb3bfea4e40606b4d589aaa321549d0", + "magnet": "magnet:?xt=urn%3Abtih%3A810edfe48eb3bfea4e40606b4d589aaa321549d0&dn=AtrisHolocron.7z" + }, + "{archives}/Balance Tweak Pack 1.1.rar": { + "sha256": "c4c8febde4a963a345a80cf70b0e134995ffc312fc8018748509eceaa7e61fdc", + "bytes": 1452216, + "name": "Balance Tweak Pack 1.1.rar", + "info_hash": "a8a54d3eb3650c8c4aef2259027ee71d89feee40", + "magnet": "magnet:?xt=urn%3Abtih%3Aa8a54d3eb3650c8c4aef2259027ee71d89feee40&dn=Balance+Tweak+Pack+1.1.rar" + }, + "{archives}/Bao-Dur - Darth Maul.rar": { + "sha256": "9cca538860c7ff1861c9473ef07b26275278d0b8ca39c907ee0a674297b6eac8", + "bytes": 2010455, + "name": "Bao-Dur - Darth Maul.rar", + "info_hash": "3d8c9748dfa8592decfe65463788091a22761931", + "magnet": "magnet:?xt=urn%3Abtih%3A3d8c9748dfa8592decfe65463788091a22761931&dn=Bao-Dur+-+Darth+Maul.rar" + }, + "{archives}/Bao-Dur_Can_Wear_Heavy_Armor.zip": { + "sha256": "ade6ec5adb97903725048c0faa724206c9dfdf63c35bf5f45ec7029d722f05f8", + "bytes": 1032467, + "name": "Bao-Dur_Can_Wear_Heavy_Armor.zip", + "info_hash": "af991b2780a2b7bca2182f52979725d30f6a5d26", + "magnet": "magnet:?xt=urn%3Abtih%3Aaf991b2780a2b7bca2182f52979725d30f6a5d26&dn=Bao-Dur_Can_Wear_Heavy_Armor.zip" + }, + "{archives}/Better Disciple Meditation.zip": { + "sha256": "abdc7157ce333f841c5fb275c01a237c34c64f3bad3a07446a7cd1ec1f8bad73", + "bytes": 532304, + "name": "Better Disciple Meditation.zip", + "info_hash": "4ce26a8f2202fed0215e17379ad003ef7fbfb66e", + "magnet": "magnet:?xt=urn%3Abtih%3A4ce26a8f2202fed0215e17379ad003ef7fbfb66e&dn=Better+Disciple+Meditation.zip" + }, + "{archives}/CK-Classic Class Attack Bonus.zip": { + "sha256": "a37f98d5e91262a74d728b786769d6934f7257fa55f9c81f442ac1da0a351e56", + "bytes": 333804, + "name": "CK-Classic Class Attack Bonus.zip", + "info_hash": "46c08c46b14b8eb2cee667bb175ed81214b82fec", + "magnet": "magnet:?xt=urn%3Abtih%3A46c08c46b14b8eb2cee667bb175ed81214b82fec&dn=CK-Classic+Class+Attack+Bonus.zip" + }, + "{archives}/CK-Red floating lightsabers.zip": { + "sha256": "418547ac2d5fbf691553a9920f44ca05ea174df782a15ac7eb312f6e5c427233", + "bytes": 5293, + "name": "CK-Red floating lightsabers.zip", + "info_hash": "428637c39be60c571fc9a8151871056fc8a1c524", + "magnet": "magnet:?xt=urn%3Abtih%3A428637c39be60c571fc9a8151871056fc8a1c524&dn=CK-Red+floating+lightsabers.zip" + }, + "{archives}/Canonical Jedi Exile - Compatibility Patch-1060-3-0-1629717058.rar": { + "sha256": "25cf282dfb28ffdf1255008595d5feaa11683b3250d3d99e6e7e69dbe7553f33", + "bytes": 11265701, + "name": "Canonical Jedi Exile - Compatibility Patch-1060-3-0-1629717058.rar", + "info_hash": "ab2ef5fff6fd9a3b692fe2b0d6eacd1026b42039", + "magnet": "magnet:?xt=urn%3Abtih%3Aab2ef5fff6fd9a3b692fe2b0d6eacd1026b42039&dn=Canonical+Jedi+Exile+-+Compatibility+Patch-1060-3-0-1629717058.rar" + }, + "{archives}/Canonical Jedi Exile 1.2.rar": { + "sha256": "8ae10c86dba2cd947d864ab42b7331db5379f23c9851093b9fed259a69c37b9d", + "bytes": 578507, + "name": "Canonical Jedi Exile 1.2.rar", + "info_hash": "3d17550bbf99d5ae32540368c223e3c8184ba395", + "magnet": "magnet:?xt=urn%3Abtih%3A3d17550bbf99d5ae32540368c223e3c8184ba395&dn=Canonical+Jedi+Exile+1.2.rar" + }, + "{archives}/Choose Mira or Hanharr.rar": { + "sha256": "496e85c5e7da18906ea100dfafb6b8172ee7364103d5c864770778077bd998f3", + "bytes": 7462, + "name": "Choose Mira or Hanharr.rar", + "info_hash": "a000c308f13c6a96b5a2cdc4995c28ebf05f6c9f", + "magnet": "magnet:?xt=urn%3Abtih%3Aa000c308f13c6a96b5a2cdc4995c28ebf05f6c9f&dn=Choose+Mira+or+Hanharr.rar" + }, + "{archives}/DI_HRBM_2.7z": { + "sha256": "c809672ec443216194061c7958664b47c2210f5abc63d1a59cd49d700f695991", + "bytes": 550147, + "name": "DI_HRBM_2.7z", + "info_hash": "1f417870666e311e10404d6027329cbfabe7f6ac", + "magnet": "magnet:?xt=urn%3Abtih%3A1f417870666e311e10404d6027329cbfabe7f6ac&dn=DI_HRBM_2.7z" + }, + "{archives}/DXN_Cl02.rar": { + "sha256": "ef5d044a113affff731145cd6bb455cf8a20fb71667716a734bf80c5faa82c55", + "bytes": 8367, + "name": "DXN_Cl02.rar", + "info_hash": "43b45f22cade5b13b61ef13b160942b1a1836433", + "magnet": "magnet:?xt=urn%3Abtih%3A43b45f22cade5b13b61ef13b160942b1a1836433&dn=DXN_Cl02.rar" + }, + "{archives}/Door Mural-1632-1-0-1713374023.zip": { + "sha256": "7add8cda2320f0bf5e0e6bbc6739a5c59fb68083429c93e59f8f2f49f32df1d9", + "bytes": 17869526, + "name": "Door Mural-1632-1-0-1713374023.zip", + "info_hash": "2ca9ddb7617445f3416812cb0a57e7769c080267", + "magnet": "magnet:?xt=urn%3Abtih%3A2ca9ddb7617445f3416812cb0a57e7769c080267&dn=Door+Mural-1632-1-0-1713374023.zip" + }, + "{archives}/Droid animations fix.rar": { + "sha256": "3953b486e5bd959d4a89d3aabfc437437bc7f4bf983a32f039389efcaf56cf86", + "bytes": 2909689, + "name": "Droid animations fix.rar", + "info_hash": "14a348b4bd34de981dbcac14b657a31b1df3540d", + "magnet": "magnet:?xt=urn%3Abtih%3A14a348b4bd34de981dbcac14b657a31b1df3540d&dn=Droid+animations+fix.rar" + }, + "{archives}/Droid special weapons fix for TSL v2.0.7z": { + "sha256": "fd3d701877be0b1b5bceb1cf549f459742621abe950f94897a0226d18af4193b", + "bytes": 382430, + "name": "Droid special weapons fix for TSL v2.0.7z", + "info_hash": "f9801829a480b18221c672cded6f03fdb7c2c0d0", + "magnet": "magnet:?xt=urn%3Abtih%3Af9801829a480b18221c672cded6f03fdb7c2c0d0&dn=Droid+special+weapons+fix+for+TSL+v2.0.7z" + }, + "{archives}/Duros Patch.zip": { + "sha256": "2103a6c6fc5d165a0358c8e40685026b54915d3b04c038848bd4bbdd72989905", + "bytes": 195914, + "name": "Duros Patch.zip", + "info_hash": "66299fabae8b1291930d02b3739c25199ab8f1e2", + "magnet": "magnet:?xt=urn%3Abtih%3A66299fabae8b1291930d02b3739c25199ab8f1e2&dn=Duros+Patch.zip" + }, + "{archives}/Extended Korriban Arrival 1.2.rar": { + "sha256": "2fabe48a3ba1e87e0643af3dba9ba17b505b5e79a00363d9cf0dd8b44d0ab694", + "bytes": 314636, + "name": "Extended Korriban Arrival 1.2.rar", + "info_hash": "d62628792c22a2266f41d10823c2c55b0da88db5", + "magnet": "magnet:?xt=urn%3Abtih%3Ad62628792c22a2266f41d10823c2c55b0da88db5&dn=Extended+Korriban+Arrival+1.2.rar" + }, + "{archives}/FS_Fit_Handmaiden Patch.rar": { + "sha256": "dc294dbdfbdf83718fd720a84ebab27a8804f075ce41723faacf2ea57d52b03b", + "bytes": 204038, + "name": "FS_Fit_Handmaiden Patch.rar", + "info_hash": "875daac3741c3f148a4f4387f2aec31b3d660775", + "magnet": "magnet:?xt=urn%3Abtih%3A875daac3741c3f148a4f4387f2aec31b3d660775&dn=FS_Fit_Handmaiden+Patch.rar" + }, + "{archives}/FS_Fit_Handmaiden.7z": { + "sha256": "71b8e0d8d563ebcba0b5a02b5613afc8a5f8cf05f9bd4860a100496fa67a55cd", + "bytes": 1030339, + "name": "FS_Fit_Handmaiden.7z", + "info_hash": "3fe380dcbed745cc1267459eee8da576a3c9e1db", + "magnet": "magnet:?xt=urn%3Abtih%3A3fe380dcbed745cc1267459eee8da576a3c9e1db&dn=FS_Fit_Handmaiden.7z" + }, + "{archives}/FTL Hyperspace Loop-1161-1-1-1647298435.rar": { + "sha256": "b83a07ff94e3b363149a831a82c37b6cf2891689c2f1bd04665b6e00b31ba754", + "bytes": 807420, + "name": "FTL Hyperspace Loop-1161-1-1-1647298435.rar", + "info_hash": "1d4a01a2176617997df98e91c32a01cf307b6021", + "magnet": "magnet:?xt=urn%3Abtih%3A1d4a01a2176617997df98e91c32a01cf307b6021&dn=FTL+Hyperspace+Loop-1161-1-1-1647298435.rar" + }, + "{archives}/Fixed Hologram Models and Admiralty Redux - Compatibility Patch-1060-3-0-1629717121.rar": { + "sha256": "6d781cd15eeceae1d87ff7cbfb0bdd8a99f2cd90123bde81ccca02f1d064ee8e", + "bytes": 10588354, + "name": "Fixed Hologram Models and Admiralty Redux - Compatibility Patch-1060-3-0-1629717121.rar", + "info_hash": "d0a183dfd16d771f5e56b303305920e6888dd7bc", + "magnet": "magnet:?xt=urn%3Abtih%3Ad0a183dfd16d771f5e56b303305920e6888dd7bc&dn=Fixed+Hologram+Models+and+Admiralty+Redux+-+Compatibility+Patch-1060-3-0-1629717121.rar" + }, + "{archives}/Fixed_Czerka_Salvager.zip": { + "sha256": "5fdcdcfeae8ef1187c42b8ec336a2e260ea510aec02d49fd050a5948b9655953", + "bytes": 351508, + "name": "Fixed_Czerka_Salvager.zip", + "info_hash": "71e7cb0c45903bb7abd10556c68546208c3423bb", + "magnet": "magnet:?xt=urn%3Abtih%3A71e7cb0c45903bb7abd10556c68546208c3423bb&dn=Fixed_Czerka_Salvager.zip" + }, + "{archives}/Harbinger_Arrival_Enhancement_for_TSLRCM_v1.1.7z": { + "sha256": "58fc3627b42a12e09b0b03e59fa89e34e3ad9fd214dd4f36f3af473a5b1f6dbb", + "bytes": 1940514, + "name": "Harbinger_Arrival_Enhancement_for_TSLRCM_v1.1.7z", + "info_hash": "cfa782440addf4025738449d5b02db7494b5dc1a", + "magnet": "magnet:?xt=urn%3Abtih%3Acfa782440addf4025738449d5b02db7494b5dc1a&dn=Harbinger_Arrival_Enhancement_for_TSLRCM_v1.1.7z" + }, + "{archives}/Improved Enlightenment and Corruption Feats.zip": { + "sha256": "0c6db43f218d6d5bf73b1be8e3f7dc469254f3168920b6af6fa8513313617597", + "bytes": 8802, + "name": "Improved Enlightenment and Corruption Feats.zip", + "info_hash": "43523f3938110faad371aa4f8361398526cf4b0b", + "magnet": "magnet:?xt=urn%3Abtih%3A43523f3938110faad371aa4f8361398526cf4b0b&dn=Improved+Enlightenment+and+Corruption+Feats.zip" + }, + "{archives}/Improved Peragus Asteroid Fields v1.2.zip": { + "sha256": "d0c5200784fab252b048b82fdff6e011afd3af132f10bb6bbc27015132eb53ce", + "bytes": 1076830, + "name": "Improved Peragus Asteroid Fields v1.2.zip", + "info_hash": "577197d6cdcc4744ac24d0619edf26b93f7b4edd", + "magnet": "magnet:?xt=urn%3Abtih%3A577197d6cdcc4744ac24d0619edf26b93f7b4edd&dn=Improved+Peragus+Asteroid+Fields+v1.2.zip" + }, + "{archives}/JC_s Blaster Visual Effects for K2.zip": { + "sha256": "81cc75ca1099aacaa19f705f2c50b7313718cb6f93fbf4759d3372149fb0b880", + "bytes": 244296, + "name": "JC_s Blaster Visual Effects for K2.zip", + "info_hash": "70c95ade3d3bbbf17e5709060e0bdf42e19e6ab8", + "magnet": "magnet:?xt=urn%3Abtih%3A70c95ade3d3bbbf17e5709060e0bdf42e19e6ab8&dn=JC_s+Blaster+Visual+Effects+for+K2.zip" + }, + "{archives}/JC_s Lightsaber Visual Effects for K2 v1.5.zip": { + "sha256": "c863eebb4bd0ebcf03e556de10c33a105bf2608e1be9b46912fa9791ae3a2229", + "bytes": 2275955, + "name": "JC_s Lightsaber Visual Effects for K2 v1.5.zip", + "info_hash": "35f544e2e416e9f91d6f4e1aa5d5aa8393ffcf91", + "magnet": "magnet:?xt=urn%3Abtih%3A35f544e2e416e9f91d6f4e1aa5d5aa8393ffcf91&dn=JC_s+Lightsaber+Visual+Effects+for+K2+v1.5.zip" + }, + "{archives}/JC_s Minor Fixes - Compatibility Patch-1060-3-0-1629717168.rar": { + "sha256": "514c51b56e784b09d26c93e85b669daef1af34b0e479ffc0749ae99999676ed9", + "bytes": 33480956, + "name": "JC_s Minor Fixes - Compatibility Patch-1060-3-0-1629717168.rar", + "info_hash": "dec6d8c28b59332948d315a0bf6b41e9c6ad1302", + "magnet": "magnet:?xt=urn%3Abtih%3Adec6d8c28b59332948d315a0bf6b41e9c6ad1302&dn=JC_s+Minor+Fixes+-+Compatibility+Patch-1060-3-0-1629717168.rar" + }, + "{archives}/K2 Companion Starting Armors 1.1.zip": { + "sha256": "782bd218cb37ce5313e0ada4f86a9099475bb40913a9a3bc3a063e31323d03c4", + "bytes": 367758, + "name": "K2 Companion Starting Armors 1.1.zip", + "info_hash": "9aeb0a7ab41b831f2f9f3bf0f381a41d350b9e5e", + "magnet": "magnet:?xt=urn%3Abtih%3A9aeb0a7ab41b831f2f9f3bf0f381a41d350b9e5e&dn=K2+Companion+Starting+Armors+1.1.zip" + }, + "{archives}/KOTOR 2 Community Patch - Compatibility Patch-1060-3-0-1629717259.rar": { + "sha256": "1110b6879a1a69103e8a56d944db5ccb650c149cbfc634b33e5c05203469e4f6", + "bytes": 275630105, + "name": "KOTOR 2 Community Patch - Compatibility Patch-1060-3-0-1629717259.rar", + "info_hash": "0685e72b4a503126bf4072d8d17063da8b08ad85", + "magnet": "magnet:?xt=urn%3Abtih%3A0685e72b4a503126bf4072d8d17063da8b08ad85&dn=KOTOR+2+Community+Patch+-+Compatibility+Patch-1060-3-0-1629717259.rar" + }, + "{archives}/KOTOR2-Citadel-Station-Backdrop_v2.0.0_4k.zip": { + "sha256": "ddaae12569dd7cf29d9097f7ff15a773b55cb2b80237b01310b27bc49c4dccbd", + "bytes": 2887658, + "name": "KOTOR2-Citadel-Station-Backdrop_v2.0.0_4k.zip", + "info_hash": "b3e8f419a07b7b2ddb80f7e49bc360b35e07eae7", + "magnet": "magnet:?xt=urn%3Abtih%3Ab3e8f419a07b7b2ddb80f7e49bc360b35e07eae7&dn=KOTOR2-Citadel-Station-Backdrop_v2.0.0_4k.zip" + }, + "{archives}/KOTOR2-Crystal-Attunement_v2.0.5.zip": { + "sha256": "0e2b4852a0c07e4b7a4a4f4aaee74b3fc90ac8b2ada8853cf508fff0c32c279f", + "bytes": 981732, + "name": "KOTOR2-Crystal-Attunement_v2.0.5.zip", + "info_hash": "b53fad3d183e415f6bd939d0e82c15a1792498ca", + "magnet": "magnet:?xt=urn%3Abtih%3Ab53fad3d183e415f6bd939d0e82c15a1792498ca&dn=KOTOR2-Crystal-Attunement_v2.0.5.zip" + }, + "{archives}/KOTOR2-Handmaiden-Sisters_v3.0.0.zip": { + "sha256": "e42dbe037582156058fc3ab1e539aae6d1887f95a391ec3abe4dd21ea3cd5cf9", + "bytes": 1703874, + "name": "KOTOR2-Handmaiden-Sisters_v3.0.0.zip", + "info_hash": "24abb88bea76c07bf412dbd46d5f90012f0f18ad", + "magnet": "magnet:?xt=urn%3Abtih%3A24abb88bea76c07bf412dbd46d5f90012f0f18ad&dn=KOTOR2-Handmaiden-Sisters_v3.0.0.zip" + }, + "{archives}/KOTOR2-TOMB_v1.0.3.zip": { + "sha256": "fd7348b11ae5a3214e9e56add63a285d9396bfeeb6cad1ee1e850d0731dcdaa4", + "bytes": 750410, + "name": "KOTOR2-TOMB_v1.0.3.zip", + "info_hash": "91363049322a69b5ea22bed36c91a319508d752b", + "magnet": "magnet:?xt=urn%3Abtih%3A91363049322a69b5ea22bed36c91a319508d752b&dn=KOTOR2-TOMB_v1.0.3.zip" + }, + "{archives}/KOTOR2-Thematic-Companions_v1.0.3.zip": { + "sha256": "3bd5f2077cde31793882119d7d498acdf4db4877ff499e994bebba660304d226", + "bytes": 375947, + "name": "KOTOR2-Thematic-Companions_v1.0.3.zip", + "info_hash": "e405c248114a7a8159398d074f18f2e78f1a78b0", + "magnet": "magnet:?xt=urn%3Abtih%3Ae405c248114a7a8159398d074f18f2e78f1a78b0&dn=KOTOR2-Thematic-Companions_v1.0.3.zip" + }, + "{archives}/KOTOR2-Thematic-Jedi-Masters_v1.0.1.zip": { + "sha256": "61adba64bbc1783e06565e324213a4f022a55126a5e409444a5bf4ad5d5c6930", + "bytes": 399797, + "name": "KOTOR2-Thematic-Jedi-Masters_v1.0.1.zip", + "info_hash": "f40e2068cb009461adbaac1e323454ef4af29fe4", + "magnet": "magnet:?xt=urn%3Abtih%3Af40e2068cb009461adbaac1e323454ef4af29fe4&dn=KOTOR2-Thematic-Jedi-Masters_v1.0.1.zip" + }, + "{archives}/Kill The Ithorian 1.1.zip": { + "sha256": "27357c5929795e9286e8e5ad27384f0c6dfdac0b60db1d52f104393be60b61e3", + "bytes": 6930, + "name": "Kill The Ithorian 1.1.zip", + "info_hash": "1ebe3f2a6ab2ae12355d1504c82fb617244be188", + "magnet": "magnet:?xt=urn%3Abtih%3A1ebe3f2a6ab2ae12355d1504c82fb617244be188&dn=Kill+The+Ithorian+1.1.zip" + }, + "{archives}/Kinrath Egg Bash Crystal Drop V0.9.rar": { + "sha256": "79778364ea1ef91252909ce47bd1c409c2a994bffd5b1998f7f3f2a53ec92634", + "bytes": 2426, + "name": "Kinrath Egg Bash Crystal Drop V0.9.rar", + "info_hash": "95e9fc969f1108e04f16f15cbd0536836c3e577e", + "magnet": "magnet:?xt=urn%3Abtih%3A95e9fc969f1108e04f16f15cbd0536836c3e577e&dn=Kinrath+Egg+Bash+Crystal+Drop+V0.9.rar" + }, + "{archives}/Kiosk HD 15.03.2024.rar": { + "sha256": "e77a881d231baef41543c45af30eca72d8c05f58359fa88b238c8bc92fa561c4", + "bytes": 2157170, + "name": "Kiosk HD 15.03.2024.rar", + "info_hash": "d3c4ca0aaccdb724ebec14d76ae0f1c68c457cef", + "magnet": "magnet:?xt=urn%3Abtih%3Ad3c4ca0aaccdb724ebec14d76ae0f1c68c457cef&dn=Kiosk+HD+15.03.2024.rar" + }, + "{archives}/Kiosk Model Fix K2.7z": { + "sha256": "bb62d4d973781db25bc562d1bb769e6eb1219c71ee463fb10589ed143893c73e", + "bytes": 14573, + "name": "Kiosk Model Fix K2.7z", + "info_hash": "50efa8762979d7fc5b2b76a30524f593a7768f4d", + "magnet": "magnet:?xt=urn%3Abtih%3A50efa8762979d7fc5b2b76a30524f593a7768f4d&dn=Kiosk+Model+Fix+K2.7z" + }, + "{archives}/KreiasLightsaberLongSword_v1.1.zip": { + "sha256": "c46ab8c8bfa6fc183839949a063179263614e8721932f72ed626974619dc1b29", + "bytes": 514464, + "name": "KreiasLightsaberLongSword_v1.1.zip", + "info_hash": "4d8124a938785ab895bc4c49d14cd9f5d2445be5", + "magnet": "magnet:?xt=urn%3Abtih%3A4d8124a938785ab895bc4c49d14cd9f5d2445be5&dn=KreiasLightsaberLongSword_v1.1.zip" + }, + "{archives}/Maintenance_Officer_New_Dead_Ver1.2.zip": { + "sha256": "2dbdc868cc003be8512b636f29615f537d027b9958ab1f19b26cec2eac368ce4", + "bytes": 735386, + "name": "Maintenance_Officer_New_Dead_Ver1.2.zip", + "info_hash": "ace0948afc3a327be2ecfa4b4ddc17e5ecf9564a", + "magnet": "magnet:?xt=urn%3Abtih%3Aace0948afc3a327be2ecfa4b4ddc17e5ecf9564a&dn=Maintenance_Officer_New_Dead_Ver1.2.zip" + }, + "{archives}/Mandalorian Worn-Out Armour Reskin.rar": { + "sha256": "8b38c3bb158395af5718db3a02f74f4995f06ebb1e93975f90355b330e0e89f8", + "bytes": 1574488, + "name": "Mandalorian Worn-Out Armour Reskin.rar", + "info_hash": "b5080d9a4a31ebddc148ff46930798f2a49a9b27", + "magnet": "magnet:?xt=urn%3Abtih%3Ab5080d9a4a31ebddc148ff46930798f2a49a9b27&dn=Mandalorian+Worn-Out+Armour+Reskin.rar" + }, + "{archives}/Miscellaneous Compatibility Patches-1060-3-0-1629717320.rar": { + "sha256": "aae7b6984e70839e2059196618b3f38535dcac3aec4f802dd74079563605df37", + "bytes": 127735225, + "name": "Miscellaneous Compatibility Patches-1060-3-0-1629717320.rar", + "info_hash": "4248b6fbc2bfec267e3d61c222e2037403d292e1", + "magnet": "magnet:?xt=urn%3Abtih%3A4248b6fbc2bfec267e3d61c222e2037403d292e1&dn=Miscellaneous+Compatibility+Patches-1060-3-0-1629717320.rar" + }, + "{archives}/N_VrookH.rar": { + "sha256": "e9f8d36cb5aee36e2ad50ac94d4cdfac6382e822885588948b11e845d09fb4d7", + "bytes": 1959110, + "name": "N_VrookH.rar", + "info_hash": "defca985097c4fd549772a269e8a84caab3f9c02", + "magnet": "magnet:?xt=urn%3Abtih%3Adefca985097c4fd549772a269e8a84caab3f9c02&dn=N_VrookH.rar" + }, + "{archives}/N_oldAMH01.rar": { + "sha256": "b15813262cec4c277b6c948c0c6638f7640a09e47778512838ca930bfb2846af", + "bytes": 1706103, + "name": "N_oldAMH01.rar", + "info_hash": "3971be1929265d36ced9f9152b1f902d0871442d", + "magnet": "magnet:?xt=urn%3Abtih%3A3971be1929265d36ced9f9152b1f902d0871442d&dn=N_oldAMH01.rar" + }, + "{archives}/Nihilus_Visas.rar": { + "sha256": "4fe110ef8cb9dcddcc327e96afd7aaece9f523099104b934b0d7a99e5387ae92", + "bytes": 6417, + "name": "Nihilus_Visas.rar", + "info_hash": "f65a1e2c99f6ffb65c01c2ac0b890968ffeaa050", + "magnet": "magnet:?xt=urn%3Abtih%3Af65a1e2c99f6ffb65c01c2ac0b890968ffeaa050&dn=Nihilus_Visas.rar" + }, + "{archives}/Prologue Item Recovery.7z": { + "sha256": "ca2e4f200e57ef4ddd732e25a175c0bb097d2fd0d64d99388eec2c71c7f79247", + "bytes": 244068, + "name": "Prologue Item Recovery.7z", + "info_hash": "2a40e67a5c68fc8b62d8abdd227eea1991ec66b1", + "magnet": "magnet:?xt=urn%3Abtih%3A2a40e67a5c68fc8b62d8abdd227eea1991ec66b1&dn=Prologue+Item+Recovery.7z" + }, + "{archives}/Remote Tells Influence Patch for TSLRCM.zip": { + "sha256": "1825fff8de3443fff13eeee2bd5828832a7d0dcf11e6054c2a646bf81d8d8d87", + "bytes": 10766, + "name": "Remote Tells Influence Patch for TSLRCM.zip", + "info_hash": "d5a66ee7d9a9bcb2cc6acbb912e0dfa130a68bf5", + "magnet": "magnet:?xt=urn%3Abtih%3Ad5a66ee7d9a9bcb2cc6acbb912e0dfa130a68bf5&dn=Remote+Tells+Influence+Patch+for+TSLRCM.zip" + }, + "{archives}/Rescaled Trandoshans.zip": { + "sha256": "f8939839eac387aa8e120116686baa7281b3226cdb5b941ba7d7389040e5b644", + "bytes": 528129, + "name": "Rescaled Trandoshans.zip", + "info_hash": "33553c5f6cc7b59e4b18d3f299dd7b389df352f2", + "magnet": "magnet:?xt=urn%3Abtih%3A33553c5f6cc7b59e4b18d3f299dd7b389df352f2&dn=Rescaled+Trandoshans.zip" + }, + "{archives}/SH_EHCockpitUpgrade_LEH_Scre01_MS.7z": { + "sha256": "1ffd749b8ffcfeb6d5735161e72d1360bf72e7f398abdc3765b4c655b7abe2dc", + "bytes": 2192608, + "name": "SH_EHCockpitUpgrade_LEH_Scre01_MS.7z", + "info_hash": "a7bfba1f85261e236923068c4ab8478abe8b80c4", + "magnet": "magnet:?xt=urn%3Abtih%3Aa7bfba1f85261e236923068c4ab8478abe8b80c4&dn=SH_EHCockpitUpgrade_LEH_Scre01_MS.7z" + }, + "{archives}/Silent Sion Restoration.zip": { + "sha256": "b3e5c90f8001a299fdc3464ff74edc98c9e19a11e7759a8095a0cef508782789", + "bytes": 12852, + "name": "Silent Sion Restoration.zip", + "info_hash": "7e7a60e2374e8e37b40446bf210091761d5545dc", + "magnet": "magnet:?xt=urn%3Abtih%3A7e7a60e2374e8e37b40446bf210091761d5545dc&dn=Silent+Sion+Restoration.zip" + }, + "{archives}/Sith Art-1632-1-1713373365.zip": { + "sha256": "d5a4625c467128f9465d02f7470d611027478eea68fb5fe24eb6e30838b2c5d2", + "bytes": 5397819, + "name": "Sith Art-1632-1-1713373365.zip", + "info_hash": "6730a85c57486e464f913bce62aa166ee2d7b744", + "magnet": "magnet:?xt=urn%3Abtih%3A6730a85c57486e464f913bce62aa166ee2d7b744&dn=Sith+Art-1632-1-1713373365.zip" + }, + "{archives}/Smoother G0-T0-1296-1-0-1750625306.7z": { + "sha256": "cab07129802e4efa128981c6644c8895b3181c1854e47b9b5130208478a83658", + "bytes": 156213, + "name": "Smoother G0-T0-1296-1-0-1750625306.7z", + "info_hash": "ba3b3140130fb7a164d5d8041eac1da2037b85a6", + "magnet": "magnet:?xt=urn%3Abtih%3Aba3b3140130fb7a164d5d8041eac1da2037b85a6&dn=Smoother+G0-T0-1296-1-0-1750625306.7z" + }, + "{archives}/Spark_Effect_v1.0.7z": { + "sha256": "4d34d5f4934c3bd31637c01790142c62a62a4f460ce937b60e1de60f530938fd", + "bytes": 584286, + "name": "Spark_Effect_v1.0.7z", + "info_hash": "bf2bb6bad379ed0d8c1108e5647bbbaa12c31dfc", + "magnet": "magnet:?xt=urn%3Abtih%3Abf2bb6bad379ed0d8c1108e5647bbbaa12c31dfc&dn=Spark_Effect_v1.0.7z" + }, + "{archives}/TSL Mira Unpoofed v1.0.3.7z": { + "sha256": "04285d3215ca2f2794f37bb16ac3f2b4a4e84c3ffa822ec01a2f757975d0e2d0", + "bytes": 981511, + "name": "TSL Mira Unpoofed v1.0.3.7z", + "info_hash": "f46e62f9117b4f0b89aa87ed991b042bd6583953", + "magnet": "magnet:?xt=urn%3Abtih%3Af46e62f9117b4f0b89aa87ed991b042bd6583953&dn=TSL+Mira+Unpoofed+v1.0.3.7z" + }, + "{archives}/TSL Mira_s Vanilla Escape for TSLRCM v1_0.zip": { + "sha256": "495145d92eaf1a30e327c8b2d947d163374766b351e3d27f367baba3f745a6f8", + "bytes": 463235, + "name": "TSL Mira_s Vanilla Escape for TSLRCM v1_0.zip", + "info_hash": "73ce01e36749ce144371a0e610062c4c37d348d2", + "magnet": "magnet:?xt=urn%3Abtih%3A73ce01e36749ce144371a0e610062c4c37d348d2&dn=TSL+Mira_s+Vanilla+Escape+for+TSLRCM+v1_0.zip" + }, + "{archives}/TSL_Darth_Malaks_Armour_PMBM05_Reskin-9-1-0.7z": { + "sha256": "fa14574479abb668b1cb145bb46cd70e6e72a65e1a0d9553245b24aba16bfc43", + "bytes": 1059675, + "name": "TSL_Darth_Malaks_Armour_PMBM05_Reskin-9-1-0.7z", + "info_hash": "d2aaed9d72714525f08eed5e2e02f1872c30a496", + "magnet": "magnet:?xt=urn%3Abtih%3Ad2aaed9d72714525f08eed5e2e02f1872c30a496&dn=TSL_Darth_Malaks_Armour_PMBM05_Reskin-9-1-0.7z" + }, + "{archives}/TSL_Head_Model_Fixes_by_RedRob41.zip": { + "sha256": "d925d495a7d31e45c2cc47a591b0bdfa97b06d119fab7a79fe2e71ef56f4a177", + "bytes": 182252, + "name": "TSL_Head_Model_Fixes_by_RedRob41.zip", + "info_hash": "b8d8e3d2539ea526449170e4043fbec0792e3c63", + "magnet": "magnet:?xt=urn%3Abtih%3Ab8d8e3d2539ea526449170e4043fbec0792e3c63&dn=TSL_Head_Model_Fixes_by_RedRob41.zip" + }, + "{archives}/TSL_prestige_save_fixes.zip": { + "sha256": "daf1e5fc8715958dc11f87bd36ac5e327868c6360cbef45595c32d02ea06703c", + "bytes": 5951, + "name": "TSL_prestige_save_fixes.zip", + "info_hash": "6ad95df1f4d8b026ad840cd4dae77a1d67bf73fb", + "magnet": "magnet:?xt=urn%3Abtih%3A6ad95df1f4d8b026ad840cd4dae77a1d67bf73fb&dn=TSL_prestige_save_fixes.zip" + }, + "{archives}/The Sith Lords Restored Content Mod - Compatibility Patch-1060-3-0-1629717420.rar": { + "sha256": "16dbc3654bbaf4a15de5b6d89b649f2c5a44efcf1114f4055d0b11bae6149ee9", + "bytes": 79298469, + "name": "The Sith Lords Restored Content Mod - Compatibility Patch-1060-3-0-1629717420.rar", + "info_hash": "0a9af241050e3cb74f95e76dc893f253b3765f31", + "magnet": "magnet:?xt=urn%3Abtih%3A0a9af241050e3cb74f95e76dc893f253b3765f31&dn=The+Sith+Lords+Restored+Content+Mod+-+Compatibility+Patch-1060-3-0-1629717420.rar" + }, + "{archives}/Thematic Sith Lords 2.7z": { + "sha256": "96d7eeceb73cba3951b96da03e0dafd5ca6decb942be5e7717e8998fb519ab7e", + "bytes": 279986, + "name": "Thematic Sith Lords 2.7z", + "info_hash": "bfc11819873277c3b0461903667ddba64e88956a", + "magnet": "magnet:?xt=urn%3Abtih%3Abfc11819873277c3b0461903667ddba64e88956a&dn=Thematic+Sith+Lords+2.7z" + }, + "{archives}/URCMTP 1.3.rar": { + "sha256": "e98c94d53dfccaddf6753aa58662e1afd1d6ebb0241f66c8000ba0ff3a2f13b5", + "bytes": 1366051, + "name": "URCMTP 1.3.rar", + "info_hash": "3bd40a195126e81d05d0c77f0c9cd432757acd0a", + "magnet": "magnet:?xt=urn%3Abtih%3A3bd40a195126e81d05d0c77f0c9cd432757acd0a&dn=URCMTP+1.3.rar" + }, + "{archives}/Ultimate Korriban High Resolution - TPC Version-1104-1-0-1607783470.rar": { + "sha256": "6dbb6a726bd2dc930a7c338addffc39626d3a948d85458a2d1a20a708d4cc35b", + "bytes": 109304258, + "name": "Ultimate Korriban High Resolution - TPC Version-1104-1-0-1607783470.rar", + "info_hash": "449a1b383b0f588804addfcd325c9a3205417e66", + "magnet": "magnet:?xt=urn%3Abtih%3A449a1b383b0f588804addfcd325c9a3205417e66&dn=Ultimate+Korriban+High+Resolution+-+TPC+Version-1104-1-0-1607783470.rar" + }, + "{archives}/Ultimate Malachor V High Resolution - TPC Version-1106-1-1-1670682360.rar": { + "sha256": "711e16c8cfc82fa4a7d410ef4b7520f2564088b182be4cb493113121213c6bc0", + "bytes": 202714575, + "name": "Ultimate Malachor V High Resolution - TPC Version-1106-1-1-1670682360.rar", + "info_hash": "e7fc608d3027bdf0cd5117182d5adac33265be4e", + "magnet": "magnet:?xt=urn%3Abtih%3Ae7fc608d3027bdf0cd5117182d5adac33265be4e&dn=Ultimate+Malachor+V+High+Resolution+-+TPC+Version-1106-1-1-1670682360.rar" + }, + "{archives}/Ultimate Onderon High Resolution - TPC Version-1102-1-1-1670678459.rar": { + "sha256": "76c9267d1b06db45c5a0231a27e457a29f22ef00654d963b0ad3ed78dfd1364a", + "bytes": 333596075, + "name": "Ultimate Onderon High Resolution - TPC Version-1102-1-1-1670678459.rar", + "info_hash": "7045907c8fc9769f57758732cb8f8c1e9ab2b4c9", + "magnet": "magnet:?xt=urn%3Abtih%3A7045907c8fc9769f57758732cb8f8c1e9ab2b4c9&dn=Ultimate+Onderon+High+Resolution+-+TPC+Version-1102-1-1-1670678459.rar" + }, + "{archives}/Ultimate_Robes_Repair_For_TSL_v1.3.7z": { + "sha256": "0dc88d87fa4ba85e5a90cc79079a1557ebc9e5a52165de8424b8ebcd977b8fc1", + "bytes": 2652648, + "name": "Ultimate_Robes_Repair_For_TSL_v1.3.7z", + "info_hash": "c4bf4fcb758b57f553ddfed9dfde9050a63beb1e", + "magnet": "magnet:?xt=urn%3Abtih%3Ac4bf4fcb758b57f553ddfed9dfde9050a63beb1e&dn=Ultimate_Robes_Repair_For_TSL_v1.3.7z" + }, + "{archives}/Visas Less Clipping.7z": { + "sha256": "dd08d47b6dc7b4e1baccb62a907d471503f5464152b2789ed7fac0daa8a0dfb0", + "bytes": 57299, + "name": "Visas Less Clipping.7z", + "info_hash": "2994d137db330702aa6f08eb18ce03df470ce071", + "magnet": "magnet:?xt=urn%3Abtih%3A2994d137db330702aa6f08eb18ce03df470ce071&dn=Visas+Less+Clipping.7z" + }, + "{archives}/[TSL] Repair Affects Stun Droid.zip": { + "sha256": "6886a3d5cb7c01019ce5b01ec78e240ec900f07b1d0c4b1775a9b4c434978ec1", + "bytes": 362022, + "name": "[TSL] Repair Affects Stun Droid.zip", + "info_hash": "29636c29e5aee4b3eb52cbfbfc27a621f85f9ceb", + "magnet": "magnet:?xt=urn%3Abtih%3A29636c29e5aee4b3eb52cbfbfc27a621f85f9ceb&dn=%5BTSL%5D+Repair+Affects+Stun+Droid.zip" + }, + "{archives}/[TSL]_Animated_Computer_Panel_v2.0.0.7z": { + "sha256": "6b904712627b46e5d242d2282136f7f3e0fafabca120ae197c4e59f85cfcf56c", + "bytes": 1565107, + "name": "[TSL]_Animated_Computer_Panel_v2.0.0.7z", + "info_hash": "401011e2f6bd242bea77cdd2f575acd5108e7539", + "magnet": "magnet:?xt=urn%3Abtih%3A401011e2f6bd242bea77cdd2f575acd5108e7539&dn=%5BTSL%5D_Animated_Computer_Panel_v2.0.0.7z" + }, + "{archives}/[TSL]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z": { + "sha256": "5ed4056d9329200849aab9bfd7a657065808bc51bb23a505abe9a02173493e39", + "bytes": 826508, + "name": "[TSL]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z", + "info_hash": "f8da19fb4b84b13e83e699c5e048ca78a5016078", + "magnet": "magnet:?xt=urn%3Abtih%3Af8da19fb4b84b13e83e699c5e048ca78a5016078&dn=%5BTSL%5D_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z" + }, + "{archives}/aleema_ketos_robe_description_correction.zip": { + "sha256": "a19181f2920b714e62b0f1b700e8cf38dc9ad48865261814f9a529801d741e23", + "bytes": 3558, + "name": "aleema_ketos_robe_description_correction.zip", + "info_hash": "7df6d805be65d24e435be522f7c08965e15a7c7f", + "magnet": "magnet:?xt=urn%3Abtih%3A7df6d805be65d24e435be522f7c08965e15a7c7f&dn=aleema_ketos_robe_description_correction.zip" + }, + "{archives}/dendis_merchant_mod.rar": { + "sha256": "88ebcdef87b6aa264702e41da57733b01ed38410558d0b7e2a42dd961647f7b3", + "bytes": 259527, + "name": "dendis_merchant_mod.rar", + "info_hash": "4c32e4d5e7bf8617cccd444145986e5877150c03", + "magnet": "magnet:?xt=urn%3Abtih%3A4c32e4d5e7bf8617cccd444145986e5877150c03&dn=dendis_merchant_mod.rar" + }, + "{archives}/dm_qrts.rar": { + "sha256": "b01f4e6f40ef48db3af3983fe61da5edc0c08c75a645f5fe9b31fcf8baa86136", + "bytes": 2855850, + "name": "dm_qrts.rar", + "info_hash": "2c22898f0714e6a15aa2778af7bda0d3e5f3d639", + "magnet": "magnet:?xt=urn%3Abtih%3A2c22898f0714e6a15aa2778af7bda0d3e5f3d639&dn=dm_qrts.rar" + }, + "{archives}/k2-pfhc06-fix.zip": { + "sha256": "616e74f314ab4c725ed1a6962b85c0ea9d0b6952ee24a8d19ce82e80b11104eb", + "bytes": 75043, + "name": "k2-pfhc06-fix.zip", + "info_hash": "75dd8e3be55bafafcde09df6c31070acfb183007", + "magnet": "magnet:?xt=urn%3Abtih%3A75dd8e3be55bafafcde09df6c31070acfb183007&dn=k2-pfhc06-fix.zip" + }, + "{archives}/lightsaber_hilt variety_v2.0.zip": { + "sha256": "d919b681374c883539513004a21e9d0387c1acd5e6333d3dc26b9a8cd836bfdf", + "bytes": 1631370, + "name": "lightsaber_hilt variety_v2.0.zip", + "info_hash": "e9a0e6ea4446af622374385efb4e843f2fa91107", + "magnet": "magnet:?xt=urn%3Abtih%3Ae9a0e6ea4446af622374385efb4e843f2fa91107&dn=lightsaber_hilt+variety_v2.0.zip" + }, + "{archives}/relightingtsl_003EBOg_1.2.zip": { + "sha256": "ed2c7fb1ca98153e20f7eec5242da3925b416f5c262c6b731029fd37124e432f", + "bytes": 213247, + "name": "relightingtsl_003EBOg_1.2.zip", + "info_hash": "186b2cde8f3160ab1d4da658cf53d3e12bf6c8b0", + "magnet": "magnet:?xt=urn%3Abtih%3A186b2cde8f3160ab1d4da658cf53d3e12bf6c8b0&dn=relightingtsl_003EBOg_1.2.zip" + }, + "{archives}/relightingtsl_101PERt_2.1.zip": { + "sha256": "207b626cd8450434e0b2ea3cc207f9cafaef25f03576609552f68affb21a89a8", + "bytes": 1121230, + "name": "relightingtsl_101PERt_2.1.zip", + "info_hash": "f96c5ad4fb61c65a27da466e4bd4c0f8ec1361b7", + "magnet": "magnet:?xt=urn%3Abtih%3Af96c5ad4fb61c65a27da466e4bd4c0f8ec1361b7&dn=relightingtsl_101PERt_2.1.zip" + }, + "{archives}/relightingtsl_102PERfklnt_1.0.zip": { + "sha256": "44fee8eea4d399f1f5013dc379130844895c2cfbe20d0608c8b6ffd67e1fd8b6", + "bytes": 132181, + "name": "relightingtsl_102PERfklnt_1.0.zip", + "info_hash": "6f4ca08d94b802f0fcdbc72bb8e71c2de43e25fe", + "magnet": "magnet:?xt=urn%3Abtih%3A6f4ca08d94b802f0fcdbc72bb8e71c2de43e25fe&dn=relightingtsl_102PERfklnt_1.0.zip" + }, + "{archives}/relightingtsl_298TELk_1.0.zip": { + "sha256": "9b898a0561eaa73397a3993563a881536f194b5f15be3a659f0eb0e00cc019c9", + "bytes": 1338206, + "name": "relightingtsl_298TELk_1.0.zip", + "info_hash": "9206d11fe8fa8806d661d2e6421083ad31635a90", + "magnet": "magnet:?xt=urn%3Abtih%3A9206d11fe8fa8806d661d2e6421083ad31635a90&dn=relightingtsl_298TELk_1.0.zip" + }, + "{archives}/remote_influence.zip": { + "sha256": "8331ae9647516034a61d3ae24bd1847cbcab1a6e4cd4d3cf14fb075cb8052e85", + "bytes": 10088, + "name": "remote_influence.zip", + "info_hash": "cf238dc15b2d530f606306b9e8579d4eec26cf8c", + "magnet": "magnet:?xt=urn%3Abtih%3Acf238dc15b2d530f606306b9e8579d4eec26cf8c&dn=remote_influence.zip" + }, + "{archives}/scruffyatton.zip": { + "sha256": "b041b400796c471d6b69324fdac6aa3fdeab04278037512bdf2d59c309f2a676", + "bytes": 813694, + "name": "scruffyatton.zip", + "info_hash": "58b5f060f4bfa81119e558fb5911d3ecccbd3701", + "magnet": "magnet:?xt=urn%3Abtih%3A58b5f060f4bfa81119e558fb5911d3ecccbd3701&dn=scruffyatton.zip" + }, + "{archives}/thorium_charge_mod.rar": { + "sha256": "c102073d22af6fb00a56c28858c1c406181658287464bbcec7494d1265164700", + "bytes": 1755, + "name": "thorium_charge_mod.rar", + "info_hash": "458416169cfcae5d05b12f4ca37d3d58eefbdbf1", + "magnet": "magnet:?xt=urn%3Abtih%3A458416169cfcae5d05b12f4ca37d3d58eefbdbf1&dn=thorium_charge_mod.rar" + }, + "{archives}/visual_effects_tsl.7z": { + "sha256": "b9518e4e00f0d6b3abee394592eee3377079f74ec18c245107d588fe172a373b", + "bytes": 247638, + "name": "visual_effects_tsl.7z", + "info_hash": "3a52a016ab42f534e01cba7af136318de4816f0d", + "magnet": "magnet:?xt=urn%3Abtih%3A3a52a016ab42f534e01cba7af136318de4816f0d&dn=visual_effects_tsl.7z" + } + } } From 94a81be3dd26fd1df58cbeeb74d00f160ae82a3d Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 02:12:27 +0000 Subject: [PATCH 10/19] CI: draw the live sample once per run, not once per game The sample download mode now draws exactly one archive source per run across all requested games, so a both-games run downloads one mod live instead of two. The validation requires exactly that one attempt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- .github/workflows/fullrun.yml | 2 +- COMPATIBILITY.md | 19 +-- docs/ci-fullruns.md | 2 +- tools/modsync-ci/fullrun_stage.py | 42 +++--- tools/modsync-ci/test_fullrun_sample.py | 186 ++++++++++++++---------- 5 files changed, 145 insertions(+), 106 deletions(-) diff --git a/.github/workflows/fullrun.yml b/.github/workflows/fullrun.yml index e378a2fd..7aded4be 100644 --- a/.github/workflows/fullrun.yml +++ b/.github/workflows/fullrun.yml @@ -21,7 +21,7 @@ on: options: [minimal, full, exhaustive] default: minimal download_mode: - description: Cache-first, sample (one random mod per game live, the rest cached), or refresh (try every download) + description: Cache-first, sample (one random mod per run live, the rest cached), or refresh (try every download) type: choice options: [cache-first, sample, refresh] default: cache-first diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 8b2ee7c2..6ff9f657 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,24 +337,25 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. -## CI release candidates download one drawn mod per game live, 2026-11-24 UTC +## CI release candidates download one drawn mod per run live, 2026-11-24 UTC Python CI tooling and workflow policy only; no Rust source changed and no Rust tests -were run. A third download mode, `sample`, joins `cache-first` and `refresh`. For each -game the archive stage draws one archive source from the run id and attempt -(`fullrun_stage.sample_source`; policy-skipped helpers are never drawn), restores that -one source with `--download-mode refresh`, then restores every source from the verified -cache. The stage fails unless the drawn source's report shows a real provider attempt. +were run. A third download mode, `sample`, joins `cache-first` and `refresh`. The archive +stage draws exactly one archive source per run, across all requested games, from the +run id and attempt (`fullrun_stage.sample_draw`; policy-skipped helpers are never +drawn), restores that one source with `--download-mode refresh`, then restores every +source from the verified cache. The stage fails unless the drawn source's report shows a real provider attempt. Release candidates now default to `sample` instead of `refresh`; `refresh` remains selectable and still satisfies the release gate, `cache-first` still does not. This narrows a proof boundary on purpose. A release-candidate run no longer shows that -every provider was attempted, only one drawn source per game, so a broken download for +every provider was attempted, only the one drawn source, so a broken download for any other mod is found when its turn is drawn or when a `refresh` run is requested. In exchange a run no longer asks DeadlyStream and Nexus for every archive. A provider attempt that ends in a verified cache fallback still counts as an attempt, as it did for -`refresh`. Covered by `test_fullrun_sample.py` (10 tests); the first release-candidate run -is the live proof. +`refresh`. Covered by `test_fullrun_sample.py` (10 tests); run 45303323274 +showed the earlier one-per-game form downloading its drawn sources live; the one-per-run +form is proven by its first run. ## CI creates one P2P identity per pinned archive version, 2026-11-24 UTC diff --git a/docs/ci-fullruns.md b/docs/ci-fullruns.md index ee9ee160..816dd00c 100644 --- a/docs/ci-fullruns.md +++ b/docs/ci-fullruns.md @@ -50,7 +50,7 @@ The required `p2p` stage uses two private Linux network namespaces connected onl ### Download modes -`cache-first` reuses verified cached archives. `sample` downloads one archive source per game live, drawn from the run id and attempt, and takes the rest from the verified cache; it is the release-candidate default. `refresh` attempts every provider and falls back to verified cache. Live downloads happen once, in the `archives` stage; on a full run the install lanes read its cache. +`cache-first` reuses verified cached archives. `sample` downloads exactly one archive source per run live, drawn across the requested games from the run id and attempt, and takes the rest from the verified cache; it is the release-candidate default. `refresh` attempts every provider and falls back to verified cache. Live downloads happen once, in the `archives` stage; on a full run the install lanes read its cache. P2P is checked by two separate tests. The first, identity, needs no binary and no network: the `p2p` stage's `P2P identity (info hash creation)` job runs `test_torrent_identity.py`, and the `archives` stage creates the info hash of every pinned archive version it holds verified bytes for (`torrent_identity.py survey`), compares it with `tools/modsync-ci/fixtures/ci/{k1,k2}-p2p-identity.json` and uploads a public `p2p-identity` receipt. To pin new versions, copy the `created-unpinned` entries from that receipt into the pin file, or run `survey --write-pins` against a verified object cache; an existing pin is never replaced. The second test is the two-device transfer above, shown as `P2P availability (two-device loopback, seeder pending)` because no long-lived seeder exists yet; it runs only after the identity job passes. diff --git a/tools/modsync-ci/fullrun_stage.py b/tools/modsync-ci/fullrun_stage.py index 76091ab0..86eb4d49 100644 --- a/tools/modsync-ci/fullrun_stage.py +++ b/tools/modsync-ci/fullrun_stage.py @@ -241,24 +241,25 @@ def sample_seed(environ=None): return "%s:%s" % (environ.get("GITHUB_RUN_ID") or "local", environ.get("GITHUB_RUN_ATTEMPT") or "1") -def sample_source(scope, game, seed): - """The one archive source this run downloads live; None when nothing can be downloaded.""" - candidates = sorted(set(scope["archive_source_ids"]) - set(scope["non_acquisition_policy_source_ids"])) +def sample_draw(scopes, seed): + """The one (game, archive source) this run downloads live; None when nothing can be downloaded. + + Exactly one per run, drawn across every requested game, never a policy-skipped helper. + """ + candidates = sorted((game, identity) for game, scope in scopes.items() + for identity in set(scope["archive_source_ids"]) - set(scope["non_acquisition_policy_source_ids"])) if not candidates: return None - draw = int(hashlib.sha256(("%s:%s" % (seed, game)).encode()).hexdigest(), 16) - return candidates[draw % len(candidates)] + return candidates[int(hashlib.sha256(seed.encode()).hexdigest(), 16) % len(candidates)] def sample_report(output, game): return Path(output) / ("live-sample-%s.json" % game) -def sampled_attempt(args, game, scope): +def sampled_attempt(args, draw): """Return the drawn source once its live provider attempt is on record, else raise.""" - chosen = sample_source(scope, game, sample_seed()) - if chosen is None: - return None + game, chosen = draw path = sample_report(args.output, game) if path.is_symlink() or path.stat().st_size > 32 * 1024 * 1024: raise ValueError("unsafe live sample report") @@ -280,7 +281,7 @@ def downloader_validation(args, games): scopes = {game: install_scope(args, game) for game in games} selected = {identity for scope in scopes.values() for identity in scope["archive_source_ids"]} attempted, downloaded, fallback, policies, valid, seen = set(), set(), set(), set(), set(), set() - sampled, expected_samples = set(), 0 + sampled = set() failures = [] for game, scope in scopes.items(): path = Path(args.output) / ("verify-%s.json" % game) @@ -317,15 +318,19 @@ def downloader_validation(args, games): if (acquisition.get("provider_outcome") == "cached-fallback" or acquisition.get("valid_cache_fallback") is True): fallback.add(identity) - if mode == "sample" and sample_source(scope, game, sample_seed()) is not None: - expected_samples += 1 - sampled.add(sampled_attempt(args, game, scope)) - except (OSError, ValueError, KeyError, TypeError, IndexError, AttributeError): + except (OSError, ValueError, KeyError, TypeError): failures.append(game) + draw = sample_draw(scopes, sample_seed()) if mode == "sample" else None + if draw is not None: + try: + sampled.add(sampled_attempt(args, draw)) + except (OSError, ValueError, KeyError, TypeError, IndexError, AttributeError): + if draw[0] not in failures: + failures.append(draw[0]) missing = selected - valid - policies unattempted = selected - attempted - policies if mode == "refresh" else set() passed = (not failures and not missing and not unattempted and seen == selected - and (mode != "sample" or len(sampled) >= min(1, expected_samples))) + and len(sampled) == (0 if draw is None else 1)) return {"schema_version": 1, "status": "passed" if passed else "failed", "install_profile": getattr(args, "install_profile", "minimal"), "download_mode": mode, "live_sample_source_ids": sorted(sampled), @@ -390,16 +395,17 @@ def refresh_archives(args, games): evidence = Path(args.output) receipts = [] k1_auxiliary_verified = False + draw = (sample_draw(scopes, sample_seed()) + if getattr(args, "download_mode", "cache-first") == "sample" else None) # Restore verifies every required archive; the cache cap is a storage policy, # never permission to count an unfetched OVER_LIMIT object as verified. for game in games: scope = scopes[game] contract.write_json(evidence / ("install-profile-%s.json" % game), scope) report_path = evidence / ("verify-%s.json" % game) - chosen = (sample_source(scope, game, sample_seed()) - if getattr(args, "download_mode", "cache-first") == "sample" else None) + chosen = draw[1] if draw is not None and draw[0] == game else None if chosen is not None: - # One live provider download per game and run keeps the downloaders exercised + # One live provider download per run keeps the downloaders exercised # without asking every mod site for every archive. Its verified bytes land in # the cache, so the complete restore below reads them like any other archive. with tempfile.TemporaryDirectory(prefix="archive-live-sample-", dir=cache_root.parent) as live: diff --git a/tools/modsync-ci/test_fullrun_sample.py b/tools/modsync-ci/test_fullrun_sample.py index b5310319..a51058b9 100644 --- a/tools/modsync-ci/test_fullrun_sample.py +++ b/tools/modsync-ci/test_fullrun_sample.py @@ -1,4 +1,4 @@ -"""The sample download mode: one drawn archive source per game is downloaded live, the rest come from cache.""" +"""The sample download mode: one drawn archive source per run is downloaded live, the rest come from cache.""" import json import os from pathlib import Path @@ -11,10 +11,15 @@ import fullrun_contract import fullrun_stage +STAGE_FIELDS = {"non_archive_provenance_source_ids": [], "profile": "minimal", "selected_count": 1, + "source_definition_count": 1, "requires_k1_widescreen_inputs": False} SCOPE = {"archive_source_ids": ["a", "b", "c", "helper"], "non_acquisition_policy_source_ids": ["helper"], - "non_archive_provenance_source_ids": []} + **STAGE_FIELDS} +OTHER_SCOPE = {"archive_source_ids": ["x", "y"], "non_acquisition_policy_source_ids": [], **STAGE_FIELDS} +SCOPES = {"k1": SCOPE, "k2": OTHER_SCOPE} RUN = {"GITHUB_RUN_ID": "4242", "GITHUB_RUN_ATTEMPT": "1"} SEED = "4242:1" # what sample_seed derives from RUN +GAMES = ["k1", "k2"] def restored(identity, mode, attempted=False): @@ -22,17 +27,30 @@ def restored(identity, mode, attempted=False): "acquisition": {"download_mode": mode, "provider_attempted": attempted}} +def scope_of(args, game): + return SCOPES[game] + + class Draw(unittest.TestCase): - def test_draw_is_repeatable_per_run_and_never_a_policy_helper(self): - seed = fullrun_stage.sample_seed(RUN) - self.assertEqual(seed, SEED) - first = fullrun_stage.sample_source(SCOPE, "k1", seed) - self.assertEqual(first, fullrun_stage.sample_source(SCOPE, "k1", seed)) - drawn = {fullrun_stage.sample_source(SCOPE, "k1", "%d:1" % run) for run in range(200)} - self.assertEqual(drawn, {"a", "b", "c"}) - self.assertIsNone(fullrun_stage.sample_source( - {"archive_source_ids": ["helper"], "non_acquisition_policy_source_ids": ["helper"]}, "k1", seed)) + def test_one_draw_per_run_across_all_games_and_never_a_policy_helper(self): + self.assertEqual(fullrun_stage.sample_seed(RUN), SEED) self.assertEqual(fullrun_stage.sample_seed({}), "local:1") + first = fullrun_stage.sample_draw(SCOPES, SEED) + self.assertEqual(first, fullrun_stage.sample_draw(SCOPES, SEED)) + self.assertEqual(len(first), 2) + drawn = {fullrun_stage.sample_draw(SCOPES, "%d:1" % run) for run in range(400)} + self.assertEqual(drawn, {("k1", "a"), ("k1", "b"), ("k1", "c"), ("k2", "x"), ("k2", "y")}) + self.assertIn(first, drawn) + # A different attempt of the same run draws again. + self.assertEqual(fullrun_stage.sample_seed({"GITHUB_RUN_ID": "4242", "GITHUB_RUN_ATTEMPT": "2"}), "4242:2") + + def test_nothing_is_drawn_when_no_source_can_be_downloaded(self): + helper_only = {"archive_source_ids": ["helper"], "non_acquisition_policy_source_ids": ["helper"]} + empty = {"archive_source_ids": [], "non_acquisition_policy_source_ids": []} + self.assertIsNone(fullrun_stage.sample_draw({"k1": helper_only, "k2": empty}, SEED)) + self.assertIsNone(fullrun_stage.sample_draw({}, SEED)) + solo = {"k1": {"archive_source_ids": ["solo"], "non_acquisition_policy_source_ids": []}} + self.assertEqual({fullrun_stage.sample_draw(solo, "%d:1" % run) for run in range(20)}, {("k1", "solo")}) def test_only_the_three_modes_exist_and_sample_restores_from_cache(self): modes = {mode: fullrun_stage.cache_mode(types.SimpleNamespace(download_mode=mode)) @@ -43,13 +61,6 @@ def test_only_the_three_modes_exist_and_sample_restores_from_cache(self): # Older callers pass no mode at all and keep the cache-first behaviour. self.assertEqual(fullrun_stage.cache_mode(types.SimpleNamespace()), "cache-first") - def test_nothing_is_drawn_when_no_source_can_be_downloaded(self): - nothing = {"archive_source_ids": [], "non_acquisition_policy_source_ids": []} - self.assertIsNone(fullrun_stage.sample_source(nothing, "k1", SEED)) - only = {"archive_source_ids": ["solo"], "non_acquisition_policy_source_ids": []} - self.assertEqual({fullrun_stage.sample_source(only, game, "%d:1" % run) - for game in ("k1", "k2") for run in range(20)}, {"solo"}) - class Validation(unittest.TestCase): def setUp(self): @@ -57,29 +68,34 @@ def setUp(self): self.addCleanup(directory.cleanup) self.output = Path(directory.name) self.args = types.SimpleNamespace(output=str(self.output), download_mode="sample", install_profile="exhaustive") - for patcher in (mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), + for patcher in (mock.patch.object(fullrun_stage, "install_scope", side_effect=scope_of), mock.patch.dict(os.environ, RUN)): patcher.start() self.addCleanup(patcher.stop) - self.chosen = fullrun_stage.sample_source(SCOPE, "k1", SEED) - entries = [restored(identity, "cache-first") for identity in ("a", "b", "c")] - entries.append({"id": "helper", "status": cache.UNCACHED_SKIPPED}) - (self.output / "verify-k1.json").write_text(json.dumps({"command": "restore", "ok": True, "entries": entries})) - - def sample(self, entries, ok=True): - fullrun_stage.sample_report(self.output, "k1").write_text( + self.game, self.chosen = fullrun_stage.sample_draw(SCOPES, SEED) + for game, scope in SCOPES.items(): + entries = [restored(identity, "cache-first") for identity in scope["archive_source_ids"] + if identity not in scope["non_acquisition_policy_source_ids"]] + entries += [{"id": identity, "status": cache.UNCACHED_SKIPPED} + for identity in scope["non_acquisition_policy_source_ids"]] + (self.output / ("verify-%s.json" % game)).write_text( + json.dumps({"command": "restore", "ok": True, "entries": entries})) + + def sample(self, entries, ok=True, game=None): + fullrun_stage.sample_report(self.output, game or self.game).write_text( json.dumps({"command": "restore", "ok": ok, "entries": entries})) def test_a_recorded_live_attempt_on_the_drawn_source_passes(self): self.sample([restored(self.chosen, "refresh", attempted=True)]) - result = fullrun_stage.downloader_validation(self.args, ["k1"]) + result = fullrun_stage.downloader_validation(self.args, GAMES) self.assertEqual((result["status"], result["live_sample_source_ids"], result["download_mode"]), ("passed", [self.chosen], "sample")) self.assertEqual(result["unattempted_required_source_ids"], []) def test_a_missing_or_weaker_sample_fails(self): - other = next(identity for identity in ("a", "b", "c") if identity != self.chosen) - self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "failed") + other = next(identity for identity in SCOPES[self.game]["archive_source_ids"] if identity != self.chosen) + other_game = next(game for game in GAMES if game != self.game) + self.assertEqual(fullrun_stage.downloader_validation(self.args, GAMES)["status"], "failed") for label, entries, ok in (("cache only", [restored(self.chosen, "refresh")], True), ("wrong mode", [restored(self.chosen, "cache-first", attempted=True)], True), ("other source", [restored(other, "refresh", attempted=True)], True), @@ -87,78 +103,94 @@ def test_a_missing_or_weaker_sample_fails(self): ("empty", [], True)): with self.subTest(label=label): self.sample(entries, ok) - result = fullrun_stage.downloader_validation(self.args, ["k1"]) - self.assertEqual((result["status"], result["incomplete_games"]), ("failed", ["k1"])) + result = fullrun_stage.downloader_validation(self.args, GAMES) + self.assertEqual((result["status"], result["incomplete_games"]), ("failed", [self.game])) + # A report filed under the game that was not drawn does not count. + fullrun_stage.sample_report(self.output, self.game).unlink() + self.sample([restored(self.chosen, "refresh", attempted=True)], game=other_game) + self.assertEqual(fullrun_stage.downloader_validation(self.args, GAMES)["status"], "failed") def test_the_other_modes_do_not_need_a_sample(self): self.args.download_mode = "cache-first" - self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "passed") + self.assertEqual(fullrun_stage.downloader_validation(self.args, GAMES)["status"], "passed") self.args.download_mode = "refresh" # Refresh still demands a provider attempt for every source, which cached entries lack. - self.assertEqual(fullrun_stage.downloader_validation(self.args, ["k1"])["status"], "failed") + self.assertEqual(fullrun_stage.downloader_validation(self.args, GAMES)["status"], "failed") class Stage(unittest.TestCase): - def run_stage(self, mode): - class Reached(Exception): - pass + def patched(self, root, mode, checked_effect=None): + args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), + output=str(root / "evidence"), download_mode=mode, install_profile="minimal") + patches = [mock.patch.object(fullrun_stage, "install_scope", side_effect=scope_of), + mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), + mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), + mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), + mock.patch.object(fullrun_stage, "remote_options", return_value=[]), + mock.patch.dict(os.environ, RUN)] + for patcher in patches: + patcher.start() + self.addCleanup(patcher.stop) + checked = mock.patch.object(fullrun_stage, "checked", side_effect=checked_effect).start() + self.addCleanup(mock.patch.stopall) + return args, checked + def test_exactly_one_source_is_downloaded_live_for_the_whole_run(self): + game, chosen = fullrun_stage.sample_draw(SCOPES, SEED) with tempfile.TemporaryDirectory() as temporary: - root = Path(temporary) - args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), - output=str(root / "evidence"), download_mode=mode, install_profile="minimal") - with mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), \ - mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), \ - mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), \ - mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), \ - mock.patch.object(fullrun_stage, "remote_options", return_value=[]), \ - mock.patch.object(fullrun_stage, "checked") as checked, \ - mock.patch.object(fullrun_stage, "restore_with_public_supplement", side_effect=Reached) as complete, \ - mock.patch.dict(os.environ, RUN), self.assertRaises(Reached): - fullrun_stage.refresh_archives(args, ["k1"]) - return checked, complete - - def test_sample_downloads_only_the_drawn_source_live_then_restores_all_from_cache(self): - checked, complete = self.run_stage("sample") - command = checked.call_args.args[0] - chosen = fullrun_stage.sample_source(SCOPE, "k1", SEED) - self.assertEqual(checked.call_count, 1) - self.assertEqual(command[command.index("--download-mode") + 1], "refresh") - self.assertEqual([command[index + 1] for index, word in enumerate(command) if word == "--source-id"], [chosen]) - everything = complete.call_args.args[0] - self.assertEqual(everything[everything.index("--download-mode") + 1], "cache-first") - self.assertEqual(everything.count("--source-id"), len(SCOPE["archive_source_ids"])) + args, checked = self.patched(Path(temporary), "sample") + seen = [] + + def record(command, log, call_args, restored_game, *rest): + seen.append((restored_game, checked.call_count)) + if len(seen) == len(GAMES): + raise KeyboardInterrupt + Path(call_args.output, "verify-%s.json" % restored_game).write_text(json.dumps( + {"ok": True, "entries": [{"id": identity, "status": "restored"} + for identity in SCOPES[restored_game]["archive_source_ids"]]})) + + with mock.patch.object(fullrun_stage, "restore_with_public_supplement", side_effect=record), \ + mock.patch.object(fullrun_stage, "native_k1_scope", return_value=False), \ + self.assertRaises(KeyboardInterrupt): + fullrun_stage.refresh_archives(args, GAMES) + self.assertEqual(checked.call_count, 1) + command = checked.call_args.args[0] + self.assertEqual(command[command.index("--download-mode") + 1], "refresh") + self.assertEqual([command[index + 1] for index, word in enumerate(command) if word == "--source-id"], + [chosen]) + # The live download happened immediately before the drawn game's complete restore. + self.assertEqual(dict(seen)[game], 1) + self.assertEqual([count for restored_game, count in seen if GAMES.index(restored_game) < GAMES.index(game)], + [0] * GAMES.index(game)) def test_a_failed_live_download_fails_the_stage_and_is_reported(self): + failure = ValueError("live download command failed") + game, _ = fullrun_stage.sample_draw(SCOPES, SEED) with tempfile.TemporaryDirectory() as temporary: root = Path(temporary) - args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), - output=str(root / "evidence"), download_mode="sample", - install_profile="minimal") - failure = ValueError("live download command failed") - with mock.patch.object(fullrun_stage, "install_scope", return_value=SCOPE), \ - mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), \ - mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), \ - mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), \ - mock.patch.object(fullrun_stage, "remote_options", return_value=[]), \ - mock.patch.object(fullrun_stage.contract, "emit_outputs") as outputs, \ - mock.patch.object(fullrun_stage, "checked", side_effect=failure), \ + args, _ = self.patched(root, "sample", checked_effect=failure) + with mock.patch.object(fullrun_stage.contract, "emit_outputs") as outputs, \ mock.patch.object(fullrun_stage, "restore_with_public_supplement") as complete, \ - mock.patch.dict(os.environ, RUN), self.assertRaises(ValueError) as raised: - fullrun_stage.refresh(args, ["k1"]) + self.assertRaises(ValueError) as raised: + fullrun_stage.refresh(args, [game]) # The failure is the download's own, nothing was restored after it, and the # stage still wrote and published a failed validation. self.assertIs(raised.exception, failure) complete.assert_not_called() report = json.loads((root / "evidence" / "downloader-validation.json").read_text()) - self.assertEqual((report["status"], report["incomplete_games"]), ("failed", ["k1"])) + self.assertEqual(report["status"], "failed") + self.assertIn(game, report["incomplete_games"]) outputs.assert_called_once_with({"download_validation": "failed"}) def test_other_modes_make_no_separate_live_download(self): for mode in ("cache-first", "refresh"): - checked, complete = self.run_stage(mode) - everything = complete.call_args.args[0] - self.assertEqual((checked.call_count, everything[everything.index("--download-mode") + 1]), (0, mode)) + with tempfile.TemporaryDirectory() as temporary: + args, checked = self.patched(Path(temporary), mode) + with mock.patch.object(fullrun_stage, "restore_with_public_supplement", + side_effect=ValueError("stop")) as complete, self.assertRaises(ValueError): + fullrun_stage.refresh_archives(args, GAMES) + everything = complete.call_args.args[0] + self.assertEqual((checked.call_count, everything[everything.index("--download-mode") + 1]), (0, mode)) class Policy(unittest.TestCase): From f6396197abfbb17f90e5efe516c6d4fb4877fae1 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 02:57:51 +0000 Subject: [PATCH 11/19] CI: create P2P identities before the archive stage trims its cache Two exhaustive runs created identities for only 191 of 359 pinned versions: the workflow step ran after the stage had already trimmed the object cache to its bound. The stage now writes the public receipts itself just before that trim, and the workflow step reads them, falling back to a survey of the remaining objects when the stage stopped earlier. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- .github/workflows/cache-archives.yml | 16 ++++- COMPATIBILITY.md | 9 ++- tools/modsync-ci/fullrun_stage.py | 26 ++++++++ tools/modsync-ci/test_fullrun_sample.py | 86 +++++++++++++++++++++++++ 4 files changed, 132 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cache-archives.yml b/.github/workflows/cache-archives.yml index 76e8141a..b0761e30 100644 --- a/.github/workflows/cache-archives.yml +++ b/.github/workflows/cache-archives.yml @@ -143,9 +143,19 @@ jobs: games=json.loads(os.environ['GAMES']) assert isinstance(games,list) and games and all(game in ('k1','k2') for game in games) root,fixtures=Path(os.environ['RUNNER_TEMP']),Path('tools/modsync-ci/fixtures/ci') - codes=[torrent_identity.main(['survey','--plan',str(fixtures/(game+'-manual-plan.json')), - '--pins',str(fixtures/(game+'-p2p-identity.json')),'--objects',str(root/'mod-cache'/'objects'), - '--receipt',str(root/'p2p-identity'/(game+'-p2p-identity.json'))]) for game in games] + codes=[] + for game in games: + receipt=root/'p2p-identity'/(game+'-p2p-identity.json') + if receipt.is_file() and not receipt.is_symlink(): + # Written by the archive stage before it trimmed the object cache. + result=json.loads(receipt.read_text()) + print(json.dumps({key:result.get(key) for key in ('status','plan','pinned_archives','counts','problems')},sort_keys=True)) + codes.append(0 if result.get('status')=='passed' else 1) + else: + # The stage stopped before that point: use whatever verified bytes remain. + codes.append(torrent_identity.main(['survey','--plan',str(fixtures/(game+'-manual-plan.json')), + '--pins',str(fixtures/(game+'-p2p-identity.json')),'--objects',str(root/'mod-cache'/'objects'), + '--receipt',str(receipt)])) sys.exit(max(codes)) PYIDENTITY - name: Upload public P2P identity receipt diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 6ff9f657..9c410ad6 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -353,7 +353,7 @@ every provider was attempted, only the one drawn source, so a broken download fo any other mod is found when its turn is drawn or when a `refresh` run is requested. In exchange a run no longer asks DeadlyStream and Nexus for every archive. A provider attempt that ends in a verified cache fallback still counts as an attempt, as it did for -`refresh`. Covered by `test_fullrun_sample.py` (10 tests); run 45303323274 +`refresh`. Covered by `test_fullrun_sample.py` (13 tests, three of them for the identity receipts); run 45303323274 showed the earlier one-per-game form downloading its drawn sources live; the one-per-run form is proven by its first run. @@ -384,7 +384,12 @@ P2P now has two separate CI tests: Pinned so far, from the archive-stage receipt of run 45303323274 (commit `cdc8710`): 106 of 200 K1 and 85 of 159 K2 versions. The other 94 and 74 had no verified bytes in -that run's object cache, so they stay unpinned until a run holds them. In the same run +that run's object cache: the identity step ran after the stage had trimmed the cache to +its 2.5 GiB bound. The stage now creates the identities itself, just before that trim +(`fullrun_stage.p2p_identities`), and the workflow step reads those receipts; whether +that covers all 359 versions is shown by its first run. Run 45312276943 (commit +`94a81be`) recreated all 191 pinned identities on another runner and each matched its +pin. In run 45303323274 the second test passed, so the torrent creator minted the info hash that `torrent_identity.py` computed for the loopback fixture. diff --git a/tools/modsync-ci/fullrun_stage.py b/tools/modsync-ci/fullrun_stage.py index 86eb4d49..0f9dc785 100644 --- a/tools/modsync-ci/fullrun_stage.py +++ b/tools/modsync-ci/fullrun_stage.py @@ -386,6 +386,29 @@ def identity(path): return None +def p2p_identities(objects, directory, games, fixtures=None): + """Write one public P2P identity receipt per game; return the games whose receipt reports a problem. + + Never raises for a problem: the receipt records it and the workflow's identity + step is the one that fails, so an identity defect is not mistaken for a download failure. + """ + import torrent_identity + fixtures = Path(fixtures) if fixtures is not None else HERE / "fixtures" / "ci" + failed = [] + for game in games: + try: + code = torrent_identity.main(["survey", "--plan", str(fixtures / ("%s-manual-plan.json" % game)), + "--pins", str(fixtures / ("%s-p2p-identity.json" % game)), + "--objects", str(objects), + "--receipt", str(Path(directory) / ("%s-p2p-identity.json" % game))]) + except (OSError, ValueError) as error: + print("P2P identity survey for %s did not run: %s" % (game, type(error).__name__)) + code = 1 + if code: + failed.append(game) + return failed + + def refresh_archives(args, games): guides(args.guides, games) scopes = {game: install_scope(args, game) for game in games} @@ -443,6 +466,9 @@ def refresh_archives(args, games): raise ValueError("Pinned K1 native inputs unavailable; inspect encrypted acquisition evidence") receipts[-1]["native_widescreen_inputs_verified"] = 6 k1_auxiliary_verified = True + # The trim below keeps only a bounded cache, so identities are created while every + # restored archive's verified bytes are still present. + p2p_identities(cache_root / "objects", evidence.parent / "p2p-identity", games) manifest_path = cache_root / "manifest.json" document = json.loads(manifest_path.read_text()) cache.prune(cache_root, document, 2684354560) diff --git a/tools/modsync-ci/test_fullrun_sample.py b/tools/modsync-ci/test_fullrun_sample.py index a51058b9..fad02ff8 100644 --- a/tools/modsync-ci/test_fullrun_sample.py +++ b/tools/modsync-ci/test_fullrun_sample.py @@ -193,6 +193,92 @@ def test_other_modes_make_no_separate_live_download(self): self.assertEqual((checked.call_count, everything[everything.index("--download-mode") + 1]), (0, mode)) +class IdentityReceipts(unittest.TestCase): + """The archive stage creates P2P identities while every restored archive is still on disk.""" + + def setUp(self): + import hashlib + directory = tempfile.TemporaryDirectory() + self.addCleanup(directory.cleanup) + self.root = Path(directory.name) + self.objects, self.fixtures = self.root / "objects", self.root / "fixtures" + self.objects.mkdir() + self.fixtures.mkdir() + data = b"verified archive bytes" + self.checksum = hashlib.sha256(data).hexdigest() + (self.objects / self.checksum).write_bytes(data) + for game in GAMES: + (self.fixtures / ("%s-manual-plan.json" % game)).write_text( + json.dumps({"archive_sha256": {"{archives}/Mod %s.zip" % game: self.checksum}})) + (self.fixtures / ("%s-p2p-identity.json" % game)).write_text( + json.dumps({"schema": 1, "piece_length": 2097152, "archives": {}})) + + def run_identities(self): + import contextlib + import io + with contextlib.redirect_stdout(io.StringIO()): + return fullrun_stage.p2p_identities(self.objects, self.root / "receipts", GAMES, self.fixtures) + + def test_writes_one_passing_receipt_per_game(self): + self.assertEqual(self.run_identities(), []) + for game in GAMES: + receipt = json.loads((self.root / "receipts" / ("%s-p2p-identity.json" % game)).read_text()) + self.assertEqual((receipt["status"], receipt["counts"]), ("passed", {"created-unpinned": 1})) + + def test_a_problem_is_returned_and_recorded_but_never_raised(self): + pins = self.fixtures / "k1-p2p-identity.json" + import torrent_identity + wrong = {"sha256": self.checksum, "bytes": 22, "name": "Mod k1.zip", "info_hash": "0" * 40, + "magnet": torrent_identity.magnet("0" * 40, "Mod k1.zip")} + pins.write_text(json.dumps({"schema": 1, "piece_length": 2097152, "archives": {"{archives}/Mod k1.zip": wrong}})) + self.assertEqual(self.run_identities(), ["k1"]) + receipt = json.loads((self.root / "receipts" / "k1-p2p-identity.json").read_text()) + self.assertEqual((receipt["status"], receipt["problems"]), ("failed", ["{archives}/Mod k1.zip"])) + # An unreadable pin file is a reported failure for that game, not an exception. + (self.fixtures / "k2-p2p-identity.json").write_text("{not json") + self.assertEqual(self.run_identities(), ["k1", "k2"]) + + def test_the_stage_creates_identities_before_it_trims_the_cache(self): + order = [] + with tempfile.TemporaryDirectory() as temporary: + root = Path(temporary) + (root / "cache").mkdir() + (root / "cache" / "manifest.json").write_text("{}") + args = types.SimpleNamespace(guides=str(root / "guides"), cache=str(root / "cache"), + output=str(root / "evidence"), download_mode="cache-first", + install_profile="minimal") + + def complete(command, log, call_args, game, *rest): + Path(call_args.output).mkdir(parents=True, exist_ok=True) + Path(call_args.output, "verify-%s.json" % game).write_text(json.dumps( + {"ok": True, "entries": [{"id": identity, "status": "restored"} + for identity in SCOPES[game]["archive_source_ids"]]})) + + class Trimmed(Exception): + pass + + def trim(*arguments): + order.append("trim") + raise Trimmed + + with mock.patch.object(fullrun_stage, "install_scope", side_effect=scope_of), \ + mock.patch.object(fullrun_stage, "guides", return_value=["guide.md"]), \ + mock.patch.object(fullrun_stage.fullrun_archive_manifest, "recover"), \ + mock.patch.object(fullrun_stage, "uncached_options", return_value=[]), \ + mock.patch.object(fullrun_stage, "remote_options", return_value=[]), \ + mock.patch.object(fullrun_stage, "native_k1_scope", return_value=False), \ + mock.patch.object(fullrun_stage, "restore_with_public_supplement", side_effect=complete), \ + mock.patch.object(fullrun_stage, "p2p_identities", + side_effect=lambda *a, **k: order.append("identities")) as identities, \ + mock.patch.object(fullrun_stage.cache, "prune", side_effect=trim), \ + self.assertRaises(Trimmed): + fullrun_stage.refresh_archives(args, GAMES) + self.assertEqual(order, ["identities", "trim"]) + objects, directory, games = identities.call_args.args + self.assertEqual((objects, directory, games), + (root / "cache" / "objects", root / "p2p-identity", GAMES)) + + class Policy(unittest.TestCase): def test_release_candidates_sample_by_default_and_may_still_refresh(self): payload = {"pull_request": {"base": {"ref": "main"}, "head": {"ref": "feature"}, "labels": []}} From 192770ea8f0cb75edec11b22cad63a070c22fd52 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 04:32:55 +0000 Subject: [PATCH 12/19] CI: pin the P2P identity of 166 more archive versions Copied from the public p2p-identity receipt of run 45322164517 (commit f639619), the first run that created identities before the cache trim: 93 more K1 and 73 more K2 versions, each validated against its manual plan. 199 of 200 K1 and 158 of 159 K2 versions are now pinned. The same run recreated all 191 earlier pins and each matched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 17 +- .../fixtures/ci/k1-p2p-identity.json | 651 ++++++++++++++++++ .../fixtures/ci/k2-p2p-identity.json | 511 ++++++++++++++ 3 files changed, 1171 insertions(+), 8 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 9c410ad6..e35b1830 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -382,14 +382,15 @@ P2P now has two separate CI tests: transfers and additionally requires the pinned torrent creator to mint the same info hash as `torrent_identity.py` for its fixture. -Pinned so far, from the archive-stage receipt of run 45303323274 (commit `cdc8710`): -106 of 200 K1 and 85 of 159 K2 versions. The other 94 and 74 had no verified bytes in -that run's object cache: the identity step ran after the stage had trimmed the cache to -its 2.5 GiB bound. The stage now creates the identities itself, just before that trim -(`fullrun_stage.p2p_identities`), and the workflow step reads those receipts; whether -that covers all 359 versions is shown by its first run. Run 45312276943 (commit -`94a81be`) recreated all 191 pinned identities on another runner and each matched its -pin. In run 45303323274 +Pinned: 199 of 200 K1 and 158 of 159 K2 versions. Run 45303323274 (commit `cdc8710`) +gave the first 106 and 85; the rest had no bytes left because the identity step ran +after the stage had trimmed its object cache to the 2.5 GiB bound. The stage now creates +the identities itself, just before that trim (`fullrun_stage.p2p_identities`), and the +workflow step reads those receipts. Run 45322164517 (commit `f639619`) then gave 93 and +73 more. Each of the first 191 pins was recreated on two later runners (runs +45312276943 and 45322164517) and matched every time. Still unpinned, with no verified +bytes in any run: K1 `Heyorange_s_Sith Uniform_Reformation_Revised.zip` and K2 +`PartySwap 1.5.7z`. In run 45303323274 the second test passed, so the torrent creator minted the info hash that `torrent_identity.py` computed for the loopback fixture. diff --git a/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json index 2d77316a..18b60bc4 100644 --- a/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json +++ b/tools/modsync-ci/fixtures/ci/k1-p2p-identity.json @@ -2,6 +2,13 @@ "schema": 1, "piece_length": 2097152, "archives": { + "{archives}/Ajunta Pall Unique Appearance.zip": { + "sha256": "09dcdc47fe920ea8a9f1f3de422d77ad935aea6ebcb20e1ff42bd7025083ba5e", + "bytes": 9470582, + "name": "Ajunta Pall Unique Appearance.zip", + "info_hash": "8f2da7002a10f752b02027c40c6f41515e532239", + "magnet": "magnet:?xt=urn%3Abtih%3A8f2da7002a10f752b02027c40c6f41515e532239&dn=Ajunta+Pall+Unique+Appearance.zip" + }, "{archives}/Ajunta__39_s Swords.7z": { "sha256": "5c1c3e2a23de8a96f7bdf275d0326a8ed79aac786d8e5f096c92e9b799a7bbf9", "bytes": 241822, @@ -16,6 +23,20 @@ "info_hash": "0d94a619fa93003690e82d25b3719759149ad49d", "magnet": "magnet:?xt=urn%3Abtih%3A0d94a619fa93003690e82d25b3719759149ad49d&dn=Alignment_Affects_Force_Powers_K1_v1c1c1.zip" }, + "{archives}/Animated energy shields.rar": { + "sha256": "1d27e32b71a409270352437a9be26bdce107e443be5bc98716adcc948f75678d", + "bytes": 22989544, + "name": "Animated energy shields.rar", + "info_hash": "fa3f2dbf87c76a3a79d821e2a2235aa8e893bbf0", + "magnet": "magnet:?xt=urn%3Abtih%3Afa3f2dbf87c76a3a79d821e2a2235aa8e893bbf0&dn=Animated+energy+shields.rar" + }, + "{archives}/AstromechHD.rar": { + "sha256": "476089ece624115521794592de15b6de4fd8b1e985a20d0d53d8cfb07a7b6ebd", + "bytes": 10241028, + "name": "AstromechHD.rar", + "info_hash": "4fc55b8481e1f99d8560e195b155360d67a35ea1", + "magnet": "magnet:?xt=urn%3Abtih%3A4fc55b8481e1f99d8560e195b155360d67a35ea1&dn=AstromechHD.rar" + }, "{archives}/Balanced Pazaak.zip": { "sha256": "9b6524b4ef5da39f1413badc8bc6c4e16ac4701fc53e37591b3fa745cae3bc7c", "bytes": 508, @@ -30,6 +51,13 @@ "info_hash": "400567d720910a5bd3aab065d2e3b5ede44f3e68", "magnet": "magnet:?xt=urn%3Abtih%3A400567d720910a5bd3aab065d2e3b5ede44f3e68&dn=Bastila+Has+Battle+Meditation+v1.2.zip" }, + "{archives}/Bastila_s Dark Bodysuit.7z": { + "sha256": "cf87fa209dbe59aa4500946de3b205f69e152d86ea9d08484cb4870b1629a61b", + "bytes": 8436990, + "name": "Bastila_s Dark Bodysuit.7z", + "info_hash": "71a680c4be58274c0a2cd3af4147cae17d078373", + "magnet": "magnet:?xt=urn%3Abtih%3A71a680c4be58274c0a2cd3af4147cae17d078373&dn=Bastila_s+Dark+Bodysuit.7z" + }, "{archives}/Bek Control Room Restoration 1.1.zip": { "sha256": "06704e7e7fa2e8996fc3b4e02505d0c69bd502f1f367a408df9044bcbbac67af", "bytes": 2601, @@ -51,6 +79,13 @@ "info_hash": "46b3fd2c84794ce7bbaab7221ea6f6828bd124ab", "magnet": "magnet:?xt=urn%3Abtih%3A46b3fd2c84794ce7bbaab7221ea6f6828bd124ab&dn=CK-Minor+music+tweaks.zip" }, + "{archives}/C_DrdWar.rar": { + "sha256": "cf22d2803ac9efdcc597455c8a070572e588160a19d19b74e4b26cc13c33c922", + "bytes": 48975113, + "name": "C_DrdWar.rar", + "info_hash": "2b313219d661b9e83a9d4cda6f689ce2f00159ae", + "magnet": "magnet:?xt=urn%3Abtih%3A2b313219d661b9e83a9d4cda6f689ce2f00159ae&dn=C_DrdWar.rar" + }, "{archives}/Calo Nord Recolor.zip": { "sha256": "5a7a5a404bfe417586cecfce0aac4b51ae6188563e536ced2d3666029df89247", "bytes": 907573, @@ -58,6 +93,13 @@ "info_hash": "d8979a610b800e3c7e1fa35905f2096e58d8cce3", "magnet": "magnet:?xt=urn%3Abtih%3Ad8979a610b800e3c7e1fa35905f2096e58d8cce3&dn=Calo+Nord+Recolor.zip" }, + "{archives}/Canderous OrdoHD (new clothes).rar": { + "sha256": "bc229d64bafecf3683bf87f1227bb9fc6f71e224f363c67e4f96784082be8251", + "bytes": 13307574, + "name": "Canderous OrdoHD (new clothes).rar", + "info_hash": "00d8c7c6c490c0085608f368b70bb6aba9161462", + "magnet": "magnet:?xt=urn%3Abtih%3A00d8c7c6c490c0085608f368b70bb6aba9161462&dn=Canderous+OrdoHD+%28new+clothes%29.rar" + }, "{archives}/Canderous Patch.rar": { "sha256": "bedf387e79e926ce809c75f6b9a2709ea3f258b8baebdac8f2a65a3e36740013", "bytes": 104, @@ -65,6 +107,13 @@ "info_hash": "56bc7b8cd85f216c7a24d6a9fd54771fc90bc3c8", "magnet": "magnet:?xt=urn%3Abtih%3A56bc7b8cd85f216c7a24d6a9fd54771fc90bc3c8&dn=Canderous+Patch.rar" }, + "{archives}/Carth Onasi (new clothes).rar": { + "sha256": "4936cdf3396557b8db7f78911f2ee4d4282230e040a2050ab2ef94b32ea35439", + "bytes": 14493725, + "name": "Carth Onasi (new clothes).rar", + "info_hash": "7a438aeaa75335fa5fb7c5f9b40df1a9334597ca", + "magnet": "magnet:?xt=urn%3Abtih%3A7a438aeaa75335fa5fb7c5f9b40df1a9334597ca&dn=Carth+Onasi+%28new+clothes%29.rar" + }, "{archives}/Character Start Up Changes.zip": { "sha256": "406e4854819c00e7f3195af8cf5a0a97630d15ce8597ec8a02ef7a387d3e52d3", "bytes": 349844, @@ -93,6 +142,13 @@ "info_hash": "2cb9f5a594db212cbcc4a94c0ff64237ecb1df53", "magnet": "magnet:?xt=urn%3Abtih%3A2cb9f5a594db212cbcc4a94c0ff64237ecb1df53&dn=Custom+Selkath+Animation.rar" }, + "{archives}/Czerka Business Attire - Dark Hope Ithorian Compatch.7z": { + "sha256": "72ff641a033230673e2f6bf38c8bbae9e9b49c86108364d2eb375ed07db9c68e", + "bytes": 9018281, + "name": "Czerka Business Attire - Dark Hope Ithorian Compatch.7z", + "info_hash": "58049fd4eba15980df75d03c9f05c4b72831f6c4", + "magnet": "magnet:?xt=urn%3Abtih%3A58049fd4eba15980df75d03c9f05c4b72831f6c4&dn=Czerka+Business+Attire+-+Dark+Hope+Ithorian+Compatch.7z" + }, "{archives}/DI_HRBM_2.7z": { "sha256": "c809672ec443216194061c7958664b47c2210f5abc63d1a59cd49d700f695991", "bytes": 550147, @@ -107,6 +163,27 @@ "info_hash": "ac93eabcd7dac404946f116619c007060d631dea", "magnet": "magnet:?xt=urn%3Abtih%3Aac93eabcd7dac404946f116619c007060d631dea&dn=DantTrainingLS-66-1-0.zip" }, + "{archives}/Darth Bandon HD.rar": { + "sha256": "7512784c6039470266a2b16d16a7eefa97e1329025a7d7c57b95154846964033", + "bytes": 6571101, + "name": "Darth Bandon HD.rar", + "info_hash": "1d03484d924896c7e3da3d6734bf545295e257d1", + "magnet": "magnet:?xt=urn%3Abtih%3A1d03484d924896c7e3da3d6734bf545295e257d1&dn=Darth+Bandon+HD.rar" + }, + "{archives}/Darth_Malaks_Lightsaber_K1.zip": { + "sha256": "83f0058eafef3dbb4a2914392c5dd0f738b51c33ad97dae96bb28575e7c65680", + "bytes": 10803952, + "name": "Darth_Malaks_Lightsaber_K1.zip", + "info_hash": "649ea65bab373adf8cc8c1f71547c1bac8201ea6", + "magnet": "magnet:?xt=urn%3Abtih%3A649ea65bab373adf8cc8c1f71547c1bac8201ea6&dn=Darth_Malaks_Lightsaber_K1.zip" + }, + "{archives}/Davik HD.rar": { + "sha256": "45c8a1b0bbfec67c7c602026cca88a6a9fa0ba4ee3eef179b0937894a0d3c5ee", + "bytes": 13478174, + "name": "Davik HD.rar", + "info_hash": "dd4359217ee8efdd577503220ab33a9fe106d46e", + "magnet": "magnet:?xt=urn%3Abtih%3Add4359217ee8efdd577503220ab33a9fe106d46e&dn=Davik+HD.rar" + }, "{archives}/Daviks Trophies.7z": { "sha256": "64fd8244315856ba4902b81bd3f04cbedceb123033f3d915a46b3b25aa1177e3", "bytes": 576172, @@ -114,6 +191,20 @@ "info_hash": "0892cb5726762a5cf31b3094405d9802940e65e5", "magnet": "magnet:?xt=urn%3Abtih%3A0892cb5726762a5cf31b3094405d9802940e65e5&dn=Daviks+Trophies.7z" }, + "{archives}/Detran_s Darth Revan.zip": { + "sha256": "7a70a356065e120cca1198b2bb3bd92a833c18b93ad98914d53171ca2e673def", + "bytes": 3162990, + "name": "Detran_s Darth Revan.zip", + "info_hash": "53a9bf6afed0dba171b1bb3ef675da7406b46a99", + "magnet": "magnet:?xt=urn%3Abtih%3A53a9bf6afed0dba171b1bb3ef675da7406b46a99&dn=Detran_s+Darth+Revan.zip" + }, + "{archives}/Doctors HD.rar": { + "sha256": "632698618fccb9fe82b160b7a52e949104d01d5dc75febab84f3e0ad3e644641", + "bytes": 17292041, + "name": "Doctors HD.rar", + "info_hash": "9dc547f5b091f73da9f42e5339fc4bb0d85074ae", + "magnet": "magnet:?xt=urn%3Abtih%3A9dc547f5b091f73da9f42e5339fc4bb0d85074ae&dn=Doctors+HD.rar" + }, "{archives}/Door Mural-1632-1-0-1713374023.zip": { "sha256": "7add8cda2320f0bf5e0e6bbc6739a5c59fb68083429c93e59f8f2f49f32df1d9", "bytes": 17869526, @@ -121,6 +212,20 @@ "info_hash": "2ca9ddb7617445f3416812cb0a57e7769c080267", "magnet": "magnet:?xt=urn%3Abtih%3A2ca9ddb7617445f3416812cb0a57e7769c080267&dn=Door+Mural-1632-1-0-1713374023.zip" }, + "{archives}/DrdAstro HD.rar": { + "sha256": "b41ae5e01b85e7a35ac4576b4907892a6e08da36b62cef2819cf9fd808c2c17c", + "bytes": 22976941, + "name": "DrdAstro HD.rar", + "info_hash": "224ece7359d41bd42c7cbac6a6c6ec39f61b316c", + "magnet": "magnet:?xt=urn%3Abtih%3A224ece7359d41bd42c7cbac6a6c6ec39f61b316c&dn=DrdAstro+HD.rar" + }, + "{archives}/DrdProtHD.rar": { + "sha256": "c7c2b368f2c5da4217748550d29f68e562bfe8622f3076f8bbb772091f32ea48", + "bytes": 39055412, + "name": "DrdProtHD.rar", + "info_hash": "ff4da2887b62df3fe68e367773eff4fca732bb19", + "magnet": "magnet:?xt=urn%3Abtih%3Aff4da2887b62df3fe68e367773eff4fca732bb19&dn=DrdProtHD.rar" + }, "{archives}/Duncan on Manaan.7z": { "sha256": "25f94edc74e4e29e2d602064b41ad2ce9cbf9b83deded0a19a24ed7566a30f23", "bytes": 7210, @@ -128,6 +233,27 @@ "info_hash": "e3bf6672da9fdfa5e9d679fed9dec60306698c0c", "magnet": "magnet:?xt=urn%3Abtih%3Ae3bf6672da9fdfa5e9d679fed9dec60306698c0c&dn=Duncan+on+Manaan.7z" }, + "{archives}/Duros HD.rar": { + "sha256": "ae659aec0268b25c3db95d7121e7ab21dc03f7d8d1091fd2e399b7e80e80292a", + "bytes": 18574687, + "name": "Duros HD.rar", + "info_hash": "521bc5b1044ec8ebad39e1ead84add969eb99636", + "magnet": "magnet:?xt=urn%3Abtih%3A521bc5b1044ec8ebad39e1ead84add969eb99636&dn=Duros+HD.rar" + }, + "{archives}/Effixian_s Qel-Droma Robes Reskin for JC_s Cloaked Jedi Robes.zip": { + "sha256": "6d8b8a3eeccc2300a60c9270f9f9415376432ed83c2fe2b49a72f85ffea6acae", + "bytes": 12311847, + "name": "Effixian_s Qel-Droma Robes Reskin for JC_s Cloaked Jedi Robes.zip", + "info_hash": "195ea601c049609038ee4686ec29ee5ef6847eda", + "magnet": "magnet:?xt=urn%3Abtih%3A195ea601c049609038ee4686ec29ee5ef6847eda&dn=Effixian_s+Qel-Droma+Robes+Reskin+for+JC_s+Cloaked+Jedi+Robes.zip" + }, + "{archives}/Emperor Turnip__39_s Gizka.rar": { + "sha256": "91386e9b76340978e3d69776784747dd3df82ac16f51e8e826683af70a07473c", + "bytes": 16563406, + "name": "Emperor Turnip__39_s Gizka.rar", + "info_hash": "61993304a49323860e53a5e13704f65abe23bc19", + "magnet": "magnet:?xt=urn%3Abtih%3A61993304a49323860e53a5e13704f65abe23bc19&dn=Emperor+Turnip__39_s+Gizka.rar" + }, "{archives}/Fen_s - Jolee-1192-1.zip": { "sha256": "2dfa64b5eb3906a8b7550fb7efa7712e80c1cdb328fd22630ef3566a47d7bc1d", "bytes": 8446385, @@ -135,6 +261,20 @@ "info_hash": "e69e664ee22cd18bf1a3a81f42dba7cb9078ddb8", "magnet": "magnet:?xt=urn%3Abtih%3Ae69e664ee22cd18bf1a3a81f42dba7cb9078ddb8&dn=Fen_s+-+Jolee-1192-1.zip" }, + "{archives}/FireandIceHDWhee.zip": { + "sha256": "fd04e947a31f419a0b5f51af28b74701de37640ec06279160278aa23b0abaa8e", + "bytes": 2969524, + "name": "FireandIceHDWhee.zip", + "info_hash": "5c62f6112ca3777996efd4fbe31e9579553c67cb", + "magnet": "magnet:?xt=urn%3Abtih%3A5c62f6112ca3777996efd4fbe31e9579553c67cb&dn=FireandIceHDWhee.zip" + }, + "{archives}/Gaffi Stick Improvement.zip": { + "sha256": "3647bb9ccfbec8ec191b7d09dc294345a803f2c6d863f37f543a585259cf3878", + "bytes": 7536421, + "name": "Gaffi Stick Improvement.zip", + "info_hash": "d429500c4600eb4507d35c07d0b7ec70b89f3e7b", + "magnet": "magnet:?xt=urn%3Abtih%3Ad429500c4600eb4507d35c07d0b7ec70b89f3e7b&dn=Gaffi+Stick+Improvement.zip" + }, "{archives}/Grenades and mines HD.rar": { "sha256": "d4d37e2969fd1af070bb71fe54b3887fc0f02319438b62888bf1b7c80e5970e1", "bytes": 880699, @@ -142,6 +282,13 @@ "info_hash": "9487d3c4969913f35e5fd3c17d1da9dc6bc6aaec", "magnet": "magnet:?xt=urn%3Abtih%3A9487d3c4969913f35e5fd3c17d1da9dc6bc6aaec&dn=Grenades+and+mines+HD.rar" }, + "{archives}/HD Realistic Jawas.rar": { + "sha256": "b77799eefc2113525c6b8855a463dd6cc7f09523a027d6509ff79da44e6ddac4", + "bytes": 17605109, + "name": "HD Realistic Jawas.rar", + "info_hash": "cba1344cbbee7c0b1bb5f60e06583e9f1894d35d", + "magnet": "magnet:?xt=urn%3Abtih%3Acba1344cbbee7c0b1bb5f60e06583e9f1894d35d&dn=HD+Realistic+Jawas.rar" + }, "{archives}/HD Realistic Sand People Patch.zip": { "sha256": "f377c901799721ffd50d84d0c26f3a6acb5ed7e6a1bb8212d609871f05aa7539", "bytes": 1193, @@ -149,6 +296,13 @@ "info_hash": "4942cbd8fbb9e490e43ccd7e8f99dfa74d237c71", "magnet": "magnet:?xt=urn%3Abtih%3A4942cbd8fbb9e490e43ccd7e8f99dfa74d237c71&dn=HD+Realistic+Sand+People+Patch.zip" }, + "{archives}/HD Realistic Sand People.rar": { + "sha256": "b1df0e7d83d1903fcb640ef23d77a9add3838b5d59aa0bb87ee7f062ff377a38", + "bytes": 63754508, + "name": "HD Realistic Sand People.rar", + "info_hash": "86f722c7c12359013c59fbe7617513b0e7b8ec9c", + "magnet": "magnet:?xt=urn%3Abtih%3A86f722c7c12359013c59fbe7617513b0e7b8ec9c&dn=HD+Realistic+Sand+People.rar" + }, "{archives}/HD Vrook Recolored.zip": { "sha256": "b0adc751c7f0c27cc3ea15c0dcb82423eacddc6b1c49fdf64c3f15f83621cb45", "bytes": 2365035, @@ -163,6 +317,13 @@ "info_hash": "adf028a8c9c88c1850a4854d04d07a218720c2e9", "magnet": "magnet:?xt=urn%3Abtih%3Aadf028a8c9c88c1850a4854d04d07a218720c2e9&dn=HD_Pazaak_Cards.zip" }, + "{archives}/HQSkyboxesII_K1.7z": { + "sha256": "c986b25b6d97815bdda434f2cefeab6825ad97e25ffec14c633d85a803409352", + "bytes": 76159989, + "name": "HQSkyboxesII_K1.7z", + "info_hash": "21f3e2b46780898ffc99037be62836584294d5b2", + "magnet": "magnet:?xt=urn%3Abtih%3A21f3e2b46780898ffc99037be62836584294d5b2&dn=HQSkyboxesII_K1.7z" + }, "{archives}/Helena_Shan_Improvement.zip": { "sha256": "ad7ce3e01353f56a8c6a190cc406f7834356a55eae14013c3e43873e466b5e59", "bytes": 2041813, @@ -170,6 +331,20 @@ "info_hash": "0bcd72629548bbeec966643215a57476addfcf2e", "magnet": "magnet:?xt=urn%3Abtih%3A0bcd72629548bbeec966643215a57476addfcf2e&dn=Helena_Shan_Improvement.zip" }, + "{archives}/High Quality Blasters 1.1.zip": { + "sha256": "7450288a232020e2b7ea7b408cb0d19e86783b364d57b1f3de4c1b5939671f63", + "bytes": 24860026, + "name": "High Quality Blasters 1.1.zip", + "info_hash": "738d2dd65f4e7aa61ed766b7835097e3a029fe21", + "magnet": "magnet:?xt=urn%3Abtih%3A738d2dd65f4e7aa61ed766b7835097e3a029fe21&dn=High+Quality+Blasters+1.1.zip" + }, + "{archives}/High Quality Cockpit Skyboxes M.zip": { + "sha256": "91253a4caa3f99a0f99a47e508beb31d0e222733fd77ed38c909bc9cf1d61da2", + "bytes": 48329367, + "name": "High Quality Cockpit Skyboxes M.zip", + "info_hash": "94b9c244f0f1f3cfd308057e0e66871d51bdca6c", + "magnet": "magnet:?xt=urn%3Abtih%3A94b9c244f0f1f3cfd308057e0e66871d51bdca6c&dn=High+Quality+Cockpit+Skyboxes+M.zip" + }, "{archives}/High quality skyboxes model fixes.rar": { "sha256": "a5916af847b1036bc0890bab3c988dba49a9055e7f12f39d05ba0a5cddce3fc4", "bytes": 380316, @@ -184,6 +359,13 @@ "info_hash": "089f200a3a5aa83420fb53efa5765e97ef33f879", "magnet": "magnet:?xt=urn%3Abtih%3A089f200a3a5aa83420fb53efa5765e97ef33f879&dn=Improved+Cantina+Sitters.zip" }, + "{archives}/Ithorian HD.rar": { + "sha256": "8c55f445b1b5292ab5e0e3c1213302045b8f43a7654d084c5875c7fb5f4282cb", + "bytes": 27626443, + "name": "Ithorian HD.rar", + "info_hash": "c016b18bcb135c51187bebe4d395a9782ce9ffd6", + "magnet": "magnet:?xt=urn%3Abtih%3Ac016b18bcb135c51187bebe4d395a9782ce9ffd6&dn=Ithorian+HD.rar" + }, "{archives}/JAO_Saber_Replacement.7z": { "sha256": "cec86a5b9cd89951ac796ff345990d2f36eac8eae33132f19306338e7d3b4714", "bytes": 246733, @@ -198,6 +380,20 @@ "info_hash": "49d638c85dcc47722f35ea719147b86dc0b939f9", "magnet": "magnet:?xt=urn%3Abtih%3A49d638c85dcc47722f35ea719147b86dc0b939f9&dn=JC_s+Blaster+Visual+Effects+for+K1.zip" }, + "{archives}/JC_s Czerka - Business Attire for K1.zip": { + "sha256": "13622051ea1a12ec889fb7c6e046c7abf0c96dc6ddafd4e03dbcc85a61805543", + "bytes": 5505826, + "name": "JC_s Czerka - Business Attire for K1.zip", + "info_hash": "e76a748227e0f77123a839035219e0cd0b8a1492", + "magnet": "magnet:?xt=urn%3Abtih%3Ae76a748227e0f77123a839035219e0cd0b8a1492&dn=JC_s+Czerka+-+Business+Attire+for+K1.zip" + }, + "{archives}/JC_s Fashion Line I - Cloaked Jedi Robes for K1 v1.4.7z": { + "sha256": "e1ff8d6398cc1cc8de4789ddcdba711ceb5c98358ceef9623504d1c5bc4491e4", + "bytes": 17822973, + "name": "JC_s Fashion Line I - Cloaked Jedi Robes for K1 v1.4.7z", + "info_hash": "4ac5d228f90e72d8408c1d325325552da832bc0e", + "magnet": "magnet:?xt=urn%3Abtih%3A4ac5d228f90e72d8408c1d325325552da832bc0e&dn=JC_s+Fashion+Line+I+-+Cloaked+Jedi+Robes+for+K1+v1.4.7z" + }, "{archives}/JC_s Jedi Tailor for K1 v1.4.zip": { "sha256": "074f3d7b447019d20f855915d82f0aefcbb94a8b96235c7ef6020af25aad0d19", "bytes": 948402, @@ -226,6 +422,20 @@ "info_hash": "5e173c0f9d98fe376dcf31bb5406ab50cc80156e", "magnet": "magnet:?xt=urn%3Abtih%3A5e173c0f9d98fe376dcf31bb5406ab50cc80156e&dn=JC_s+Minor+Fixes+-+Compatibility+Patch-1282-4-1-1629713341.rar" }, + "{archives}/JC_s Minor Fixes for K1 v1.1.zip": { + "sha256": "8bd3edee5af3af210405fa7871bc7580659d24e50fa56a7af0f550966d6cbae5", + "bytes": 3634303, + "name": "JC_s Minor Fixes for K1 v1.1.zip", + "info_hash": "f51fbbedd0c1f9f32a5e6487ddea7d287701ae25", + "magnet": "magnet:?xt=urn%3Abtih%3Af51fbbedd0c1f9f32a5e6487ddea7d287701ae25&dn=JC_s+Minor+Fixes+for+K1+v1.1.zip" + }, + "{archives}/JC_s Romance Enhancement - Dark Sacrifice for K1 v1.0.zip": { + "sha256": "5e3bde094feea158b0faf472328781e7bb5be8712be179ff1c634384e022d748", + "bytes": 7461552, + "name": "JC_s Romance Enhancement - Dark Sacrifice for K1 v1.0.zip", + "info_hash": "7914b166ee7bc84266ae73c7aa7d9291c393b4d2", + "magnet": "magnet:?xt=urn%3Abtih%3A7914b166ee7bc84266ae73c7aa7d9291c393b4d2&dn=JC_s+Romance+Enhancement+-+Dark+Sacrifice+for+K1+v1.0.zip" + }, "{archives}/JC_s Vision Enhancement for K1 v1.2.zip": { "sha256": "76069ee1c70ac4a73705238d9296e8665fc33e50f405d5972e60c9f7ca0027d6", "bytes": 559912, @@ -240,6 +450,20 @@ "info_hash": "d3b0818a86e19eca86468e25eaf7b26cebb7aca3", "magnet": "magnet:?xt=urn%3Abtih%3Ad3b0818a86e19eca86468e25eaf7b26cebb7aca3&dn=Jedi+Choice+Dialogue+Enhancement.zip" }, + "{archives}/Jolee Bindo HD \u00e2__ clothes.rar": { + "sha256": "038ea3eca9dd43d5e5b24315c4700350b97fd6b7b4fe22c6fe47528dbc87276a", + "bytes": 11736533, + "name": "Jolee Bindo HD \u00e2__ clothes.rar", + "info_hash": "ef229784eb9c691dc9443fb66912f4c9d7897067", + "magnet": "magnet:?xt=urn%3Abtih%3Aef229784eb9c691dc9443fb66912f4c9d7897067&dn=Jolee+Bindo+HD+%C3%A2__+clothes.rar" + }, + "{archives}/Juhani Appearance Overhaul.rar": { + "sha256": "e3469c2c9663a20da110875fd54050048f03ff855a4e78b7df1de23b24f3e6f0", + "bytes": 11767387, + "name": "Juhani Appearance Overhaul.rar", + "info_hash": "5ed4595ed1f3303286f6090e0dc59154fb926b75", + "magnet": "magnet:?xt=urn%3Abtih%3A5ed4595ed1f3303286f6090e0dc59154fb926b75&dn=Juhani+Appearance+Overhaul.rar" + }, "{archives}/Juhani Dialogue Restoration.zip": { "sha256": "fa51c69d3e177a311b12a624e96c9afbd16e64ef714f241cac48acf6afd98465", "bytes": 6644, @@ -254,6 +478,27 @@ "info_hash": "010a4dbe1dc8de45235fe143b529950c1677b94e", "magnet": "magnet:?xt=urn%3Abtih%3A010a4dbe1dc8de45235fe143b529950c1677b94e&dn=Juhani_Romance_Enhancement.zip" }, + "{archives}/K1 Ebon Hawk Transparent Cockpit Windows v1_1_1.7z": { + "sha256": "cbfad5a30c61b4398f6212f109053594b556035d61ec55d09543f22243798c0f", + "bytes": 11559968, + "name": "K1 Ebon Hawk Transparent Cockpit Windows v1_1_1.7z", + "info_hash": "4aa9c7cb02c87cc965362f6284142abfe58f0b0e", + "magnet": "magnet:?xt=urn%3Abtih%3A4aa9c7cb02c87cc965362f6284142abfe58f0b0e&dn=K1+Ebon+Hawk+Transparent+Cockpit+Windows+v1_1_1.7z" + }, + "{archives}/K1 Galaxy Map Fix Pack.zip": { + "sha256": "ba66f17ae0bb1358b2aead343450613f5dd586c8d076e2a142629e912cf7e6b4", + "bytes": 7742433, + "name": "K1 Galaxy Map Fix Pack.zip", + "info_hash": "8c18df402cdde35e6773e1af4a68917eb81a32b4", + "magnet": "magnet:?xt=urn%3Abtih%3A8c18df402cdde35e6773e1af4a68917eb81a32b4&dn=K1+Galaxy+Map+Fix+Pack.zip" + }, + "{archives}/K1 PAVOR v1.3.2.7z": { + "sha256": "588aaed44a7386c9c453c15a373195d0c5e54708b5d169c6490ec106c3474f2b", + "bytes": 11170530, + "name": "K1 PAVOR v1.3.2.7z", + "info_hash": "9ae2290b22c81dcb9e4256b5f49eb0dc82b86041", + "magnet": "magnet:?xt=urn%3Abtih%3A9ae2290b22c81dcb9e4256b5f49eb0dc82b86041&dn=K1+PAVOR+v1.3.2.7z" + }, "{archives}/K1 Party Conversations on Ebon Hawk v1_3_1.7z": { "sha256": "6876c7313b16f5f6a559fcdabb720088c93647fcca4ee175a7c4696f8f92d2b6", "bytes": 393212, @@ -268,6 +513,27 @@ "info_hash": "acb4933d294be2f748fb948f1849d527f9465f01", "magnet": "magnet:?xt=urn%3Abtih%3Aacb4933d294be2f748fb948f1849d527f9465f01&dn=K1+SL+Mouth+Adjustment+v1.1.1.7z" }, + "{archives}/K1 Twi_lek Heads v1.3.3.7z": { + "sha256": "f4f670d319c9e69f76c044ebf6b6a0130a7e725d186f1ee8c5683417262f1ed7", + "bytes": 13486213, + "name": "K1 Twi_lek Heads v1.3.3.7z", + "info_hash": "aa14dc640af9fa66683e6b8e406271091fe6af24", + "magnet": "magnet:?xt=urn%3Abtih%3Aaa14dc640af9fa66683e6b8e406271091fe6af24&dn=K1+Twi_lek+Heads+v1.3.3.7z" + }, + "{archives}/K1 Twi_lek Male NPC Diversity.7z": { + "sha256": "f5da0ee1823feeba8e881dd5626361f6bd4d0e5e6d8c0764ca45e5c6c6f69fc4", + "bytes": 37806629, + "name": "K1 Twi_lek Male NPC Diversity.7z", + "info_hash": "e6aa8247f2e21516008109425b9b79dcb00a2b59", + "magnet": "magnet:?xt=urn%3Abtih%3Ae6aa8247f2e21516008109425b9b79dcb00a2b59&dn=K1+Twi_lek+Male+NPC+Diversity.7z" + }, + "{archives}/K1 Yavin Station Hangar v1_5.7z": { + "sha256": "c392badff4951edc634e0a7b0bfb29ccb3b5e22869fcbf86acb06b519c2376c7", + "bytes": 20964025, + "name": "K1 Yavin Station Hangar v1_5.7z", + "info_hash": "38058425c5094a096ec448eac0efe23575b4de90", + "magnet": "magnet:?xt=urn%3Abtih%3A38058425c5094a096ec448eac0efe23575b4de90&dn=K1+Yavin+Station+Hangar+v1_5.7z" + }, "{archives}/K1CP Patch.rar": { "sha256": "8564c745f3cd545cc356fc9932b5ede331adbd0b7bdd365da3bcd6f4b613665c", "bytes": 128612, @@ -275,6 +541,13 @@ "info_hash": "ba3969235e2623bba7ef993aa39bd35af8b02946", "magnet": "magnet:?xt=urn%3Abtih%3Aba3969235e2623bba7ef993aa39bd35af8b02946&dn=K1CP+Patch.rar" }, + "{archives}/K1_Community_Patch_v1.10.0.zip": { + "sha256": "cdee80d28f9f87ffaa0b39fdfb46a2a3139858d87b3695d5161c96c02df14068", + "bytes": 86802053, + "name": "K1_Community_Patch_v1.10.0.zip", + "info_hash": "357c3e4dec2f7bef8c7fa332fb8a97c85ac0770a", + "magnet": "magnet:?xt=urn%3Abtih%3A357c3e4dec2f7bef8c7fa332fb8a97c85ac0770a&dn=K1_Community_Patch_v1.10.0.zip" + }, "{archives}/K1_HDStarsAndNebulas_1_3.zip": { "sha256": "5f15be30ef787d2519fcfde7e434c414e320becbb54f0390585d7fdd6addb1d0", "bytes": 2004533, @@ -324,6 +597,20 @@ "info_hash": "6ad6ca5d0c430fbf86ef073e7b0832127f9155b1", "magnet": "magnet:?xt=urn%3Abtih%3A6ad6ca5d0c430fbf86ef073e7b0832127f9155b1&dn=KOTOR1-Thematic-Companions_v1.0.1.zip" }, + "{archives}/KYR1.1.7z": { + "sha256": "fb3418b2e8ff44496c1b39974645b1ab1663b2b88188d914fad3e8e8d535b39a", + "bytes": 9264808, + "name": "KYR1.1.7z", + "info_hash": "3309b39b8067f5303e2a6a556bea17497286b9a8", + "magnet": "magnet:?xt=urn%3Abtih%3A3309b39b8067f5303e2a6a556bea17497286b9a8&dn=KYR1.1.7z" + }, + "{archives}/Kebla Yurt (CommF02).rar": { + "sha256": "dd69dcf6695b7f077cc4a3f5c135b839dbc0d5332c0c54234d47494079bd8fa2", + "bytes": 7936903, + "name": "Kebla Yurt (CommF02).rar", + "info_hash": "7b6232a49ff1076292cc3b17aa085f935d809b55", + "magnet": "magnet:?xt=urn%3Abtih%3A7b6232a49ff1076292cc3b17aa085f935d809b55&dn=Kebla+Yurt+%28CommF02%29.rar" + }, "{archives}/KillCzerkaJerk.zip": { "sha256": "c35c49ff297a2cefde992596d261ee365aefdcd233b55206bedbd5661e2d9769", "bytes": 489373, @@ -366,6 +653,13 @@ "info_hash": "929963bb3b9059e17e4c8d56ec46ed1e40f06719", "magnet": "magnet:?xt=urn%3Abtih%3A929963bb3b9059e17e4c8d56ec46ed1e40f06719&dn=KotOR_Dialogue_Fixes_5_5.7z" }, + "{archives}/LTS_EscapePod HD.rar": { + "sha256": "bf82483e25028d76873bcc2a40d5f38f29ac8ddc679de93ca5412784d7213215", + "bytes": 8315036, + "name": "LTS_EscapePod HD.rar", + "info_hash": "b4baae140b24792fb00ce54fabc6866f5abb982c", + "magnet": "magnet:?xt=urn%3Abtih%3Ab4baae140b24792fb00ce54fabc6866f5abb982c&dn=LTS_EscapePod+HD.rar" + }, "{archives}/Leviathan Differentiated Dialogue.7z": { "sha256": "4fd9ea37ee35f825403e69f586ecadba8d161c8c71d2e86ef059bbc440d06f4e", "bytes": 12369, @@ -373,6 +667,34 @@ "info_hash": "0d3c2566387980e288c09a9bf48b9abc210306dd", "magnet": "magnet:?xt=urn%3Abtih%3A0d3c2566387980e288c09a9bf48b9abc210306dd&dn=Leviathan+Differentiated+Dialogue.7z" }, + "{archives}/Loadscreens in Color.zip": { + "sha256": "2be2e19634a562aaca113f1dbeb9fea0eaa88b322bd876e8d88a25557d841aca", + "bytes": 22492891, + "name": "Loadscreens in Color.zip", + "info_hash": "fb0ec1caa55cf7f086da9121f31643edc04c80e3", + "magnet": "magnet:?xt=urn%3Abtih%3Afb0ec1caa55cf7f086da9121f31643edc04c80e3&dn=Loadscreens+in+Color.zip" + }, + "{archives}/Logical Datapads.7z": { + "sha256": "6df10960858d4510e3a30a2e6de7bfa7e8d4831c347743dbac3a1c6494984205", + "bytes": 2984774, + "name": "Logical Datapads.7z", + "info_hash": "bdbc5b0a3daabe9dd27a26dcbd204cc5cac63011", + "magnet": "magnet:?xt=urn%3Abtih%3Abdbc5b0a3daabe9dd27a26dcbd204cc5cac63011&dn=Logical+Datapads.7z" + }, + "{archives}/Malak.rar": { + "sha256": "306f9c82e393796c2be09ea98fe090afa2cfae8dcee8af8fedde9d5cdac52841", + "bytes": 15586202, + "name": "Malak.rar", + "info_hash": "ccd2cb4792787f6ceb35f8a74ef01d90f4c01370", + "magnet": "magnet:?xt=urn%3Abtih%3Accd2cb4792787f6ceb35f8a74ef01d90f4c01370&dn=Malak.rar" + }, + "{archives}/Manaan taxi (English).zip": { + "sha256": "86b45cf8f80b5575cde8c9747a2e2974ae9aeaa0f41cce944260895676a77d49", + "bytes": 12477364, + "name": "Manaan taxi (English).zip", + "info_hash": "7b8819ee532829ee9c4de448e50b145f6b563acf", + "magnet": "magnet:?xt=urn%3Abtih%3A7b8819ee532829ee9c4de448e50b145f6b563acf&dn=Manaan+taxi+%28English%29.zip" + }, "{archives}/Miscellaneous Compatibility Patches-1282-4-1-1629713437.rar": { "sha256": "8bc574b9537112fda55032c9a4d7490a98c7fdc00d3ca6c860c1ccd3ae014db2", "bytes": 13533093, @@ -394,6 +716,13 @@ "info_hash": "4b7332ac664edb8af5aab97950d4da6d204899e5", "magnet": "magnet:?xt=urn%3Abtih%3A4b7332ac664edb8af5aab97950d4da6d204899e5&dn=NO_Fighters.zip-90-v1-0.zip" }, + "{archives}/NPC clothing M.rar": { + "sha256": "26a994916d13fe6087a405d712e4926ef5acf0c11e1ea6fd978623eac397bcac", + "bytes": 90018051, + "name": "NPC clothing M.rar", + "info_hash": "6fa6341ce47429be0eb70fa92b600cb2da4e403c", + "magnet": "magnet:?xt=urn%3Abtih%3A6fa6341ce47429be0eb70fa92b600cb2da4e403c&dn=NPC+clothing+M.rar" + }, "{archives}/NPC_Alignment_Fix_v1_1.rar": { "sha256": "9aceaad3bd4e999f713bae17464a605ee014cba47e4c6a526cae45e49696d0e4", "bytes": 1714221, @@ -401,6 +730,13 @@ "info_hash": "f5689904945ca1f856767ec8fe4aa714ab88a793", "magnet": "magnet:?xt=urn%3Abtih%3Af5689904945ca1f856767ec8fe4aa714ab88a793&dn=NPC_Alignment_Fix_v1_1.rar" }, + "{archives}/N_DarthMalak01.tga": { + "sha256": "04160ed9e2eef2c88a3ed644ec2be24e5cd765f67a7cca35106be062e20358cd", + "bytes": 14338875, + "name": "N_DarthMalak01.tga", + "info_hash": "18a0bf3a60c0da4ffa292c72f54f929dc735a3e2", + "magnet": "magnet:?xt=urn%3Abtih%3A18a0bf3a60c0da4ffa292c72f54f929dc735a3e2&dn=N_DarthMalak01.tga" + }, "{archives}/N_DeadeyeH01.rar": { "sha256": "c4c6a03079da78b6be559f03d06f80f77377c7876862c39f6efd727442979f5d", "bytes": 1445793, @@ -415,6 +751,13 @@ "info_hash": "3971be1929265d36ced9f9152b1f902d0871442d", "magnet": "magnet:?xt=urn%3Abtih%3A3971be1929265d36ced9f9152b1f902d0871442d&dn=N_oldAMH01.rar" }, + "{archives}/New_Lightsaber_Blades_K1_v_1.rar": { + "sha256": "4df9c2cbb99516cb2fe60b3955bd1d3387e6da149d557d75c2b931d57b6c9499", + "bytes": 13756798, + "name": "New_Lightsaber_Blades_K1_v_1.rar", + "info_hash": "18c1323872f358fee894802ad5db4f3fa9c4d953", + "magnet": "magnet:?xt=urn%3Abtih%3A18c1323872f358fee894802ad5db4f3fa9c4d953&dn=New_Lightsaber_Blades_K1_v_1.rar" + }, "{archives}/PC Dialogue with Davik_s Slaves Change.7z": { "sha256": "9ceea33b790c0179154185128ae30dd4e5cdbb82221a787700ad15fa594bf218", "bytes": 334893, @@ -422,6 +765,55 @@ "info_hash": "01616a05a63d37fad07f260165f7ac4c538383f7", "magnet": "magnet:?xt=urn%3Abtih%3A01616a05a63d37fad07f260165f7ac4c538383f7&dn=PC+Dialogue+with+Davik_s+Slaves+Change.7z" }, + "{archives}/PFHC05 HD.rar": { + "sha256": "39ab0e53e7690f94dd4e27a10cfc34ba24bb9e81766500bfea26c80efd7e8dd9", + "bytes": 23647917, + "name": "PFHC05 HD.rar", + "info_hash": "5ae1e9437dca97895beede0825c42ecc97741515", + "magnet": "magnet:?xt=urn%3Abtih%3A5ae1e9437dca97895beede0825c42ecc97741515&dn=PFHC05+HD.rar" + }, + "{archives}/PLC_CompPnl.rar": { + "sha256": "64b0192c3870b980b63e1fcb3fd6b0b9a5aa6850f1a7d905377930e2855b11d2", + "bytes": 5416818, + "name": "PLC_CompPnl.rar", + "info_hash": "16696986498148b9d8da4a19ab4dfc7cfc3d3dc4", + "magnet": "magnet:?xt=urn%3Abtih%3A16696986498148b9d8da4a19ab4dfc7cfc3d3dc4&dn=PLC_CompPnl.rar" + }, + "{archives}/PLC_Desk.rar": { + "sha256": "07acdd9289ce71e11cb4dd71e4bcaaee726cd703b60eeab1dce0c603c133d6ba", + "bytes": 3209713, + "name": "PLC_Desk.rar", + "info_hash": "6d901416183b8e9789dad375854ac36c6edb28e9", + "magnet": "magnet:?xt=urn%3Abtih%3A6d901416183b8e9789dad375854ac36c6edb28e9&dn=PLC_Desk.rar" + }, + "{archives}/PLC_Sign.rar": { + "sha256": "5618241bf4ea2c01c1d4f0908f1748170d91b3d5030692682dc01576ead8d602", + "bytes": 13366060, + "name": "PLC_Sign.rar", + "info_hash": "1998abd605180ab74fd978ee39683cdf03679453", + "magnet": "magnet:?xt=urn%3Abtih%3A1998abd605180ab74fd978ee39683cdf03679453&dn=PLC_Sign.rar" + }, + "{archives}/PMHA01 HD.rar": { + "sha256": "1e066397aa5637befc66dd077bd6928953ea81eca104d72f23aaa7768d6163c2", + "bytes": 22835355, + "name": "PMHA01 HD.rar", + "info_hash": "74ad9ae8925d7e25bcbb57a1ee349d5cacc03655", + "magnet": "magnet:?xt=urn%3Abtih%3A74ad9ae8925d7e25bcbb57a1ee349d5cacc03655&dn=PMHA01+HD.rar" + }, + "{archives}/PMHA02 HD.rar": { + "sha256": "4c4d5f71f8fb5848aed7a40b65452d321e5ca84de21b526aeec1f899192040bb", + "bytes": 24773487, + "name": "PMHA02 HD.rar", + "info_hash": "2b9680232e6c1434be15ed86a04f816d6da1d0b1", + "magnet": "magnet:?xt=urn%3Abtih%3A2b9680232e6c1434be15ed86a04f816d6da1d0b1&dn=PMHA02+HD.rar" + }, + "{archives}/PMHA05 HD.rar": { + "sha256": "62c2a697359f7e6f585d4fc01dffc61e6d6076d21ce8005f2fc692e01ff28642", + "bytes": 25570280, + "name": "PMHA05 HD.rar", + "info_hash": "67ac1e2d752c9e38ea55e8c6d2a2b4cc999866f3", + "magnet": "magnet:?xt=urn%3Abtih%3A67ac1e2d752c9e38ea55e8c6d2a2b4cc999866f3&dn=PMHA05+HD.rar" + }, "{archives}/QSRPK1.7z": { "sha256": "f359948b6fe92bed3b4d773f5b36f028f183baffa8dd0f20284d3c1a0ba6ec84", "bytes": 583573, @@ -429,6 +821,48 @@ "info_hash": "1533114411751d507e0157aae489bb442b3566b5", "magnet": "magnet:?xt=urn%3Abtih%3A1533114411751d507e0157aae489bb442b3566b5&dn=QSRPK1.7z" }, + "{archives}/Qarren HD.rar": { + "sha256": "5b46edcba2ba8e6b4184cb245cb61c07367a0e58756a109fdcafa1cd89e41e25", + "bytes": 11848148, + "name": "Qarren HD.rar", + "info_hash": "483d232856982a253c20c40f06dbfb3db4b9883c", + "magnet": "magnet:?xt=urn%3Abtih%3A483d232856982a253c20c40f06dbfb3db4b9883c&dn=Qarren+HD.rar" + }, + "{archives}/Quanon_CandOrdo_Reskin.rar": { + "sha256": "8446b7b40d358dd2cd7baa19f18ff6627f5a7444e16ac1f036c20adced58106b", + "bytes": 20094036, + "name": "Quanon_CandOrdo_Reskin.rar", + "info_hash": "f1aaacc4dd6a5df9a90fb4b0825009a31ff155f8", + "magnet": "magnet:?xt=urn%3Abtih%3Af1aaacc4dd6a5df9a90fb4b0825009a31ff155f8&dn=Quanon_CandOrdo_Reskin.rar" + }, + "{archives}/Quanon_Gammoreans.rar": { + "sha256": "0b73be09021d0ab4bff4256a7f6450a0449004a23c3eb7ff1d0e89ee6a4fe8f3", + "bytes": 9586193, + "name": "Quanon_Gammoreans.rar", + "info_hash": "97ba0193aeb71b0816324c8dee826c755d5fa434", + "magnet": "magnet:?xt=urn%3Abtih%3A97ba0193aeb71b0816324c8dee826c755d5fa434&dn=Quanon_Gammoreans.rar" + }, + "{archives}/Quanons_HK47_Reskin.rar": { + "sha256": "adee9bb836e3b2cd8e36232c60a71ff56fff49cf3f41334770612b3c01c9b7d7", + "bytes": 7026961, + "name": "Quanons_HK47_Reskin.rar", + "info_hash": "283d4b13b1964a544c718a04fc76fac36f6d7e4c", + "magnet": "magnet:?xt=urn%3Abtih%3A283d4b13b1964a544c718a04fc76fac36f6d7e4c&dn=Quanons_HK47_Reskin.rar" + }, + "{archives}/Random HD UI Elements.zip": { + "sha256": "aa8f838577c67e7b0fdf728855bf204874964bf75af43a16422cfded3e6a849e", + "bytes": 12592228, + "name": "Random HD UI Elements.zip", + "info_hash": "d15015cffed3575adef32d7909ea8549ed0d19ae", + "magnet": "magnet:?xt=urn%3Abtih%3Ad15015cffed3575adef32d7909ea8549ed0d19ae&dn=Random+HD+UI+Elements.zip" + }, + "{archives}/Rebalanced Grenades v1.0.7z": { + "sha256": "2c8398010f551088e0f4064f85e1e4992bc5433c399235b0cd39ebf7b106ccc5", + "bytes": 9364850, + "name": "Rebalanced Grenades v1.0.7z", + "info_hash": "c886661fe37aca98ad4c77f2d49be258b82cf721", + "magnet": "magnet:?xt=urn%3Abtih%3Ac886661fe37aca98ad4c77f2d49be258b82cf721&dn=Rebalanced+Grenades+v1.0.7z" + }, "{archives}/RecruitT3M4Early.rar": { "sha256": "39de204e7f59920bb210b6e0c5138ca5b3312712a6e6fe6c77716e99d84c1d9a", "bytes": 13706, @@ -436,6 +870,20 @@ "info_hash": "027e118a9fb6ae581ab2cdab5013c2cf049e1e6b", "magnet": "magnet:?xt=urn%3Abtih%3A027e118a9fb6ae581ab2cdab5013c2cf049e1e6b&dn=RecruitT3M4Early.rar" }, + "{archives}/RepTab HD.rar": { + "sha256": "c06c475f64ca9cb4f6bffc85c4d25a96e72c7e8ff52d076b9960524a89ab61d6", + "bytes": 9382284, + "name": "RepTab HD.rar", + "info_hash": "6220f56f516ecc89a61c49183959c721ef6f6363", + "magnet": "magnet:?xt=urn%3Abtih%3A6220f56f516ecc89a61c49183959c721ef6f6363&dn=RepTab+HD.rar" + }, + "{archives}/Revamped FX.rar": { + "sha256": "e6d5fcf369a18e31759fc2bac7be414f8d48ee6d8267a8f5c63f39e6f1d95c7a", + "bytes": 43081191, + "name": "Revamped FX.rar", + "info_hash": "e7d4f58ab3263f487c4013b9bb8114ab36b7b449", + "magnet": "magnet:?xt=urn%3Abtih%3Ae7d4f58ab3263f487c4013b9bb8114ab36b7b449&dn=Revamped+FX.rar" + }, "{archives}/Robes_With_Shadows_JC_K1_v1.2.0.7z": { "sha256": "927fcb0b50fad0b959e2147af694d76768e6e58a8c16777e8b07e7340897423b", "bytes": 877587, @@ -464,6 +912,13 @@ "info_hash": "a7bfba1f85261e236923068c4ab8478abe8b80c4", "magnet": "magnet:?xt=urn%3Abtih%3Aa7bfba1f85261e236923068c4ab8478abe8b80c4&dn=SH_EHCockpitUpgrade_LEH_Scre01_MS.7z" }, + "{archives}/SH_EHCockpitUpgrade_LEH_Scre02.7z": { + "sha256": "80259ba20a0b8b0730b22a9b5d72decb4c412cd8a063a87fafbe26ca0d378e20", + "bytes": 4186165, + "name": "SH_EHCockpitUpgrade_LEH_Scre02.7z", + "info_hash": "af8a01a546929d0f523435b6d197a7d8680e57ad", + "magnet": "magnet:?xt=urn%3Abtih%3Aaf8a01a546929d0f523435b6d197a7d8680e57ad&dn=SH_EHCockpitUpgrade_LEH_Scre02.7z" + }, "{archives}/SMRE Version 3.0.zip": { "sha256": "91e546732e8c96584449c6a0f0823d303fbbba04a147ba926445f331b0d860ec", "bytes": 1168253, @@ -471,6 +926,13 @@ "info_hash": "e217878a313dc83ff1829b297e55a5dc5c4e1561", "magnet": "magnet:?xt=urn%3Abtih%3Ae217878a313dc83ff1829b297e55a5dc5c4e1561&dn=SMRE+Version+3.0.zip" }, + "{archives}/SVR1.2.7z": { + "sha256": "5ffb09fda12de70d589acc63356776aad2c21e638a66bff9abf321b8ea3c803b", + "bytes": 9271897, + "name": "SVR1.2.7z", + "info_hash": "79fcfa13d3445d9910b954f669bb8eb7d02a40f3", + "magnet": "magnet:?xt=urn%3Abtih%3A79fcfa13d3445d9910b954f669bb8eb7d02a40f3&dn=SVR1.2.7z" + }, "{archives}/Sentinel Sneak Attack-1710-1-2-0-1757276890.7z": { "sha256": "94f6455a5888726bc8f9b621976e7e6ec37fdcc69c00f9201588213fa141cbed", "bytes": 11173121, @@ -485,6 +947,13 @@ "info_hash": "6730a85c57486e464f913bce62aa166ee2d7b744", "magnet": "magnet:?xt=urn%3Abtih%3A6730a85c57486e464f913bce62aa166ee2d7b744&dn=Sith+Art-1632-1-1713373365.zip" }, + "{archives}/Sith Soldier Texture Restoration-v2.4.zip": { + "sha256": "5212aff2def903e07fbe5505441b5062fabe5e030cfcf2a5d79148a5ef4a33e5", + "bytes": 4207511, + "name": "Sith Soldier Texture Restoration-v2.4.zip", + "info_hash": "49c657a46378698e5b0dad314d92ca0f37996b98", + "magnet": "magnet:?xt=urn%3Abtih%3A49c657a46378698e5b0dad314d92ca0f37996b98&dn=Sith+Soldier+Texture+Restoration-v2.4.zip" + }, "{archives}/Sneak Attack 10 Restoration.zip": { "sha256": "8067c59b86c8f22a2a74a94938ed8829a2236856de60e01a9cecf3fa2dd7c596", "bytes": 336885, @@ -492,6 +961,27 @@ "info_hash": "d5532838b64353e2042ae8b30d7df90a3632089b", "magnet": "magnet:?xt=urn%3Abtih%3Ad5532838b64353e2042ae8b30d7df90a3632089b&dn=Sneak+Attack+10+Restoration.zip" }, + "{archives}/Star-Map_Revamp_1-1.zip": { + "sha256": "a70bd1f7a93eab16583babd6f928a84ad8ebfee55af995aad81ccb9330845bce", + "bytes": 4710028, + "name": "Star-Map_Revamp_1-1.zip", + "info_hash": "fa4f7f1204ad526e3240b1680bb427d4ce6397a5", + "magnet": "magnet:?xt=urn%3Abtih%3Afa4f7f1204ad526e3240b1680bb427d4ce6397a5&dn=Star-Map_Revamp_1-1.zip" + }, + "{archives}/Stun baton HD.rar": { + "sha256": "ad644d158d67702b4dd0f4e98f1d32b60e7f4212e6c38225c7ec0de485c6bd66", + "bytes": 5587054, + "name": "Stun baton HD.rar", + "info_hash": "dd02c20ef1dd8efbc6f9e4470c08b61a5c367412", + "magnet": "magnet:?xt=urn%3Abtih%3Add02c20ef1dd8efbc6f9e4470c08b61a5c367412&dn=Stun+baton+HD.rar" + }, + "{archives}/Stylized_Portraits_KOTOR_Light.7z": { + "sha256": "cb818488eb2c83db127189ecbb20c1aaa4c9f27b79f76b84ef5142d7fd736193", + "bytes": 3070093, + "name": "Stylized_Portraits_KOTOR_Light.7z", + "info_hash": "cbf9e388dbb8ba2ee733aa92b86c3ac199773168", + "magnet": "magnet:?xt=urn%3Abtih%3Acbf9e388dbb8ba2ee733aa92b86c3ac199773168&dn=Stylized_Portraits_KOTOR_Light.7z" + }, "{archives}/Taris Rapid Transit FULL-1666-1-1-1727167081.rar": { "sha256": "27fd874bca4479fac2f244fdc7d59e538757bf301e105f691dffbfbc20c09871", "bytes": 2087151, @@ -527,6 +1017,13 @@ "info_hash": "9c086c74fca27dc1a715a17b5196b33e1655a6a4", "magnet": "magnet:?xt=urn%3Abtih%3A9c086c74fca27dc1a715a17b5196b33e1655a6a4&dn=Trask+Ulgo+Without+Tutorials.7z" }, + "{archives}/USG1.2.7z": { + "sha256": "aae6e798f2d08177de076598e31c77b82b6f9b81ae2f76ebf03ac6c0ca7e6a39", + "bytes": 9651772, + "name": "USG1.2.7z", + "info_hash": "598390ba19ec9e6f300605a4dae94a7b4a46fa05", + "magnet": "magnet:?xt=urn%3Abtih%3A598390ba19ec9e6f300605a4dae94a7b4a46fa05&dn=USG1.2.7z" + }, "{archives}/Ultimate Character Overhaul -REDUX- ( LITE ) - TPC Version-1282-4-1-1628550322.rar": { "sha256": "ed3034b682c07d8bf3056a3c3769aaa82dc6275926d48a5234b014c9ee8aced8", "bytes": 329786108, @@ -534,6 +1031,20 @@ "info_hash": "5c24e95b6e59b2ce385d402b8bd6be5a6df4c22d", "magnet": "magnet:?xt=urn%3Abtih%3A5c24e95b6e59b2ce385d402b8bd6be5a6df4c22d&dn=Ultimate+Character+Overhaul+-REDUX-+%28+LITE+%29+-+TPC+Version-1282-4-1-1628550322.rar" }, + "{archives}/Ultimate Dantooine High Resolution - TPC Version-1368-1-2-1669481433.rar": { + "sha256": "bf40814a47ce6856ec4c198e9b75e01e6b00ad91a2d9ca4486844c055e1bde8a", + "bytes": 494070294, + "name": "Ultimate Dantooine High Resolution - TPC Version-1368-1-2-1669481433.rar", + "info_hash": "119effab4cfecb93bbaf3a5e9150012cb2d97cf4", + "magnet": "magnet:?xt=urn%3Abtih%3A119effab4cfecb93bbaf3a5e9150012cb2d97cf4&dn=Ultimate+Dantooine+High+Resolution+-+TPC+Version-1368-1-2-1669481433.rar" + }, + "{archives}/Ultimate Endar Spire-Star Forgre-Yavin Station - TPC Version-1370-1-1-1669482487.rar": { + "sha256": "47439d7c2e25f02358a31af815b88a3c244081f3ad824ba0ab2abfa5bba6b61a", + "bytes": 497412006, + "name": "Ultimate Endar Spire-Star Forgre-Yavin Station - TPC Version-1370-1-1-1669482487.rar", + "info_hash": "4ea1d2ce34e31f33043a7d6cc8c3b2533fec5eb1", + "magnet": "magnet:?xt=urn%3Abtih%3A4ea1d2ce34e31f33043a7d6cc8c3b2533fec5eb1&dn=Ultimate+Endar+Spire-Star+Forgre-Yavin+Station+-+TPC+Version-1370-1-1-1669482487.rar" + }, "{archives}/Ultimate Kashyyyk High Resolution - TPC Version-1365-1-2-1669476173.rar": { "sha256": "3d53dc0c905f28043c500c74eaa814ffb8447ed4c7aeed38f8367d9b3115752b", "bytes": 316045534, @@ -541,6 +1052,34 @@ "info_hash": "8a71f03d64fe71ada35d9c730a0b7aebf78492d1", "magnet": "magnet:?xt=urn%3Abtih%3A8a71f03d64fe71ada35d9c730a0b7aebf78492d1&dn=Ultimate+Kashyyyk+High+Resolution+-+TPC+Version-1365-1-2-1669476173.rar" }, + "{archives}/Ultimate Korriban High Resolution - TPC Version-1367-1-2-1668960810.rar": { + "sha256": "9c587b682f8469c22093e9b718d1110a209c0666ece65dd007fceb9b002a11ee", + "bytes": 716440044, + "name": "Ultimate Korriban High Resolution - TPC Version-1367-1-2-1668960810.rar", + "info_hash": "aed6db0070fb6189a13781f205e177f8b5aa9b6f", + "magnet": "magnet:?xt=urn%3Abtih%3Aaed6db0070fb6189a13781f205e177f8b5aa9b6f&dn=Ultimate+Korriban+High+Resolution+-+TPC+Version-1367-1-2-1668960810.rar" + }, + "{archives}/Ultimate Manaan High Resolution - TPC Version-1366-1-1-1669479766.rar": { + "sha256": "c1c68f78a7b1cb80b6803d9347475f5c4fc534f2be0f235ce2163cad2e3f5387", + "bytes": 422809388, + "name": "Ultimate Manaan High Resolution - TPC Version-1366-1-1-1669479766.rar", + "info_hash": "07897eb0a2ab0124dfc59d2b3ebe51478ac7b006", + "magnet": "magnet:?xt=urn%3Abtih%3A07897eb0a2ab0124dfc59d2b3ebe51478ac7b006&dn=Ultimate+Manaan+High+Resolution+-+TPC+Version-1366-1-1-1669479766.rar" + }, + "{archives}/Ultimate Taris High Resolution - TPC Version-1360-2-3-1669473109.rar": { + "sha256": "2ead03356a24309a4d5f699966e709fe0c5ba1d900d27ed1d9bd2254f69610d9", + "bytes": 1422806887, + "name": "Ultimate Taris High Resolution - TPC Version-1360-2-3-1669473109.rar", + "info_hash": "dac49cf10e0e50ffa7ad0670e080fc00ba7fbefa", + "magnet": "magnet:?xt=urn%3Abtih%3Adac49cf10e0e50ffa7ad0670e080fc00ba7fbefa&dn=Ultimate+Taris+High+Resolution+-+TPC+Version-1360-2-3-1669473109.rar" + }, + "{archives}/Ultimate Tatooine High Resolution - TPC Version-1364-1-2-1669474980.rar": { + "sha256": "3ec658c09cebcd9a8cc2ccf12c53faf2bc4dea0d32765cb1459f0fc45e46bd41", + "bytes": 466430635, + "name": "Ultimate Tatooine High Resolution - TPC Version-1364-1-2-1669474980.rar", + "info_hash": "0475b2eea31fe1859785ec6c55d7c0ff9b789d83", + "magnet": "magnet:?xt=urn%3Abtih%3A0475b2eea31fe1859785ec6c55d7c0ff9b789d83&dn=Ultimate+Tatooine+High+Resolution+-+TPC+Version-1364-1-2-1669474980.rar" + }, "{archives}/Ultimate Unknown World High Resolution - TPC Version-1369-1-2-1675865873.rar": { "sha256": "85ddb679d923d72806b3b7085cc5ce33c9ae99f21705469fa25b27a4b80f9fac", "bytes": 280988383, @@ -548,6 +1087,27 @@ "info_hash": "124eee7733cbcfe7213f49434b4d52f11eeeaa54", "magnet": "magnet:?xt=urn%3Abtih%3A124eee7733cbcfe7213f49434b4d52f11eeeaa54&dn=Ultimate+Unknown+World+High+Resolution+-+TPC+Version-1369-1-2-1675865873.rar" }, + "{archives}/Ultimate_Ebon_Hawk_Repairs_For_K1_v2.0.0.7z": { + "sha256": "bae3746c04c073383fd4d38db215446a508b6025011368179a3a7e0a9b2bd8b7", + "bytes": 4200224, + "name": "Ultimate_Ebon_Hawk_Repairs_For_K1_v2.0.0.7z", + "info_hash": "78391e747261a9acceb82f1e7b53949fe97aa908", + "magnet": "magnet:?xt=urn%3Abtih%3A78391e747261a9acceb82f1e7b53949fe97aa908&dn=Ultimate_Ebon_Hawk_Repairs_For_K1_v2.0.0.7z" + }, + "{archives}/Upscale+ Character Fixes - KotOR V0.52 (2x tpc).7z": { + "sha256": "e8ca53fc070d740ba7464ab9bbd227505e9e7240e25d535e781b661a8b21523c", + "bytes": 198507558, + "name": "Upscale+ Character Fixes - KotOR V0.52 (2x tpc).7z", + "info_hash": "72be906788caa240ae2e7e55d0fe6a37bbcdff7f", + "magnet": "magnet:?xt=urn%3Abtih%3A72be906788caa240ae2e7e55d0fe6a37bbcdff7f&dn=Upscale%2B+Character+Fixes+-+KotOR+V0.52+%282x+tpc%29.7z" + }, + "{archives}/Vurt-Yavin Compatch.7z": { + "sha256": "df398a85af50791954e11986c90583a145a2e7a00cd47efa30e07f15f69dc1b8", + "bytes": 9027255, + "name": "Vurt-Yavin Compatch.7z", + "info_hash": "7550befdf5e9636851f4815d3daaf0d603d38844", + "magnet": "magnet:?xt=urn%3Abtih%3A7550befdf5e9636851f4815d3daaf0d603d38844&dn=Vurt-Yavin+Compatch.7z" + }, "{archives}/WookieWarbladeFix-Redrob41.7z": { "sha256": "e8be4a2386ad3f27ff594481e2d0544fb8b37ce18a395cd1a88e54cd8b7bb5e7", "bytes": 13523, @@ -555,6 +1115,13 @@ "info_hash": "f7c8edd4a1f333897ef607adc209025886847abe", "magnet": "magnet:?xt=urn%3Abtih%3Af7c8edd4a1f333897ef607adc209025886847abe&dn=WookieWarbladeFix-Redrob41.7z" }, + "{archives}/ZaalbarHD.rar": { + "sha256": "d21e8b3f0a673dce9d6e5b9bd2daddc0d64a154e870f667968a8707922303d8e", + "bytes": 9197934, + "name": "ZaalbarHD.rar", + "info_hash": "ba3d37af6b9ed2e698b403398a155d468c634a4c", + "magnet": "magnet:?xt=urn%3Abtih%3Aba3d37af6b9ed2e698b403398a155d468c634a4c&dn=ZaalbarHD.rar" + }, "{archives}/[K1] Repair Affects Stun Droid.zip": { "sha256": "1f9df7fccc51a2031242605fddb99924698a68873827aa6ea6903ef57c6f5ff4", "bytes": 351766, @@ -562,6 +1129,20 @@ "info_hash": "fdcfccb59086e9847d28a7e9e71ee7e2df641918", "magnet": "magnet:?xt=urn%3Abtih%3Afdcfccb59086e9847d28a7e9e71ee7e2df641918&dn=%5BK1%5D+Repair+Affects+Stun+Droid.zip" }, + "{archives}/[K1] Swoop from K2 to K1.rar": { + "sha256": "048b837e0d55fa86477ce4aff31371a4af43abc49dc16bd166f699c255634c44", + "bytes": 53109841, + "name": "[K1] Swoop from K2 to K1.rar", + "info_hash": "ec177fe54a8b8d67fc3f05acc1d7ed7d234cf69a", + "magnet": "magnet:?xt=urn%3Abtih%3Aec177fe54a8b8d67fc3f05acc1d7ed7d234cf69a&dn=%5BK1%5D+Swoop+from+K2+to+K1.rar" + }, + "{archives}/[K1] Swoop platform models repairs.rar": { + "sha256": "78ad904fc30c56112531dd328fddd16b501a23523c5ca37d33d0283ec6089996", + "bytes": 131298749, + "name": "[K1] Swoop platform models repairs.rar", + "info_hash": "5b1410436b828724d026b05fb191467f5420cc07", + "magnet": "magnet:?xt=urn%3Abtih%3A5b1410436b828724d026b05fb191467f5420cc07&dn=%5BK1%5D+Swoop+platform+models+repairs.rar" + }, "{archives}/[K1]_All_Hands_on_Deck_for_the_Leviathan_Prison_Break.7z": { "sha256": "e71a0fbad091c2e0a735927178777d2f7a538ff073de0a9d59706326f3ba8f12", "bytes": 819917, @@ -569,6 +1150,13 @@ "info_hash": "503fa9942c71b7d41bdae87f9f280b37b5176a19", "magnet": "magnet:?xt=urn%3Abtih%3A503fa9942c71b7d41bdae87f9f280b37b5176a19&dn=%5BK1%5D_All_Hands_on_Deck_for_the_Leviathan_Prison_Break.7z" }, + "{archives}/[K1]_Animated_Swoop_Screen_[TSLPort].7z": { + "sha256": "5ab45559280e63fccc78c6ab340050e4bdbf587590d5f011bd29d29e451b69fc", + "bytes": 3230912, + "name": "[K1]_Animated_Swoop_Screen_[TSLPort].7z", + "info_hash": "7c8a11c32fb6a1e43e44e690eb7f3b644e9256ef", + "magnet": "magnet:?xt=urn%3Abtih%3A7c8a11c32fb6a1e43e44e690eb7f3b644e9256ef&dn=%5BK1%5D_Animated_Swoop_Screen_%5BTSLPort%5D.7z" + }, "{archives}/[K1]_Control_Panel_For_Kashyyyk_Shadowlands_Forcefield_v1.1.7z": { "sha256": "91606b147a991143bedb87af1566bfe678bacdc66c0cef8eb36ddc7e13ef9287", "bytes": 490129, @@ -576,6 +1164,20 @@ "info_hash": "4b01a5616f50f6f9855bf7979d05c46e778e7f27", "magnet": "magnet:?xt=urn%3Abtih%3A4b01a5616f50f6f9855bf7979d05c46e778e7f27&dn=%5BK1%5D_Control_Panel_For_Kashyyyk_Shadowlands_Forcefield_v1.1.7z" }, + "{archives}/[K1]_Dark_Side_Ending_Cutscene_Enhancement_v1.2.7z": { + "sha256": "d45338d552a51432800fca4a7ebb4797969768c1ce174d63947e19601cfc1419", + "bytes": 6860694, + "name": "[K1]_Dark_Side_Ending_Cutscene_Enhancement_v1.2.7z", + "info_hash": "092052face76217807e6381c3daa3c95f892c113", + "magnet": "magnet:?xt=urn%3Abtih%3A092052face76217807e6381c3daa3c95f892c113&dn=%5BK1%5D_Dark_Side_Ending_Cutscene_Enhancement_v1.2.7z" + }, + "{archives}/[K1]_Diversified_Jedi_Captives_on_the_SF_v1.2.4.7z": { + "sha256": "38432372949d50bfe223ee63176084592f8cd52991d53b72f667557c0bf4d460", + "bytes": 3588917, + "name": "[K1]_Diversified_Jedi_Captives_on_the_SF_v1.2.4.7z", + "info_hash": "a5a9b757d20585aa76248f44f035e5a014e9c557", + "magnet": "magnet:?xt=urn%3Abtih%3Aa5a9b757d20585aa76248f44f035e5a014e9c557&dn=%5BK1%5D_Diversified_Jedi_Captives_on_the_SF_v1.2.4.7z" + }, "{archives}/[K1]_Diversified_Wounded_Republic_Soldiers_On_Taris_v1.4.7z": { "sha256": "263036b8b60ba8b14e45d3799fde77af862a6fd270298b88ad01c55f9d1fea35", "bytes": 1684994, @@ -639,6 +1241,13 @@ "info_hash": "c13cbe3a35d755e7d93daf74037f063b96407962", "magnet": "magnet:?xt=urn%3Abtih%3Ac13cbe3a35d755e7d93daf74037f063b96407962&dn=%5BK1%5D_Republic_Soldier_s_New_Shade_v1.1.1.7z" }, + "{archives}/[K1]_Taris_Dueling_Arena_Adjustment_v1.4.7z": { + "sha256": "8e2e92a7b18acf456525919eba59448f8b0c50db6a86fab6fe66a31f8c337101", + "bytes": 4297459, + "name": "[K1]_Taris_Dueling_Arena_Adjustment_v1.4.7z", + "info_hash": "3bfa645bba77e848322a93ffb859850b7acb3cbb", + "magnet": "magnet:?xt=urn%3Abtih%3A3bfa645bba77e848322a93ffb859850b7acb3cbb&dn=%5BK1%5D_Taris_Dueling_Arena_Adjustment_v1.4.7z" + }, "{archives}/[K1]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z": { "sha256": "e28dd8e789dec84a3553802680ecf3531b471a63759a191f71b13bab5d5e0c29", "bytes": 684734, @@ -695,6 +1304,34 @@ "info_hash": "566a03860406a16c1fa4751ca28b46efc9f30cfc", "magnet": "magnet:?xt=urn%3Abtih%3A566a03860406a16c1fa4751ca28b46efc9f30cfc&dn=ebon_hawk_camera.zip" }, + "{archives}/hd_kt_400_military_droid_carrier_and_lethisk_class_armed_freighter.rar": { + "sha256": "4474671d11c3b9cf417bbd4afd9b107a282a1c105003e50eebe1ac9f2fbe5287", + "bytes": 65996144, + "name": "hd_kt_400_military_droid_carrier_and_lethisk_class_armed_freighter.rar", + "info_hash": "39fa9a9b37a66feec7c4f84bb62332d69429edf9", + "magnet": "magnet:?xt=urn%3Abtih%3A39fa9a9b37a66feec7c4f84bb62332d69429edf9&dn=hd_kt_400_military_droid_carrier_and_lethisk_class_armed_freighter.rar" + }, + "{archives}/hd_npc_portraits-v2.0.7z": { + "sha256": "55bb391ced1af44435a97ddfcf52e8aacbd6abbd4f752914862f46c7f7efafd7", + "bytes": 4498599, + "name": "hd_npc_portraits-v2.0.7z", + "info_hash": "37a78d7fd01cfa7e2e4e9cbb8bee410dea1f75a2", + "magnet": "magnet:?xt=urn%3Abtih%3A37a78d7fd01cfa7e2e4e9cbb8bee410dea1f75a2&dn=hd_npc_portraits-v2.0.7z" + }, + "{archives}/hd_pc_portraits-v1.0.7z": { + "sha256": "7fda7c10ddcaa200ef3f5992355057d5dd0eebe337a59dbe1e6fe811adc722d2", + "bytes": 31487826, + "name": "hd_pc_portraits-v1.0.7z", + "info_hash": "b8ee47574d9eb14b4d23176f89fcba8345f21a01", + "magnet": "magnet:?xt=urn%3Abtih%3Ab8ee47574d9eb14b4d23176f89fcba8345f21a01&dn=hd_pc_portraits-v1.0.7z" + }, + "{archives}/hd_twilek_female.rar": { + "sha256": "64e6ae014a5272d367457482c7c168886b9598b7d53f840a5050f0d7b62df77a", + "bytes": 15096109, + "name": "hd_twilek_female.rar", + "info_hash": "688053245e670873cce3b90c735bd88c832388e3", + "magnet": "magnet:?xt=urn%3Abtih%3A688053245e670873cce3b90c735bd88c832388e3&dn=hd_twilek_female.rar" + }, "{archives}/hp_grenades-0-4-1209-0-4-1547556830.zip": { "sha256": "55b6ac6d744ce5faccbdaa6ef9f82955a8202294dcd9cbd6dd36c1dc6c8f7558", "bytes": 687827, @@ -709,6 +1346,20 @@ "info_hash": "03d7d0e9373b60f9ba2c53a4274d5245bdc04ed7", "magnet": "magnet:?xt=urn%3Abtih%3A03d7d0e9373b60f9ba2c53a4274d5245bdc04ed7&dn=juhaniCathar_head.zip" }, + "{archives}/ldr_repshipunknownworld.zip": { + "sha256": "12e41cb534f896a0cf99cd782a83d15ef980533c9e49a3ffdd335cb8724e77cc", + "bytes": 108607297, + "name": "ldr_repshipunknownworld.zip", + "info_hash": "a476652d7f248aa51ba0c96bc0b94c3cd532b81a", + "magnet": "magnet:?xt=urn%3Abtih%3Aa476652d7f248aa51ba0c96bc0b94c3cd532b81a&dn=ldr_repshipunknownworld.zip" + }, + "{archives}/non-game weapon.rar": { + "sha256": "4f13d8efad8515f74119f99a6969404d82654a811c384358b6fb43c8c9d030d0", + "bytes": 9413986, + "name": "non-game weapon.rar", + "info_hash": "0e8083735a56041ca39aa3f83bb4080f6f516b01", + "magnet": "magnet:?xt=urn%3Abtih%3A0e8083735a56041ca39aa3f83bb4080f6f516b01&dn=non-game+weapon.rar" + }, "{archives}/saberthrow_kd.zip": { "sha256": "49102336c67b81f538df5f0186585392c5f879db57c62d87e24cfe8411a5dbef", "bytes": 356643, diff --git a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json index 6f1545dc..cc4a3e84 100644 --- a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json +++ b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json @@ -2,6 +2,13 @@ "schema": 1, "piece_length": 2097152, "archives": { + "{archives}/4k atton [tpc version].7z": { + "sha256": "2f6fa069edf7ae7086bbf51389410aabfe36b3adbde0227dfe2c3c1125345520", + "bytes": 28907497, + "name": "4k atton [tpc version].7z", + "info_hash": "20a821ec0abc2ff1403bbbf83f5f7e4df91fb8db", + "magnet": "magnet:?xt=urn%3Abtih%3A20a821ec0abc2ff1403bbbf83f5f7e4df91fb8db&dn=4k+atton+%5Btpc+version%5D.7z" + }, "{archives}/Alignment_Affects_Force_Powers_TSL_v101.zip": { "sha256": "cd140d856ca5f6835985beeab84e3276c16fb57cc7033fcb9ee9fc215e8fbda5", "bytes": 575065, @@ -9,6 +16,13 @@ "info_hash": "a95d7de90b39da55d285b33b2c262b10fe8a1eeb", "magnet": "magnet:?xt=urn%3Abtih%3Aa95d7de90b39da55d285b33b2c262b10fe8a1eeb&dn=Alignment_Affects_Force_Powers_TSL_v101.zip" }, + "{archives}/Animated energy shields.rar": { + "sha256": "1d27e32b71a409270352437a9be26bdce107e443be5bc98716adcc948f75678d", + "bytes": 22989544, + "name": "Animated energy shields.rar", + "info_hash": "fa3f2dbf87c76a3a79d821e2a2235aa8e893bbf0", + "magnet": "magnet:?xt=urn%3Abtih%3Afa3f2dbf87c76a3a79d821e2a2235aa8e893bbf0&dn=Animated+energy+shields.rar" + }, "{archives}/AtrisHolocron.7z": { "sha256": "af911024285b5e734c43ae4653dd14babdc1bb9878f957b02191033c55f7ff2c", "bytes": 923581, @@ -44,6 +58,13 @@ "info_hash": "4ce26a8f2202fed0215e17379ad003ef7fbfb66e", "magnet": "magnet:?xt=urn%3Abtih%3A4ce26a8f2202fed0215e17379ad003ef7fbfb66e&dn=Better+Disciple+Meditation.zip" }, + "{archives}/Better Jekk_Jekk Tarr Thugs.zip": { + "sha256": "2e921a217017ae5770b4531fbb59603bf2acdd3f77e7945264f81ab19e56009c", + "bytes": 9348844, + "name": "Better Jekk_Jekk Tarr Thugs.zip", + "info_hash": "b92a6183ca4346b64c852fd186cda4743283b61e", + "magnet": "magnet:?xt=urn%3Abtih%3Ab92a6183ca4346b64c852fd186cda4743283b61e&dn=Better+Jekk_Jekk+Tarr+Thugs.zip" + }, "{archives}/CK-Classic Class Attack Bonus.zip": { "sha256": "a37f98d5e91262a74d728b786769d6934f7257fa55f9c81f442ac1da0a351e56", "bytes": 333804, @@ -58,6 +79,13 @@ "info_hash": "428637c39be60c571fc9a8151871056fc8a1c524", "magnet": "magnet:?xt=urn%3Abtih%3A428637c39be60c571fc9a8151871056fc8a1c524&dn=CK-Red+floating+lightsabers.zip" }, + "{archives}/C_DrdWar.rar": { + "sha256": "cf22d2803ac9efdcc597455c8a070572e588160a19d19b74e4b26cc13c33c922", + "bytes": 48975113, + "name": "C_DrdWar.rar", + "info_hash": "2b313219d661b9e83a9d4cda6f689ce2f00159ae", + "magnet": "magnet:?xt=urn%3Abtih%3A2b313219d661b9e83a9d4cda6f689ce2f00159ae&dn=C_DrdWar.rar" + }, "{archives}/Canonical Jedi Exile - Compatibility Patch-1060-3-0-1629717058.rar": { "sha256": "25cf282dfb28ffdf1255008595d5feaa11683b3250d3d99e6e7e69dbe7553f33", "bytes": 11265701, @@ -79,6 +107,13 @@ "info_hash": "a000c308f13c6a96b5a2cdc4995c28ebf05f6c9f", "magnet": "magnet:?xt=urn%3Abtih%3Aa000c308f13c6a96b5a2cdc4995c28ebf05f6c9f&dn=Choose+Mira+or+Hanharr.rar" }, + "{archives}/Consistent Bastila Recognition.7z": { + "sha256": "6dca6a4374bf7bb92206afd062518c31003a3343b2ad4de60e9f508e5c0d2ab6", + "bytes": 9271273, + "name": "Consistent Bastila Recognition.7z", + "info_hash": "109aa1c27a0ab9037ef09b4536cf685b8f6d9ae5", + "magnet": "magnet:?xt=urn%3Abtih%3A109aa1c27a0ab9037ef09b4536cf685b8f6d9ae5&dn=Consistent+Bastila+Recognition.7z" + }, "{archives}/DI_HRBM_2.7z": { "sha256": "c809672ec443216194061c7958664b47c2210f5abc63d1a59cd49d700f695991", "bytes": 550147, @@ -93,6 +128,48 @@ "info_hash": "43b45f22cade5b13b61ef13b160942b1a1836433", "magnet": "magnet:?xt=urn%3Abtih%3A43b45f22cade5b13b61ef13b160942b1a1836433&dn=DXN_Cl02.rar" }, + "{archives}/Dahnis Unique Look.7z": { + "sha256": "334a02d189b8b73ce655ec42362f9c97b734156e70e1769757ceb03a1fc500a6", + "bytes": 10260516, + "name": "Dahnis Unique Look.7z", + "info_hash": "fcd1cedbdd1de07bc7bf1c1ea3c50d7f5950049a", + "magnet": "magnet:?xt=urn%3Abtih%3Afcd1cedbdd1de07bc7bf1c1ea3c50d7f5950049a&dn=Dahnis+Unique+Look.7z" + }, + "{archives}/Dark Harbinger.zip": { + "sha256": "bd3fe5a99b92888267cb15e4eb350b6f3a98798f66a0b4757ac749f9c01d2a14", + "bytes": 5198485, + "name": "Dark Harbinger.zip", + "info_hash": "1458305b8e8e4abdf11e8e598fe73413fd34b85e", + "magnet": "magnet:?xt=urn%3Abtih%3A1458305b8e8e4abdf11e8e598fe73413fd34b85e&dn=Dark+Harbinger.zip" + }, + "{archives}/Darth Sapien__39_s Presents T3M4 HD.rar": { + "sha256": "aa8d6064570684d06cd7a6e8839bb2a4d096f642ee203d94665fa7c1555b4b4a", + "bytes": 5072574, + "name": "Darth Sapien__39_s Presents T3M4 HD.rar", + "info_hash": "7671b930ffca12719d627f714466f3958cde4cce", + "magnet": "magnet:?xt=urn%3Abtih%3A7671b930ffca12719d627f714466f3958cde4cce&dn=Darth+Sapien__39_s+Presents+T3M4+HD.rar" + }, + "{archives}/Darth Sion and Male Exile Mod.7z": { + "sha256": "a62d6e5ee771d5f4569da5f13acadb285843c4fb0af007eaefcb94102cd5d2fa", + "bytes": 10165029, + "name": "Darth Sion and Male Exile Mod.7z", + "info_hash": "6f98d17b9ff720de7ce35b7cc6f5f91c25a8324d", + "magnet": "magnet:?xt=urn%3Abtih%3A6f98d17b9ff720de7ce35b7cc6f5f91c25a8324d&dn=Darth+Sion+and+Male+Exile+Mod.7z" + }, + "{archives}/Darth sapiens presents HD 2K Visas Marr.rar": { + "sha256": "0cedf1092dd426c30921ba70915266ff59d1a76415fd13c37d6e4b14e31f6600", + "bytes": 6541857, + "name": "Darth sapiens presents HD 2K Visas Marr.rar", + "info_hash": "338db2936270a2874115dbd37f3e8bfa11cd0c4f", + "magnet": "magnet:?xt=urn%3Abtih%3A338db2936270a2874115dbd37f3e8bfa11cd0c4f&dn=Darth+sapiens+presents+HD+2K+Visas+Marr.rar" + }, + "{archives}/Detran_s Darth Revan.zip": { + "sha256": "7a70a356065e120cca1198b2bb3bd92a833c18b93ad98914d53171ca2e673def", + "bytes": 3162990, + "name": "Detran_s Darth Revan.zip", + "info_hash": "53a9bf6afed0dba171b1bb3ef675da7406b46a99", + "magnet": "magnet:?xt=urn%3Abtih%3A53a9bf6afed0dba171b1bb3ef675da7406b46a99&dn=Detran_s+Darth+Revan.zip" + }, "{archives}/Door Mural-1632-1-0-1713374023.zip": { "sha256": "7add8cda2320f0bf5e0e6bbc6739a5c59fb68083429c93e59f8f2f49f32df1d9", "bytes": 17869526, @@ -114,6 +191,13 @@ "info_hash": "f9801829a480b18221c672cded6f03fdb7c2c0d0", "magnet": "magnet:?xt=urn%3Abtih%3Af9801829a480b18221c672cded6f03fdb7c2c0d0&dn=Droid+special+weapons+fix+for+TSL+v2.0.7z" }, + "{archives}/Duros HD.rar": { + "sha256": "ae659aec0268b25c3db95d7121e7ab21dc03f7d8d1091fd2e399b7e80e80292a", + "bytes": 18574687, + "name": "Duros HD.rar", + "info_hash": "521bc5b1044ec8ebad39e1ead84add969eb99636", + "magnet": "magnet:?xt=urn%3Abtih%3A521bc5b1044ec8ebad39e1ead84add969eb99636&dn=Duros+HD.rar" + }, "{archives}/Duros Patch.zip": { "sha256": "2103a6c6fc5d165a0358c8e40685026b54915d3b04c038848bd4bbdd72989905", "bytes": 195914, @@ -121,6 +205,27 @@ "info_hash": "66299fabae8b1291930d02b3739c25199ab8f1e2", "magnet": "magnet:?xt=urn%3Abtih%3A66299fabae8b1291930d02b3739c25199ab8f1e2&dn=Duros+Patch.zip" }, + "{archives}/Effixians_PFHC03_Restoration.zip": { + "sha256": "7baeed1536bff84311357bd4a386638417e4444c95a0d0cc29cc7fad4e36c769", + "bytes": 3667686, + "name": "Effixians_PFHC03_Restoration.zip", + "info_hash": "ffa539883dcffdfaec299ea4a1f0347a3989c117", + "magnet": "magnet:?xt=urn%3Abtih%3Affa539883dcffdfaec299ea4a1f0347a3989c117&dn=Effixians_PFHC03_Restoration.zip" + }, + "{archives}/Expanded lore friendly mandalores mask HD 6 versions.rar": { + "sha256": "ba50e241faa8ce4f8d36e7ec61ff5f9d5397198fc8701ff8fea27ab994141847", + "bytes": 45965967, + "name": "Expanded lore friendly mandalores mask HD 6 versions.rar", + "info_hash": "ec016f518ec466cc4e5c086848af71953d2af9f8", + "magnet": "magnet:?xt=urn%3Abtih%3Aec016f518ec466cc4e5c086848af71953d2af9f8&dn=Expanded+lore+friendly+mandalores+mask+HD+6+versions.rar" + }, + "{archives}/Extended Enclave.2.5.2.rar": { + "sha256": "ee329c08a30fd9b0e66766e51d841127f477bc8d9acfdc5be94e10fa4933db70", + "bytes": 13851214, + "name": "Extended Enclave.2.5.2.rar", + "info_hash": "2e24c85ad0cfe8076d0c054007cd0937327834d2", + "magnet": "magnet:?xt=urn%3Abtih%3A2e24c85ad0cfe8076d0c054007cd0937327834d2&dn=Extended+Enclave.2.5.2.rar" + }, "{archives}/Extended Korriban Arrival 1.2.rar": { "sha256": "2fabe48a3ba1e87e0643af3dba9ba17b505b5e79a00363d9cf0dd8b44d0ab694", "bytes": 314636, @@ -149,6 +254,13 @@ "info_hash": "1d4a01a2176617997df98e91c32a01cf307b6021", "magnet": "magnet:?xt=urn%3Abtih%3A1d4a01a2176617997df98e91c32a01cf307b6021&dn=FTL+Hyperspace+Loop-1161-1-1-1647298435.rar" }, + "{archives}/FireandIceHDWhee.zip": { + "sha256": "fd04e947a31f419a0b5f51af28b74701de37640ec06279160278aa23b0abaa8e", + "bytes": 2969524, + "name": "FireandIceHDWhee.zip", + "info_hash": "5c62f6112ca3777996efd4fbe31e9579553c67cb", + "magnet": "magnet:?xt=urn%3Abtih%3A5c62f6112ca3777996efd4fbe31e9579553c67cb&dn=FireandIceHDWhee.zip" + }, "{archives}/Fixed Hologram Models and Admiralty Redux - Compatibility Patch-1060-3-0-1629717121.rar": { "sha256": "6d781cd15eeceae1d87ff7cbfb0bdd8a99f2cd90123bde81ccca02f1d064ee8e", "bytes": 10588354, @@ -163,6 +275,34 @@ "info_hash": "71e7cb0c45903bb7abd10556c68546208c3423bb", "magnet": "magnet:?xt=urn%3Abtih%3A71e7cb0c45903bb7abd10556c68546208c3423bb&dn=Fixed_Czerka_Salvager.zip" }, + "{archives}/For_Mandalore_v1_2_1.zip": { + "sha256": "2c9567efd36cd75f2a3ce209262cf6b54a7a48828dae3263477e7f4b9a21bd3c", + "bytes": 16398814, + "name": "For_Mandalore_v1_2_1.zip", + "info_hash": "bc168d84556e8b6bc0ea0c28f26e6b08a577bd17", + "magnet": "magnet:?xt=urn%3Abtih%3Abc168d84556e8b6bc0ea0c28f26e6b08a577bd17&dn=For_Mandalore_v1_2_1.zip" + }, + "{archives}/Freedon Nadd_s Tomb ritual and water textures.zip": { + "sha256": "99968523d6ac21cabf85fe4df2eb5f3602a1c8bde750981e3aa4f80f7a00c56a", + "bytes": 28472260, + "name": "Freedon Nadd_s Tomb ritual and water textures.zip", + "info_hash": "8b58d15a7d9d50d247b0e3b56cd4f5ca628f0038", + "magnet": "magnet:?xt=urn%3Abtih%3A8b58d15a7d9d50d247b0e3b56cd4f5ca628f0038&dn=Freedon+Nadd_s+Tomb+ritual+and+water+textures.zip" + }, + "{archives}/HD Computer Panel_ Damaged Version For Malachor.7z": { + "sha256": "284af868ed28a4c8d6a72f31294194d97c34ebc67f1962d04961c5da54911e82", + "bytes": 24959837, + "name": "HD Computer Panel_ Damaged Version For Malachor.7z", + "info_hash": "b2d7f305e0d1145597b348422ca2562936f318d2", + "magnet": "magnet:?xt=urn%3Abtih%3Ab2d7f305e0d1145597b348422ca2562936f318d2&dn=HD+Computer+Panel_+Damaged+Version+For+Malachor.7z" + }, + "{archives}/HQSkyboxesII_TSL.7z": { + "sha256": "55b539d8e6818a86c61440188deb65e483526408f0bbea51fb36af2321f912b8", + "bytes": 98901138, + "name": "HQSkyboxesII_TSL.7z", + "info_hash": "c5599969b25f76b306509853feffb4cf4f9dcd9a", + "magnet": "magnet:?xt=urn%3Abtih%3Ac5599969b25f76b306509853feffb4cf4f9dcd9a&dn=HQSkyboxesII_TSL.7z" + }, "{archives}/Harbinger_Arrival_Enhancement_for_TSLRCM_v1.1.7z": { "sha256": "58fc3627b42a12e09b0b03e59fa89e34e3ad9fd214dd4f36f3af473a5b1f6dbb", "bytes": 1940514, @@ -184,6 +324,20 @@ "info_hash": "577197d6cdcc4744ac24d0619edf26b93f7b4edd", "magnet": "magnet:?xt=urn%3Abtih%3A577197d6cdcc4744ac24d0619edf26b93f7b4edd&dn=Improved+Peragus+Asteroid+Fields+v1.2.zip" }, + "{archives}/Improved_Force_Sight_v1_1_2.zip": { + "sha256": "7db59fe4e0bce6259152fc9f5334df8c1196b4e696b4aaba8aa503cb154a92e6", + "bytes": 9534261, + "name": "Improved_Force_Sight_v1_1_2.zip", + "info_hash": "f98e3d91ac0cddad76f2e5ffce62f2593505a16e", + "magnet": "magnet:?xt=urn%3Abtih%3Af98e3d91ac0cddad76f2e5ffce62f2593505a16e&dn=Improved_Force_Sight_v1_1_2.zip" + }, + "{archives}/Ithorian HD.rar": { + "sha256": "8c55f445b1b5292ab5e0e3c1213302045b8f43a7654d084c5875c7fb5f4282cb", + "bytes": 27626443, + "name": "Ithorian HD.rar", + "info_hash": "c016b18bcb135c51187bebe4d395a9782ce9ffd6", + "magnet": "magnet:?xt=urn%3Abtih%3Ac016b18bcb135c51187bebe4d395a9782ce9ffd6&dn=Ithorian+HD.rar" + }, "{archives}/JC_s Blaster Visual Effects for K2.zip": { "sha256": "81cc75ca1099aacaa19f705f2c50b7313718cb6f93fbf4759d3372149fb0b880", "bytes": 244296, @@ -205,6 +359,20 @@ "info_hash": "dec6d8c28b59332948d315a0bf6b41e9c6ad1302", "magnet": "magnet:?xt=urn%3Abtih%3Adec6d8c28b59332948d315a0bf6b41e9c6ad1302&dn=JC_s+Minor+Fixes+-+Compatibility+Patch-1060-3-0-1629717168.rar" }, + "{archives}/JC_s Minor Fixes for K2 v1.5.zip": { + "sha256": "7887416f4cd8f483885121366adedb2c18d39d4bb54123c3ce1239a7652361d5", + "bytes": 18954190, + "name": "JC_s Minor Fixes for K2 v1.5.zip", + "info_hash": "bdc9840fe0344a9dbdee415583d9a74e2015bde4", + "magnet": "magnet:?xt=urn%3Abtih%3Abdc9840fe0344a9dbdee415583d9a74e2015bde4&dn=JC_s+Minor+Fixes+for+K2+v1.5.zip" + }, + "{archives}/JC_s Supermodel Fix for K2 v1.6.zip": { + "sha256": "430e422cea22ee06308d628d4a3ed98240d1abff0b60a8931716c763f03937ef", + "bytes": 8712438, + "name": "JC_s Supermodel Fix for K2 v1.6.zip", + "info_hash": "bcb1bbfdd3c74045793f09cb495896fad642f956", + "magnet": "magnet:?xt=urn%3Abtih%3Abcb1bbfdd3c74045793f09cb495896fad642f956&dn=JC_s+Supermodel+Fix+for+K2+v1.6.zip" + }, "{archives}/K2 Companion Starting Armors 1.1.zip": { "sha256": "782bd218cb37ce5313e0ada4f86a9099475bb40913a9a3bc3a063e31323d03c4", "bytes": 367758, @@ -212,6 +380,13 @@ "info_hash": "9aeb0a7ab41b831f2f9f3bf0f381a41d350b9e5e", "magnet": "magnet:?xt=urn%3Abtih%3A9aeb0a7ab41b831f2f9f3bf0f381a41d350b9e5e&dn=K2+Companion+Starting+Armors+1.1.zip" }, + "{archives}/K2CP_v1.6.3.zip": { + "sha256": "6e734ed7e81ad8169d12870ce9fcf829bd56b88f22e7ea20fb37fcb85b8580c1", + "bytes": 80523387, + "name": "K2CP_v1.6.3.zip", + "info_hash": "fa3f060554e270585b9b3d7313993090dfc4ae9c", + "magnet": "magnet:?xt=urn%3Abtih%3Afa3f060554e270585b9b3d7313993090dfc4ae9c&dn=K2CP_v1.6.3.zip" + }, "{archives}/KOTOR 2 Community Patch - Compatibility Patch-1060-3-0-1629717259.rar": { "sha256": "1110b6879a1a69103e8a56d944db5ccb650c149cbfc634b33e5c05203469e4f6", "bytes": 275630105, @@ -289,6 +464,13 @@ "info_hash": "50efa8762979d7fc5b2b76a30524f593a7768f4d", "magnet": "magnet:?xt=urn%3Abtih%3A50efa8762979d7fc5b2b76a30524f593a7768f4d&dn=Kiosk+Model+Fix+K2.7z" }, + "{archives}/Kreia_Fall_In-game_1.2.rar": { + "sha256": "eef68f35f82c1fe6b933ce3047d2e47f1bf92700251705f7316b3435b59be859", + "bytes": 10935240, + "name": "Kreia_Fall_In-game_1.2.rar", + "info_hash": "0c69dbc0792e75e5552afc24b97f7caa1d74c689", + "magnet": "magnet:?xt=urn%3Abtih%3A0c69dbc0792e75e5552afc24b97f7caa1d74c689&dn=Kreia_Fall_In-game_1.2.rar" + }, "{archives}/KreiasLightsaberLongSword_v1.1.zip": { "sha256": "c46ab8c8bfa6fc183839949a063179263614e8721932f72ed626974619dc1b29", "bytes": 514464, @@ -296,6 +478,13 @@ "info_hash": "4d8124a938785ab895bc4c49d14cd9f5d2445be5", "magnet": "magnet:?xt=urn%3Abtih%3A4d8124a938785ab895bc4c49d14cd9f5d2445be5&dn=KreiasLightsaberLongSword_v1.1.zip" }, + "{archives}/LJJT1.2.7z": { + "sha256": "f239a7f23c764d1a29c40dc0202c68160b3f81aab5c4f27d4f45b8a0b17004ba", + "bytes": 9314825, + "name": "LJJT1.2.7z", + "info_hash": "1e4ccaff3910103d54f85bcd4bda35fccc278d64", + "magnet": "magnet:?xt=urn%3Abtih%3A1e4ccaff3910103d54f85bcd4bda35fccc278d64&dn=LJJT1.2.7z" + }, "{archives}/Maintenance_Officer_New_Dead_Ver1.2.zip": { "sha256": "2dbdc868cc003be8512b636f29615f537d027b9958ab1f19b26cec2eac368ce4", "bytes": 735386, @@ -310,6 +499,13 @@ "info_hash": "b5080d9a4a31ebddc148ff46930798f2a49a9b27", "magnet": "magnet:?xt=urn%3Abtih%3Ab5080d9a4a31ebddc148ff46930798f2a49a9b27&dn=Mandalorian+Worn-Out+Armour+Reskin.rar" }, + "{archives}/Mines_Overhaul_TSL_v1_1.zip": { + "sha256": "da4b6e9cf1c789d88223536e08d99e51aed1ec0d4e155f7dc0444aae8cce278e", + "bytes": 12014231, + "name": "Mines_Overhaul_TSL_v1_1.zip", + "info_hash": "19cc0c8025f49cd92cf98b943efb76c8fe9ac62a", + "magnet": "magnet:?xt=urn%3Abtih%3A19cc0c8025f49cd92cf98b943efb76c8fe9ac62a&dn=Mines_Overhaul_TSL_v1_1.zip" + }, "{archives}/Miscellaneous Compatibility Patches-1060-3-0-1629717320.rar": { "sha256": "aae7b6984e70839e2059196618b3f38535dcac3aec4f802dd74079563605df37", "bytes": 127735225, @@ -338,6 +534,62 @@ "info_hash": "f65a1e2c99f6ffb65c01c2ac0b890968ffeaa050", "magnet": "magnet:?xt=urn%3Abtih%3Af65a1e2c99f6ffb65c01c2ac0b890968ffeaa050&dn=Nihilus_Visas.rar" }, + "{archives}/No_Health_Regeneration_v1_1_1.zip": { + "sha256": "c51b67ac4608fa0827f7390a454937430d08b43eed84d6757d878381a86d5708", + "bytes": 9887312, + "name": "No_Health_Regeneration_v1_1_1.zip", + "info_hash": "d8918feef79268a6330e8cd98b0fb2698e2133bf", + "magnet": "magnet:?xt=urn%3Abtih%3Ad8918feef79268a6330e8cd98b0fb2698e2133bf&dn=No_Health_Regeneration_v1_1_1.zip" + }, + "{archives}/Onderon news make sense v1.1.zip": { + "sha256": "545fc28e3eae621e8ffb5c36642ef05e3ead6604ea0217a4b3a40978635d6373", + "bytes": 9406760, + "name": "Onderon news make sense v1.1.zip", + "info_hash": "4e526e6002d04b7f2877f4308a38424ea3e62005", + "magnet": "magnet:?xt=urn%3Abtih%3A4e526e6002d04b7f2877f4308a38424ea3e62005&dn=Onderon+news+make+sense+v1.1.zip" + }, + "{archives}/PLC_CompPnl.rar": { + "sha256": "64b0192c3870b980b63e1fcb3fd6b0b9a5aa6850f1a7d905377930e2855b11d2", + "bytes": 5416818, + "name": "PLC_CompPnl.rar", + "info_hash": "16696986498148b9d8da4a19ab4dfc7cfc3d3dc4", + "magnet": "magnet:?xt=urn%3Abtih%3A16696986498148b9d8da4a19ab4dfc7cfc3d3dc4&dn=PLC_CompPnl.rar" + }, + "{archives}/PLC_Desk.rar": { + "sha256": "07acdd9289ce71e11cb4dd71e4bcaaee726cd703b60eeab1dce0c603c133d6ba", + "bytes": 3209713, + "name": "PLC_Desk.rar", + "info_hash": "6d901416183b8e9789dad375854ac36c6edb28e9", + "magnet": "magnet:?xt=urn%3Abtih%3A6d901416183b8e9789dad375854ac36c6edb28e9&dn=PLC_Desk.rar" + }, + "{archives}/PLC_Sign.rar": { + "sha256": "5618241bf4ea2c01c1d4f0908f1748170d91b3d5030692682dc01576ead8d602", + "bytes": 13366060, + "name": "PLC_Sign.rar", + "info_hash": "1998abd605180ab74fd978ee39683cdf03679453", + "magnet": "magnet:?xt=urn%3Abtih%3A1998abd605180ab74fd978ee39683cdf03679453&dn=PLC_Sign.rar" + }, + "{archives}/PartySwap_EEnclave_ComPatch.7z": { + "sha256": "e2dec782485b04eab7348e21eac701e177fd0e5738ed598b7de1936370a5bf84", + "bytes": 9763995, + "name": "PartySwap_EEnclave_ComPatch.7z", + "info_hash": "e6c52c408b505c0afdf19994bb7662cf4a6b1037", + "magnet": "magnet:?xt=urn%3Abtih%3Ae6c52c408b505c0afdf19994bb7662cf4a6b1037&dn=PartySwap_EEnclave_ComPatch.7z" + }, + "{archives}/Peragus Medical Bay Enhancement v1_3.7z": { + "sha256": "f97772190452b04fa1166d1ba6ccfc6ffe0c6d78c9cadf1cf91e24dcebf93a8f", + "bytes": 8027110, + "name": "Peragus Medical Bay Enhancement v1_3.7z", + "info_hash": "cef018a8ea9da755c3208cac962029317e754a83", + "magnet": "magnet:?xt=urn%3Abtih%3Acef018a8ea9da755c3208cac962029317e754a83&dn=Peragus+Medical+Bay+Enhancement+v1_3.7z" + }, + "{archives}/Peragus_II_by_Trench.7z": { + "sha256": "d47006068a046f7905d7f9a565cdf7d5bcd1d876819f5c712b2af52181b40fb7", + "bytes": 5515910, + "name": "Peragus_II_by_Trench.7z", + "info_hash": "3dea58b5072388b70a0b19ec23793587d55801e6", + "magnet": "magnet:?xt=urn%3Abtih%3A3dea58b5072388b70a0b19ec23793587d55801e6&dn=Peragus_II_by_Trench.7z" + }, "{archives}/Prologue Item Recovery.7z": { "sha256": "ca2e4f200e57ef4ddd732e25a175c0bb097d2fd0d64d99388eec2c71c7f79247", "bytes": 244068, @@ -352,6 +604,34 @@ "info_hash": "d5a66ee7d9a9bcb2cc6acbb912e0dfa130a68bf5", "magnet": "magnet:?xt=urn%3Abtih%3Ad5a66ee7d9a9bcb2cc6acbb912e0dfa130a68bf5&dn=Remote+Tells+Influence+Patch+for+TSLRCM.zip" }, + "{archives}/RepTab HD.rar": { + "sha256": "c06c475f64ca9cb4f6bffc85c4d25a96e72c7e8ff52d076b9960524a89ab61d6", + "bytes": 9382284, + "name": "RepTab HD.rar", + "info_hash": "6220f56f516ecc89a61c49183959c721ef6f6363", + "magnet": "magnet:?xt=urn%3Abtih%3A6220f56f516ecc89a61c49183959c721ef6f6363&dn=RepTab+HD.rar" + }, + "{archives}/RepairHK47_v1_1.zip": { + "sha256": "271ddaa4337c16b1399c701eae91315390bf3d6a49b6c990a11c4652ea315c12", + "bytes": 81154656, + "name": "RepairHK47_v1_1.zip", + "info_hash": "18a8a057579786a3e03f1b515dc2f28838f0aa91", + "magnet": "magnet:?xt=urn%3Abtih%3A18a8a057579786a3e03f1b515dc2f28838f0aa91&dn=RepairHK47_v1_1.zip" + }, + "{archives}/Replacement Loading Screens for KotOR2 Original Pack Part 1.7z": { + "sha256": "dec6f60dd54a1f3525274466a370b487f4e6b8cbaf08738791b532f6410768cd", + "bytes": 97972101, + "name": "Replacement Loading Screens for KotOR2 Original Pack Part 1.7z", + "info_hash": "009fbeee8bbed368d17ac06918d689c2c6bff803", + "magnet": "magnet:?xt=urn%3Abtih%3A009fbeee8bbed368d17ac06918d689c2c6bff803&dn=Replacement+Loading+Screens+for+KotOR2+Original+Pack+Part+1.7z" + }, + "{archives}/Replacement Loading Screens for KotOR2 Original Pack Part 3.7z": { + "sha256": "70a67e065e79bacb1881678a3f146a89db69a515578ef09b090c464db05532ec", + "bytes": 37585784, + "name": "Replacement Loading Screens for KotOR2 Original Pack Part 3.7z", + "info_hash": "58471ca8d3d11d16e2f9119929e7b8998ec01b7e", + "magnet": "magnet:?xt=urn%3Abtih%3A58471ca8d3d11d16e2f9119929e7b8998ec01b7e&dn=Replacement+Loading+Screens+for+KotOR2+Original+Pack+Part+3.7z" + }, "{archives}/Rescaled Trandoshans.zip": { "sha256": "f8939839eac387aa8e120116686baa7281b3226cdb5b941ba7d7389040e5b644", "bytes": 528129, @@ -359,6 +639,13 @@ "info_hash": "33553c5f6cc7b59e4b18d3f299dd7b389df352f2", "magnet": "magnet:?xt=urn%3Abtih%3A33553c5f6cc7b59e4b18d3f299dd7b389df352f2&dn=Rescaled+Trandoshans.zip" }, + "{archives}/SAWL_2.0.zip": { + "sha256": "f347b4c728a52dfc816134b297af5ce7fc1b506eeae88437fcb77445efb97ebf", + "bytes": 9379189, + "name": "SAWL_2.0.zip", + "info_hash": "6c889ff97952f2d9e88ed0de5ed5f18e6041a9a7", + "magnet": "magnet:?xt=urn%3Abtih%3A6c889ff97952f2d9e88ed0de5ed5f18e6041a9a7&dn=SAWL_2.0.zip" + }, "{archives}/SH_EHCockpitUpgrade_LEH_Scre01_MS.7z": { "sha256": "1ffd749b8ffcfeb6d5735161e72d1360bf72e7f398abdc3765b4c655b7abe2dc", "bytes": 2192608, @@ -366,6 +653,48 @@ "info_hash": "a7bfba1f85261e236923068c4ab8478abe8b80c4", "magnet": "magnet:?xt=urn%3Abtih%3Aa7bfba1f85261e236923068c4ab8478abe8b80c4&dn=SH_EHCockpitUpgrade_LEH_Scre01_MS.7z" }, + "{archives}/SH_EHCockpitUpgrade_LEH_Scre02.7z": { + "sha256": "80259ba20a0b8b0730b22a9b5d72decb4c412cd8a063a87fafbe26ca0d378e20", + "bytes": 4186165, + "name": "SH_EHCockpitUpgrade_LEH_Scre02.7z", + "info_hash": "af8a01a546929d0f523435b6d197a7d8680e57ad", + "magnet": "magnet:?xt=urn%3Abtih%3Aaf8a01a546929d0f523435b6d197a7d8680e57ad&dn=SH_EHCockpitUpgrade_LEH_Scre02.7z" + }, + "{archives}/SH_Peragus Large Monitor Adjustment.7z": { + "sha256": "d6e87d5c093f8a9eccedda24006a0192e4c56b4c034a94756fbba21fc3009c5f", + "bytes": 5199305, + "name": "SH_Peragus Large Monitor Adjustment.7z", + "info_hash": "cdbd23d39c9bcf822642228cd64eaf284258d6d5", + "magnet": "magnet:?xt=urn%3Abtih%3Acdbd23d39c9bcf822642228cd64eaf284258d6d5&dn=SH_Peragus+Large+Monitor+Adjustment.7z" + }, + "{archives}/SH_Refurbished Astromech Droids.7z": { + "sha256": "bcb3d557723039fb087c5f6457f572aa902e2041596097ceda78c73886a4181d", + "bytes": 14871241, + "name": "SH_Refurbished Astromech Droids.7z", + "info_hash": "b3b9e5db609df4a52d14790b2c79a88f103f1dae", + "magnet": "magnet:?xt=urn%3Abtih%3Ab3b9e5db609df4a52d14790b2c79a88f103f1dae&dn=SH_Refurbished+Astromech+Droids.7z" + }, + "{archives}/SH_Swoop Monitors.7z": { + "sha256": "0618d67e634d238edae5fb104018f1b468de3250056ff9484a4755eecfff683c", + "bytes": 25822455, + "name": "SH_Swoop Monitors.7z", + "info_hash": "40f2128a0283b2de4f7e934b6665451a4958d6f3", + "magnet": "magnet:?xt=urn%3Abtih%3A40f2128a0283b2de4f7e934b6665451a4958d6f3&dn=SH_Swoop+Monitors.7z" + }, + "{archives}/SH_TSL_RandomPanels.7z": { + "sha256": "a071d276ce964c67f46c128bf8914f9a3f2ed9da69af3ae42b86f7c2a6ae248b", + "bytes": 18207743, + "name": "SH_TSL_RandomPanels.7z", + "info_hash": "024bb21724d4ab5e436702a75587662d45040ce4", + "magnet": "magnet:?xt=urn%3Abtih%3A024bb21724d4ab5e436702a75587662d45040ce4&dn=SH_TSL_RandomPanels.7z" + }, + "{archives}/Sapiens Nihilus TPC.7z": { + "sha256": "5a304bab1a157c27fa57a8da52cc999771926e057569302ce850e59c972a2677", + "bytes": 4033469, + "name": "Sapiens Nihilus TPC.7z", + "info_hash": "d9877811f4ac208a16b376831930b3d942a7334e", + "magnet": "magnet:?xt=urn%3Abtih%3Ad9877811f4ac208a16b376831930b3d942a7334e&dn=Sapiens+Nihilus+TPC.7z" + }, "{archives}/Silent Sion Restoration.zip": { "sha256": "b3e5c90f8001a299fdc3464ff74edc98c9e19a11e7759a8095a0cef508782789", "bytes": 12852, @@ -380,6 +709,13 @@ "info_hash": "6730a85c57486e464f913bce62aa166ee2d7b744", "magnet": "magnet:?xt=urn%3Abtih%3A6730a85c57486e464f913bce62aa166ee2d7b744&dn=Sith+Art-1632-1-1713373365.zip" }, + "{archives}/Sith Holocron - Replacement Loading Screens for KotOR2 Original Pack_ part 2.7z": { + "sha256": "6989f4a1697b7ef553b7582413613d87854e893aff19214df18d349963bec0f9", + "bytes": 91847028, + "name": "Sith Holocron - Replacement Loading Screens for KotOR2 Original Pack_ part 2.7z", + "info_hash": "1426dcb12167e46a37b10f5a1abf69e44c503463", + "magnet": "magnet:?xt=urn%3Abtih%3A1426dcb12167e46a37b10f5a1abf69e44c503463&dn=Sith+Holocron+-+Replacement+Loading+Screens+for+KotOR2+Original+Pack_+part+2.7z" + }, "{archives}/Smoother G0-T0-1296-1-0-1750625306.7z": { "sha256": "cab07129802e4efa128981c6644c8895b3181c1854e47b9b5130208478a83658", "bytes": 156213, @@ -394,6 +730,41 @@ "info_hash": "bf2bb6bad379ed0d8c1108e5647bbbaa12c31dfc", "magnet": "magnet:?xt=urn%3Abtih%3Abf2bb6bad379ed0d8c1108e5647bbbaa12c31dfc&dn=Spark_Effect_v1.0.7z" }, + "{archives}/Stylized Portraits TSL 1.3.7z": { + "sha256": "5383e2e192604de9c2b15ba2ccac0ae2cfafc9583702c5632b57b80709649c1d", + "bytes": 8797640, + "name": "Stylized Portraits TSL 1.3.7z", + "info_hash": "cf654cfcdbab9ee3a370a2f4f015b38ea84bbce3", + "magnet": "magnet:?xt=urn%3Abtih%3Acf654cfcdbab9ee3a370a2f4f015b38ea84bbce3&dn=Stylized+Portraits+TSL+1.3.7z" + }, + "{archives}/TSL - AI Upscaled Icon Overhaul (All in One).7z": { + "sha256": "3e0293d37018f45f7205d4fd87f3eefb4239745cb49fbc0b09e9e56aaeb95b6b", + "bytes": 47075958, + "name": "TSL - AI Upscaled Icon Overhaul (All in One).7z", + "info_hash": "9a9d88c4f6e76bc58f10fefef3ddfe5252881048", + "magnet": "magnet:?xt=urn%3Abtih%3A9a9d88c4f6e76bc58f10fefef3ddfe5252881048&dn=TSL+-+AI+Upscaled+Icon+Overhaul+%28All+in+One%29.7z" + }, + "{archives}/TSL Ebon Hawk Map v1.2.3.7z": { + "sha256": "08972e6f67956786179d7cd979a5c610b3da1a0cf3f30e931cfcbd49e98e7bd9", + "bytes": 9575112, + "name": "TSL Ebon Hawk Map v1.2.3.7z", + "info_hash": "140a33f5ea6ea2ae0586a1942456183b9f1655a7", + "magnet": "magnet:?xt=urn%3Abtih%3A140a33f5ea6ea2ae0586a1942456183b9f1655a7&dn=TSL+Ebon+Hawk+Map+v1.2.3.7z" + }, + "{archives}/TSL Expanded Ending v1_1.7z": { + "sha256": "9efef263ea1c24ea379078ecf65a2dbf354f29b63725094acd095d5143404ed7", + "bytes": 7837100, + "name": "TSL Expanded Ending v1_1.7z", + "info_hash": "a89a808cde2db362974067dcf81da202b0d75930", + "magnet": "magnet:?xt=urn%3Abtih%3Aa89a808cde2db362974067dcf81da202b0d75930&dn=TSL+Expanded+Ending+v1_1.7z" + }, + "{archives}/TSL HD Cockpit Skyboxes - Medium Resolution TPC.zip": { + "sha256": "53409f413bce484f76b7f7fc20e3cd19207197df6762f809f256cb9964203640", + "bytes": 6374762, + "name": "TSL HD Cockpit Skyboxes - Medium Resolution TPC.zip", + "info_hash": "05372ce7bc01c4b1398835d830c1bb2975d0a578", + "magnet": "magnet:?xt=urn%3Abtih%3A05372ce7bc01c4b1398835d830c1bb2975d0a578&dn=TSL+HD+Cockpit+Skyboxes+-+Medium+Resolution+TPC.zip" + }, "{archives}/TSL Mira Unpoofed v1.0.3.7z": { "sha256": "04285d3215ca2f2794f37bb16ac3f2b4a4e84c3ffa822ec01a2f757975d0e2d0", "bytes": 981511, @@ -408,6 +779,41 @@ "info_hash": "73ce01e36749ce144371a0e610062c4c37d348d2", "magnet": "magnet:?xt=urn%3Abtih%3A73ce01e36749ce144371a0e610062c4c37d348d2&dn=TSL+Mira_s+Vanilla+Escape+for+TSLRCM+v1_0.zip" }, + "{archives}/TSL Transparent Cockpit Windows v1_1_2 - Reskin Friendly.7z": { + "sha256": "b56dcc7faa7572dd49598e7b25e84c8626f5b04dc1dc44a149c88d9642771bed", + "bytes": 20491220, + "name": "TSL Transparent Cockpit Windows v1_1_2 - Reskin Friendly.7z", + "info_hash": "589cb9801929f076b80fe2e96a246f3cb70cbfd2", + "magnet": "magnet:?xt=urn%3Abtih%3A589cb9801929f076b80fe2e96a246f3cb70cbfd2&dn=TSL+Transparent+Cockpit+Windows+v1_1_2+-+Reskin+Friendly.7z" + }, + "{archives}/TSL Twi_lek Heads v1.3.2.7z": { + "sha256": "c7c9242db696579a87107353d0fa8055175e1bc61aa3f1281c930f8597d892bc", + "bytes": 13726319, + "name": "TSL Twi_lek Heads v1.3.2.7z", + "info_hash": "c3dc72075cf004ce5b369882c8f16eb57fd9f8b3", + "magnet": "magnet:?xt=urn%3Abtih%3Ac3dc72075cf004ce5b369882c8f16eb57fd9f8b3&dn=TSL+Twi_lek+Heads+v1.3.2.7z" + }, + "{archives}/TSL Twi_lek Male NPC Diversity.7z": { + "sha256": "01b1df6f26145e12b0d98f40203efe92af365f6295f784043c888e69562a430d", + "bytes": 13787769, + "name": "TSL Twi_lek Male NPC Diversity.7z", + "info_hash": "804a986cc09db774371f1bc6804d2ceaec10f777", + "magnet": "magnet:?xt=urn%3Abtih%3A804a986cc09db774371f1bc6804d2ceaec10f777&dn=TSL+Twi_lek+Male+NPC+Diversity.7z" + }, + "{archives}/TSLGalaxyMapFixPack.zip": { + "sha256": "a8800d28b5721f75dcf9c26971ff1dd1040164761ddf5136113dbdf254626951", + "bytes": 9672197, + "name": "TSLGalaxyMapFixPack.zip", + "info_hash": "40d7a48a5deadfd87f854480e09517e807129917", + "magnet": "magnet:?xt=urn%3Abtih%3A40d7a48a5deadfd87f854480e09517e807129917&dn=TSLGalaxyMapFixPack.zip" + }, + "{archives}/TSL_Backdrop_Improvements_1_4.7z": { + "sha256": "db2502890d81ae5e1d38b9a9145f054fa69b521283b5aec349e25f1ce86f1331", + "bytes": 107346790, + "name": "TSL_Backdrop_Improvements_1_4.7z", + "info_hash": "68e913e88b7f9d35bf3590197198aa3b3f21bb53", + "magnet": "magnet:?xt=urn%3Abtih%3A68e913e88b7f9d35bf3590197198aa3b3f21bb53&dn=TSL_Backdrop_Improvements_1_4.7z" + }, "{archives}/TSL_Darth_Malaks_Armour_PMBM05_Reskin-9-1-0.7z": { "sha256": "fa14574479abb668b1cb145bb46cd70e6e72a65e1a0d9553245b24aba16bfc43", "bytes": 1059675, @@ -422,6 +828,13 @@ "info_hash": "b8d8e3d2539ea526449170e4043fbec0792e3c63", "magnet": "magnet:?xt=urn%3Abtih%3Ab8d8e3d2539ea526449170e4043fbec0792e3c63&dn=TSL_Head_Model_Fixes_by_RedRob41.zip" }, + "{archives}/TSL_High_Quality_Blasters.zip": { + "sha256": "a088f3bf81891ea2713e46e60cdf7926aa30287ed86991788fecc6745f8996c3", + "bytes": 23973258, + "name": "TSL_High_Quality_Blasters.zip", + "info_hash": "982fb023eee8bacd157a0b66ba41a4e65e64e777", + "magnet": "magnet:?xt=urn%3Abtih%3A982fb023eee8bacd157a0b66ba41a4e65e64e777&dn=TSL_High_Quality_Blasters.zip" + }, "{archives}/TSL_prestige_save_fixes.zip": { "sha256": "daf1e5fc8715958dc11f87bd36ac5e327868c6360cbef45595c32d02ea06703c", "bytes": 5951, @@ -443,6 +856,13 @@ "info_hash": "bfc11819873277c3b0461903667ddba64e88956a", "magnet": "magnet:?xt=urn%3Abtih%3Abfc11819873277c3b0461903667ddba64e88956a&dn=Thematic+Sith+Lords+2.7z" }, + "{archives}/True_Sith_Assassins_v1c1.zip": { + "sha256": "fdf24e7751cc6183da0d07e8a4df051dc9a2cfb820201fbca3b09360aa6befa3", + "bytes": 10026138, + "name": "True_Sith_Assassins_v1c1.zip", + "info_hash": "4e589e6e93f54f2dc16ba89fe081e9266e1ab42c", + "magnet": "magnet:?xt=urn%3Abtih%3A4e589e6e93f54f2dc16ba89fe081e9266e1ab42c&dn=True_Sith_Assassins_v1c1.zip" + }, "{archives}/URCMTP 1.3.rar": { "sha256": "e98c94d53dfccaddf6753aa58662e1afd1d6ebb0241f66c8000ba0ff3a2f13b5", "bytes": 1366051, @@ -450,6 +870,34 @@ "info_hash": "3bd40a195126e81d05d0c77f0c9cd432757acd0a", "magnet": "magnet:?xt=urn%3Abtih%3A3bd40a195126e81d05d0c77f0c9cd432757acd0a&dn=URCMTP+1.3.rar" }, + "{archives}/Ultimate Character Overhaul -REDUX- ( LITE ) - TPC Version-1060-3-0-1628674441.rar": { + "sha256": "54862b9062d1caa891cbf05fe06fd77882bd9755a6c2349e4b5a64ac3bcb13bc", + "bytes": 529327004, + "name": "Ultimate Character Overhaul -REDUX- ( LITE ) - TPC Version-1060-3-0-1628674441.rar", + "info_hash": "f862f70102e88d528a06942174756c19d85efd5f", + "magnet": "magnet:?xt=urn%3Abtih%3Af862f70102e88d528a06942174756c19d85efd5f&dn=Ultimate+Character+Overhaul+-REDUX-+%28+LITE+%29+-+TPC+Version-1060-3-0-1628674441.rar" + }, + "{archives}/Ultimate Dantooine High Resolution - TPC Version-1103-2-1-1670680013.rar": { + "sha256": "27ee469896ea7096672feef033b6c448f52680eb354dce20cd66915d23c98752", + "bytes": 750063088, + "name": "Ultimate Dantooine High Resolution - TPC Version-1103-2-1-1670680013.rar", + "info_hash": "306b2c09760e83ac407816a8f0a7d931141950cb", + "magnet": "magnet:?xt=urn%3Abtih%3A306b2c09760e83ac407816a8f0a7d931141950cb&dn=Ultimate+Dantooine+High+Resolution+-+TPC+Version-1103-2-1-1670680013.rar" + }, + "{archives}/Ultimate Dxun High Resolution - TPC Version-1105-1-1-1670681825.rar": { + "sha256": "810be6bccaaea067fdb4e74d5de0840f0a1e217f3492075b6beb2aa8b8fc2d89", + "bytes": 482504635, + "name": "Ultimate Dxun High Resolution - TPC Version-1105-1-1-1670681825.rar", + "info_hash": "66197d38d80b9776c0a834f7404fb98cd0678a17", + "magnet": "magnet:?xt=urn%3Abtih%3A66197d38d80b9776c0a834f7404fb98cd0678a17&dn=Ultimate+Dxun+High+Resolution+-+TPC+Version-1105-1-1-1670681825.rar" + }, + "{archives}/Ultimate High Resolution Texture Pack - TPC Version-1100-1-1-1670426755.rar": { + "sha256": "61fd130601101471c40a6982c2b066208ea70b435d2cdc02e998fe5656b9b00b", + "bytes": 1391063691, + "name": "Ultimate High Resolution Texture Pack - TPC Version-1100-1-1-1670426755.rar", + "info_hash": "bd1459e6d8a8567f7b328c74bbdf60a26443975b", + "magnet": "magnet:?xt=urn%3Abtih%3Abd1459e6d8a8567f7b328c74bbdf60a26443975b&dn=Ultimate+High+Resolution+Texture+Pack+-+TPC+Version-1100-1-1-1670426755.rar" + }, "{archives}/Ultimate Korriban High Resolution - TPC Version-1104-1-0-1607783470.rar": { "sha256": "6dbb6a726bd2dc930a7c338addffc39626d3a948d85458a2d1a20a708d4cc35b", "bytes": 109304258, @@ -464,6 +912,13 @@ "info_hash": "e7fc608d3027bdf0cd5117182d5adac33265be4e", "magnet": "magnet:?xt=urn%3Abtih%3Ae7fc608d3027bdf0cd5117182d5adac33265be4e&dn=Ultimate+Malachor+V+High+Resolution+-+TPC+Version-1106-1-1-1670682360.rar" }, + "{archives}/Ultimate Nar Shaddaa High Resolution - TPC Version-1101-2-1-1670677562.rar": { + "sha256": "6dd006e47fe60bb078f2a2b061ab2a1e200c6b4b05b5a2e4cb448fbff324a426", + "bytes": 807988379, + "name": "Ultimate Nar Shaddaa High Resolution - TPC Version-1101-2-1-1670677562.rar", + "info_hash": "434a280cdac752ff41e9f926a3a4d27e91f0a594", + "magnet": "magnet:?xt=urn%3Abtih%3A434a280cdac752ff41e9f926a3a4d27e91f0a594&dn=Ultimate+Nar+Shaddaa+High+Resolution+-+TPC+Version-1101-2-1-1670677562.rar" + }, "{archives}/Ultimate Onderon High Resolution - TPC Version-1102-1-1-1670678459.rar": { "sha256": "76c9267d1b06db45c5a0231a27e457a29f22ef00654d963b0ad3ed78dfd1364a", "bytes": 333596075, @@ -478,6 +933,27 @@ "info_hash": "c4bf4fcb758b57f553ddfed9dfde9050a63beb1e", "magnet": "magnet:?xt=urn%3Abtih%3Ac4bf4fcb758b57f553ddfed9dfde9050a63beb1e&dn=Ultimate_Robes_Repair_For_TSL_v1.3.7z" }, + "{archives}/Upscale+ Character Fixes - TSL V0.52 (2x tpc).7z": { + "sha256": "e7cbe400393e0c4da3f230baa064ce315babaa5795278deb33fc17844c32dd7a", + "bytes": 254086161, + "name": "Upscale+ Character Fixes - TSL V0.52 (2x tpc).7z", + "info_hash": "cf15080462e2b7e575d9a191943539352c610bc4", + "magnet": "magnet:?xt=urn%3Abtih%3Acf15080462e2b7e575d9a191943539352c610bc4&dn=Upscale%2B+Character+Fixes+-+TSL+V0.52+%282x+tpc%29.7z" + }, + "{archives}/VCChanges1.1.zip": { + "sha256": "9d194d49f3e45614d20b680e13854c28110ff68a6b759c2bd11d82538d0b90e7", + "bytes": 10972681, + "name": "VCChanges1.1.zip", + "info_hash": "e18b24a8c10a5326c41b89839e1590100bf59aab", + "magnet": "magnet:?xt=urn%3Abtih%3Ae18b24a8c10a5326c41b89839e1590100bf59aab&dn=VCChanges1.1.zip" + }, + "{archives}/VSTMF1.4.7z": { + "sha256": "61046731358c5a0484979315eb7c16a9571f5bd34da7f967f8dda2d08cb5c163", + "bytes": 9374876, + "name": "VSTMF1.4.7z", + "info_hash": "7dea0ca082b2037a2044a49ac2ef0840bec02950", + "magnet": "magnet:?xt=urn%3Abtih%3A7dea0ca082b2037a2044a49ac2ef0840bec02950&dn=VSTMF1.4.7z" + }, "{archives}/Visas Less Clipping.7z": { "sha256": "dd08d47b6dc7b4e1baccb62a907d471503f5464152b2789ed7fac0daa8a0dfb0", "bytes": 57299, @@ -499,6 +975,13 @@ "info_hash": "401011e2f6bd242bea77cdd2f575acd5108e7539", "magnet": "magnet:?xt=urn%3Abtih%3A401011e2f6bd242bea77cdd2f575acd5108e7539&dn=%5BTSL%5D_Animated_Computer_Panel_v2.0.0.7z" }, + "{archives}/[TSL]_Fixed_Hologram_Models_and_Admiralty_Redux_for_TSLRCM_v1.61.7z": { + "sha256": "7e922a771723fd3de1560cc7c40b71132505c96a620e11dc34450296e8b7c467", + "bytes": 4476787, + "name": "[TSL]_Fixed_Hologram_Models_and_Admiralty_Redux_for_TSLRCM_v1.61.7z", + "info_hash": "ae795c34672091e260f5d10fb9a0879566120ce3", + "magnet": "magnet:?xt=urn%3Abtih%3Aae795c34672091e260f5d10fb9a0879566120ce3&dn=%5BTSL%5D_Fixed_Hologram_Models_and_Admiralty_Redux_for_TSLRCM_v1.61.7z" + }, "{archives}/[TSL]_Thigh-High_Boots_For_Twilek_Body_MODDERS_RESOURCE.7z": { "sha256": "5ed4056d9329200849aab9bfd7a657065808bc51bb23a505abe9a02173493e39", "bytes": 826508, @@ -513,6 +996,13 @@ "info_hash": "7df6d805be65d24e435be522f7c08965e15a7c7f", "magnet": "magnet:?xt=urn%3Abtih%3A7df6d805be65d24e435be522f7c08965e15a7c7f&dn=aleema_ketos_robe_description_correction.zip" }, + "{archives}/bettersion.7z": { + "sha256": "768379e1d057ac414c7427694dd546064b9d7ff86efcd416fe0e81d8cf01b207", + "bytes": 29463924, + "name": "bettersion.7z", + "info_hash": "f68a4f5f07503e22e9cb59684dcb18843f472469", + "magnet": "magnet:?xt=urn%3Abtih%3Af68a4f5f07503e22e9cb59684dcb18843f472469&dn=bettersion.7z" + }, "{archives}/dendis_merchant_mod.rar": { "sha256": "88ebcdef87b6aa264702e41da57733b01ed38410558d0b7e2a42dd961647f7b3", "bytes": 259527, @@ -527,6 +1017,20 @@ "info_hash": "2c22898f0714e6a15aa2778af7bda0d3e5f3d639", "magnet": "magnet:?xt=urn%3Abtih%3A2c22898f0714e6a15aa2778af7bda0d3e5f3d639&dn=dm_qrts.rar" }, + "{archives}/hd_npc_portraits_tsl-1.1.7z": { + "sha256": "27130e9134c6c0ba845fad3b197539c5afd91048fdba1b5df42a56964a7030e9", + "bytes": 7374347, + "name": "hd_npc_portraits_tsl-1.1.7z", + "info_hash": "9fb22f07965394d8406cb20ec5ad02e0c2a5256c", + "magnet": "magnet:?xt=urn%3Abtih%3A9fb22f07965394d8406cb20ec5ad02e0c2a5256c&dn=hd_npc_portraits_tsl-1.1.7z" + }, + "{archives}/hd_pc_portraits_tsl-1.1.7z": { + "sha256": "5899299b7b1fbbc00f8008ea18b13e1163bf4acc1bf24b4ff29a4b69c14e534f", + "bytes": 22374875, + "name": "hd_pc_portraits_tsl-1.1.7z", + "info_hash": "e99f2eac565fffaa9f514d57b653a68c5166dbe6", + "magnet": "magnet:?xt=urn%3Abtih%3Ae99f2eac565fffaa9f514d57b653a68c5166dbe6&dn=hd_pc_portraits_tsl-1.1.7z" + }, "{archives}/k2-pfhc06-fix.zip": { "sha256": "616e74f314ab4c725ed1a6962b85c0ea9d0b6952ee24a8d19ce82e80b11104eb", "bytes": 75043, @@ -590,6 +1094,13 @@ "info_hash": "458416169cfcae5d05b12f4ca37d3d58eefbdbf1", "magnet": "magnet:?xt=urn%3Abtih%3A458416169cfcae5d05b12f4ca37d3d58eefbdbf1&dn=thorium_charge_mod.rar" }, + "{archives}/tslrcm2022.exe": { + "sha256": "94c99c4807da4b304de6e0efed1be55e0f43d13cc5a274582ed3323ac0e2f1a6", + "bytes": 137947655, + "name": "tslrcm2022.exe", + "info_hash": "b082bbf1014094b559682ff9e321a21a619680c1", + "magnet": "magnet:?xt=urn%3Abtih%3Ab082bbf1014094b559682ff9e321a21a619680c1&dn=tslrcm2022.exe" + }, "{archives}/visual_effects_tsl.7z": { "sha256": "b9518e4e00f0d6b3abee394592eee3377079f74ec18c245107d588fe172a373b", "bytes": 247638, From 99c57bf502ef879da7cb4bbe597e9a09c1b275ac Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 04:43:43 +0000 Subject: [PATCH 13/19] test(ci): run the port tests without the host's secret-named variables Output redaction replaces the value of every secret-named environment variable. On a host where such a variable holds a short value such as "1", three test_ports tests failed because the digits they assert on were rewritten. The module now removes secret-named variables for its duration. No assertion changed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- tools/modsync-ci/test_ports.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/modsync-ci/test_ports.py b/tools/modsync-ci/test_ports.py index 524af127..6cf9c68d 100644 --- a/tools/modsync-ci/test_ports.py +++ b/tools/modsync-ci/test_ports.py @@ -40,6 +40,14 @@ def setUpModule(): patch = mock.patch.object(ports, "game_file_state", lambda root: {"call": next(calls)}) patch.start() unittest.addModuleCleanup(patch.stop) + # Output redaction replaces the value of every secret-named environment variable. + # A host variable with a short value (such as "1") would otherwise rewrite the + # digits these tests assert on, so they run without the host's secret-named variables. + environment = mock.patch.dict(os.environ) + environment.start() + unittest.addModuleCleanup(environment.stop) + for name in [name for name in os.environ if ports.live_output._SECRET.search(name)]: + del os.environ[name] def component(name, guid, **extra): From 06e9394d5cfe9d35ba2c9a6979a2f793e7afaa2e Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 04:43:43 +0000 Subject: [PATCH 14/19] fix(ci): recover a pinned DeadlyStream version after a renamed re-upload The pinned-version recovery was keyed by archive file name, so a re-upload under a new name was stored as an ordinary update: 544-partyswap serves PartySwap 1.6.1.7z while the K2 plan pins PartySwap 1.5.7z. An unpinned file name on a single-file page is now linked to the one plan pin with the same name once version and extension are ignored, if that pin is not already in the cache, and the version history is walked for it. The link is a guess, so a pin missing from the history keeps the current upload as before and records the search instead of failing the item. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 20 +++++ tools/modsync-ci/cache.py | 76 ++++++++++++++++--- .../modsync-ci/test_cache_version_history.py | 71 ++++++++++++++++- 3 files changed, 154 insertions(+), 13 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index e35b1830..8f5849ae 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,6 +337,26 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. +## CI archive cache recovers a pinned version after a renamed re-upload, 2026-11-24 UTC + +Python CI tooling only. The pinned-version recovery of 2026-11-23 was keyed by archive +file name, so an author who re-uploaded under a new name slipped past it: DeadlyStream +`544-partyswap` now serves `PartySwap 1.6.1.7z`, the K2 plan pins `PartySwap 1.5.7z`, +and the new bytes were stored as an ordinary update. `cache.renamed_plan_pin` now links +an unpinned DeadlyStream file name on a single-file page to a plan pin when the two +names are equal once version numbers and extension are ignored, that pin is the only +such candidate, and its bytes are not already in the cache. The version history is then +walked as before and a match is stored under the pinned name. + +Because the link by name is a guess, a pin that is not in the history does not fail the +item: the current upload is kept as before, a warning is printed and the entry records +`pin_not_in_history` with every hashed version. Multi-file pages, direct links, other +providers and cached objects that are never re-downloaded are unchanged; the last is why +`Heyorange_s_Sith Uniform_Reformation_Revised.zip`, whose reviewed `.7z` revision is +served from the artifact store, is not recovered by this. Covered by +`test_cache_version_history.py` (16 tests, offline HTML fixtures). Whether DeadlyStream +still serves PartySwap 1.5 in its history is not known; the next archive stage shows it. + ## CI release candidates download one drawn mod per run live, 2026-11-24 UTC Python CI tooling and workflow policy only; no Rust source changed and no Rust tests diff --git a/tools/modsync-ci/cache.py b/tools/modsync-ci/cache.py index b75db9a0..df3c2b46 100644 --- a/tools/modsync-ci/cache.py +++ b/tools/modsync-ci/cache.py @@ -1217,9 +1217,40 @@ def announced_size(headers): class VersionMismatch(ValueError): """A DeadlyStream download whose bytes differ from the manual plan pin for its file name.""" - def __init__(self, files): + def __init__(self, files, renamed=None): super().__init__("downloaded archive differs from its manual plan pin") self.files = files + # (pinned name, pinned hashes) when the upload carries another file name than its pin. + self.renamed = renamed + + +def stem_letters(name): + """A file name without extension, version digits or punctuation: `PartySwap 1.5.7z` -> `partyswap`.""" + return re.sub(r"[^a-z]+", "", re.sub(r"v?\d[\d.]*", "", Path(name).stem.lower())) + + +def renamed_plan_pin(item, name, sha, root): + """The one plan pin an unpinned DeadlyStream file name most plausibly replaced, or None. + + Authors re-upload under a new name (`PartySwap 1.5.7z` became `PartySwap 1.6.1.7z`), which a pin + keyed by file name cannot see. A candidate needs the same name once version and extension are + ignored, must be the only such pin, and must not already be held in the cache. + """ + if item.get("provider") != "deadlystream" or not isinstance(name, str): + return None + pins = load_plan_pins() + if name in pins or any(sha in shas for shas in pins.values()): + return None + letters = stem_letters(name) + if len(letters) < 4: + return None + candidates = [(pinned, shas) for pinned, shas in pins.items() if stem_letters(pinned) == letters] + if len(candidates) != 1: + return None + pinned, shas = candidates[0] + if any((root / "objects" / each).is_file() for each in shas): + return None + return pinned, shas class PinnedVersionMissing(ValueError): @@ -1310,8 +1341,9 @@ def pinned_version(item, root, args, mismatch): The first past version whose file hashes to the pin is stored and returned under the pinned name; every version hashed is recorded. No match fails the item: the unpinned bytes are never used. """ - name = mismatch.files[0]["file"] - pinned = plan_pin_for(item, name) + name, pinned = mismatch.renamed or (mismatch.files[0]["file"], None) + if pinned is None: + pinned = plan_pin_for(item, name) history = [{"changelog": 0, "label": "current", **each} for each in mismatch.files] origin = urlsplit(item["url"]) if not FILE_ID.match(origin.path): @@ -1344,22 +1376,41 @@ def pinned_version(item, root, args, mismatch): sum(1 for each in history if "sha256" in each)), history) -def fetch_item(item, old, root, args, endpoint=None, depth=0, want=None): - """Fetch one endpoint. `want` ({file, sha256}) is set only inside a version-history walk.""" +def fetch_item(item, old, root, args, endpoint=None, depth=0, want=None, single=None): + """Fetch one endpoint. `want` ({file, sha256}) is set only inside a version-history walk. + + `single` marks the only attachment of a single-file page, where a renamed upload is looked for. + """ try: - return fetch_endpoint(item, old, root, args, endpoint, depth, want) + return fetch_endpoint(item, old, root, args, endpoint, depth, want, single) except VersionMismatch as mismatch: if want is not None or not mismatch.files: raise - return pinned_version(item, root, args, mismatch) - - -def fetch_endpoint(item, old, root, args, endpoint=None, depth=0, want=None): + if mismatch.renamed is None: + return pinned_version(item, root, args, mismatch) + try: + return pinned_version(item, root, args, mismatch) + except PinnedVersionMissing as missing: + # The link by name is a guess, so an unrecoverable pin does not fail the item: + # the current upload is taken as before, with the search on record. + warn("%s: pinned %s is not in the version history; keeping the current upload %s" + % (item.get("id", "?"), mismatch.renamed[0], mismatch.files[0]["file"])) + current = fetch_endpoint(item, old, root, args, endpoint, depth, want, False) + return {**current, "pin_not_in_history": mismatch.renamed[0], + "version_history": missing.version_history} + + +def fetch_endpoint(item, old, root, args, endpoint=None, depth=0, want=None, single=None): previous_bundle = old old = {} if "objects" in old else old + resolved_here = endpoint is None endpoint = endpoint or resolve(item, args) if isinstance(endpoint, list): return fetch_many(item, previous_bundle, root, args, endpoint, depth + 1, want) + # A page that resolves to one attachment is a single-file page. + # An explicit False (the fallback after a failed history search) switches the search off. + if single is None: + single = resolved_here and want is None and depth == 0 if item["provider"] in TOOL_PROVIDERS: return fetch_with_tool(item, root, args) endpoint_key = endpoint_id(endpoint) @@ -1395,7 +1446,7 @@ def fetch_endpoint(item, old, root, args, endpoint=None, depth=0, want=None): if endpoint_id(attachment) == endpoint_key: raise ValueError("download endpoint did not resolve to an attachment; provider adapter required") response.close() - return fetch_item(item, old, root, args, attachment, depth + 1, want) + return fetch_item(item, old, root, args, attachment, depth + 1, want, single=want is None) expected = announced_size(response.headers) if expected is not None and expected > args.max_bytes: raise ValueError("archive exceeds size limit") @@ -1433,6 +1484,9 @@ def fetch_endpoint(item, old, root, args, endpoint=None, depth=0, want=None): pinned = want["sha256"] if want is not None else plan_pin_for(item, name) if pinned is not None and sha not in pinned: raise VersionMismatch([{"file": name, "sha256": sha, "size": size}]) + renamed = renamed_plan_pin(item, name, sha, root) if single and pinned is None and not pinned_direct else None + if renamed is not None: + raise VersionMismatch([{"file": name, "sha256": sha, "size": size}], renamed) if want is not None: name = want["file"] if not (valid and old.get("sha256") == sha): diff --git a/tools/modsync-ci/test_cache_version_history.py b/tools/modsync-ci/test_cache_version_history.py index ed7d311f..548e79b3 100644 --- a/tools/modsync-ci/test_cache_version_history.py +++ b/tools/modsync-ci/test_cache_version_history.py @@ -80,10 +80,11 @@ def __exit__(self, *exc): class Site: """Routes request() by exact URL to an HTML page or an archive body; records every URL asked for.""" - def __init__(self, archives): + def __init__(self, archives, names=None): self.pages = {PAGE: FILE_PAGE, PAGE + "?changelog=4943": changelog(4943), PAGE + "?changelog=4000": changelog(4000), PAGE + "?changelog=3000": changelog(3000)} self.archives = archives + self.names = names or {} self.urls = [] def __call__(self, url, request_args, headers=None): @@ -92,11 +93,77 @@ def __call__(self, url, request_args, headers=None): return Response(url, self.pages[url].encode(), "text/html; charset=utf-8") if url in self.archives: return Response(url, self.archives[url], "application/x-7z-compressed", - 'attachment; filename="%s"' % NAME) + 'attachment; filename="%s"' % self.names.get(url, NAME)) raise ValueError("HTTP 404") ARCHIVES = {download(): CURRENT, download(4943): V11, download(4000): V10, download(3000): V09} +RENAMED = "Example NPC Diversity 1.2.7z" + + +class RenamedUploadTests(unittest.TestCase): + """An author re-uploads under a new file name, which a pin keyed by file name cannot see.""" + + def setUp(self): + temporary = tempfile.TemporaryDirectory() + self.addCleanup(temporary.cleanup) + self.root = Path(temporary.name) + (self.root / "objects").mkdir() + self.site = Site(ARCHIVES, {download(): RENAMED}) + + def fetch(self, pins): + with mock.patch.dict(cache.PLAN_PIN_STATE, {"pins": pins}), \ + mock.patch.object(cache, "request", self.site), \ + mock.patch.object(cache, "validate", return_value="7z"), \ + mock.patch.object(cache, "load_selections", return_value={}), \ + mock.patch.object(cache, "warn") as self.warn, \ + mock.patch.object(cache.time, "sleep"): + return cache.fetch_item(item(), {}, self.root, args()) + + def history_asked(self): + return [url for url in self.site.urls if "changelog=" in url] + + def test_name_comparison_ignores_version_and_extension_only(self): + same = ("PartySwap 1.5.7z", "PartySwap 1.6.1.7z", "partyswap_v2.zip", "PartySwap.rar") + self.assertEqual({cache.stem_letters(name) for name in same}, {"partyswap"}) + self.assertNotEqual(cache.stem_letters("PartySwap HD 1.5.7z"), "partyswap") + self.assertEqual(cache.stem_letters("1.5.7z"), "") + + def test_the_pinned_version_is_recovered_under_its_pinned_name(self): + result = self.fetch({NAME: frozenset({sha(V10)})}) + self.assertEqual((result["sha256"], result["archive_name"]), (sha(V10), NAME)) + self.assertEqual(result["pinned_version"], {"changelog": 4000, "label": "1.0"}) + self.assertEqual(result["version_history"][0]["file"], RENAMED) + self.assertEqual(sorted(path.name for path in (self.root / "objects").iterdir()), [sha(V10)]) + + def test_a_pin_missing_from_history_keeps_the_current_upload_and_says_so(self): + result = self.fetch({NAME: frozenset({"ab" * 32})}) + self.assertEqual((result["sha256"], result["archive_name"]), (sha(CURRENT), RENAMED)) + self.assertEqual(result["pin_not_in_history"], NAME) + self.assertEqual([each.get("sha256") for each in result["version_history"]], + [sha(CURRENT), sha(V11), sha(V10), sha(V09)]) + self.assertIn(NAME, self.warn.call_args.args[0]) + + def test_no_history_walk_without_exactly_one_unsatisfied_candidate(self): + (self.root / "held").mkdir() + cases = { + "another mod": {"Other Mod.7z": frozenset({sha(V10)})}, + "two candidates": {NAME: frozenset({sha(V10)}), "Example NPC Diversity 0.9.zip": frozenset({sha(V09)})}, + "current bytes are themselves pinned": {NAME: frozenset({sha(V10)}), "Alias.7z": frozenset({sha(CURRENT)})}, + "no pins": {}, + } + for label, pins in cases.items(): + with self.subTest(label=label): + self.site.urls.clear() + result = self.fetch(pins) + self.assertEqual((result["sha256"], result["archive_name"]), (sha(CURRENT), RENAMED)) + self.assertEqual(self.history_asked(), []) + self.assertNotIn("pin_not_in_history", result) + # The pinned bytes are already in the cache: nothing to recover. + (self.root / "objects" / sha(V10)).write_bytes(V10) + self.site.urls.clear() + result = self.fetch({NAME: frozenset({sha(V10)})}) + self.assertEqual((result["sha256"], self.history_asked()), (sha(CURRENT), [])) class VersionHistoryTests(unittest.TestCase): From 8eb1cef3d1234406f47b8b46cf86366decd20000 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 04:51:04 +0000 Subject: [PATCH 15/19] fix: K1 recipe book matches the current draft; two refusals name their cause K1 install lanes stopped with "Component differs from exact reviewed recipe context" for Stunbaton HD and Zaalbar HD. The recipe book still embedded options the draft produced before negated recommendations stopped becoming options. Recipes 32 and 41 now hold the components the engine drafts today; the book hash and the master data hash that pin them are updated in the five places that carry them. The UCO prerequisite refusal now names the prerequisite and its differing fields, and the unclassified inactive sections refusal lists the sections. Both causes remain open; the messages are what the next run needs. Checked: fmt, build and clippy without default features; all 66 recipes' raw and canonical components equal the built engine's output for the compiled guide. No Rust tests were run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 28 ++++ src/archive_generation/reviewed_manual.rs | 2 +- .../reviewed_manual_k1.json | 122 ++---------------- src/archive_generation/reviewed_master.rs | 4 +- src/archive_generation/reviewed_master/uco.rs | 25 +++- .../reviewed_master_k1.json | 2 +- .../source_plan_namespace.rs | 5 +- tools/modsync-ci/ports.py | 2 +- 8 files changed, 64 insertions(+), 126 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 8f5849ae..2f040d40 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -337,6 +337,34 @@ placeholders survive conversion but still fail Rust execution. This does not clo F01/F05, full validation or complete format/action parity. Five production gates pass and53 frozen entries remain unchanged; no Rust tests were run. +## K1 recipe book matches the current draft again; two refusals name their cause, 2026-11-24 UTC + +Engine data and two error messages; no behaviour of a successful install changed. No +Rust tests were run. + +K1 install lanes stopped at `guide_selection` with `Component differs from exact reviewed +recipe context` for Stunbaton HD and Zaalbar HD. The guide and the archives were +unchanged. The recipe book `src/archive_generation/reviewed_manual_k1.json` still +embedded the options that the draft produced before negated recommendations stopped +becoming options (the "recommend against" entry below): two for Stunbaton HD, one for +Zaalbar HD. Those options carried no instructions, dependencies or restrictions and no +plan step referred to them. Recipes 32 and 41 now hold the components the engine drafts +today, with their digests, and the book hash and the master data hash that pin them were +updated in `reviewed_manual.rs`, `reviewed_master.rs`, `reviewed_master/uco.rs`, +`reviewed_master_k1.json` and `tools/modsync-ci/ports.py`. + +Proof boundary. With the built CLI, all 66 recipes' raw and canonical input components +equal the engine's current output for the compiled K1 guide, and every embedded digest +matches. The archive-bound path that raised the refusal needs the mod archives and was +not run locally; the next K1 install lane is the proof. + +Two refusals now carry what a reviewer needs. `UCO prerequisite differs from its complete +compiled original definition` names the prerequisite's GUID and name and the top-level +fields that differ; the K2 lanes hit it and the guide is ruled out, so one of twelve +prerequisites is bound differently from the archives. `Selected namespace has +unclassified inactive sections` lists the orphaned sections the patcher reported; K1 +Taris Rapid Transit hits it and has no classification yet. Neither cause is fixed here. + ## CI archive cache recovers a pinned version after a renamed re-upload, 2026-11-24 UTC Python CI tooling only. The pinned-version recovery of 2026-11-23 was keyed by archive diff --git a/src/archive_generation/reviewed_manual.rs b/src/archive_generation/reviewed_manual.rs index 10dae64e..3cb770aa 100644 --- a/src/archive_generation/reviewed_manual.rs +++ b/src/archive_generation/reviewed_manual.rs @@ -61,7 +61,7 @@ const BOOKS: [BookSpec; 9] = [ BookSpec { filename: "reviewed_manual_k1.json", content: include_str!("reviewed_manual_k1.json"), - sha256: "b04b7331b5001f81698feb5571460ea9e2e486d032956abb22967d704254c338", + sha256: "38a1231f12632d0765b9741343db92ee5858f27405ab2bdb8667119ad71e8d6b", guide_sha256: "44067788c6cb7a83b38d468817f273ce5cc901cd5e000c0f9ff65f8af15fc6ed", plan_sha256: "1b402ba085625c4863795069eaacaef0f53e8ea7179e56a5bd150d88eb9c0a74", count: 66, diff --git a/src/archive_generation/reviewed_manual_k1.json b/src/archive_generation/reviewed_manual_k1.json index 4f31131d..4b7666ef 100644 --- a/src/archive_generation/reviewed_manual_k1.json +++ b/src/archive_generation/reviewed_manual_k1.json @@ -7969,42 +7969,7 @@ "InstallBefore": [], "InstallAfter": [], "Instructions": [], - "Options": [ - { - "Guid": "769422af-fcbd-8c0e-8113-988ffa053e19", - "Name": "against", - "Author": "", - "Description": "Recommended option: against", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - }, - { - "Guid": "fe0b100e-80f5-81b4-b02c-a7010cbeb286", - "Name": "\"stunbaton 2025\"", - "Author": "", - "Description": "Recommended option: \"stunbaton 2025\"", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - } - ], + "Options": [], "ResourceRegistry": { "https://deadlystream.com/files/file/2430-stunbaton-hd/": { "Files": {}, @@ -8062,42 +8027,7 @@ "InstallBefore": [], "InstallAfter": [], "Instructions": [], - "Options": [ - { - "Guid": "769422af-fcbd-8c0e-8113-988ffa053e19", - "Name": "against", - "Author": "", - "Description": "Recommended option: against", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - }, - { - "Guid": "fe0b100e-80f5-81b4-b02c-a7010cbeb286", - "Name": "\"stunbaton 2025\"", - "Author": "", - "Description": "Recommended option: \"stunbaton 2025\"", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - } - ], + "Options": [], "ResourceRegistry": { "https://deadlystream.com/files/file/2430-stunbaton-hd/": { "Files": {}, @@ -8141,8 +8071,8 @@ }, "canonicalization": { "method": "production-guide-loader", - "raw_component_sha256": "aba2843643ae2e0aad961f001c7071cc503b0a23629b2792ef872010bb6c639e", - "canonical_component_sha256": "aba2843643ae2e0aad961f001c7071cc503b0a23629b2792ef872010bb6c639e", + "raw_component_sha256": "7df51add1528c3e397534123077d0d5f4fa12f1f8732dda5987f7d4c727e384e", + "canonical_component_sha256": "7df51add1528c3e397534123077d0d5f4fa12f1f8732dda5987f7d4c727e384e", "cli_binary_sha256": "d35ca23b653b4d74ed61f574855a7d54a492c34336716e547700281b633b7d7a", "raw_export_sha256": "6dff78d3e3babebed63a165f224a9a3cc8aa6af6bf878f406d3ced3bb2dd6743", "canonical_export_sha256": "8c0cd0e8dd462b97664b0440ebbf6f7574cf8fdf9e2d1453b75fd6670d02d170", @@ -9783,25 +9713,7 @@ "Restrictions": [] } ], - "Options": [ - { - "Guid": "0cedce85-d532-80cb-ba71-1cb596f3d475", - "Name": "against the \"ZaalbarHD (Vurt's KotOR Visual Resurgence)\"", - "Author": "", - "Description": "Recommended option: against the \"ZaalbarHD (Vurt's KotOR Visual Resurgence)\"", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - } - ], + "Options": [], "ResourceRegistry": { "https://deadlystream.com/files/file/2031-zaalbar-hd/": { "Files": {}, @@ -9870,25 +9782,7 @@ "Restrictions": [] } ], - "Options": [ - { - "Guid": "0cedce85-d532-80cb-ba71-1cb596f3d475", - "Name": "against the \"ZaalbarHD (Vurt's KotOR Visual Resurgence)\"", - "Author": "", - "Description": "Recommended option: against the \"ZaalbarHD (Vurt's KotOR Visual Resurgence)\"", - "Directions": "", - "Tier": "", - "Category": [], - "IsSelected": true, - "Dependencies": [], - "Restrictions": [], - "InstallBefore": [], - "InstallAfter": [], - "Instructions": [], - "Options": [], - "ResourceRegistry": {} - } - ], + "Options": [], "ResourceRegistry": { "https://deadlystream.com/files/file/2031-zaalbar-hd/": { "Files": {}, @@ -9931,8 +9825,8 @@ }, "canonicalization": { "method": "production-guide-loader", - "raw_component_sha256": "5cf0f7c8d7738bdccf9f6c961ff5f83ff48b01f4b443afee9b3a925fb33cb384", - "canonical_component_sha256": "141e437d0b2817acfe9d75a40329ef063dc9daa98b072c988e6165a8c4fa0c33", + "raw_component_sha256": "ad18359b52eae7305b684b95ec8b3e812967e62b5a5f97db21ab7dfbd093824c", + "canonical_component_sha256": "ad1174ae04a0e2463b4a4ac14247d330cb54cd201d34d408b2d2de70d0eb0ddd", "cli_binary_sha256": "d35ca23b653b4d74ed61f574855a7d54a492c34336716e547700281b633b7d7a", "raw_export_sha256": "6dff78d3e3babebed63a165f224a9a3cc8aa6af6bf878f406d3ced3bb2dd6743", "canonical_export_sha256": "8c0cd0e8dd462b97664b0440ebbf6f7574cf8fdf9e2d1453b75fd6670d02d170", diff --git a/src/archive_generation/reviewed_master.rs b/src/archive_generation/reviewed_master.rs index f7dd34fc..1baf7bcb 100644 --- a/src/archive_generation/reviewed_master.rs +++ b/src/archive_generation/reviewed_master.rs @@ -16,10 +16,10 @@ pub(crate) fn is_generator(generator: &str) -> bool { pub(crate) const BINDING: &str = "ReviewedMasterBinding"; pub(crate) const GENERATOR: &str = "reviewed-source-master-v1"; const DATA: &str = include_str!("reviewed_master_k1.json"); -const DATA_SHA: &str = "766236adcae5c0b720bacd8701274286d19d2a3753dbecbd4b2daa6faedf0ac9"; +const DATA_SHA: &str = "f9f8a2aa3684612988e4a436267308ee4cac83c8c6088a5fd823a8c2f7df33e6"; const OWNER: &str = "f966fc1f-6b47-88fc-9050-07b1371eb56a"; const PRIOR: &str = "6fb1971d-5775-85e5-9e77-ecc68a896e84"; -const BOOK_SHA: &str = "b04b7331b5001f81698feb5571460ea9e2e486d032956abb22967d704254c338"; +const BOOK_SHA: &str = "38a1231f12632d0765b9741343db92ee5858f27405ab2bdb8667119ad71e8d6b"; fn authority() -> Result<Value> { ensure!( diff --git a/src/archive_generation/reviewed_master/uco.rs b/src/archive_generation/reviewed_master/uco.rs index 0989e2ea..faaa158a 100644 --- a/src/archive_generation/reviewed_master/uco.rs +++ b/src/archive_generation/reviewed_master/uco.rs @@ -50,7 +50,7 @@ const SPECS: [Spec; 2] = [ Spec { owner: K1, index: 181, - book: "b04b7331b5001f81698feb5571460ea9e2e486d032956abb22967d704254c338", + book: "38a1231f12632d0765b9741343db92ee5858f27405ab2bdb8667119ad71e8d6b", guide: include_bytes!("../source_plan_k1.md"), guide_sha: "44067788c6cb7a83b38d468817f273ce5cc901cd5e000c0f9ff65f8af15fc6ed", plan: include_bytes!("../../../tools/modsync-ci/fixtures/ci/k1-manual-plan.json"), @@ -215,11 +215,24 @@ pub(super) fn validate_guide(guide: &Guide) -> Result<()> { "UCO predecessor source order changed" ); previous = Some(positions[0].0); - ensure!( - comparable(&source_definition(positions[0].1)?)? - == comparable(&a.source.components[index])?, - "UCO prerequisite differs from its complete compiled original definition" - ); + let bound = comparable(&source_definition(positions[0].1)?)?; + let original = comparable(&a.source.components[index])?; + if bound != original { + // Name the prerequisite and its differing top-level fields: twelve + // predecessors share this check, and the values may hold guide text. + let fields = original + .as_object() + .into_iter() + .flatten() + .map(|(key, _)| key) + .chain(bound.as_object().into_iter().flatten().map(|(key, _)| key)) + .filter(|key| bound.get(key.as_str()) != original.get(key.as_str())) + .collect::<std::collections::BTreeSet<_>>(); + anyhow::bail!( + "UCO prerequisite differs from its complete compiled original definition: {guid} ({}) in {fields:?}", + positions[0].1.name + ); + } } if let Some(order) = guide.metadata.get("ModSyncSourceOrder") { let order = order.as_array().context("Invalid UCO source order")?; diff --git a/src/archive_generation/reviewed_master_k1.json b/src/archive_generation/reviewed_master_k1.json index 77137280..98821a12 100644 --- a/src/archive_generation/reviewed_master_k1.json +++ b/src/archive_generation/reviewed_master_k1.json @@ -3,7 +3,7 @@ "policy": "k1-npc-clothing-exact-community-patch-master-v1", "source_guide_sha256": "44067788c6cb7a83b38d468817f273ce5cc901cd5e000c0f9ff65f8af15fc6ed", "source_plan_sha256": "1b402ba085625c4863795069eaacaef0f53e8ea7179e56a5bd150d88eb9c0a74", - "legacy_book_sha256": "b04b7331b5001f81698feb5571460ea9e2e486d032956abb22967d704254c338", + "legacy_book_sha256": "38a1231f12632d0765b9741343db92ee5858f27405ab2bdb8667119ad71e8d6b", "owner_guid": "f966fc1f-6b47-88fc-9050-07b1371eb56a", "owner_source_index": 46, "owner_step": "step-047", diff --git a/src/archive_generation/source_plan_namespace.rs b/src/archive_generation/source_plan_namespace.rs index ac952537..83ac18d9 100644 --- a/src/archive_generation/source_plan_namespace.rs +++ b/src/archive_generation/source_plan_namespace.rs @@ -1606,10 +1606,13 @@ fn validate_configuration( .message .starts_with("There are some orphaned ini sections") { + // The patcher's note lists the orphaned sections; a reviewer needs that + // exact set to classify them, so the refusal carries it. ensure!( inactive_sections::classify(entry, &parser, &log.message)? || source_revisions_uniform::classify_inactive(entry, &parser, &log.message)?, - "Selected namespace has unclassified inactive sections" + "Selected namespace has unclassified inactive sections: {}", + log.message.trim().replace('\n', ", ") ); } } diff --git a/tools/modsync-ci/ports.py b/tools/modsync-ci/ports.py index 2a9edaa0..38d5ae62 100644 --- a/tools/modsync-ci/ports.py +++ b/tools/modsync-ci/ports.py @@ -570,7 +570,7 @@ def record_draft_review(log, report): MANUAL_PATCHER_GENERATOR = "reviewed-manual-native-patcher" MANUAL_BOOK_SHA256 = "f85240122267d088f7b52c1746c2edb2fdb8795846889f4158dcf59b4fd91d60" MANUAL_BOOKS = { - "k1": [("reviewed_manual_k1.json", "b04b7331b5001f81698feb5571460ea9e2e486d032956abb22967d704254c338", 66), + "k1": [("reviewed_manual_k1.json", "38a1231f12632d0765b9741343db92ee5858f27405ab2bdb8667119ad71e8d6b", 66), ("reviewed_manual_raw_inputs_k1.json", "f3dadc5ad04f7c501753ca38bf50492e067c54b8ed1df401910780d3ca836d93", 2), ("reviewed_manual_community_patch_k1.json", "923c0a5ebe52615247717bd3bab6ce48bad98cc664825a840465025b2b7e1fbc", 1)], "k2": [("reviewed_manual_k2.json", MANUAL_BOOK_SHA256, 57), From 6a6a38489d51afe3cb2067f4b07bedd022fd4c4e Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 05:23:43 +0000 Subject: [PATCH 16/19] CI: pin the P2P identity of the recovered PartySwap 1.5 Run 45329233118 (commit 8eb1cef) walked the renamed upload's version history, restored the pinned PartySwap 1.5.7z and created its identity. All 159 K2 versions and 199 of 200 K1 versions are now pinned. The same run recreated the 357 earlier pins and each matched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 16 ++++++++++------ .../modsync-ci/fixtures/ci/k2-p2p-identity.json | 7 +++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 2f040d40..d6fcbf13 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -382,8 +382,10 @@ item: the current upload is kept as before, a warning is printed and the entry r providers and cached objects that are never re-downloaded are unchanged; the last is why `Heyorange_s_Sith Uniform_Reformation_Revised.zip`, whose reviewed `.7z` revision is served from the artifact store, is not recovered by this. Covered by -`test_cache_version_history.py` (16 tests, offline HTML fixtures). Whether DeadlyStream -still serves PartySwap 1.5 in its history is not known; the next archive stage shows it. +`test_cache_version_history.py` (16 tests, offline HTML fixtures). Live proof: in run +45329233118 (commit `8eb1cef`) the archive stage hashed `PartySwap 1.6.1.7z` and +`PartySwap 1.6.7z`, found the pinned bytes as the third version and restored them as +`PartySwap 1.5.7z`. ## CI release candidates download one drawn mod per run live, 2026-11-24 UTC @@ -430,15 +432,17 @@ P2P now has two separate CI tests: transfers and additionally requires the pinned torrent creator to mint the same info hash as `torrent_identity.py` for its fixture. -Pinned: 199 of 200 K1 and 158 of 159 K2 versions. Run 45303323274 (commit `cdc8710`) +Pinned: 199 of 200 K1 and all 159 K2 versions. Run 45303323274 (commit `cdc8710`) gave the first 106 and 85; the rest had no bytes left because the identity step ran after the stage had trimmed its object cache to the 2.5 GiB bound. The stage now creates the identities itself, just before that trim (`fullrun_stage.p2p_identities`), and the workflow step reads those receipts. Run 45322164517 (commit `f639619`) then gave 93 and 73 more. Each of the first 191 pins was recreated on two later runners (runs -45312276943 and 45322164517) and matched every time. Still unpinned, with no verified -bytes in any run: K1 `Heyorange_s_Sith Uniform_Reformation_Revised.zip` and K2 -`PartySwap 1.5.7z`. In run 45303323274 +45312276943 and 45322164517) and matched every time. K2 `PartySwap 1.5.7z` followed in +run 45329233118, once the renamed re-upload was recovered (entry above); that run also +recreated all 357 earlier pins and each matched. Still unpinned, with no verified bytes +in any run: K1 `Heyorange_s_Sith Uniform_Reformation_Revised.zip`, whose page now serves +a reviewed `.7z` revision from the artifact store. In run 45303323274 the second test passed, so the torrent creator minted the info hash that `torrent_identity.py` computed for the loopback fixture. diff --git a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json index cc4a3e84..e1699bb9 100644 --- a/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json +++ b/tools/modsync-ci/fixtures/ci/k2-p2p-identity.json @@ -569,6 +569,13 @@ "info_hash": "1998abd605180ab74fd978ee39683cdf03679453", "magnet": "magnet:?xt=urn%3Abtih%3A1998abd605180ab74fd978ee39683cdf03679453&dn=PLC_Sign.rar" }, + "{archives}/PartySwap 1.5.7z": { + "sha256": "818370f4b19731700dd754095b4fa5a8dcc7dc8a782f73ffc8723765f60b0b8d", + "bytes": 10465786, + "name": "PartySwap 1.5.7z", + "info_hash": "4920f97b77a69fa47cf8054857d17c4c7454e8fd", + "magnet": "magnet:?xt=urn%3Abtih%3A4920f97b77a69fa47cf8054857d17c4c7454e8fd&dn=PartySwap+1.5.7z" + }, "{archives}/PartySwap_EEnclave_ComPatch.7z": { "sha256": "e2dec782485b04eab7348e21eac701e177fd0e5738ed598b7de1936370a5bf84", "bytes": 9763995, From 69916fab5e715e20b9b96b1dd72991f3cd6e2bb1 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 05:46:21 +0000 Subject: [PATCH 17/19] fix: UCO definition comparison recovers a vendor-bound prerequisite K2 install lanes stopped at bind_archives because The Sith Lords Restored Content Mod, a UCO prerequisite, is rewritten by the vendor installer binding (Instructions and VendorInstallerBinding), and the comparison with the compiled original could recover the original definition from three other generators but not from this one. The binding already stores its reviewed input component; the comparison now uses it, admitted only while it still equals the reviewed context. Definition comparison only, never proof that the installer ran. Checked: fmt, build and clippy without default features. No Rust tests were run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 18 ++++++++++++++---- src/archive_generation/reviewed_master/uco.rs | 3 +++ src/vendor_installer.rs | 17 +++++++++++++++++ 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index d6fcbf13..80390b74 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -360,10 +360,20 @@ not run locally; the next K1 install lane is the proof. Two refusals now carry what a reviewer needs. `UCO prerequisite differs from its complete compiled original definition` names the prerequisite's GUID and name and the top-level -fields that differ; the K2 lanes hit it and the guide is ruled out, so one of twelve -prerequisites is bound differently from the archives. `Selected namespace has -unclassified inactive sections` lists the orphaned sections the patcher reported; K1 -Taris Rapid Transit hits it and has no classification yet. Neither cause is fixed here. +fields that differ. `Selected namespace has unclassified inactive sections` lists the +orphaned sections the patcher reported; K1 Taris Rapid Transit hits it and has no +classification yet, which is not fixed here. + +The first refusal then named its cause in run 45329233118: The Sith Lords Restored +Content Mod (`bee5a72b`), differing in `Instructions` and `VendorInstallerBinding`. The +vendor installer binding rewrites that component, and the UCO definition comparison knew +how to recover the original from three other generators but not from this one. +`vendor_installer::declared_original_definition` now returns the binding's stored input +component, admitted only while it still equals the reviewed context, and the comparison +uses it. As with the other three, this is a definition comparison only and never proof +that the installer ran. Checked locally: the stored input equals the engine's draft of +that component from the compiled K2 guide in every field but the loader form of +`Language`, which the run did not report as differing. The next K2 lane is the proof. ## CI archive cache recovers a pinned version after a renamed re-upload, 2026-11-24 UTC diff --git a/src/archive_generation/reviewed_master/uco.rs b/src/archive_generation/reviewed_master/uco.rs index faaa158a..24f97c9f 100644 --- a/src/archive_generation/reviewed_master/uco.rs +++ b/src/archive_generation/reviewed_master/uco.rs @@ -177,6 +177,9 @@ fn source_definition(c: &Component) -> Result<Component> { if let Some(origin) = super::super::source_plan_patcher::declared_original_definition(c)? { return Ok(origin); } + if let Some(origin) = crate::vendor_installer::declared_original_definition(c)? { + return Ok(origin); + } Ok(c.clone()) } pub(super) fn validate_guide(guide: &Guide) -> Result<()> { diff --git a/src/vendor_installer.rs b/src/vendor_installer.rs index 66ee8d83..90bb2f5f 100644 --- a/src/vendor_installer.rs +++ b/src/vendor_installer.rs @@ -132,6 +132,23 @@ pub(crate) fn bind( Ok(()) } +/// The reviewed guide component a vendor binding was made from, for definition +/// comparisons only. It is admitted only while it still equals the reviewed +/// context, and it is never proof that the installer ran: `before` replays that. +pub(crate) fn declared_original_definition(component: &Component) -> Result<Option<Component>> { + let Some(binding) = component.metadata.get("VendorInstallerBinding") else { + return Ok(None); + }; + let original: Component = serde_json::from_value( + binding + .get("InputComponent") + .cloned() + .context("Missing vendor input context")?, + )?; + input_context(&original)?; + Ok(Some(original)) +} + pub(crate) fn replay( component: &Component, root: &Path, From 91188b9dfd7979fe3677c4c4fb67bffc915725d7 Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 07:06:46 +0000 Subject: [PATCH 18/19] fix: UCO definition comparison recovers an archive-method-bound prerequisite Run 45337846523 confirmed the vendor-bound prerequisite now compares equal and stopped at the next one, Maintenance Officer Realistic Reskin, which the archive method binding rewrites (ArchiveMethodBinding and Instructions). The comparison now restores the method-only component that binding was made from, admitted only if the result is method-only again. The refusal reports every differing prerequisite at once, so one run shows all that remain. Definition comparison only. Checked: fmt, build and clippy without default features. No Rust tests were run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 12 ++++++++++- src/archive_generation/resolved.rs | 21 +++++++++++++++++++ src/archive_generation/reviewed_master/uco.rs | 15 +++++++++---- 3 files changed, 43 insertions(+), 5 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 80390b74..d3c40f27 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -373,7 +373,17 @@ component, admitted only while it still equals the reviewed context, and the com uses it. As with the other three, this is a definition comparison only and never proof that the installer ran. Checked locally: the stored input equals the engine's draft of that component from the compiled K2 guide in every field but the loader form of -`Language`, which the run did not report as differing. The next K2 lane is the proof. +`Language`, which the run did not report as differing. Run 45337846523 (commit +`69916fa`) confirmed it: the comparison passed that component and four more and stopped +at the next one. + +That next one is Maintenance Officer Realistic Reskin (`a2072211`), differing in +`ArchiveMethodBinding` and `Instructions`: the same gap for the archive method binding. +`resolved::declared_original_definition` now restores the method-only component that +binding was made from (instructions, options and the binding receipt removed), admitted +only if the result is method-only again, and the comparison uses it. The refusal now +lists every differing prerequisite at once instead of the first. Whether any of the +remaining seven prerequisites differs is shown by the next K2 lane. ## CI archive cache recovers a pinned version after a renamed re-upload, 2026-11-24 UTC diff --git a/src/archive_generation/resolved.rs b/src/archive_generation/resolved.rs index 1811ea9f..b67bee96 100644 --- a/src/archive_generation/resolved.rs +++ b/src/archive_generation/resolved.rs @@ -968,6 +968,27 @@ fn bind_loose_method( ) } +/// The method-only guide component an archive method binding was made from, for +/// definition comparisons only. The binding adds instructions and its receipt to +/// a component that had neither, so removing them restores the input; it is +/// admitted only if the result is method-only again. Never proof of the archive +/// or of installation: replay re-derives the binding from the archive bytes. +pub(crate) fn declared_original_definition(component: &Component) -> Result<Option<Component>> { + if !component.metadata.contains_key("ArchiveMethodBinding") { + return Ok(None); + } + let mut original = component.clone(); + original.instructions.clear(); + original.options.clear(); + original.metadata.remove("ArchiveMethodBinding"); + original.metadata.remove("DraftReview"); + ensure!( + method_only_patcher(&original) || method_only_loose_file(&original), + "Component is not a method-only loose-file or patcher component" + ); + Ok(Some(original)) +} + /// Record the binding receipt, the archive derivation and the bound method /// context on a freshly bound component, then publish it. fn finish_method_binding( diff --git a/src/archive_generation/reviewed_master/uco.rs b/src/archive_generation/reviewed_master/uco.rs index 24f97c9f..b9da9edd 100644 --- a/src/archive_generation/reviewed_master/uco.rs +++ b/src/archive_generation/reviewed_master/uco.rs @@ -180,6 +180,9 @@ fn source_definition(c: &Component) -> Result<Component> { if let Some(origin) = crate::vendor_installer::declared_original_definition(c)? { return Ok(origin); } + if let Some(origin) = super::super::resolved::declared_original_definition(c)? { + return Ok(origin); + } Ok(c.clone()) } pub(super) fn validate_guide(guide: &Guide) -> Result<()> { @@ -200,6 +203,7 @@ pub(super) fn validate_guide(guide: &Guide) -> Result<()> { "UCO master owner must occur exactly once" ); let mut previous = None; + let mut differing = Vec::new(); for &(guid, index) in spec.priors { let positions = guide .components @@ -231,12 +235,15 @@ pub(super) fn validate_guide(guide: &Guide) -> Result<()> { .chain(bound.as_object().into_iter().flatten().map(|(key, _)| key)) .filter(|key| bound.get(key.as_str()) != original.get(key.as_str())) .collect::<std::collections::BTreeSet<_>>(); - anyhow::bail!( - "UCO prerequisite differs from its complete compiled original definition: {guid} ({}) in {fields:?}", - positions[0].1.name - ); + differing.push(format!("{guid} ({}) in {fields:?}", positions[0].1.name)); } } + // Every differing prerequisite is reported at once, not only the first. + ensure!( + differing.is_empty(), + "UCO prerequisite differs from its complete compiled original definition: {}", + differing.join("; ") + ); if let Some(order) = guide.metadata.get("ModSyncSourceOrder") { let order = order.as_array().context("Invalid UCO source order")?; let mut required = spec From 1dbb30956f69e6d97ffedd35a7370ad1186e67bf Mon Sep 17 00:00:00 2001 From: ModSync CI <ci@users.noreply.github.com> Date: Tue, 24 Nov 2026 08:42:18 +0000 Subject: [PATCH 19/19] fix(ci): report refused new pins instead of raising torrent_identity survey --write-pins re-validates the merged pins before writing them. A refusal there escaped as a traceback, because only OSError was caught around the write. It now prints one line and exits 1 with the pin file untouched, like every other failure of the tool. CI does not use --write-pins; this affects manual runs. Covered by a new test. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QDKiop2EihVsnJdm1ecw7c --- COMPATIBILITY.md | 2 +- tools/modsync-ci/test_torrent_identity.py | 19 +++++++++++++++++++ tools/modsync-ci/torrent_identity.py | 4 ++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index d3c40f27..ccb3ed1e 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -439,7 +439,7 @@ torrent, which is why every pinned magnet must state its name (`dn`). P2P now has two separate CI tests: -1. Identity. `test_torrent_identity.py` (11 tests) recreates five info hashes that the +1. Identity. `test_torrent_identity.py` (12 tests) recreates five info hashes that the production CLI reported as `rebuilt` for the same bytes and names (`torrent-seed --authored-magnet` with a wrong hash, checked on 2026-11-24, including files of exactly one and two pieces), checks that all 200 K1 and 159 K2 pinned file diff --git a/tools/modsync-ci/test_torrent_identity.py b/tools/modsync-ci/test_torrent_identity.py index ce640e99..f07c189c 100644 --- a/tools/modsync-ci/test_torrent_identity.py +++ b/tools/modsync-ci/test_torrent_identity.py @@ -242,6 +242,25 @@ def test_io_failures_are_reported_instead_of_raised(self): self.assertEqual(identity.main([*arguments, "--plan", str(self.root / "absent"), "--pins", str(self.pins)]), 1) self.assertEqual(errors.getvalue().count("unusable plan or pin file"), 2) + def test_refused_new_pins_are_reported_and_leave_the_pin_file_alone(self): + from contextlib import redirect_stderr + from unittest import mock + before = self.pins.read_text() + real = identity.validate_pins + calls = [] + + def refuse_second(document, archives): + calls.append(document) + if len(calls) == 2: + raise identity.IdentityError("one info hash is pinned for two different contents") + return real(document, archives) + + with mock.patch.object(identity, "validate_pins", side_effect=refuse_second), \ + redirect_stderr(io.StringIO()) as errors: + code, _ = self.run_survey("--write-pins") + self.assertEqual((code, self.pins.read_text()), (1, before)) + self.assertIn("new pins refused", errors.getvalue()) + if __name__ == "__main__": unittest.main() diff --git a/tools/modsync-ci/torrent_identity.py b/tools/modsync-ci/torrent_identity.py index cbafc816..5318d4e3 100644 --- a/tools/modsync-ci/torrent_identity.py +++ b/tools/modsync-ci/torrent_identity.py @@ -284,6 +284,10 @@ def main(argv=None): except OSError as error: print("torrent_identity: cannot write the receipt or pin file: %s" % type(error).__name__, file=sys.stderr) return 1 + except IdentityError as error: + # The merged pins failed their own rules: nothing was written to the pin file. + print("torrent_identity: new pins refused: %s" % error, file=sys.stderr) + return 1 print(json.dumps({"status": receipt["status"], "plan": receipt["plan"], "pinned_archives": len(archives), "counts": receipt["counts"], "problems": problems}, sort_keys=True)) return 1 if failed else 0