summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/daemon/cli')
-rw-r--r--makima/src/daemon/cli/mod.rs3
-rw-r--r--makima/src/daemon/cli/supervisor.rs15
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 {