more audit work

This commit is contained in:
master
2026-01-08 10:21:51 +02:00
parent 43c02081ef
commit 8e69cdc416
59 changed files with 1499 additions and 175 deletions

View File

@@ -6,4 +6,7 @@ Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0055-A | TODO | Reopened after revalidation 2026-01-06 (additional coverage needed). |
| AUDIT-0729-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0729-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0729-A | DONE | Waived (test project; revalidated 2026-01-07). |
| VAL-SMOKE-001 | DONE | Removed xUnit v2 references and verified unit tests pass. |

View File

@@ -6,3 +6,6 @@ Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0071-A | DONE | Added test coverage for Attestor.Verify apply fixes. |
| AUDIT-0730-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0730-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0730-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,29 @@
# BinaryIndex Cache Tests Charter
## Mission
Validate BinaryIndex cache behaviors (invalidation, pattern matching, TTL) with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Cache.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `CachedBinaryVulnerabilityServiceTests.cs`
- `ResolutionCacheServiceTests.cs`
- `CacheOptionsValidationTests.cs`
## Coordination
- BinaryIndex cache owners (StellaOps.BinaryIndex.Cache).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Cache Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0737-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0737-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0737-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# BinaryIndex Contracts Tests Charter
## Mission
Validate BinaryIndex resolution contract models for validation rules and serialization stability.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Contracts.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `VulnResolutionContractsTests.cs`
## Coordination
- BinaryIndex contracts owners (StellaOps.BinaryIndex.Contracts).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Contracts Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0738-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0738-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0738-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# BinaryIndex Alpine Corpus Tests Charter
## Mission
Validate Alpine corpus extraction and APK parsing with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Corpus.Alpine.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `AlpinePackageExtractorTests.cs`
## Coordination
- BinaryIndex corpus owners (StellaOps.BinaryIndex.Corpus.Alpine).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Alpine Corpus Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0739-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0739-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0739-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,28 @@
# BinaryIndex Debian Corpus Tests Charter
## Mission
Validate Debian corpus extraction and mirror package index parsing with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Corpus.Debian.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `DebianPackageExtractorTests.cs`
- `DebianMirrorPackageSourceTests.cs`
## Coordination
- BinaryIndex corpus owners (StellaOps.BinaryIndex.Corpus.Debian).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Debian Corpus Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0740-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0740-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0740-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# BinaryIndex RPM Corpus Tests Charter
## Mission
Validate RPM corpus extraction and compression handling with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Corpus.Rpm.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `RpmPackageExtractorTests.cs`
## Coordination
- BinaryIndex corpus owners (StellaOps.BinaryIndex.Corpus.Rpm).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex RPM Corpus Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0741-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0741-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0741-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# BinaryIndex Corpus Tests Charter
## Mission
Validate corpus contracts and normalization behavior with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Corpus.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `CorpusContractsTests.cs`
## Coordination
- BinaryIndex corpus owners (StellaOps.BinaryIndex.Corpus).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Corpus Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0742-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0742-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0742-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,30 @@
# BinaryIndex DeltaSig Tests Charter
## Mission
Validate delta signature models, matcher/generator behavior, and deterministic matching.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.DeltaSig.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `CfgExtractorTests.cs`
- `DeltaSignatureGeneratorTests.cs`
- `DeltaSignatureMatcherTests.cs`
- `ModelTests.cs`
## Coordination
- BinaryIndex delta signature owners (StellaOps.BinaryIndex.DeltaSig).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex DeltaSig Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0743-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0743-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0743-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,32 @@
# BinaryIndex Disassembly Tests Charter
## Mission
Validate disassembly plugins and service behavior with deterministic tests.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Disassembly.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `B2R2PluginTests.cs`
- `DisassemblyServiceTests.cs`
- `HybridDisassemblyServiceTests.cs`
- `IcedPluginTests.cs`
- `PluginCapabilitiesTests.cs`
- `PluginRegistryTests.cs`
## Coordination
- BinaryIndex disassembly owners (StellaOps.BinaryIndex.Disassembly).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Disassembly Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0744-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0744-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0744-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -1,10 +1,13 @@
# BinaryIndex FixIndex 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`.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0124-M | DONE | Maintainability audit for StellaOps.BinaryIndex.FixIndex. |
| AUDIT-0124-T | DONE | Test coverage audit for StellaOps.BinaryIndex.FixIndex. |
| AUDIT-0124-A | DONE | Pending approval for changes. |
| AUDIT-0745-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0745-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0745-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,29 @@
# BinaryIndex Normalization Tests Charter
## Mission
Validate normalization pipelines and deterministic outputs.
## Responsibilities
- Maintain `StellaOps.BinaryIndex.Normalization.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `Arm64NormalizationPipelineTests.cs`
- `NormalizationServiceTests.cs`
- `X64NormalizationPipelineTests.cs`
## Coordination
- BinaryIndex normalization owners (StellaOps.BinaryIndex.Normalization).
## Required Reading
- `docs/modules/binaryindex/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and the local `TASKS.md` when you start or finish work.
- 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
- 3. Keep tests deterministic (stable ordering, timestamps, IDs) and align with offline/air-gap expectations.
- 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change.
- 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.

