Tests fixes, audit progress, UI completions
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Attestor Core Tests AGENTS
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directory: `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.Core.Tests/`.
|
||||
- Roles: QA automation, backend engineer.
|
||||
- Focus: unit coverage for core validation, signing, verification, and offline proof paths.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/README.md`
|
||||
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/attestor/rekor-verification-design.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- Relevant sprint files.
|
||||
|
||||
## Working Agreements
|
||||
- Keep tests deterministic: fixed time, fixed IDs, and deterministic fixtures.
|
||||
- Use `StellaOps.TestKit` helpers for temp directories and deterministic clocks.
|
||||
- Label integration tests clearly; avoid network access.
|
||||
|
||||
## Testing
|
||||
- Add coverage for DSSE, submission validation, time skew, Merkle proofs, and PoE artifacts.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Attestor Core Tests Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0050-M | DONE | Maintainability audit for StellaOps.Attestor.Core.Tests. |
|
||||
| AUDIT-0050-T | DONE | Test coverage audit for StellaOps.Attestor.Core.Tests. |
|
||||
| AUDIT-0050-A | TODO | Pending approval for changes. |
|
||||
@@ -0,0 +1,24 @@
|
||||
# Attestor Core AGENTS
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directory: `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.Core/`.
|
||||
- Roles: backend engineer, QA automation.
|
||||
- Focus: submission validation, signing, verification, delta attestations, PoE artifacts, and observability contracts.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/README.md`
|
||||
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/attestor/rekor-verification-design.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- Relevant sprint files.
|
||||
|
||||
## Working Agreements
|
||||
- Preserve DSSE and in-toto compatibility; keep Rekor verification deterministic and offline-friendly.
|
||||
- Use stable ordering and deterministic JSON for hashes and evidence artifacts.
|
||||
- Avoid hard-coded time sources; prefer injected time providers where possible.
|
||||
- Update `docs/implplan/SPRINT_*.md` and the local `TASKS.md` when starting or completing work.
|
||||
|
||||
## Testing
|
||||
- Add unit tests under `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.Core.Tests/`.
|
||||
- Use deterministic fixtures (fixed time/IDs) and clean up temp files.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Attestor Core Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0049-M | DONE | Maintainability audit for StellaOps.Attestor.Core. |
|
||||
| AUDIT-0049-T | DONE | Test coverage audit for StellaOps.Attestor.Core. |
|
||||
| AUDIT-0049-A | TODO | Pending approval for changes. |
|
||||
@@ -0,0 +1,24 @@
|
||||
# Attestor Infrastructure AGENTS
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directory: `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.Infrastructure/`.
|
||||
- Roles: backend engineer, QA automation.
|
||||
- Focus: DI wiring, Rekor/Transparency clients, submission/verification services, storage/queue implementations, offline bundle import/export, and background workers.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/README.md`
|
||||
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/attestor/rekor-verification-design.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- Relevant sprint files.
|
||||
|
||||
## Working Agreements
|
||||
- Preserve deterministic outputs (canonical JSON, stable ordering) and offline-first behavior.
|
||||
- Avoid wall-clock time or randomness in core paths; prefer TimeProvider and deterministic IDs.
|
||||
- Keep HTTP/storage clients explicit about timeouts and cancellation.
|
||||
- Update `docs/implplan/SPRINT_*.md` and the local `TASKS.md` when starting or completing work.
|
||||
|
||||
## Testing
|
||||
- Add unit tests under `src/Attestor/__Tests/StellaOps.Attestor.Infrastructure.Tests/`.
|
||||
- Cover submission/verification flows, Rekor/Transparency clients, repository pagination, and worker loops with deterministic fixtures.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Attestor Infrastructure Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0055-M | DONE | Maintainability audit for StellaOps.Attestor.Infrastructure. |
|
||||
| AUDIT-0055-T | DONE | Test coverage audit for StellaOps.Attestor.Infrastructure. |
|
||||
| AUDIT-0055-A | TODO | Pending approval for changes. |
|
||||
@@ -0,0 +1,23 @@
|
||||
# Attestor Tests AGENTS
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directory: `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.Tests/`.
|
||||
- Roles: QA automation, backend engineer.
|
||||
- Focus: unit, integration, and contract coverage for Attestor core, infrastructure, and web service.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/attestor/rekor-verification-design.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- Relevant sprint files.
|
||||
|
||||
## Working Agreements
|
||||
- Determinism is mandatory: fixed timestamps, stable IDs, and deterministic ordering in tests.
|
||||
- Separate unit vs integration/perf tests with explicit categories.
|
||||
- Avoid wall-clock delays; prefer FakeTimeProvider or deterministic schedulers.
|
||||
- Keep tests offline-friendly; Testcontainers belong in Integration category only.
|
||||
- Update `docs/implplan/SPRINT_*.md` and local `TASKS.md` when starting or completing work.
|
||||
|
||||
## Testing
|
||||
- Use xUnit + FluentAssertions + TestKit; prefer deterministic fixtures.
|
||||
- Contract tests must assert a stable baseline (snapshot or explicit schema checks).
|
||||
@@ -0,0 +1,10 @@
|
||||
# Attestor Tests Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0066-M | DONE | Maintainability audit for StellaOps.Attestor.Tests. |
|
||||
| AUDIT-0066-T | DONE | Test coverage audit for StellaOps.Attestor.Tests. |
|
||||
| AUDIT-0066-A | TODO | Pending approval for changes. |
|
||||
@@ -0,0 +1,24 @@
|
||||
# Attestor WebService AGENTS
|
||||
|
||||
## Purpose & Scope
|
||||
- Working directory: `src/Attestor/StellaOps.Attestor/StellaOps.Attestor.WebService/`.
|
||||
- Roles: backend engineer, QA automation.
|
||||
- Focus: HTTP API surface, auth, rate limiting, request validation, determinism, and observability for Attestor.
|
||||
|
||||
## Required Reading (treat as read before DOING)
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/attestor/rekor-verification-design.md`
|
||||
- `docs/modules/attestor/operations/observability.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- Relevant sprint files.
|
||||
|
||||
## Working Agreements
|
||||
- Enforce auth and mTLS for all mutation endpoints; never accept anonymous callers.
|
||||
- Keep responses deterministic (stable ordering, fixed formatting, explicit UTC timestamps).
|
||||
- Prefer explicit validation and consistent ProblemDetails for errors.
|
||||
- Apply rate limiting to public endpoints.
|
||||
- Update `docs/implplan/SPRINT_*.md` and local `TASKS.md` when starting or completing work.
|
||||
|
||||
## Testing
|
||||
- Use WebApplicationFactory for endpoint tests and include auth/mtls coverage.
|
||||
- Add contract tests for request/response DTOs and error handling.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Attestor WebService Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0072-M | DONE | Maintainability audit for StellaOps.Attestor.WebService. |
|
||||
| AUDIT-0072-T | DONE | Test coverage audit for StellaOps.Attestor.WebService. |
|
||||
| AUDIT-0072-A | TODO | Pending approval for changes. |
|
||||
Reference in New Issue
Block a user