You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(incident): stop suggesting a per-incident rewrite after a verification miss
/incident/comment is a single batch POST covering the whole incident_ids
list (lte=100 on the wire) — there is no separate per-incident write to
retry. The previous message told the agent not to retry the full batch but
to "write it again for that incident alone" on a verification miss, which
carries the identical duplication risk at incident-granularity that this
whole redesign exists to eliminate at batch-granularity: a miss here proves
nothing about absence, only that presence could not be confirmed, so a
rewrite risks a duplicate on a write that most likely already landed.
Drop the rewrite suggestion. Point at a read-only manual check
(`fduty incident timeline <id>`) instead, and say plainly that neither a
full-batch retry nor a single-incident rewrite is warranted by a missed
confirmation.
"comment verification could not confirm %d of %d incident(s) — %s. "+
997
-
"The write API already reported success for all %d incident(s) in this batch, so do not retry this command against the full batch: that would duplicate the comment on incidents already confirmed. "+
998
-
"Check the listed incident(s) manually, and if a comment is genuinely missing, write it again for that incident alone.",
1004
+
"The write API already reported success for all %d incident(s) in this batch (a single POST covering the whole list), and not finding a match here does not mean a comment is missing — this check can only confirm presence, never confirm absence. "+
1005
+
"Do not write the comment again, for the full batch or for the incident(s) listed above alone: either risks a duplicate on a write that most likely already landed. "+
1006
+
"Run `fduty incident timeline <id>` on the listed incident(s) to check by hand before deciding on anything further.",
0 commit comments