Skip to content

feat(architecture): implement phase 1 command mapping seam#23

Merged
Lythaeon merged 1 commit intomainfrom
chore/architecture-phase1-migration-main
Feb 13, 2026
Merged

feat(architecture): implement phase 1 command mapping seam#23
Lythaeon merged 1 commit intomainfrom
chore/architecture-phase1-migration-main

Conversation

@Lythaeon
Copy link
Copy Markdown
Owner

Summary

  • Implements Phase 1 of the hexagonal migration plan by introducing typed domain/application command seams.
  • Moves CLI-to-core translation into an anti-corruption mapper while keeping legacy runtime APIs in place for safe incremental migration.

Changes

  • Added src/domain/run.rs with RunConfig, ProtocolKind, LoadMode, and Scenario.
  • Added src/application/commands.rs with per-mode command types (Local, Replay, Service, Controller, Agent).
  • Added src/adapters/cli/mapper.rs to map TesterArgs into typed commands.
  • Updated entry planning/execution to consume typed commands:
    • src/entry/plan/types.rs
    • src/entry/plan/build.rs
    • src/entry/plan/execute.rs
  • Registered new modules in src/main.rs.
  • Updated Phase 1 tracking artifacts in:
    • docs/architecture/ard/ARCHITECTURE_RISKS_HEXAGONAL_PLAN.md

Checks

  • cargo make format
  • cargo make clippy
  • cargo make test
  • cargo make architecture-check
  • cargo make test-wasm (not applicable)
  • cargo make audit (not applicable)
  • cargo make deny (not applicable)

@Lythaeon Lythaeon merged commit fd0ba70 into main Feb 13, 2026
1 check passed
@Lythaeon Lythaeon deleted the chore/architecture-phase1-migration-main branch February 13, 2026 17:23
@Lythaeon Lythaeon restored the chore/architecture-phase1-migration-main branch February 13, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant