Skip to content

initiative:edit

← Back to CLI Commands

Edit initiative fields and phase metadata

pnpm initiative:edit

Options:

FlagDescriptionRequired
-i, --id <initId>Initiative IDNo
--title <text>Replace the initiative title fieldNo
--status <status>New status (draft, open, in_progress, done, archived)No
--priority <priority>New priority (P0, P1, P2, P3)No
--blocked-by <initId>Initiative ID that blocks this initiativeNo
--blocked-reason <text>Reason for blocking (required with —blocked-by)No
--unblockRemove blocked_by and blocked_reason fieldsNo
--add-lane <lane>Lane to add (repeatable)No
--remove-lane <lane>Lane to remove (repeatable)No
--notes <text>Note to append to notes arrayNo
--description <text>Replace the initiative description fieldNo
--add-phase <title>Append a new phase with auto-incremented id and pending status (repeatable)No
--add-success-metric <text>Append to success_metrics array, avoiding duplicates (repeatable)No
--remove-success-metric <text>Remove exact match from success_metrics array (repeatable)No
--phase-id <id>Phase ID to update (use with —phase-status)No
--phase-status <status>Update phase status (pending, in_progress, done, blocked)No
--phase-title <title>Update phase title (use with —phase-id)No
--created <date>Set created date (YYYY-MM-DD format)No
--phase-execution-order <order>Phase execution order (sequential, parallel)No
--dependency-model <model>Dependency model for the initiativeNo
--from-clean-snapshotRun the edit in a LumenFlow-owned micro-worktree based on origin/main; never reads or writes the caller checkout. Allowlisted to —status / —phase-id / —phase-status / —notes / —add-success-metric / —remove-success-metric. Refuses if write set targets a dirty foreign WU yaml or escapes the allowlist.No
--from-clean-snapshot-dry-runEmit the snapshot audit record without performing UnsafeAny git operations. Use to verify the safe-bypass justification before executing.No

← Back to CLI Commands