Files
praxisandClaude Fable 5.2 ade859f153 Project overview, working rules and build system
11 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:47 +02:00

103 lines
5.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CLAUDE.md
This project was previously driven by Codex. `AGENTS.md` holds the binding
working rules (REA-first, one-pass/duplicate-check policy, credential handling,
three-line output, rollback contracts). They apply to Claude unchanged:
@AGENTS.md
## Continuous execution (user directive, 2026-11-09)
Work continuously until the project is complete. Do not end a turn after a
sub-step, a status report, a checkpoint write or an uncommitted/untested
change. After each completed batch: run its focused test, commit it to the
current branch, update the checkpoint, and immediately start the next
unfinished item from the checkpoint/backlog. The user replies asynchronously;
never wait for an answer when a sensible default exists — record the
assumption and continue. Stop only for an explicit user stop, a step that
genuinely requires the user (e.g. typing their own Octo credentials), or an
enforced limit; then state the exact next action. Status updates are one or
two lines between batches, not turn endings.
## Standing authorizations (carried over from Codex, 2026-11-09)
Codex ran this project as a trusted workspace with no per-action approval;
the user wants the same here and does not want approvals or blockers repeated.
These authorizations are standing; don't ask the user to re-confirm them:
- All necessary project work with available tools: editing, building
(local and the authorized Windows VM/share), packaging, CASC candidate
publication under the rollback contract, launching/restarting the owned
test client, owned-window input, and parallel workers on independent lanes.
- One qualified credential submission after a diagnosed failure plus a
relevant change (AGENTS.md 2026-11-06). Never blind-replay credentials.
- Commits to the current branch after each tested batch (no push unless asked).
Still require the user: typing their own Octo credentials, a destructive action
outside owned build/candidate/runtime paths, and deleting original or
last-working clients or rollback preimages. If a tool permission prompt
appears anyway, continue with any independent work and name the blocked
action in one line. Don't stop the whole run for it.
## What this project is
A Forever → Turtle/Octo compatibility stack that lets the modern 64-bit
`WowB.exe` 1.60.1.70334 ("Forever"/native client) log in to and play on
authorized local vanilla-derived servers (Turtle/Tortoise, Octo). "Source" =
the vanilla-side server/data (Turtle/Octo); "native" = the Forever client.
Two eras of the integration exist:
1. **External gateway** (`src/`, `include/gateway/`): standalone C++ relay that
terminates Forever world channels, does Turtle SRP login and translates
packets. See `README.md`, `docs/ARCHITECTURE.md`.
2. **No-helper / in-process native** (current focus, `native/`): Wine/PE bridge,
wire, backend, loader (`WowB_loader.dll` V44), channel policy and session
lifecycle inside the client. See the top of `docs/DEVELOPMENT_BACKLOG.md`
("Current state — native client without an external helper") and the
`docs/NATIVE_*.md` files.
Plus a large **content pipeline** (`ops/`): Octo→Forever item/model/material/
spell/talent/map conversion, CASC packaging/installation and rollback, DB2/
hotfix export, catalogue correlation.
## Layout
- `src/`, `include/gateway/` – gateway C++ (protocol, auth, object updates, chat, splines…)
- `native/` – in-client bridge/wire/backend (C/C++, Wine + Windows builds)
- `ops/` – ~300 Python operator tools (client_ui.py live input, run_relay.py,
local_forever.py, casc_*, item_*, engine_* observation helpers, packagers)
- `compat/`, `client_addons/`, `client_ui/` – Lua/glue adapters and addons
- `tests/` – CTest fixtures (loopback, disposable creds; not real-client proof)
- `docs/` – design records; `docs/evidence/**/assessment.json` – public evidence
- `launcher/`, `cmake/`, `patches/`, `tools/`
- Ignored/private: `runtime/` (logs, checkpoints, receipts), `secrets/`
(account metadata), `recovery/` (snapshots), `build*/`
## Build / test
```sh
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j2 # on the VM CIFS share add: -- SHELL=/bin/bash
ctest --test-dir build --output-on-failure # prefer focused -R <name>, not full suite
```
## Where state lives (read before acting)
- Priorities & history: `docs/DEVELOPMENT_BACKLOG.md` (~16k lines; newest
entries at the very top; grep `^## ` for sections, don't read it whole).
- Resume checkpoints: `runtime/continuation-YYYYMMDD/<lane>/current-checkpoint*.json`
— use the newest dated directory (latest seen: `continuation-20261107`), plus
`runtime/continuation-20261028/login-races-priority/current-checkpoint.json`
named in AGENTS.md. Resume the recorded `next_action`; don't redo completed steps.
- Reference trees (read-only): see table in `docs/ARCHITECTURE.md`
(trinity-forever, tortoise-wow, WoWee, manila under `~/Projects/WoW-Hybrid`).
- `~/Projects/WoW-Hybrid/gateway` is the same directory as this one (relocated
to `/mnt/Games/Games/.WoW-Hybrid-storage/project/gateway`).
## Vocabulary
REA = reverse-engineering assessment of original client behavior (receipts
pinned under runtime/ and docs/evidence). "Held" = unresolved, not assumed.
Distinguish in every report: implemented / tested offline / packaged /
installed / native-accepted (in-game).