mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-22 14:41:15 +00:00
[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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user