Cobblers
Cobblers is a private multiplayer Cobblemon campaign: a handcrafted, difficult Pokémon-style region inside Minecraft, built for a small group of friends and inspired by ROM hacks like Run & Bun and Emerald Imperium. It's also my sandbox for pushing AI coding agents as far as they'll go. I direct and playtest, and agents build nearly everything, often several at once. Most of the work is finding where they fail (confident success reports for work that never shipped, numbers relayed without being checked, audits that just agreed with the code they were checking) and building process around each weakness until it stops happening. It started as "I'll host a server" and turned into the most process-heavy repo I own, which is a sentence I didn't expect to write about Minecraft.

Why did I do it
My friends and I wanted a Cobblemon run that felt like the ROM hacks we love, level caps, real difficulty, a region with intent behind it, not just a modpack dropped on a vanilla world. Nothing out there was that, so I decided to author it. The catch is that a handcrafted region is a mountain of content, towns, routes, trainers, spawns, progression, story, and one person hand-placing all of that in-game would never finish. So the real project became building the system that could
Architecture :o
The rule that shaped everything: the campaign is data, the world is generated from it. Hand-edited files under data/ hold the cells, spawns, trainers, gyms and progression, Python tooling (stdlib only) turns them into the datapack and world under build/, and build/ is disposable, I can delete it and regenerate it without losing anything. The modpack side works the same way. I don't fork Cobbleverse, I layer on top of an unmodified snapshot of it: a compatibility overlay for Cobblemon 1.8, then our config, then our campaign. When Cobbleverse ships its own 1.8 release, the overlay shrinks or disappears and the campaign moves across unchanged. And no binaries live in the repo, every jar is a manifest entry with a hash and a source URL, partly because I read the licenses and the datapacks can't be redistributed, partly because committing jars is how repos rot.
Nothing is Real

The repo has a rule I stole from nowhere and now can't live without: a mechanic doesn't get documented as working until an experiment proves it in-game. Each one is a numbered folder with its run logs and results, a boot-test script captures crashes and prints a verdict, and failures become rows in a compatibility matrix with a documented action, update, remove, replace, isolate. There are even pytest checks that the repo's own documents and data agree with each other. Decisions get ADRs, and one file, STATE.md, is the single current record of what's built, decided, and open, everything else is background. It sounds like overkill for a Minecraft server and it absolutely is, until the third time it saves you.

