stabilize tests

This commit is contained in:
master
2026-02-01 21:37:40 +02:00
parent 55744f6a39
commit 5d5e80b2e4
6435 changed files with 33984 additions and 13802 deletions

View File

@@ -9,7 +9,7 @@
## Required reading (treat as read before edits)
- `docs/modules/attestor/architecture.md`
- `docs/product/advisories/14-Dec-2025 - Proof and Evidence Chain Technical Reference.md`
- `docs-archived/product/advisories/2025-12-21-moat-gap-closure/14-Dec-2025 - Proof and Evidence Chain Technical Reference.md`
- RFC 8785 (JSON Canonicalization Scheme)
## Working agreements
@@ -21,3 +21,4 @@
## Testing expectations
- Every behavior change must be covered by tests under `src/Attestor/__Libraries/StellaOps.Attestor.TrustVerdict.Tests`.
- Include canonicalization edge cases, Merkle root consistency, and repository mapping tests.

View File

@@ -1,10 +1,11 @@
// TrustEvidenceMerkleBuilder - Merkle tree builder for evidence chains
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using StellaOps.Attestor.TrustVerdict.Predicates;
using System.Buffers;
using System.Security.Cryptography;
using System.Text;
using StellaOps.Attestor.TrustVerdict.Predicates;
namespace StellaOps.Attestor.TrustVerdict.Evidence;

View File

@@ -1,10 +1,11 @@
// JsonCanonicalizer - Deterministic JSON serialization for content addressing
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using StellaOps.Attestor.StandardPredicates;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using StellaOps.Attestor.StandardPredicates;
namespace StellaOps.Attestor.TrustVerdict;

View File

@@ -1,9 +1,10 @@
// TrustVerdictOciAttacher - OCI registry attachment for TrustVerdict attestations
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using System.Text.Json;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System.Text.Json;
namespace StellaOps.Attestor.TrustVerdict.Oci;

View File

@@ -1,11 +1,12 @@
// TrustVerdictRepository - PostgreSQL persistence for TrustVerdict attestations
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using System.Data.Common;
using System.Text.Json;
using Npgsql;
using NpgsqlTypes;
using StellaOps.Attestor.TrustVerdict.Predicates;
using System.Data.Common;
using System.Text.Json;
namespace StellaOps.Attestor.TrustVerdict.Persistence;

View File

@@ -1,14 +1,15 @@
// TrustVerdictService - Service for generating signed TrustVerdict attestations
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using System.Globalization;
using System.Security.Cryptography;
using System.Text;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using StellaOps.Attestor.StandardPredicates;
using StellaOps.Attestor.TrustVerdict.Evidence;
using StellaOps.Attestor.TrustVerdict.Predicates;
using System.Globalization;
using System.Security.Cryptography;
using System.Text;
namespace StellaOps.Attestor.TrustVerdict.Services;

View File

@@ -1,10 +1,11 @@
// TrustVerdictMetrics - OpenTelemetry metrics for TrustVerdict attestations
// Part of SPRINT_1227_0004_0004: Signed TrustVerdict Attestations
using System.Diagnostics;
using System.Diagnostics.Metrics;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Diagnostics;
using System.Diagnostics.Metrics;
namespace StellaOps.Attestor.TrustVerdict.Telemetry;