Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A local, agent-guided workflow for reading the Minecraft version you actually target.

**Status: early development.** Current validation covers a local Minecraft 26.2 client JAR on Windows with JDK 25. Other versions, mappings, and operating systems are not yet verified.
**Status: early development.** Current validation covers a local Minecraft 26.2 client JAR on Windows with JDK 25. Read-only target checks and binding were also exercised against a real 26.2 Fabric mod; see [validation results](docs/VALIDATION.md). Other versions, mappings, and full preparation on other operating systems are not yet verified.

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.

Expand Down
6 changes: 5 additions & 1 deletion docs/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Next acceptance gates

- Resolve project namespace compatibility beyond matching static version declarations and textual mapping hints.
- Validate source/project mismatch handling with a real mod project.
- Validate additional Minecraft versions and real-project mismatch cases; the 26.2 read-only matching/binding workflow is documented 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.

Expand Down Expand Up @@ -42,3 +42,7 @@ Validation on Windows/JDK 25 recovered all nine reported classes from the local
`bind` stores project configuration hashes, reference identity hash, and an active Java source fingerprint under ignored `.local/bindings/`. `resolve` rechecks these before returning a reference and copyable agent instruction. Missing or stale snapshots do not produce a usable instruction. The target mod project is never written. Namespace/API compatibility remains unverified, and bindings do not automatically install agent instructions.

A local smoke check paired the full 7,055-file 26.2 source reference with a synthetic Gradle project. Binding creation and resolution succeeded; changing its declared version produced `stale`. Target files remained unchanged by both commands. This is not real-mod validation or namespace compatibility testing.

## Real-project validation

A user-supplied Fabric mod targeting 26.2 passed read-only declaration checks and temporary binding/resolution against the full reference. Two sampled Minecraft API signatures matched. Project Git state and root configuration hashes were preserved; temporary validation data was cleaned. See [validation results](VALIDATION.md) for scope and limits. No mod build or in-game validation was performed.
35 changes: 35 additions & 0 deletions docs/VALIDATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read-only real-project validation

Date: 2026-10-23. Environment: Windows, local Minecraft 26.2 client reference.

This exercise used an existing Fabric mod project supplied by the user. Its files were read in place. No Gradle tasks, dependency downloads, game launch, source changes, or agent-instruction installation were performed.

## Observed project target

- `gradle.properties` declares Minecraft 26.2, Fabric Loader 0.19.5, and Loom 1.18-SNAPSHOT.
- The root build uses `com.mojang:minecraft:${project.minecraft_version}` and configures Java release/source/target 25.
- The kit reports `declared_version_match` for the supplied 26.2 JAR.
- No explicit mapping declaration was present; the checker correctly leaves mapping hints empty instead of inventing a namespace.

Only the root Gradle configuration and a small sample of Minecraft API call sites were inspected. Machine-specific paths, mod sources, and private configuration contents are not included in this repository.

## Source evidence

Two API usages in the mod were traced to the prepared 26.2 source reference:

- `net.minecraft.client.Minecraft.getInstance()` is present as `public static Minecraft getInstance()`.
- `net.minecraft.resources.Identifier.fromNamespaceAndPath(...)` is present as `public static Identifier fromNamespaceAndPath(String namespace, String path)`.

This confirms those sampled names and signatures, not all APIs, loader behavior, or semantic correctness. Loader APIs must still be verified from their own resolved dependencies. The reference contains 7,055 Java files and retains its earlier CFR/Vineflower recovery diagnostics.

## Binding and cleanup

`bind` and a subsequent `resolve` both returned `located_unverified` against the full reference. The report continued to mark API compatibility unverified. Before/after checks confirmed unchanged project Git status and unchanged hashes for the three inspected root configuration files.

The temporary real-project binding was removed immediately after the check. Earlier synthetic validation workspaces, their local binding, and the marked nine-class recovery fixture were also removed. The user-supplied JAR, full source reference, original recovery diagnostics, and tool cache were preserved. No persistent binding or instruction was installed in the real mod project.

## Limits

This is read-only workflow validation, not a successful mod build, in-game test, or automated proof of namespace compatibility. The effective Gradle configuration can still depend on external overrides. Official JAR provenance was not rechecked during this step; binding checks use the existing source identity and local snapshots.

A controlled before/after comparison of agent task performance remains untested. Further Minecraft versions and project layouts require separate validation.
Loading