neon-sprawl/docs/decomposition/modules/E7_M3_FactionReputationLedg...

45 lines
1.2 KiB
Markdown

# E7.M3 — FactionReputationLedger
## Summary
| Field | Value |
|--------|--------|
| **Module ID** | E7.M3 |
| **Epic** | [Epic 7 — Quest / Faction](../epics/epic_07_quest_faction.md) |
| **Stage target** | Pre-production |
| **Status** | Planned (see [dependency register](module_dependency_register.md)) |
## Purpose
Faction standing, reputation deltas, and `FactionGateRule` evaluation for content and contracts.
## Responsibilities
- Persist auditable `FactionStanding`; apply `ReputationDelta`; fail closed on tamper for gates.
## Key contracts
| Contract | Role |
|----------|------|
| `FactionStanding` | Current rep per faction. |
| `ReputationDelta` | Change events with source attribution. |
| `FactionGateRule` | Unlock conditions for content. |
## Module dependencies
- **E7.M1** — QuestStateMachine.
## Dependents (by design)
- **E7.M4** — ContractMissionGenerator.
- **E8.M2** — GuildCorpProgressionState.
## Related implementation slices
Epic 7 **Slice 3**`reputation_delta`, `faction_gate_blocked`.
## Source anchors
- Master plan: [`neon_sprawl_vision.plan.md`](../../../neon_sprawl_vision.plan.md) — Epic 7.
- [Module dependency register](module_dependency_register.md)