Skip to content

Section 1 — CLI surface, neutral types, trait method (Tasks 1–5) #289

Description

@aram356

Part of #288 (epic). Umbrella PR: #287.

Plan reference

docs/superpowers/plans/2026-06-27-provision-local.md — Section 1.

Tasks

  • Task 1: Add ProvisionMode enum + local flag on ProvisionArgs (extend manual Default impl)
  • Task 2: Add neutral AdapterDeployedState + ProvisionOutcome types in edgezero-adapter; crate-root re-exports
  • Task 3: Thread ProvisionMode, deployed: Option<&AdapterDeployedState>, and ProvisionOutcome through Adapter::provision
  • Task 4: Add Adapter::provision_typed trait method with default no-op
  • Task 5: Extract run_typed_preflight(&typed, &ctx); pub(crate) accessors on ValidationContext; rewrite validate/push/diff sites

Dependencies

None — this is the foundation Sections 3–6 build on.

CI

cargo fmt, cargo clippy -D warnings, cargo test --workspace --all-targets, cargo check (all five gates) must pass before merging this section.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions