-
Notifications
You must be signed in to change notification settings - Fork 0
[Task] Make goal-finish human review handoff idempotent #588
Copy link
Copy link
Closed
Labels
area:aiAI and agent workflow behavior.AI and agent workflow behavior.area:backendBackend, CLI, and core workflow implementation.Backend, CLI, and core workflow implementation.priority:p2Medium priority work.Medium priority work.status:doneWork is completed with merged, closed, or accepted completion evidence.Work is completed with merged, closed, or accepted completion evidence.type:taskConcrete implementation task.Concrete implementation task.
Metadata
Metadata
Assignees
Labels
area:aiAI and agent workflow behavior.AI and agent workflow behavior.area:backendBackend, CLI, and core workflow implementation.Backend, CLI, and core workflow implementation.priority:p2Medium priority work.Medium priority work.status:doneWork is completed with merged, closed, or accepted completion evidence.Work is completed with merged, closed, or accepted completion evidence.type:taskConcrete implementation task.Concrete implementation task.
Goal
Make
gira goal finish --terminal human_review --applyidempotent so repeated runs do not post duplicate goal-finish-receipt/v1 handoff comments for the same terminal state.Parent: #521
Scope
Detect an existing goal-finish-receipt/v1 comment on the goal issue before planning or applying the human-review handoff. Dry-run should report a skip/no-op action when the receipt already exists, and apply should not post another comment. The command should keep preserving blockers and should not close the goal.
Acceptance Criteria
Doctor Impact
No doctor behavior expected.
Expected Evidence
Expected Delivery
Draft PR first, then normal Gira review/finish lifecycle.
base_branch: main
base_source: branch_policy.default
branch_policy_mode: github-flow
target: default
work_branch: issue-588-task-make-goal-finish-human-review-handoff-idempotent