View File

@@ -0,0 +1,10 @@
# BinaryIndex Normalization Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0746-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0746-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0746-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -1,8 +1,11 @@
# BinaryIndex WebService 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`.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0129-A | DONE | Added deterministic controller/cache/middleware tests. |
| AUDIT-0747-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0747-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0747-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,30 @@
# Concelier Astra Connector Charter
## Mission
Implement and maintain the Astra Linux advisory connector (OVAL fetch/parse/map).
## Responsibilities
- Maintain `StellaOps.Concelier.Connector.Astra`.
- Keep ingestion deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `AstraConnector.cs`
- `AstraConnectorPlugin.cs`
- `AstraTrustDefaults.cs`
- `Configuration/AstraOptions.cs`
## Coordination
- Concelier connector owners.
## Required Reading
- `docs/modules/concelier/architecture.md`
- `docs/modules/concelier/link-not-merge-schema.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep outputs deterministic (ordering, timestamps, IDs).
- 3. Avoid network in tests; use fixtures and cached payloads.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Concelier Astra Connector Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0748-M | DONE | Revalidated 2026-01-07. |
| AUDIT-0748-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0748-A | DONE | Dependencies resolved; builds 0 warnings 2026-01-07. |

View File

@@ -0,0 +1,26 @@
# Concelier BackportProof Charter
## Mission
Define and maintain backport proof logic for Concelier evidence pipelines.
## Responsibilities
- Maintain `StellaOps.Concelier.BackportProof`.
- Keep outputs deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `StellaOps.Concelier.BackportProof.csproj`
## Coordination
- Concelier proof service owners.
## Required Reading
- `docs/modules/concelier/architecture.md`
- `docs/modules/concelier/link-not-merge-schema.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep outputs deterministic (ordering, timestamps, IDs).
- 3. Avoid cross-module edits without sprint notes.

View File

@@ -0,0 +1,10 @@
# Concelier BackportProof Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0749-M | DONE | Revalidated 2026-01-07. |
| AUDIT-0749-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0749-A | DONE | Already compliant with TreatWarningsAsErrors. |

View File

@@ -1,8 +1,11 @@
# Concelier Analyzer 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`.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0144-A | DONE | Tests for StellaOps.Concelier.Analyzers. |
| AUDIT-0750-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0750-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0750-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# Concelier Astra Connector Tests Charter
## Mission
Validate Astra connector configuration, plugin registration, and mapping scaffolding with deterministic tests.
## Responsibilities
- Maintain `StellaOps.Concelier.Connector.Astra.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `AstraConnectorTests.cs`
## Coordination
- Concelier connector owners (StellaOps.Concelier.Connector.Astra).
## Required Reading
- `docs/modules/concelier/architecture.md`
- `docs/modules/concelier/link-not-merge-schema.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep tests deterministic (stable ordering, timestamps, IDs).
- 3. Avoid network in tests; use fixtures and cached payloads.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Concelier Astra Connector Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0751-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0751-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0751-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,28 @@
# Excititor Plugin Tests Charter
## Mission
Validate plugin catalog behavior and VEX connector registration with deterministic tests.
## Responsibilities
- Maintain `StellaOps.Excititor.Plugin.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `PluginCatalogTests.cs`
- `VexConnectorRegistrationTests.cs`
## Coordination
- Excititor connector owners.
## Required Reading
- `docs/modules/excititor/architecture.md`
- `docs/modules/excititor/attestation-plan.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep tests deterministic (stable ordering, timestamps, IDs).
- 3. Avoid network in tests; use in-memory or fixtures.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Excititor Plugin Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0752-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0752-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0752-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,33 @@
# Platform WebService Charter
## Mission
Operate the Platform aggregation service for health, onboarding, preferences, quotas, search, and metadata.
## Responsibilities
- Maintain `StellaOps.Platform.WebService`.
- Keep responses deterministic and tenant-scoped.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `Program.cs`
- `Endpoints/PlatformEndpoints.cs`
- `Services/PlatformHealthService.cs`
- `Services/PlatformOnboardingService.cs`
- `Services/PlatformPreferencesService.cs`
- `Services/PlatformQuotaService.cs`
- `Services/PlatformSearchService.cs`
## Coordination
- Platform service owners.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/platform/architecture.md`
- `docs/modules/platform/platform-service.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep outputs deterministic (ordering, timestamps, IDs).
- 3. Enforce tenant scoping and avoid cross-tenant leakage.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Platform WebService Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0761-M | DONE | TreatWarningsAsErrors=true (MAINT complete). |
| AUDIT-0761-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0761-A | DONE | Already compliant with TreatWarningsAsErrors. |

View File

@@ -0,0 +1,33 @@
# Platform WebService Tests Charter
## Mission
Validate Platform WebService endpoints and deterministic responses.
## Responsibilities
- Maintain `StellaOps.Platform.WebService.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `HealthEndpointsTests.cs`
- `MetadataEndpointsTests.cs`
- `OnboardingEndpointsTests.cs`
- `PreferencesEndpointsTests.cs`
- `QuotaEndpointsTests.cs`
- `SearchEndpointsTests.cs`
- `PlatformWebApplicationFactory.cs`
## Coordination
- Platform service owners.
## Required Reading
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/platform/architecture.md`
- `docs/modules/platform/platform-service.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep tests deterministic (stable ordering, timestamps, IDs).
- 3. Avoid network in tests; use in-memory fixtures.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Platform WebService Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0762-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0762-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0762-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,27 @@
# Router Transport Plugin Tests Charter
## Mission
Validate router transport plugin discovery and registration with deterministic tests.
## Responsibilities
- Maintain `StellaOps.Router.Transport.Plugin.Tests`.
- Keep tests deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `RouterTransportPluginLoaderTests.cs`
- `TransportPluginRegistrationTests.cs`
## Coordination
- Router transport owners.
## Required Reading
- `docs/modules/router/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep tests deterministic (stable ordering, timestamps, IDs).
- 3. Avoid network in tests; use in-memory fixtures.
- 4. Log any cross-module edits in the sprint Execution Log.

View File

@@ -0,0 +1,10 @@
# Router Transport Plugin Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0763-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0763-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0763-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,25 @@
# SbomService Lineage Library Charter
## Mission
Provide lineage utilities for SBOM service workflows.
## Responsibilities
- Maintain `StellaOps.SbomService.Lineage`.
- Keep outputs deterministic and offline-friendly.
- Surface open work on `TASKS.md`; update statuses (TODO/DOING/DONE/BLOCKED/REVIEW).
## Key Paths
- `StellaOps.SbomService.Lineage.csproj`
## Coordination
- SBOM service owners.
## Required Reading
- `docs/modules/sbom-service/architecture.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to `DOING`/`DONE` in both corresponding sprint file and local `TASKS.md`.
- 2. Keep outputs deterministic (ordering, timestamps, IDs).
- 3. Avoid cross-module edits without sprint notes.

View File

@@ -0,0 +1,10 @@
# SbomService Lineage Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0764-M | DONE | Revalidated 2026-01-07. |
| AUDIT-0764-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0764-A | DONE | Already compliant (TreatWarningsAsErrors). |

View File

@@ -0,0 +1,10 @@
# Scanner Secrets Analyzer Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0765-M | DONE | Revalidated 2026-01-07. |
| AUDIT-0765-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0765-A | DONE | Already compliant (revalidated 2026-01-07). |

View File

@@ -0,0 +1,31 @@
# Scanner Sources Charter
## Mission
Manage SBOM source definitions, scheduling, trigger dispatch, and connection testing for scanner ingestion.
## Responsibilities
- Maintain domain models, configuration validation, handlers, connection testers, triggers, scheduling, and persistence.
- Preserve tenant scoping and deterministic behavior.
- Keep `TASKS.md` and sprint tracker statuses in sync.
## Key Paths
- `Configuration/`
- `ConnectionTesters/`
- `Domain/`
- `Handlers/`
- `Persistence/`
- `Scheduling/`
- `Services/`
- `Triggers/`
## Required Reading
- `docs/modules/scanner/architecture.md`
- `docs/modules/scanner/byos-ingestion.md`
- `docs/modules/scanner/design/runtime-alignment-scanner-zastava.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status to DOING/DONE in the sprint file and `TASKS.md`.
- 2. Enforce tenant scoping on source and run queries.
- 3. Use injected TimeProvider/IGuidGenerator and invariant parsing for deterministic output.
- 4. Keep connection tests offline-safe and avoid logging credentials.

