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

@@ -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). |