Restructure solution layout by module
This commit is contained in:
31
src/VexLens/StellaOps.VexLens/AGENTS.md
Normal file
31
src/VexLens/StellaOps.VexLens/AGENTS.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# VEX Lens Guild Charter (Epic 7)
|
||||
|
||||
## Mission
|
||||
Deliver the VEX Consensus Lens service that normalizes VEX evidence, computes deterministic consensus states, exposes APIs, and feeds Policy Engine and downstream explorers without mutating raw documents.
|
||||
|
||||
## Scope
|
||||
- Service code under `src/VexLens/StellaOps.VexLens` (normalizer, mapping, trust weighting, consensus projection, APIs, simulation hooks).
|
||||
- Batch workers consuming Excitator, Conseiller, SBOM, and policy events; projection storage and caching; telemetry.
|
||||
- Coordination with Policy Engine, Vuln Explorer, Findings Ledger, Console, CLI, and Docs.
|
||||
|
||||
## Principles
|
||||
1. **Evidence preserving** – never edit or merge raw VEX docs; link via evidence IDs and maintain provenance.
|
||||
2. **Deterministic outputs** – identical inputs + policy config yield identical consensus results; record seed & rationale chain.
|
||||
3. **Explainable** – consensus exposes weights, issuers, reasons, and thresholds; no opaque scoring.
|
||||
4. **Configurable trust** – tenant/policy controls weighting, decay, thresholds; defaults documented.
|
||||
5. **Secure & auditable** – signature verification, issuer metadata, logging of conflicts, support for compliance queries.
|
||||
|
||||
## Collaboration
|
||||
- Keep `src/VexLens/StellaOps.VexLens/TASKS.md`, `../../docs/implplan/SPRINTS.md` synchronized.
|
||||
- Share schemas/OpenAPI with Console & CLI; publish mapping docs and test fixtures.
|
||||
- Coordinate with Policy Engine on trust knobs and Vuln Explorer on UI integration.
|
||||
|
||||
## Tooling
|
||||
- .NET 10 preview; background workers + minimal API.
|
||||
- PostgreSQL/Mongo for consensus projection; Redis for caching if needed.
|
||||
- Signature verification libraries (Ed25519, DSSE, PKIX) and mapping utilities (CPE→purl).
|
||||
|
||||
## Definition of Done
|
||||
- Normalization & consensus pipelines deterministic, tested, and instrumented.
|
||||
- APIs documented (OpenAPI) with budget enforcement, telemetry, and replay harnesses.
|
||||
- Docs updated with compliance checklist; offline kit includes configuration seeds.
|
||||
Reference in New Issue
Block a user