stabilize tests
This commit is contained in:
24
src/Verifier/AGENTS.md
Normal file
24
src/Verifier/AGENTS.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# AGENTS - Verifier Module
|
||||
|
||||
## Working Directory
|
||||
- `src/Verifier/**` (verifier CLI and tests).
|
||||
|
||||
## Required Reading
|
||||
- `docs/README.md`
|
||||
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
|
||||
- `docs/modules/platform/architecture-overview.md`
|
||||
- `docs/modules/airgap/README.md`
|
||||
- `docs/modules/attestor/architecture.md`
|
||||
- `docs/modules/provenance/architecture.md`
|
||||
|
||||
## Engineering Rules
|
||||
- Verification must be deterministic; stable ordering and canonical inputs only.
|
||||
- No network access in verification paths; offline-only execution.
|
||||
- Fail closed on signature or schema validation errors.
|
||||
|
||||
## Testing & Verification
|
||||
- Tests live in `src/Verifier/__Tests/**`.
|
||||
- Add fixtures for success/failure verification paths and replay determinism.
|
||||
|
||||
## Sprint Discipline
|
||||
- Record verification contract changes in sprint Decisions & Risks.
|
||||
@@ -5,16 +5,17 @@
|
||||
// Description: Entry point for standalone bundle verifier CLI
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using System.CommandLine;
|
||||
using System.CommandLine.Builder;
|
||||
using System.CommandLine.Parsing;
|
||||
using StellaOps.Verifier;
|
||||
|
||||
// Exit codes:
|
||||
// 0: All verifications passed
|
||||
// 1: One or more verifications failed
|
||||
// 2: Invalid input or configuration error
|
||||
|
||||
using StellaOps.Verifier;
|
||||
using System.CommandLine;
|
||||
using System.CommandLine.Builder;
|
||||
using System.CommandLine.Parsing;
|
||||
|
||||
var bundleOption = new Option<FileInfo>("--bundle", ["-b"])
|
||||
{
|
||||
Description = "Path to the evidence bundle to verify",
|
||||
|
||||
8
src/Verifier/TASKS.md
Normal file
8
src/Verifier/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Verifier Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/Verifier/StellaOps.Verifier.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
@@ -5,9 +5,10 @@
|
||||
// Description: Unit tests for BundleVerifier standalone verification logic
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
using FluentAssertions;
|
||||
using System.IO.Compression;
|
||||
using System.Text.Json;
|
||||
using FluentAssertions;
|
||||
using Xunit;
|
||||
|
||||
namespace StellaOps.Verifier.Tests;
|
||||
|
||||
8
src/Verifier/__Tests/StellaOps.Verifier.Tests/TASKS.md
Normal file
8
src/Verifier/__Tests/StellaOps.Verifier.Tests/TASKS.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# StellaOps.Verifier.Tests Task Board
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20260130_002_Tools_csproj_remediation_solid_review.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| REMED-05 | TODO | Remediation checklist: docs/implplan/audits/csproj-standards/remediation/checklists/src/Verifier/__Tests/StellaOps.Verifier.Tests/StellaOps.Verifier.Tests.md. |
|
||||
| REMED-06 | DONE | SOLID review notes captured for SPRINT_20260130_002. |
|
||||
Reference in New Issue
Block a user