NEO-145: reconcile implementation plan with shipped catalog load.
parent
5ab5022704
commit
937412eda6
|
|
@ -48,9 +48,16 @@ Fail-fast startup load of `content/contracts/*_contract_templates.json` with **C
|
||||||
|
|
||||||
## Acceptance criteria checklist
|
## Acceptance criteria checklist
|
||||||
|
|
||||||
- [ ] Host exits on invalid contract catalog or broken encounter refs at startup.
|
- [x] Host exits on invalid contract catalog or broken encounter refs at startup.
|
||||||
- [ ] Registry resolves template metadata by id.
|
- [x] Registry resolves template metadata by id.
|
||||||
- [ ] `dotnet test` covers loader gates.
|
- [x] `dotnet test` covers loader gates.
|
||||||
|
|
||||||
|
## Implementation reconciliation (shipped)
|
||||||
|
|
||||||
|
- **Contract catalog:** `Game/Contracts/` loader, catalog, `IContractTemplateRegistry`, `PrototypeE7M4ContractCatalogRules` (roster, freeze, cross-ref, band caps synced to `PROTOTYPE_E7M4_*`), DI + `Program.cs` load order (after quest catalog).
|
||||||
|
- **Config:** `ContentPathsOptions` `ContractsDirectory` / `ContractTemplateSchemaPath`; `InMemoryWebApplicationFactory` pins repo `content/contracts`.
|
||||||
|
- **Tests:** `ContractTemplateCatalogLoaderTests`, `ContractTemplateRegistryTests`, host boot via `Host_ShouldResolveContractCatalogFromDi` (839 tests green).
|
||||||
|
- **Docs:** `server/README.md` contract catalog section.
|
||||||
|
|
||||||
## Technical approach
|
## Technical approach
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue