CLI: item update round-trips an empty audited Update on completion flips #118

Closed
opened 2026-08-18 10:45:22 +00:00 by nalum · 1 comment
Owner

From the surface parity report (2026-08-18), defect 7.

item update --complete / --incomplete always sends an empty Update RPC before the CompleteItem call. That is a wasted, audited no-op mutation per completion flip.

Where: cmd/eagraiclainne/commands/item/update.go.

Fix: skip the Update call when no editable field flags are set.

From the surface parity report (2026-08-18), defect 7. `item update --complete` / `--incomplete` always sends an empty `Update` RPC before the `CompleteItem` call. That is a wasted, audited no-op mutation per completion flip. Where: `cmd/eagraiclainne/commands/item/update.go`. Fix: skip the `Update` call when no editable field flags are set.
Author
Owner

Delivered in PR #143 (merged): item update now skips the empty audited Update on pure completion flips — the flip rides CompleteItem alone, and a flagless update errors instead of writing nothing. Verified live: exactly one UPDATE audit entry per flip.

Delivered in PR #143 (merged): item update now skips the empty audited Update on pure completion flips — the flip rides CompleteItem alone, and a flagless update errors instead of writing nothing. Verified live: exactly one UPDATE audit entry per flip.
nalum closed this issue 2026-08-18 16:46:45 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eagraiclainne/app#118
No description provided.