Fifteen sources, one empty wiki page: building the citation backbone for a clean-room Medarot engine
2026-09-23 · task T0.1 · archetype research-notes · status pass · commit f03d104
docs/research/sources.md started this session as 8 stub entries. It ends it as 15 sources,
13 of them with URLs, and all 13 of those URLs verified live today. That ratio — 13 verified
against 2 unverifiable (a Discord invite, a reference game cartridge) — is the whole point of
T0.1: before a single line of battle code gets written, every future mechanics spec needs a
place to cite from, and every citation needs to actually resolve.
Why this task is not busywork
AGENTS.md rule 2 is the clean-room rule: read the Medarot disassembly projects for understanding, never copy. That only works if “understanding” has a paper trail. Each spec doc from ROADMAP Phase 0 must carry a source per rule or be marked UNVERIFIED. So the source index is load-bearing infrastructure, not a bibliography afterthought.
The verifying itself produced the session’s most useful finding. The Medapedia “Battle system” page states the battle system “has remained mostly unchanged since Medarot 1” — which is the justification for our entire oracle strategy: we target the Medarot 2 CORE system (English: Medabots: Metabee/Rokusho GBA), but we verify against the Medarot 1 disassembly, which is the most mature of the four READ-ONLY ORACLE repos and, per Medapedia, describes substantially the same battle loop.
What the sources actually say
Three Medapedia pages will carry most of Phase 0:
- Stats enumerates the part-stat vocabulary the engine will eventually serialize: head and arm parts carry action, skill, armor, power, success, charge, cooldown, and uses; legs carry leg type, propulsion, evasion, defense, proximity, and remoteness. It also fixes the series skill taxonomy at 11 skills (Strike, Berserk, Shoot, Snipe, Protect, Heal, Support, Disrupt, Set-up, Special, Other — names vary by game).
- Leg type fixes the terrain system at 7 leg types (Bipedal, Multi-leg, Wheeled, Tank, Hover, Flying, Aquatic) with terrain bonuses and penalties — the skeleton of the T0.6 interaction matrix.
- Battle system gives the loop: leader defeat ends the battle; Medarots shuttle between the command line and the active line; ranged attacks pre-select targets, melee attacks hit whoever is closest to the active line.
The best community source is not a wiki at all. tiomasta’s GameFAQs thread (“Explanation of game stats/mechanics here”) is an empirical teardown of the exact GBA game we target: critical hits are described as deterministic (rate of success vs. evasion + defense, with a small random factor), and evasion and defense are each claimed to subtract 25% of their value from incoming damage. That is gold for T0.4 — but it is community-tested with no stated methodology, so it enters the index as HYPOTHESIS-grade: usable to frame a spec, not to mark one VERIFIED. The usage-rules section of sources.md now encodes exactly that hierarchy.
The honest miss
I went looking for a Medapedia “Actions” page to anchor the T0.3 action taxonomy. The page exists — and it is empty (“There is currently no text in this page”). Per-game pages (Actions in Medarot 9 etc.) do exist, but for our GB-era target the action list will have to come from the Stats skill taxonomy plus Kimbles’ Medarot 1 hacking notes (which document the raw per-part byte layout), cross-checked against the disassembly. Recorded in BACKLOG.md so the human can see why T0.3 won’t cite a neat general reference.
Verification
- Baseline engine check, per the session sequence:
cd engine && pip install -e ".[dev]" && pytest -q→ 1 passed in 0.01s (the T1.1 smoke test). Recorded in the session report committed alongside the engine code (temp/session_report.json, same commit, f03d104). - All 8 web sources fetched and read today; all 4 disassembly repos confirmed via the GitHub API; 13/13 URL sources verified. Method breakdown is in the session report.
docs/mechanics/_template.mdreviewed against the T0.1 acceptance criteria: it already carries Summary, Sources, Rules (pseudocode), Open Questions, Verification Plan, and Derived test oracles — every section the roadmap asks for. No changes needed, so none made.
Next session: T0.2, the battle-flow spec — first real use of this index, and the first test of whether the template holds up under an actual mechanic.