From e1a019521d87757a76682d65c98e3f7ceded76bd Mon Sep 17 00:00:00 2001 From: contr Date: Fri, 23 Oct 2026 22:04:41 +0300 Subject: [PATCH] docs: record clean clone setup validation --- README.md | 8 ++++++-- docs/ROADMAP.md | 6 +++++- docs/VALIDATION.md | 17 +++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index be7d62b..e391c02 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ A local, agent-guided workflow for reading the Minecraft version you actually ta The kit prepares a source reference beside your mod project. It does not edit mod code, build files, dependencies, or project instructions during setup. No MCP server, hosted service, or Python packages are required. +## Input scope + +Source preparation currently targets named (unobfuscated) client JARs; full source generation has been validated for 26.2. Mojang's normal Java Edition distribution became unobfuscated with [26.1 Snapshot 1](https://www.minecraft.net/en-us/article/minecraft-26-1-snapshot-1), with 26.1 as the first stable release in that line. This does not imply every newer version has been tested. Earlier obfuscated clients need a remapping workflow that this kit does not implement; successful official fingerprint verification alone does not make them supported source inputs. + ## Start here Requirements: Python 3.10+, Git, and a full JDK (9 or newer; 17+ for Vineflower recovery) capable of reading the input bytecode (`java`, `javac`, `jar`, and `javap`). @@ -19,7 +23,7 @@ The agent checks the project target, inspects your JAR, prepares the reference, ## Commands -Run these from the kit root; the agent normally runs them for you: +Run commands from the kit root; the agent chooses the needed steps. `prepare --verify-official` already verifies the input, so a separate `verify` call is only needed for standalone diagnostics: ```text python scripts/mcsource.py inspect --jar .local/inputs/client.jar @@ -59,7 +63,7 @@ Build checks verify compilation; runtime behavior and Mixin application require ## Repository hygiene -JARs, generated sources, tool checkouts, and local configuration stay ignored. Only the kit's own code, documentation, and tests belong in this repository. Existing `work/` and `outputs/` directories are local development fixtures, not distributed content. +JARs, generated sources, tool checkouts, and local configuration stay ignored. Only the kit's own code, documentation, and tests belong in this repository. Keep validation clones and temporary fixtures inside ignored local storage; remove successful test copies after verifying their results. See [the agent guide](docs/AGENT_GUIDE.md) for setup and coding rules, and [the development plan](docs/ROADMAP.md) for current boundaries. diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 56d4860..4ab1d53 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -12,7 +12,7 @@ - Expand namespace evidence beyond static review gates; full mapping resolution/conversion remains unsupported. - Validate further source-generation targets and real-project mismatch cases; 26.2 matching/binding and 1.21.1 rejection are documented in VALIDATION.md. -- Exercise clean-clone agent setup using only the README instructions and a user-supplied JAR. +- Evaluate first-use clarity with an independent agent/user when available; the fresh-clone scripted walkthrough is recorded in VALIDATION.md. - Compare representative API tasks with and without the kit. - Add preview-based, user-requested cache cleanup after the preparation workflow stabilizes; never remove active references or user inputs implicitly. @@ -51,3 +51,7 @@ A user-supplied Fabric mod targeting 26.2 passed read-only declaration checks an ## Namespace review gates Static mapping evidence now blocks unsupported Yarn/Intermediary/Parchment, multiple hints, unsupported source labels, and known unnamed inputs at project preparation and binding. Resolution rechecks older bindings with the current gates. This is conservative review routing, not proof of compatibility or an automatic mapping converter. + +## Fresh-clone setup validation + +A public clone with no local cache completed unit tests, project checks, official verification, source preparation, per-class recovery, binding, and resolution against the existing 26.2 input. The target project and tracked clone files were unchanged. The successful isolated test copy was removed while preserving primary inputs and references. See [validation results](VALIDATION.md); this is not an independent agent evaluation. diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md index 9207feb..c5aef75 100644 --- a/docs/VALIDATION.md +++ b/docs/VALIDATION.md @@ -47,3 +47,20 @@ Date: 2026-10-23. Environment: Windows; user-supplied client JAR, no game or Gra The temporary project was removed. Before/after inventories confirmed no new tool, reference, or binding entries, and both user-supplied JARs were preserved. No raw Minecraft content or local paths are distributed. This is negative-path validation, not legacy source-generation support. The kit does not remap the 1.21.1 input and must not advertise it as a supported named source reference. Clean-clone agent setup, additional project layouts, and effective namespace resolution remain separate acceptance gates. + +## Fresh public clone walkthrough + +Date: 2026-10-23. Environment: Windows, Python 3.13, JDK 25. Tested public commit: `2b6020686b273ecc115e5826c4b19e31b310bfef`. + +An isolated public clone started without `.local/`, downloaded no Minecraft binary, and used the existing user-supplied 26.2 JAR by path. The walkthrough followed the README/agent guide against the previously reviewed real Fabric project without copying primary-kit tools or references. + +- All 98 unit tests passed in the clean clone. +- Project declaration checks returned `declared_version_match`; namespace/API compatibility remained unverified. +- `prepare --project ... --verify-official --repair` fetched and built pinned CFR, verified the official client fingerprint, produced 7,055 Java files, and downloaded checksum-pinned Vineflower to recover the nine reported classes. +- The reference finished as `generated_unverified`, with official verification recorded, `fallback.status = recovered_unverified`, and the successful recovery workspace removed. +- `bind` and `resolve` returned `located_unverified` using only that clone's new reference and binding. +- Project Git state and hashes of the inspected configuration files were unchanged. The clean clone's tracked files also remained unchanged. + +After inspecting the successful result, the isolated clone, its tools, generated reference, binding, and logs were removed as explicitly temporary validation data. Windows read-only Git pack files required forced deletion limited to the verified temporary directory. Before/after fingerprints confirmed preservation of both primary user JARs and the primary reference identity; the primary tool cache was retained. This cleanup is not the normal setup behavior for an active kit. + +This is a scripted walkthrough performed by the current agent, not an independent agent usability evaluation or a performance benchmark. Effective target/namespace review remains a manual step. No mod build, game launch, or API behavior guarantee is implied. Only documentation clarity was adjusted afterward: input scope, optional standalone verification, and temporary validation storage.