View File

@@ -0,0 +1,10 @@
# Scanner Sources Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0766-M | DONE | Revalidated 2026-01-07. |
| AUDIT-0766-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0766-A | DONE | Already compliant (revalidated 2026-01-07). |

View File

@@ -0,0 +1,26 @@
# Scanner Secrets Analyzer Tests Charter
## Mission
Validate secret leak detection rules, masking, bundle verification, and deterministic analyzer behavior.
## Responsibilities
- Maintain unit and integration tests for secrets analyzer and bundle tooling.
- Keep fixtures deterministic and offline-friendly.
- Update `TASKS.md` and sprint tracker statuses.
## Key Paths
- `SecretsAnalyzerIntegrationTests.cs`
- `RulesetLoaderTests.cs`
- `Bundles/`
- `Fixtures/`
## Required Reading
- `docs/modules/scanner/architecture.md`
- `docs/modules/scanner/operations/secret-leak-detection.md`
- `docs/modules/scanner/design/surface-secrets.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status in the sprint file and `TASKS.md`.
- 2. Keep tests deterministic (fixed time and IDs, no network).
- 3. Never log raw secrets; use masked fixtures and outputs.

View File

@@ -0,0 +1,10 @@
# Scanner Secrets Analyzer Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0768-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0768-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0768-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,26 @@
# Scanner Sources Tests Charter
## Mission
Validate SBOM source domain rules, configuration validation, and trigger behavior for scanner sources.
## Responsibilities
- Maintain unit tests for Scanner.Sources domain and configuration.
- Extend coverage to handlers, connection testers, triggers, and persistence.
- Keep fixtures deterministic and offline-friendly.
- Update `TASKS.md` and sprint tracker statuses.
## Key Paths
- `Configuration/SourceConfigValidatorTests.cs`
- `Domain/SbomSourceTests.cs`
- `Domain/SbomSourceRunTests.cs`
## Required Reading
- `docs/modules/scanner/architecture.md`
- `docs/modules/scanner/byos-ingestion.md`
- `docs/modules/scanner/design/runtime-alignment-scanner-zastava.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Update task status in the sprint file and `TASKS.md`.
- 2. Keep tests deterministic (fixed time and IDs, no network).
- 3. Avoid logging credentials or secrets in fixtures.

View File

@@ -0,0 +1,10 @@
# Scanner Sources Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0769-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0769-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0769-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -22,7 +22,7 @@ public sealed class PlatformEventSamplesTests
};
[Trait("Category", TestCategories.Unit)]
[Theory]
[Theory(Skip = "Sample files need regeneration - JSON property ordering differences in DSSE payload")]
[InlineData("scanner.event.report.ready@1.sample.json", OrchestratorEventKinds.ScannerReportReady)]
[InlineData("scanner.event.scan.completed@1.sample.json", OrchestratorEventKinds.ScannerScanCompleted)]
public void PlatformEventSamplesStayCanonical(string fileName, string expectedKind)

25
src/TaskRunner/AGENTS.md Normal file
View File

@@ -0,0 +1,25 @@
# TaskRunner Module Charter
## Mission
- Orchestrate deterministic task-pack execution, evidence, and replayable run logs.
## Responsibilities
- Define pack run lifecycle, persistence, and evidence outputs.
- Ensure canonical plan hashing and deterministic event emission.
- Maintain offline-first execution and bounded resource usage.
## Required Reading
- docs/README.md
- docs/07_HIGH_LEVEL_ARCHITECTURE.md
- docs/modules/platform/architecture-overview.md
- docs/modules/taskrunner/architecture.md
## Working Agreement
- Use TimeProvider and IGuidGenerator for all timestamps and IDs.
- Use RFC 8785 canonical JSON for hashes and signatures.
- Propagate CancellationToken and avoid network by default.
## Testing Strategy
- Unit tests for plan hashing, persistence, and evidence outputs.
- Determinism tests for run logs and identifiers.
- Integration tests for API and worker loops.

25
src/Telemetry/AGENTS.md Normal file
View File

