Skip to content

upstreaming: restart abandoned work on the same issue - #5004

Merged
luhenry merged 1 commit into
mainfrom
upstreaming-pipeline
Nov 20, 2026
Merged

luhenry merged 1 commit into
mainfrom
upstreaming-pipeline

Conversation

@luhenry

@luhenry luhenry commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

Allow an abandoned contribution to restart from investigation on the same tracking issue.

New stale-proof command:

/upstreaming restart revision=N reason="Restart from a fresh investigation."

The command:

  • is accepted only in abandoned and only at the exact current revision;
  • rejects restart while Work, a writer operation, or publication is active;
  • preserves contribution/project/tracking identity, creation time, distributions, append-only events, command receipts, and processed-publication replay fences;
  • increments a durable lifecycle generation and the monotonic revision;
  • returns to queued/idle, so normal controller selection launches a new investigation;
  • clears old dossier/scope, fork and PR references, upstream snapshot, CI evidence, review cursors and pending feedback, debug/handoff/release state, queue/result pointers, budget consumption, and mutable operation state;
  • does not close PRs or delete repositories, keeping destructive remote cleanup explicit while abandoned;
  • appears in the abandoned lifecycle ledger and rejected-command correction feedback.

Validation

  • 211 upstreaming tests pass.
  • Regression coverage includes same-issue identity preservation, complete mutable-state reset, replay-fence retention, generation/revision increments, stale revision rejection, phase restriction, writer-quiescence gating, ledger guidance, parser requirements, and rejection feedback.
  • gh-aw v1.2.2 checks pass.
  • git diff --check passes.

@luhenry
luhenry merged commit dc5e0b9 into main Nov 20, 2026
4 checks passed
@luhenry
luhenry deleted the upstreaming-pipeline branch November 20, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant