mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-21 03:25:56 +00:00
2.1 KiB
2.1 KiB
Warcraft Reborn Portable Characters Audit
1. Overview & Current State
The master branch codebase already contains foundational support for Warcraft Reborn (Mode::Reborn, realm ID 3, characters DB acore_characters_reborn, world DB acore_world_reborn, shared auth DB acore_auth).
In previous releases (v0.7.0), portable character transfers into Warcraft Reborn were temporarily guarded by:
// crates/coa-core/src/portable/realm/mod.rs
Mode::Reborn => Err(PortableError::Invalid("Portable characters are not supported on Warcraft Reborn realms yet.".into())),
2. Ruleset Identity & DB Schemas
- RulesetId / Ruleset:
Ruleset::Rebornexists incrates/coa-core/src/portable/model.rsandcrates/coa-registry-proto/src/caps.rs.- Serialized string:
"reborn". - Display name:
"Warcraft Reborn". - Associated Realm ID:
3. - Character Database:
acore_characters_reborn. - World Database:
acore_world_reborn. - Auth Database:
acore_auth(shared across all modes).
- Collections:
reborn:appearancereborn:vanity- Partitioned under
(profile_id, 'reborn', kind)in canonical SQLite store (portable.db).
3. Simultaneous Startup & Multiworld Policy
- As verified in
crates/coa-core/src/multiworld.rsandcrates/coa-core/src/realms.rs:CoA + Wildcardsimultaneous execution is supported.Rebornsimultaneous execution is explicitly unsupported ("Simultaneous startup supports CoA and Wildcard only.").- This policy is preserved strictly without changes.
4. Enabling Reborn in Portable Architecture
To complete the Reborn vertical slice with full strict isolation:
- Map
Mode::Reborn => Ok(Ruleset::Reborn)incrates/coa-core/src/portable/realm/mod.rs:ruleset_of. - Update tests verifying
ruleset_of(&reborn_db).unwrap() == Ruleset::Reborn. - Verify Reborn claiming, export, import, session runtime, checkpoints, and collection isolation.
- Verify non-negotiable isolation tests:
- Reborn character -> CoA realm (rejected).
- Reborn character -> Wildcard realm (rejected).
- CoA character -> Reborn realm (rejected).
- Wildcard character -> Reborn realm (rejected).