audit work

This commit is contained in:
StellaOps Bot
2026-01-02 11:43:43 +02:00
parent 82e55c206a
commit dd581699cc
234 changed files with 5189 additions and 270 deletions

View File

@@ -0,0 +1,18 @@
# StellaOps Configuration Tests Charter
## Mission
Validate configuration composition and Authority option normalization.
## Responsibilities
- Keep tests deterministic and offline-friendly.
- Use local fixtures; avoid network calls.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/authority/architecture.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Prefer fixed timestamps and stable temp paths.
- 3. Add tests for new configuration behaviors and validation rules.

View File

@@ -0,0 +1,10 @@
# StellaOps Configuration 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-0245-M | DONE | Maintainability audit for StellaOps.Configuration.Tests. |
| AUDIT-0245-T | DONE | Test coverage audit for StellaOps.Configuration.Tests. |
| AUDIT-0245-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,17 @@
# Cryptography KMS Tests Charter
## Mission
Validate KMS clients and key lifecycle behaviors for StellaOps cryptography.
## Responsibilities
- Keep tests deterministic and offline-friendly.
- Avoid network calls; use local facades and fixtures.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Prefer fixed timestamps and stable temp paths.
- 3. Add tests for new KMS providers and error paths.

View File

@@ -0,0 +1,10 @@
# Cryptography KMS 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-0250-M | DONE | Maintainability audit for StellaOps.Cryptography.Kms.Tests. |
| AUDIT-0250-T | DONE | Test coverage audit for StellaOps.Cryptography.Kms.Tests. |
| AUDIT-0250-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,17 @@
# Offline Verification Plugin Tests Charter
## Mission
Validate offline verification crypto plugin behavior and deterministic outputs.
## Responsibilities
- Keep tests deterministic and offline-friendly.
- Use real key material only in-memory; avoid filesystem dependencies by default.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Prefer fixed vectors and deterministic keys.
- 3. Cover error paths and unsupported algorithms.

View File

@@ -0,0 +1,10 @@
# Offline Verification Plugin 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-0256-M | DONE | Maintainability audit for StellaOps.Cryptography.Plugin.OfflineVerification.Tests. |
| AUDIT-0256-T | DONE | Test coverage audit for StellaOps.Cryptography.Plugin.OfflineVerification.Tests. |
| AUDIT-0256-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,17 @@
# Cryptography Tests Charter
## Mission
Validate core cryptography providers and capability detection in the __Tests suite.
## Responsibilities
- Keep tests deterministic and offline-friendly.
- Gate hardware/OS-specific tests explicitly.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Restore environment variables after test changes.
- 3. Prefer fixed timestamps and deterministic fixtures.

View File

@@ -0,0 +1,10 @@
# Cryptography 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-0271-M | DONE | Maintainability audit for __Tests StellaOps.Cryptography.Tests. |
| AUDIT-0271-T | DONE | Test coverage audit for __Tests StellaOps.Cryptography.Tests. |
| AUDIT-0271-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,17 @@
# Delta Verdict Tests Charter
## Mission
Validate DeltaVerdict behaviors with deterministic tests.
## Responsibilities
- Cover delta computation, signing, verification, and serialization.
- Keep fixtures deterministic and repeatable.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Use fixed time/IDs to keep tests deterministic.
- 3. Add negative-path coverage for verification failures.

View File

@@ -0,0 +1,10 @@
# Delta Verdict 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-0274-M | DONE | Maintainability audit for StellaOps.DeltaVerdict.Tests. |
| AUDIT-0274-T | DONE | Test coverage audit for StellaOps.DeltaVerdict.Tests. |
| AUDIT-0274-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,18 @@
# Evidence Persistence Tests Charter
## Mission
Validate Evidence persistence behavior against PostgreSQL.
## Responsibilities
- Cover CRUD, tenant isolation, and evidence chaining queries.
- Keep integration tests deterministic and isolated.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/evidence/unified-model.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Use fixed timestamps and deterministic data where possible.
- 3. Ensure migrations are applied in fixtures.

View File

@@ -0,0 +1,10 @@
# Evidence Persistence 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-0285-M | DONE | Maintainability audit for StellaOps.Evidence.Persistence.Tests. |
| AUDIT-0285-T | DONE | Test coverage audit for StellaOps.Evidence.Persistence.Tests. |
| AUDIT-0285-A | TODO | Pending approval for changes. |

View File

@@ -0,0 +1,18 @@
# Evidence Tests Charter
## Mission
Validate Evidence module behavior with deterministic unit tests.
## Responsibilities
- Cover evidence index serialization, validation, and budgets.
- Keep fixtures deterministic and repeatable.
- Track task status in `TASKS.md`.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/evidence/unified-model.md`
## Working Agreement
- 1. Update task status in the sprint file and local `TASKS.md`.
- 2. Use fixed timestamps and deterministic IDs in fixtures.
- 3. Add negative-path validation tests as rules evolve.

View File

@@ -0,0 +1,10 @@
# Evidence 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-0286-M | DONE | Maintainability audit for StellaOps.Evidence.Tests. |
| AUDIT-0286-T | DONE | Test coverage audit for StellaOps.Evidence.Tests. |
| AUDIT-0286-A | TODO | Pending approval for changes. |