Coverage for src/infra/__init__.py: 100%

1"""Infrastructure layer for mala.

2

3 This package contains all infrastructure concerns:

4- clients/: External service clients (Anthropic, Beads CLI, Braintrust, Cerberus)

5- io/: I/O utilities (config, event sink, logging, session log parsing)

6- tools/: Command execution, environment, and locking utilities

7- hooks/: Claude Agent SDK hooks (security, caching, locking)

8

9 Infrastructure modules should not depend on:

10- CLI layer (src.cli, src.main)

11- Orchestration layer (src.orchestrator, src.orchestrator_factory, src.orchestrator_types)

12- Pipeline layer (src.pipeline)

13

14 They may depend on:

15- Core layer (src.core.models, src.core.protocols, src.core.log_events)

16- Domain layer for shared types (but not business logic)

17"""