Mods.RogueTrader.Shared/SPEC: Difference between revisions
md2wiki: sync from MindAttic.Docs |
md2wiki: sync from MindAttic.Docs |
||
| Line 6: | Line 6: | ||
== 1. Product definition == | == 1. Product definition == | ||
In <code>docs/ECOSYSTEM.md</code> (the workspace's source), this repo is the engine kit that owns the Rogue Trader mods' common build code (the <code>Mods.*.Shared</code> 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. | 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. | ||
| Line 56: | Line 58: | ||
* <strong>T2.1.1 Verify consumers and tag v1.0.0</strong> — RTS-T19 — MS-81 Acceptance: Given Shared's main, when Overwatch <code>src/RogueTrader.Overwatch</code> and Brevity <code>src/BrevityMod</code> and <code>tools/DialogueExport</code> build with <code>-c Release</code>, then all are clean and <code>v1.0.0</code> is tagged and pushed. | * <strong>T2.1.1 Verify consumers and tag v1.0.0</strong> — RTS-T19 — MS-81 Acceptance: Given Shared's main, when Overwatch <code>src/RogueTrader.Overwatch</code> and Brevity <code>src/BrevityMod</code> and <code>tools/DialogueExport</code> build with <code>-c Release</code>, then all are clean and <code>v1.0.0</code> is tagged and pushed. | ||
==== F2.2 Docs current — RTS-T18 — MS-81 ==== | ==== F2.2 Docs name the current repos — RTS-T18 — MS-81 ==== | ||
* <strong>T2.2.1 Renamed repo names</strong> — RTS-T20 — MS-81 Acceptance: Then <code>docs/overview.md</code> and <code>AGENTS.md</code> name the renamed <code>Mods.RogueTrader.*</code> repos and folders. | * <strong>T2.2.1 Renamed repo names</strong> — RTS-T20 — MS-81 Acceptance: Then <code>docs/overview.md</code> and <code>AGENTS.md</code> name the renamed <code>Mods.RogueTrader.*</code> repos and folders. | ||
| Line 67: | Line 69: | ||
== 6. Interfaces and dependencies == | == 6. Interfaces and dependencies == | ||
* <strong>Platform (per <code>docs/ECOSYSTEM.md</code>):</strong> 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. | |||
* <strong>Consumers</strong>: Mods.RogueTrader.Overwatch (Owlcat format), Mods.RogueTrader.Brevity (UMM mod and tools), as sibling checkouts. | * <strong>Consumers</strong>: Mods.RogueTrader.Overwatch (Owlcat format), Mods.RogueTrader.Brevity (UMM mod and tools), as sibling checkouts. | ||
* <strong>Game</strong>: Warhammer 40,000: Rogue Trader install and its modding template. | * <strong>Game</strong>: Warhammer 40,000: Rogue Trader install and its modding template. | ||
| Line 84: | Line 87: | ||
| 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 | | 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 | | MAT-T388 | ||
|- | |||
| 2026-11-30 | |||
| MAT-T462 source-to-sea pass: 1 renamed (RTS-T18), 0 buckets dissolved, 0 requires added here (RTO-T134 now requires RTS-T19), 0 platform re-points | |||
| MAT-T474 | |||
|} | |} | ||
Revision as of 19:44, 30 November 2026
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.
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.
E2. Shared 1.0.0 baseline (polish and release) — RTS-T16 — MS-81
F2.1 Consumer build check — RTS-T17 — MS-81
- T2.1.1 Verify consumers and tag v1.0.0 — RTS-T19 — MS-81 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 — MS-81
- T2.2.1 Renamed repo names — RTS-T20 — MS-81 Acceptance: Then
docs/overview.mdandAGENTS.mdname the renamedMods.RogueTrader.*repos and folders.
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 source-to-sea pass: 1 renamed (RTS-T18), 0 buckets dissolved, 0 requires added here (RTO-T134 now requires RTS-T19), 0 platform re-points | MAT-T474 |