The AI Part
This is also my honest experiment in running AI agents on a real project. The repo is structured so every contributor, human or agent, follows the same working rules: CLAUDE.md defines them, STATE.md gives everyone the same source of truth, experiments stop anyone (agent or me) from claiming something works when it doesn't, and the manifests keep hands off binaries. All the process above isn't bureaucracy for its own sake, it's what makes it safe to point an agent at the repo and let it actually contribute. Turns out the discipline that makes agents productive is the same discipline that was always good for humans, we just never had a reason to be this honest about it.
Cobblers — a Cobblemon campaign
A handcrafted, difficult Pokémon-style region inside Minecraft, played
cooperatively by a small group of friends on a private Cobblemon (Fabric)
server. docs/vision/GAME_VISION.md is the design source of truth and
docs/architecture/TECHNICAL_ARCHITECTURE.md the technical one. Where a
document and the repository disagree, say so — the disagreement is a finding,
never something to paper over silently.
Session state (required)
Read docs/STATE.md before doing any work. It is the operational record of
what is built, decided, open and blocked; when another document disagrees,
verify reality and correct the state rather than rediscovering the question.
Before ending every session, reconcile every affected line in docs/STATE.md
without adding history; if no state category changed, report that it was
reviewed and remains current. Follow its file-ownership table when making the
update.
Live server safety (hard gate)
Before any command that could access the local cobblers-server runtime, make
a process/port check the first server-related action and acquire the shared
external lock at C:\Users\wnd\Documents\github\.cobblers-server-agent.lock.
Create the lock atomically outside the server tree and record the owning
agent/task and timestamp. If port 25565, a Minecraft Java process, or the
coordination lock is active, stop without enumerating the runtime. Do not
assume an existing coordination lock is stale merely because the server is
down; resolve ownership with the user or other agent first.
Claude Code and Codex must never enumerate, read, copy, hash, inspect, or back
up the live world directory at
C:\Users\wnd\Documents\github\cobblers-server\cobblers-10240. This includes
session.lock, region, entity, POI, player, data, and dimension files. Seed a
disposable test world only from a designated offline snapshot made while the
server was stopped. If no suitable snapshot exists, stop and ask for one.
Never delete session.lock; a persistent lock error requires identifying the
owning process or handle before recovery.
Baseline and target (verified)
- Reference/base experience: the COBBLEVERSE modpack (Modrinth slug
cobbleverse), local snapshot consistent with release 1.7.42 (2026-07-21), stored atbase-pack/cobbleverse/—config/andlicenses/are tracked; mod jars, resource-pack zips, shaderpacks and the Lumyverse datapack zips (no-redistribution license) are gitignored and described bybase-pack/inventory/*.json|csv|md. The full snapshot exists only in the local checkout; the datapack contents are documented indocs/research/notes/. - Baseline: Minecraft 1.21.1, Fabric loader (pack requires >= 0.18.4), Fabric API 0.116.14+1.21.1, Fabric Language Kotlin 1.13.13+kotlin.2.4.10, Cobblemon 1.7.3, Architectury 13.0.8, Java 21.
- Target: Cobblemon 1.8.x on Minecraft 1.21.1 Fabric (Cobblemon 1.8.0 released 2026-09-06 for MC 1.21.1). Same Minecraft version, so the compatibility question is addon API/data compatibility, not MC version.
- Base-pack systems: trainers = Radical Cobblemon Trainers (
rctmod+rctapi, data-driven via datapack JSON); Mega Evolution = Mega Showdown; TMs = TMCraft (Cobblemon 1.8 also adds native TMs); badges = CobbleverseBadges; raids = Cobblemon Raid Dens; breeding = Cobbreeding; economy = CobbleDollars. - World-critical (blocks/worldgen): Rechiseled, CobbleFurnies, Carved
Wood, Pokeblocks, Cozy Home, Handcrafted, Moar Concrete, VanillaBackport,
LumyMon, Beautify, LegendaryMonuments, Waystones, Comforts,
cobblemon-additions, Repurposed Structures, Biome Replacer, the Terralith
datapack, and the region datapacks in
base-pack/cobbleverse/datapacks/extra. - No KubeJS or scripting layer exists in the base pack. Cobblemon itself
has Molang-scriptable NPCs and datapack folders (1.8 adds
party_pools,party_compositions,moveset_builders, and a Habitat Block for spawn control on adventure maps). Do not assert more than this about APIs without a cited source.
Layer model
upstream Cobbleverse pack + third-party mods base-pack/ (read-only reference)
↓
overlay our modpack: compatibility fixes, mod modpack/ (what players install)
list, configs
↓
server dedicated server config, launch, scripts server/
The world itself separates world-as-data from world-as-blocks:
source/ heightmap, masks, Gaea project, notes irreplaceable, OUTSIDE the repo
data/ the design: cells, events, placements, authored, version controlled,
spawns, trainers, gyms, progression THE PRODUCT
kits/ structure library, palettes, biome kits reusable assets
tools/ analysis, generators, placement, validation
↓
derived/ slope maps, path networks, site index disposable
build/ datapack, world, server bundle disposable
The rule: anything in derived/ or build/ must be reproducible from
source/, data/ and tools/ alone. If it is not, it is in the wrong place.
Upstream content is never edited in place. It is overridden from the overlay, or from a file our generators emit at the same namespace path.
A cell indexes location only: a square 1024-block planning label, rows A–H north to south, columns 1–8 west to east. Region boundaries are a separate concept that follows terrain and does not align to cell edges.
Repository layout
| Path | What belongs here |
|---|---|
AGENTS.md, README.md, .gitignore, .gitattributes |
Root identity and repository policy |
.codex/config.toml, .codex/agents/ |
Codex multi-agent defaults and project custom agents |
.agents/skills/ |
Codex project skills |
.claude/ |
Coexisting Claude Code agents, rules, skills, and settings |
docs/agent-system/CODEX_AGENTS.md |
Agent inventory, migration map, and model routing |
docs/vision/GAME_VISION.md |
The game we are making; design source of truth |
docs/research/ |
COBBLEVERSE_COMPATIBILITY.md, CAPABILITY_MATRIX.md, EXPERIMENT_BACKLOG.md — verified vs assumed facts, with sources |
docs/architecture/TECHNICAL_ARCHITECTURE.md |
Technical source of truth for layers and boundaries |
docs/mechanics/ |
Mechanic designs (level caps, encounters, rewards) before they become content |
docs/decisions/ |
ADRs: README.md, TEMPLATE.md, ADR-001-modpack-base-strategy.md, … |
base-pack/ |
Cobbleverse reference snapshot (cobbleverse/) and its inventory (inventory/); never edited |
modpack/manifest/, mods/, config/, resourcepacks/, overrides/ |
Our overlay = the players' client pack |
server/config/, scripts/, launch/, README.md |
Dedicated server; server/scripts/boot-test.ps1 and assemble-server.ps1 are the controlled entry points |
source/ |
Heightmap, masks, Gaea project. Irreplaceable, outside this repo, gitignored, pinned by sha256 in data/world.json. See data/notes/source_tree.md |
data/ |
world.json (the single config), cells.json, landmarks.json, events.json, placements.json, spawns.json, trainers.json, gyms.json, progression.json, routes.json, notes/ |
kits/structures, palettes, biome-kits, schematics, templates |
Reusable build assets; a template has no position |
derived/ |
Generated analysis: slope and aspect masks, site index, path networks, sightlines. Disposable |
build/ |
Generated output: datapack, world export, server bundle. Disposable, never hand-edited |
experiments/ |
README.md template plus EXP-NNN-<slug>/README.md per proof (EXP-000-cobblemon-1.8-compat first) |
tools/ |
validate_data.py, validate.py, pack_manifest.py, analysis tools and generators (Python, standalone CLIs) |
tests/ |
pytest suites for tooling and content validity |
Principles
- Cobbleverse is the reference/base experience.
- Cobblemon 1.8.x is the target unless explicitly changed.
- Preserve desirable Cobbleverse features when compatible.
- Our campaign owns progression, encounter balance, bosses, world design and story.
- Never assume a custom mod is required.
- Prefer existing functionality, configuration and data before custom code, in this order: Cobblemon native → compatible addon → Cobbleverse dependency → configuration → datapack → functions/commands → scripting layer → server-side companion → custom Fabric mod last.
- Never fabricate Cobblemon APIs or config formats.
- Unknown behavior becomes an experiment.
- Do not casually add dependencies.
- World-critical dependencies require extra scrutiny.
- Avoid removing world-critical dependencies after serious map development begins.
- Preserve multiplayer compatibility.
- Keep upstream content separate from authored campaign content.
- Do not treat the live world save as ordinary source code.
- Use small proofs before large implementations.
- Content implementation and test/review should preferably use different agents.
- Important architectural choices require ADRs.
- A generated configuration is not proof that a feature works.
- Important features should eventually be tested inside a running Minecraft environment.
- Do not build large amounts of campaign content before foundational mechanics are proven.
Delegation
Delegate when independent work materially improves speed, context isolation, or quality. Use 2–4 concurrent workers for normal complex tasks; use more only when ownership boundaries are obvious. Do work directly when it is a few tool calls. Do not spawn agents merely to appear agentic, duplicate the same research, or ask one agent to rephrase another.
Route by difficulty and cost:
- Luna medium: repository search, inventory, metadata extraction, obvious reference tracing, and repetitive classification.
- Terra medium/high: the default serious worker for audits, research, bounded implementation, datapacks, tests, QA, and configuration.
- Sol high: architecture, multiplayer state, cross-system implementation, game balance, difficult integration, and runtime debugging.
- Astra high: exceptional review after Sol remains unresolved, disagreement on a major irreversible choice, or an explicit maximum-quality request.
Sol and Astra agents consume concise discovery summaries rather than scanning the entire repository or reading huge logs. Every subagent returns status, failures, relevant excerpts, file references, and the next step.
| Need | Agent | Writes |
|---|---|---|
| Find where something lives (cheap) | repo-scout |
nothing (read-only) |
| Mod/jar metadata and 1.8 compatibility evidence | dependency-auditor |
nothing (read-only; proposes updates) |
| What Cobblemon/addons actually support, with sources | cobblemon-researcher |
nothing (read-only; returns a research note) |
| Campaign architecture, data models, datapack-vs-script-vs-mod boundaries, ADR proposals | content-architect |
docs/decisions/, docs/mechanics/ |
| Spawn/trainer/gym tables and the generators that emit a datapack | datapack-content-dev |
data/, tools/ |
| Server-side logic, progression/puzzle/gauntlet state | minecraft-systems-dev |
server/config/, modpack/config/, data/, tools/ |
| Place specs, placements, structures, schematics, templates | world-content-dev |
data/, kits/ |
| Encounter tables, level caps, boss/gym/gauntlet teams, rewards | trainer-balance-designer |
nothing (read-only; proposes designs) |
| Validation tooling and tests | test-author |
tools/, tests/ |
| Review an experiment against its success criteria | qa-reviewer |
nothing (read-only; reports) |
| Server/client boot failure triage | build-doctor |
nothing (proposes fixes; reads logs) |
| Rare high-impact second opinion after Sol-level work | architecture-reviewer |
nothing (read-only; Astra escalation) |
Read-only agents do not need a worktree; worktrees exist to keep concurrent writers apart. Use worktrees only for substantial parallel implementation with clean file ownership, not for search, audits, documentation lookup, reviews, tiny fixes, or one-file edits. Content implementation and its test/review use different agents: whoever wrote a datapack does not write its validator or grade its experiment. Implementation does not grade its own work.
Git and commit hygiene
- Only MIT-style sources may be committed. Anything else (All Rights Reserved, no-redistribution,
unknown) is used locally and gitignored. Provenance is mandatory for every structure template: a
kits/PROVENANCE.jsonrecord with source and licence, plus a committed notice file for third-party permissive donors.python tools/validate.py --only template_provenanceenforces it (pre-commit hook in.githooks/, enable withgit config core.hooksPath .githooks; CI workflowprovenance). one issue = one branch = one worktree = one implementation session. Verifygit branch --show-currentbefore the first edit; never edit another session's worktree. Mechanics:parallel-workskill.- Never commit secrets,
eula.txt,servers.dat,ops.json/whitelist.json, world saves, logs, or mod/resource-pack jars and zips..gitignorealready excludes them; do not work around it. - Never push or merge to
main, never force-push, never amend a pushed commit. Hand over with a draft PR (open-prskill); marking it ready is a human act. - A reported PR's branch is frozen. Once a PR is reported to the user or is
open for merging, push nothing more to its branch: further work goes on a new
branch (stacked on it if it depends on it) with its own PR. Before any push,
check the branch's PR state (
gh pr view --json state); if it is open or merged, branch off instead. (2026-09-16: PR #17 merged while six more commits were still being pushed to its branch, and main silently lacked them.) - Pin every merge to the reported head. Report each PR with its full head
SHA and the command
gh pr merge <N> --match-head-commit <sha>, so a merge cannot pick up commits the report did not cover. - Verify main before dependent work. Before starting work that depends on a
merged PR, confirm the expected commit is on main
(
git fetchthengit merge-base --is-ancestor <sha> origin/main); a PR marked merged is not proof that main has its final commits.
Verify before claiming
A generated config, datapack or manifest is not proof that a feature works. A
clean python tools/validate.py run proves validity, not behavior. Important
features are tested in a running Minecraft (the boot-test skill, then a
functional test recorded in experiments/). Report exactly what you ran and
observed; mark everything else "not verified". Never accept the Minecraft EULA
on the user's behalf.
Context boundaries
base-pack/cobbleverse/holds hundreds of config files and datapack zips. Grep there deliberately with a narrow path, never by default; preferrepo-scoutorbase-pack/inventory/when locating a mod or config.- Claude Code's path-scoped rules remain in
.claude/rules/. Codex workflows live in.agents/skills/; custom-agent configuration lives in.codex/agents/. Keep both systems working.
My projects agents.md file
So What Happened O_o
I built the world and me and my friends played for 6 hours (success).
No but in all seriousness I learned a ton, I was in the weeds of making height maps in Gaea and hand editing them with image editors to craft a perfect world. I was diving head first into things I have never seen before and couldn't be more happy with the exploration this project provided ._.