Refactor code structure for improved readability and maintainability; optimize performance in key functions.

This commit is contained in:
master
2025-12-22 19:06:31 +02:00
parent dfaa2079aa
commit 4602ccc3a3
1444 changed files with 109919 additions and 8058 deletions

View File

@@ -0,0 +1,33 @@
# AGENTS - Scanner Storage.Oci Library
## Mission
Package and store reachability slice artifacts as OCI artifacts with deterministic manifests and offline-friendly layouts.
## Roles
- Backend engineer (.NET 10, C# preview).
- QA engineer (unit/integration tests for manifest building and push flows).
## Required Reading
- `docs/README.md`
- `docs/07_HIGH_LEVEL_ARCHITECTURE.md`
- `docs/modules/platform/architecture-overview.md`
- `docs/modules/scanner/architecture.md`
- `docs/reachability/binary-reachability-schema.md`
- `docs/24_OFFLINE_KIT.md`
## Working Directory & Boundaries
- Primary scope: `src/Scanner/__Libraries/StellaOps.Scanner.Storage.Oci/`
- Tests: `src/Scanner/__Tests/StellaOps.Scanner.Storage.Oci.Tests/`
- Avoid cross-module edits unless explicitly noted in the sprint.
## Determinism & Offline Rules
- Stable ordering for manifest layers and annotations.
- Support OCI layout for offline export without network calls.
## Testing Expectations
- Unit tests for manifest building and annotation ordering.
- Integration tests for registry push with mocked registry endpoints.
## Workflow
- Update sprint status on task transitions.
- Log notable decisions in sprint Execution Log.