diff options
| author | soryu <soryu@soryu.co> | 2026-01-26 20:19:30 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-26 20:19:30 +0000 |
| commit | 04e1e8f0dd85d19917ac5ba0b73cba65ebac8976 (patch) | |
| tree | e52537dd2a33c10156f1378ffdc6803bc983482d /makima/src/daemon/cli | |
| parent | 6328477bc459eca0243b685553dbd75b925fdc8a (diff) | |
| download | soryu-04e1e8f0dd85d19917ac5ba0b73cba65ebac8976.tar.gz soryu-04e1e8f0dd85d19917ac5ba0b73cba65ebac8976.zip | |
Add completion phases
Diffstat (limited to 'makima/src/daemon/cli')
| -rw-r--r-- | makima/src/daemon/cli/mod.rs | 3 | ||||
| -rw-r--r-- | makima/src/daemon/cli/supervisor.rs | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/mod.rs b/makima/src/daemon/cli/mod.rs index 216f281..0805edd 100644 --- a/makima/src/daemon/cli/mod.rs +++ b/makima/src/daemon/cli/mod.rs @@ -157,6 +157,9 @@ pub enum SupervisorCommand { /// Resume a completed contract (reactivate it) ResumeContract(supervisor::ResumeContractArgs), + + /// Mark a deliverable as complete + MarkDeliverable(supervisor::MarkDeliverableArgs), } /// Contract subcommands for task-contract interaction. diff --git a/makima/src/daemon/cli/supervisor.rs b/makima/src/daemon/cli/supervisor.rs index 3bc8525..4f36fd8 100644 --- a/makima/src/daemon/cli/supervisor.rs +++ b/makima/src/daemon/cli/supervisor.rs @@ -220,6 +220,21 @@ pub struct AdvancePhaseArgs { pub phase: String, } +/// Arguments for mark-deliverable command. +#[derive(Args, Debug)] +pub struct MarkDeliverableArgs { + #[command(flatten)] + pub common: SupervisorArgs, + + /// The deliverable ID to mark as complete (e.g., 'plan-document', 'pull-request', 'research-notes') + #[arg(index = 1)] + pub deliverable_id: String, + + /// Phase the deliverable belongs to. Defaults to current contract phase if not specified. + #[arg(long)] + pub phase: Option<String>, +} + /// Arguments for task command (get individual task details). #[derive(Args, Debug)] pub struct GetTaskArgs { |
