Skip to main content

Module legacy_adapter

Module legacy_adapter 

Source
Expand description

Legacy adapter — invokes shell scripts with correct argument forwarding.

This module provides:

  • LegacyAdapter — invokes install_*.sh scripts with correct arguments

§Design

The legacy adapter is the fallback executor for components that don’t yet have Rust-native implementations. It discovers the correct shell script from the component registry, forwards arguments correctly, and captures stdout/stderr and exit codes for parity verification.

§Validation Assertions

  • VAL-MIGR-010: No Rust adapter → falls back to install_*.sh with correct args
  • VAL-MIGR-012: Output format matches shell for migrated components
  • VAL-MIGR-013: Exit codes match shell for success/failure/partial cases

Structs§

LegacyAdapter
Adapter that invokes legacy shell scripts for component installation.