- git mv of all existing files into version-python/ (history preserved) - version-rust/: minimal cargo scaffold (edition 2024), no deps yet - root AGENTS.md documents the transition rules and artifact/schema contract - main is untouched; the python layout there stays as-is
1.2 KiB
1.2 KiB
AGENTS.md — Warhammer_DLP_Helper (transition layout)
This repo is mid-transition. The main branch still carries the original
flat python layout — read version-python/AGENTS.md there (and on this
branch at version-python/AGENTS.md) for the full project rules: secrets,
failure policy, idempotency, rate limiting, testing. Those rules still apply.
Layout on this branch (version-rust)
version-python/— the existing, working python tooling, moved here withgit mv(history preserved). All rules and path references in itsAGENTS.mdresolve relative toversion-python/.version-rust/— the Rust rewrite (cargo project) that will eventually replace the python version. Seeversion-rust/README.mdfor the port plan and crate choices.
Transition rules
- Python fixes go into
version-python/onmain(flat layout there) and are merged intoversion-python/here; never fork the logic in two places. - The Rust version must stay compatible with the run artifacts
(
state.json,manifest.jsonl,~/.local/share/dlphelper/urls.json) — schemas are the contract. data/gwshop_catalog.json(committed snapshot) is shared; the sorter in both versions must be able to read the same catalog schema.