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
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog

## v0.1.0 — Unreleased
## v0.1.0 - 2026-10-23

The first release is being prepared and has not been published.
See the [v0.1.0 release notes](docs/releases/v0.1.0.md) for scope and validation details.

- Adds a local workflow for preparing and binding Minecraft client source references. Full preparation has been validated for Minecraft 26.2 on Windows with JDK 25; this does not establish support for other versions or platforms.
- Blocks source preparation for known unnamed clients; the 1.21.1 official client was verified and correctly rejected. Remapping is not implemented.
Expand Down
4 changes: 2 additions & 2 deletions 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; preparing the first `v0.1.0` release.** 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). The 1.21.1 client has negative-path validation only: official verification succeeds, but named-source preparation rejects it. Other versions, mappings, and full preparation on other operating systems are not yet verified.
**Status: early development; `v0.1.0` release line.** Check the [upstream Releases page](https://github.com/Lightre/minecraft-source-kit/releases) for available versions; `main` remains the development branch. 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). The 1.21.1 client has negative-path validation only: official verification succeeds, but named-source preparation rejects it. 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 All @@ -25,7 +25,7 @@ The agent checks the project target, inspects your JAR, prepares the reference,

Run `python scripts/mcsource.py --version` to print the kit version without inspecting a JAR or downloading tools. The version string identifies the release line; use `git describe --tags --always` to identify the checkout revision during development.

Published releases will use tags such as `v0.1.0` and matching GitHub Releases. Until the first release is published, `main` is a development checkout. Updates are explicit and performed in the existing Git checkout; they do not automatically regenerate sources. Follow [the update guide](docs/UPDATING.md) and review [CHANGELOG.md](CHANGELOG.md).
Release tags such as `v0.1.0` identify fixed commits and have matching GitHub Releases. Choose an available version from the [Releases page](https://github.com/Lightre/minecraft-source-kit/releases); `main` is a development checkout. Updates are explicit and performed in the existing Git checkout; they do not automatically regenerate sources. Follow [the update guide](docs/UPDATING.md) and review [CHANGELOG.md](CHANGELOG.md).

## Commands

Expand Down
10 changes: 5 additions & 5 deletions docs/UPDATING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Updating the kit

The first release, `v0.1.0`, is being prepared and is not published yet. Wait until it appears in the [upstream Releases page](https://github.com/Lightre/minecraft-source-kit/releases) before using the release install command below.
Use only tags listed in the [upstream Releases page](https://github.com/Lightre/minecraft-source-kit/releases) when installing a release. The examples below do not imply that a particular version is available.

## Install a published release

Expand All @@ -10,10 +10,10 @@ Clone the kit outside your mod project, then switch to the published tag:
git clone https://github.com/Lightre/minecraft-source-kit.git
cd minecraft-source-kit
git fetch --tags origin
git switch --detach v0.1.0
git switch --detach <published-tag>
```

Replace `v0.1.0` with another published release tag when choosing a later release. To use current development code instead, clone or update the repository's `main` branch; it may change between releases.
Replace `<published-tag>` with a tag shown on the upstream Releases page. To use current development code instead, clone or update the repository's `main` branch; it may change between releases.

## Update an existing checkout

Expand All @@ -23,8 +23,8 @@ Update inside the existing kit directory. Do not reclone over the kit or delete
2. Confirm `git status --short` shows no tracked-file changes. Preserve any other untracked files too; stop if a checkout would overwrite them. Ignored files in `.local` are expected and may remain.
3. Record the current revision with `git describe --tags --always`.
4. Fetch tags: `git fetch --tags origin`.
5. Review the upstream release notes for the chosen, known published tag (for example, `v0.1.0`).
6. Switch the existing checkout: `git switch --detach v0.1.0`.
5. Review the upstream release notes for the chosen published tag.
6. Switch the existing checkout: `git switch --detach <published-tag>`.
7. Resolve each project binding again before using its reference:

```text
Expand Down
23 changes: 23 additions & 0 deletions docs/releases/v0.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# v0.1.0

Minecraft Source Kit is a local, agent-guided reference workflow. It inspects a user-supplied client JAR, can prepare decompiled sources, checks supported project version declarations, and can bind and resolve a reference for review. It does not write to the target mod project.

## Commands

- `--version` prints the kit version; `inspect` reads JAR metadata and class headers.
- `verify` checks the local JAR fingerprint against official client metadata. `prepare --verify-official` requires that check to succeed before preparation.
- `check-project` compares supported static declarations; `prepare --project` applies that version gate before preparation.
- `prepare` generates a reference. `--repair` optionally attempts conservative recovery for CFR-reported classes. Standalone `repair` handles an existing kit reference after verifying the original input hash.
- `bind` records a local project binding; `resolve` checks it and reports the reference location.

See the [updating guide](../UPDATING.md) for installation and upgrade instructions. The kit requires Python 3.10+, Git, and a full JDK capable of reading the input bytecode; the Java runtime and compiler must have matching major versions.

## Validation and limits

Full preparation was exercised with Minecraft 26.2 on Windows using Python 3.13 and JDK 25. CI unit tests run on Windows and Linux with Python 3.10 and 3.13; this is not full platform support. The official 1.21.1 client fingerprint verifies successfully, but unnamed-source preparation rejects it. Remapping is not implemented.

Successful generation does not establish decompiled-source correctness, behavioral equivalence, or runtime and Mixin correctness. Decompiled sources are reconstructed and unverified. Review reference reports and validate behavior separately as needed.

## Distribution and license

Users supply their own Minecraft JARs. The release bundles no Minecraft materials, generated sources, or binary artifacts. The kit's original code and documentation use `GPL-3.0-only`; external tools and Minecraft materials retain their own licenses and terms.
Loading