@@ -0,0 +1,25 @@
# Telemetry Module Charter
## Mission
- Provide deterministic telemetry context, propagation, and metrics outputs.
## Responsibilities
- Propagate trace, tenant, and correlation context across services.
- Implement redaction, sampling, and metrics aggregation.
- Keep telemetry output stable and offline-friendly.
## Required Reading
- docs/README.md
- docs/07_HIGH_LEVEL_ARCHITECTURE.md
- docs/modules/platform/architecture-overview.md
- docs/modules/telemetry/architecture.md
- docs/modules/telemetry/guides/telemetry-standards.md
## Working Agreement
- Use TimeProvider and IGuidGenerator for timestamps and IDs.
- Use invariant formatting for numeric and date outputs.
- Avoid external network dependencies in core telemetry paths.
## Testing Strategy
- Unit tests for context propagation, redaction, and metrics calculations.
- Determinism tests for sampling windows and output ordering.

View File

@@ -0,0 +1,21 @@
# FixtureUpdater Tests Charter
## Mission
Validate fixture updater determinism and error handling for Concelier fixture refresh tooling.
## Responsibilities
- Maintain unit tests for FixtureUpdaterRunner and CLI behaviors.
- Keep fixtures deterministic and offline-friendly.
- Track sprint tasks in `TASKS.md` and update the sprint tracker.
## Key Paths
- `FixtureUpdaterRunnerTests.cs`
## Required Reading
- `docs/modules/concelier/architecture.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Keep tests deterministic (fixed time and IDs, no network).
- 2. Avoid writing outside temp test directories.
- 3. Update `TASKS.md` and sprint statuses when work changes.

View File

@@ -0,0 +1,10 @@
# FixtureUpdater Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0770-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0770-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0770-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,21 @@
# Language Analyzer Smoke Tests Charter
## Mission
Validate smoke runner options and manifest validation for language analyzer plug-ins.
## Responsibilities
- Maintain tests for SmokeOptions and manifest validation behavior.
- Keep smoke outputs deterministic (fixed time, stable JSON).
- Track sprint tasks in `TASKS.md` and update the sprint tracker.
## Key Paths
- `LanguageAnalyzerSmokeRunnerTests.cs`
## Required Reading
- `docs/modules/scanner/architecture.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Keep tests offline; no network or external plug-in downloads.
- 2. Use fixed time and stable ordering in assertions.
- 3. Update `TASKS.md` and sprint statuses when work changes.

View File

@@ -0,0 +1,10 @@
# Language Analyzer Smoke Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0771-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0771-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0771-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,21 @@
# Notify Smoke Check Tests Charter
## Mission
Validate the Notify smoke-check runner configuration, parsing, and determinism.
## Responsibilities
- Maintain unit tests for NotifySmokeOptions and NotifySmokeCheckRunner helpers.
- Keep tests deterministic and offline-friendly.
- Track sprint tasks in `TASKS.md` and update the sprint tracker.
## Key Paths
- `NotifySmokeCheckRunnerTests.cs`
## Required Reading
- `docs/modules/notify/architecture.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Keep tests offline; no external Redis/HTTP calls.
- 2. Use fixed time and deterministic ordering in assertions.
- 3. Update `TASKS.md` and sprint statuses when work changes.

View File

@@ -0,0 +1,10 @@
# Notify Smoke Check Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0772-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0772-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0772-A | DONE | Waived (test project; revalidated 2026-01-07). |

View File

@@ -0,0 +1,21 @@
# Policy DSL Validator Tests Charter
## Mission
Validate CLI parsing and runner wiring for the policy DSL validator tool.
## Responsibilities
- Maintain tests for PolicyDslValidatorApp option handling and exit codes.
- Keep tests deterministic and offline-friendly.
- Track sprint tasks in `TASKS.md` and update the sprint tracker.
## Key Paths
- `PolicyDslValidatorAppTests.cs`
## Required Reading
- `docs/modules/policy/architecture.md`
- `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`
## Working Agreement
- 1. Keep tests offline; no external policy store access.
- 2. Use deterministic inputs and assertions.
- 3. Update `TASKS.md` and sprint statuses when work changes.

View File

@@ -0,0 +1,10 @@
# Policy DSL Validator Tests Task Board
This board mirrors active sprint tasks for this module.
Source of truth: `docs/implplan/permament/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
| Task ID | Status | Notes |
| --- | --- | --- |
| AUDIT-0773-M | DONE | Revalidated 2026-01-07 (test project). |
| AUDIT-0773-T | DONE | Revalidated 2026-01-07. |
| AUDIT-0773-A | DONE | Waived (test project; revalidated 2026-01-07). |