stabilize tests
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# AGENTS · Graph Module
|
||||
# AGENTS ?? Graph Module
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directories: `src/Graph/StellaOps.Graph.Api`, `src/Graph/StellaOps.Graph.Indexer`, and `src/Graph/__Tests`.
|
||||
- Modules covered: Graph API (query/search/paths/diff/overlay/export) and Graph Indexer (ingest, snapshot, overlays).
|
||||
- Applicable sprints: `docs/implplan/SPRINT_0207_0001_0001_graph.md`, `docs/implplan/SPRINT_0141_0001_0001_graph_indexer.md`, and any follow-on graph docs sprints (`docs/implplan/SPRINT_0321_0001_0001_docs_modules_graph.md`).
|
||||
- Applicable sprints: `docs-archived/implplan/SPRINT_0207_0001_0001_graph.md`, `docs-archived/implplan/SPRINT_0141_0001_0001_graph_indexer.md`, and follow-on graph documentation tracked in `docs/modules/graph/architecture.md`.
|
||||
|
||||
## Roles
|
||||
- Backend engineer (.NET 10) — API, planners, overlays, exports.
|
||||
- Data/ETL engineer — Indexer ingest, snapshots, overlays.
|
||||
- QA/Perf engineer — deterministic tests, load/fuzz, offline parity.
|
||||
- Docs maintainer — graph API/ops runbooks, Offline Kit notes.
|
||||
- Backend engineer (.NET 10) ??? API, planners, overlays, exports.
|
||||
- Data/ETL engineer ??? Indexer ingest, snapshots, overlays.
|
||||
- QA/Perf engineer ??? deterministic tests, load/fuzz, offline parity.
|
||||
- Docs maintainer ??? graph API/ops runbooks, Offline Kit notes.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/README.md`
|
||||
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- `docs/modules/graph/architecture.md`
|
||||
- `docs/modules/graph/implementation_plan.md`
|
||||
- Sprint doc for current work (e.g., `docs/implplan/SPRINT_0207_0001_0001_graph.md`).
|
||||
- `docs-archived/implplan/SPRINT_0207_0001_0001_graph.md`
|
||||
- Sprint doc for current work (e.g., `docs-archived/implplan/SPRINT_0207_0001_0001_graph.md`).
|
||||
- Policy overlay contract refs when touching overlays: `POLICY-ENGINE-30-001..003` (see policy module docs).
|
||||
|
||||
## Determinism & Offline
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
## Testing Expectations
|
||||
- Unit: node/edge builders, identifier stability, overlay calculators, planners, diff engine.
|
||||
- Integration: ingest → snapshot → query/paths/diff/export end-to-end; RBAC + tenant guards.
|
||||
- Integration: ingest ??? snapshot ??? query/paths/diff/export end-to-end; RBAC + tenant guards.
|
||||
- Performance: synthetic datasets (~500k nodes / 2M edges) with enforced budgets; capture latency metrics.
|
||||
- Security: RBAC scopes (`graph:read/query/export`), audit logging, rate limiting.
|
||||
- Offline: export/import parity for Offline Kit bundles; deterministic manifests verified in tests.
|
||||
@@ -49,7 +49,7 @@
|
||||
- Naming: projects `StellaOps.Graph.Api`, `StellaOps.Graph.Indexer`; prefer `Graph*` prefixes for internal components.
|
||||
|
||||
## Coordination & Status
|
||||
- Update sprint Delivery Tracker statuses (TODO → DOING → DONE/BLOCKED) in relevant sprint file.
|
||||
- Update sprint Delivery Tracker statuses (TODO ??? DOING ??? DONE/BLOCKED) in relevant sprint file.
|
||||
- If a required contract/doc is missing or stale, mark the affected task BLOCKED in the sprint and log under Decisions & Risks; do not pause work waiting for live answers.
|
||||
|
||||
## Run/Test Commands (examples)
|
||||
@@ -61,3 +61,4 @@
|
||||
## Evidence
|
||||
- Keep artefacts deterministic; attach manifest hashes in PR/sprint notes when delivering exports or snapshots.
|
||||
- Document new metrics/routes/schemas under `docs/modules/graph` and link from sprint Decisions & Risks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user