Skip to content

Implement cmd/run — main node binary #403

@varex83

Description

@varex83

Scope

Port charon/cmd/run.go (~221 LOC) — the pluto run CLI command that boots a full distributed-validator node. This is the user-facing entry point for actually running Pluto.

Dependencies

  • app/app.go wiring must land first (this issue's parent integration anchor)

Scope details

  • Parse RunConfig from flags + env + cluster lock
  • Instantiate the app graph
  • Wire signal handling (Ctrl+C, SIGTERM) to graceful shutdown
  • Support --simnet mode using app/vmock

Acceptance

  • pluto run --help matches charon run --help flag-for-flag
  • 4-node compose smoke test: pluto run boots, peers, completes one slot
  • Graceful shutdown drains in-flight duties
  • cargo clippy --workspace --all-targets --all-features -- -D warnings clean

Milestone

🎯 This is the Phase 4 gate. When this works, Pluto is a runnable node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrustPull requests that update rust codetrack:orchestration-cliDev C — orchestration + CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions