Mods.RogueTrader.Shared/SPEC
Mods.RogueTrader.Shared — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
In docs/ECOSYSTEM.md (the workspace's source), this repo is the engine kit that owns the Rogue Trader mods' common build code (the Mods.*.Shared row of the platform table).
Shared is the MSBuild setup and source helpers every MindAttic Rogue Trader mod compiles into itself: game paths and references, release packaging, the Owlcat-mod build checks, and small runtime and tool helpers. Its users are the mods themselves (Overwatch and Brevity). The finished product is v1.0.0, tagged on GitHub, with both consumers confirmed to build on it and docs that name the current repos.
2. Scope boundary
2.1 In the product
- Game paths and references, mod and tool props, release packaging with empty folders kept.
- The three Owlcat-mod build checks (Bundles folder, bundle sections, string enums in patches).
- Runtime helpers
ModLog,Sprites.FromPng,LocalizationOverlay; tool helperBlueprintArchive.
2.2 Never in the product
- A DLL or NuGet package: mods share one game process, so it stays source (BIBLE §3).
- Being a mod itself: it is never installed in the game.
- Helpers only one mod needs (README rule): they stay in that mod.
- Open-ended "exhaustive bughunt" passes (RTS-T15, wont-do).
3. Users and roles
- Consumer mod (Mods.RogueTrader.Overwatch, Mods.RogueTrader.Brevity): imports one props file and gets a working build, install and
dist/zip. - Owner: builds every consumer before committing a change here (RTS-LAW-2).
4. Requirements
Status is built (closed ticket, with evidence) or MS-81: the milestone in §7 that delivers it.
E1. Mod build kit — RTS-T24 — built
F1.1 Paths, references and packaging — RTS-T25 — built
- S1.1.1 One import builds a mod — RTS-T2 — built As a consumer mod, I want one props import to give me game references, install and a dist zip, so that I need no build setup of my own.
- S1.1.2 Empty folders survive packaging — RTS-T3 — built Acceptance: Given a mod with an empty
Bundlesfolder, then the release zip keeps it. - S1.1.3 One import builds a tool — RTS-T28 — built As a command-line tool (net8+), I want one
RogueTrader.Tools.propsimport to give me the game paths and the shared tool sources, so that I read blueprints the same way every tool does.
F1.2 Owlcat-mod build checks — RTS-T26 — built
- S1.2.1 Bundles and settings sections — RTS-T4 — built
- S1.2.2 String enums in patches — RTS-T5 — built
- S1.2.3 Central Bundles guarantee — RTS-T9 — built Acceptance: Given any of the three traps, when the mod builds, then the build fails and names the fix.
F1.3 Runtime and tool helpers — RTS-T27 — built
- S1.3.1 Helpers hardened — RTS-T8 — built As a consumer mod, I want
ModLog,Sprites,LocalizationOverlayandBlueprintArchivecompiled in as internal types, so that each mod logs, loads icons, overlays text and reads blueprints the same way.
Membrane: Mod build kit works as one — RTS-T30 — built
RogueTrader.Mod.propsjoins game references (F1.1), the runtime helpers (F1.3), packaging and the Owlcat-mod checks (F1.2) into a mod's build. Evidence: 311f523; the three consumer builds of 2026-11-30.
E2. Shared 1.0.0 baseline (polish and release) — RTS-T16 — built
F2.1 Consumer build check — RTS-T17 — built
- T2.1.1 Verify consumers and tag v1.0.0 — RTS-T19 — built. Evidence: tag v1.0.0 at 3327d07. Acceptance: Given Shared's main, when Overwatch
src/RogueTrader.Overwatchand Brevitysrc/BrevityModandtools/DialogueExportbuild with-c Release, then all are clean andv1.0.0is tagged and pushed.
F2.2 Docs name the current repos — RTS-T18 — built
- T2.2.1 Renamed repo names — RTS-T20 — built. Evidence: 3327d07. Acceptance: Then
docs/overview.mdandAGENTS.mdname the renamedMods.RogueTrader.*repos and folders.
Membrane: Shared 1.0.0 works as one — RTS-T29 — built
- The
v1.0.0tag (F2.1) is cut on a main that already carries the renamed-repo docs (F2.2): RTS-T19 requires RTS-T20. Acceptance: Given the tag, then its tree holds the corrected overview and AGENTS.md, it is the commit all three consumers built clean against, and both RELEASE.md checks pass.
5. Non-functional requirements
- net48 for mod code, net8+ for tools; every path overridable with
-p:Name=value(RTS-LAW-4). - Everything compiles into the consumer as
internaltypes in theRogueTrader.Sharednamespace (RTS-LAW-1).
6. Interfaces and dependencies
- Platform (per
docs/ECOSYSTEM.md): it is the platform owner for Rogue Trader common code; its v1.0.0 tag (RTS-T19) is required by Overwatch's 7.0.0 release (RTO-T134); the plan: MindAttic.Tickets. - Consumers: Mods.RogueTrader.Overwatch (Owlcat format), Mods.RogueTrader.Brevity (UMM mod and tools), as sibling checkouts.
- Game: Warhammer 40,000: Rogue Trader install and its modding template.
7. Release sequence
- MS-81 "Shared 1.0.0 baseline" (active,
docs/RELEASE.md): epic RTS-T16, ending with the v1.0.0 tag. This is the finished product: new helpers come only when a second mod needs them.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from overview, BIBLE, RELEASE, the code and the ticket history; built work filed as epic RTS-T24; RTS-T20 now targets docs/overview.md and AGENTS.md | MAT-T388 |
| 2026-11-30 | MAT-T462 single-source pass: 1 renamed (RTS-T18), 0 buckets dissolved, 0 requires added here (RTO-T134 now requires RTS-T19), 0 platform re-points | MAT-T474 |
| 2026-11-30 | Build-up comb (MAT-T484): S1.1.3 "One import builds a tool" (RTS-T28) filed as built for RogueTrader.Tools.props, which no story covered
|
RTS-T28 |
| 2026-11-30 | Build-up membrane (MAT-T484): epic E2's membrane RTS-T29 added (tag after docs; tag proven against both checks); E2 built | RTS-T29 |
| 2026-11-30 | Build-up refinement R7 re-check (MAT-T484): E1 membrane RTS-T30 filed as built (RogueTrader.Mod.props joins three features) | RTS-T30 |