audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories
This commit is contained in:
29
src/RiskEngine/AGENTS.md
Normal file
29
src/RiskEngine/AGENTS.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# RiskEngine Module Charter
|
||||
|
||||
## Mission
|
||||
- Compute deterministic, explainable risk scores from multiple signals.
|
||||
|
||||
## Responsibilities
|
||||
- Maintain scoring core, provider contracts, and transforms.
|
||||
- Integrate persistence and caching layers with job orchestration.
|
||||
- Provide WebService and worker execution paths.
|
||||
- Emit audit and explainability metadata for every score.
|
||||
|
||||
## Required Reading
|
||||
- docs/README.md
|
||||
- docs/07_HIGH_LEVEL_ARCHITECTURE.md
|
||||
- docs/modules/platform/architecture-overview.md
|
||||
- docs/modules/risk-engine/architecture.md
|
||||
- docs/modules/policy/architecture.md
|
||||
|
||||
## Working Agreement
|
||||
- Deterministic scoring: stable ordering, fixed weights, no Random.Shared.
|
||||
- Use TimeProvider and IGuidGenerator; UTC timestamps.
|
||||
- Use InvariantCulture for parsing and formatting.
|
||||
- Propagate CancellationToken.
|
||||
- Offline-first: allow cached factor bundles and avoid network by default.
|
||||
|
||||
## Testing Strategy
|
||||
- Unit tests for providers, transforms, and scoring aggregation.
|
||||
- Integration tests for API and worker flows plus persistence.
|
||||
- Determinism tests for identical inputs and cached results.
|
||||
@@ -52,7 +52,6 @@
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="xunit.v3" />
|
||||
<PackageReference Include="FluentAssertions" />
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user