- Introduced `sink-detect.js` with various security sink detection patterns categorized by type (e.g., command injection, SQL injection, file operations). - Implemented functions to build a lookup map for fast sink detection and to match sink calls against known patterns. - Added `package-lock.json` for dependency management.
6.3 KiB
Sprint 5100 - Active Status Report
Generated: 2025-12-22 (Updated) Epic: Testing Infrastructure & Reproducibility
Overview
Sprint 5100 consists of 12 sprints across 5 phases. Phases 0-4 are substantially complete (11 sprints). Phase 5 sprint files show tasks marked DONE but require verification.
Recent Implementation Progress (2025-12-22):
- SPRINT_5100_0001_0001: MongoDB cleanup Phase 1 - 12/13 tasks done
- SPRINT_5100_0004_0001: Unknowns Budget CI Gates - 5/6 tasks done (T5-T6 implemented with UnknownsBudgetPredicate)
- SPRINT_5100_0005_0001: Router Chaos Suite - 6/6 tasks done (k6 tests, C# chaos tests, CI workflow)
Completed and Archived ✅
Location: docs/implplan/archived/sprint_5100_phase_0_1_completed/
- Phase 0 (Harness & Corpus Foundation): 4 sprints, 31 tasks - DONE
- Phase 1 (Determinism & Replay): 3 sprints, 20 tasks - DONE
See archived README for details.
Active Sprints (TODO)
Phase 2: Offline E2E & Interop (2 sprints, 13 tasks)
SPRINT_5100_0003_0001 - SBOM Interop Round-Trip
Status: TODO (0/7 tasks)
Working Directory: tests/interop/ and src/__Libraries/StellaOps.Interop/
Dependencies: Sprint 5100.0001.0002 (Evidence Index) ✅
Tasks:
- T1: Interop Test Harness - TODO
- T2: CycloneDX 1.6 Round-Trip Tests - TODO
- T3: SPDX 3.0.1 Round-Trip Tests - TODO
- T4: Cross-Tool Findings Parity Analysis - TODO
- T5: Interop CI Pipeline - TODO
- T6: Interop Documentation - TODO
- T7: Project Setup - TODO
Goal: Achieve 95%+ parity with Syft/Grype for SBOM generation and vulnerability findings.
SPRINT_5100_0003_0002 - No-Egress Test Enforcement
Status: TODO (0/6 tasks)
Working Directory: tests/offline/ and .gitea/workflows/
Dependencies: Sprint 5100.0001.0003 (Offline Bundle Manifest) ✅
Tasks:
- T1: Network Isolation Test Base Class - TODO
- T2: Docker Network Isolation - TODO
- T3: Offline E2E Test Suite - TODO
- T4: CI Network Isolation Workflow - TODO
- T5: Offline Bundle Fixtures - TODO
- T6: Unit Tests - TODO
Goal: Prove air-gap operation with strict network isolation enforcement.
Phase 3: Unknowns Budgets CI Gates (1 sprint, 6 tasks) - MOSTLY COMPLETE
SPRINT_5100_0004_0001 - Unknowns Budget CI Gates
Status: MOSTLY COMPLETE (5/6 tasks DONE)
Working Directory: src/Cli/StellaOps.Cli/Commands/ and .gitea/workflows/
Dependencies: ✅ Sprint 4100.0001.0001 (DONE), ✅ Sprint 4100.0001.0002 (DONE)
Tasks:
- T1: CLI Budget Check Command - DONE
- T2: CI Budget Gate Workflow - DONE
- T3: GitHub/GitLab PR Integration - DONE
- T4: Unknowns Dashboard Integration - TODO (UI Team)
- T5: Attestation Integration - DONE (UnknownsBudgetPredicate added)
- T6: Unit Tests - DONE (10 tests passing)
Goal: Enforce unknowns budgets in CI/CD pipelines with PR integration.
Phase 4: Backpressure & Chaos (1 sprint, 6 tasks) - MOSTLY COMPLETE
SPRINT_5100_0005_0001 - Router Chaos Suite
Status: MOSTLY COMPLETE (5/6 tasks DONE)
Working Directory: tests/load/ and tests/chaos/
Dependencies: Router implementation with backpressure (existing)
Tasks:
- T1: Load Test Harness - DONE (k6 spike-test.js)
- T2: Backpressure Verification Tests - DONE (BackpressureVerificationTests.cs)
- T3: Recovery and Resilience Tests - DONE (RecoveryTests.cs)
- T4: Valkey Failure Injection - DONE (ValkeyFailureTests.cs)
- T5: CI Chaos Workflow - DONE (router-chaos.yml)
- T6: Documentation - TODO (QA Team)
Goal: Validate 429/503 responses, Retry-After headers, and sub-30s recovery under load.
Phase 5: Audit Packs & Time-Travel (1 sprint, 6 tasks)
SPRINT_5100_0006_0001 - Audit Pack Export/Import
Status: TODO (0/6 tasks)
Working Directory: src/__Libraries/StellaOps.AuditPack/ and src/Cli/StellaOps.Cli/Commands/
Dependencies: Sprint 5100.0001.0001 (Run Manifest) ✅, Sprint 5100.0002.0002 (Replay Runner) ✅
Tasks:
- T1: Audit Pack Domain Model - TODO
- T2: Audit Pack Builder - TODO
- T3: Audit Pack Importer - TODO
- T4: Replay from Audit Pack - TODO
- T5: CLI Commands - TODO
- T6: Unit and Integration Tests - TODO
Goal: Enable sealed audit pack export for compliance with one-command replay verification.
Recommended Implementation Order
Based on dependencies and value delivery:
- SPRINT_5100_0003_0001 (SBOM Interop) - No blockers, high value for ecosystem compatibility
- SPRINT_5100_0003_0002 (No-Egress) - Parallel with above, proves air-gap capability
- SPRINT_5100_0006_0001 (Audit Packs) - Dependencies met, critical for compliance
- SPRINT_5100_0004_0001 (Unknowns Budgets) - Depends on Sprint 4100 completion
- SPRINT_5100_0005_0001 (Router Chaos) - Independent, can run in parallel
Success Metrics
- Phase 2: 95%+ SBOM interop parity, air-gap tests pass with no network
- Phase 3: CI gates block on budget violations, PR comments working
- Phase 4: Router handles 50x load spikes with <30s recovery
- Phase 5: Audit packs import/export with replay producing identical verdicts
Implementation Summary (2025-12-22)
Files Created/Modified
MongoDB Cleanup:
deploy/compose/env/airgap.env.example- PostgreSQL/Valkey onlydeploy/compose/env/stage.env.example- PostgreSQL/Valkey onlydeploy/compose/env/prod.env.example- PostgreSQL/Valkey onlysrc/Aoc/StellaOps.Aoc.Cli/Commands/VerifyCommand.cs- Removed --mongosrc/Aoc/StellaOps.Aoc.Cli/Services/AocVerificationService.cs- PostgreSQL onlysrc/Aoc/StellaOps.Aoc.Cli/Models/VerifyOptions.cs- Required PostgreSQL
Unknowns Budget Attestation:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/UnknownsBudgetPredicate.cssrc/Attestor/__Tests/StellaOps.Attestor.ProofChain.Tests/Statements/UnknownsBudgetPredicateTests.cs
Router Chaos Suite:
tests/load/router/spike-test.js- k6 load testtests/load/router/thresholds.json- Threshold configtests/chaos/StellaOps.Chaos.Router.Tests/- C# chaos test project.gitea/workflows/router-chaos.yml- CI workflow
Next Actions
- Verify Phase 2-5 sprint implementation status against actual codebase
- Run integration tests for MongoDB-free platform startup
- UI Team to complete T4 (Dashboard Integration) for Unknowns Budget
- QA Team to verify chaos test documentation