[AZ-219] [AZ-228] Generalize VIO component layout

Keep VIO package and native bridge paths backend-neutral so BASALT remains an implementation choice rather than a component boundary.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-05-03 12:20:41 +03:00
parent 79997e39ac
commit 72a9df6b57
34 changed files with 123 additions and 114 deletions
+13 -2
View File
@@ -3,7 +3,7 @@ from pathlib import Path
COMPONENT_PACKAGES = [
"camera_ingest_calibration",
"basalt_vio_adapter",
"vio_adapter",
"safety_anchor_wrapper",
"satellite_service",
"anchor_verification",
@@ -28,13 +28,16 @@ REQUIRED_PATHS = [
"tests/unit/test_scaffold.py",
"tests/unit/shared/.gitkeep",
"tests/unit/camera_ingest_calibration/.gitkeep",
"tests/unit/basalt_vio_adapter/.gitkeep",
"tests/unit/vio_adapter/.gitkeep",
"tests/unit/safety_anchor_wrapper/.gitkeep",
"tests/unit/satellite_service/.gitkeep",
"tests/unit/anchor_verification/.gitkeep",
"tests/unit/tile_manager/.gitkeep",
"tests/unit/mavlink_gcs_integration/.gitkeep",
"tests/unit/fdr_observability/.gitkeep",
"src/vio_adapter/native/README.md",
"src/satellite_service/native/README.md",
"src/anchor_verification/native/README.md",
"tests/integration/contracts/.gitkeep",
"tests/blackbox/still_image_geolocation/.gitkeep",
"tests/fixtures/project_60_images/.gitkeep",
@@ -98,6 +101,14 @@ def test_scaffold_paths_cover_runtime_test_and_evidence_layout() -> None:
assert missing == []
def test_native_bridge_placeholders_are_component_owned() -> None:
# Act
shared_native_path_exists = Path("src/native").exists()
# Assert
assert shared_native_path_exists is False
def test_ignore_rules_exclude_runtime_payloads_and_secrets() -> None:
# Arrange
required_patterns = [