Repository navigation
Conversation
… write Plans #4051. Adds the OpenSpec change and the key stage.pending that the tests import.
|
Point to review (the owner has not confirmed this approach): the job removes an orphan draft by an intent mark, Known gap: a CLOSED item with a Rollout: no setting is added, renamed, removed or tightened. The 1-hour age is a constant ( Test record:
|
The stage job pushed a branch and opened a draft before it wrote the marks. If the marks write failed, a draft stayed with no stage.pr mark. The job now writes a stage.pending mark (branch and time) before the push. An open item with that mark, a pushed branch, a draft and no stage.pr, older than 1 hour, is an orphan: the job closes the draft, deletes the branch and clears the mark. A pushed branch without the mark is never touched.
Closes #4051
Change:
openspec/changes/archive/2026-11-08-4051-remove-the-orphan-draft-that-a/