@popoverai/dotrequirements 0.39.3 → 0.39.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -121,6 +121,11 @@ export function planForOutcomes(plan, names) {
121
121
  if (surface.mergeCloses !== undefined && !kept.has(surface.mergeCloses)) {
122
122
  delete own.mergeCloses;
123
123
  }
124
+ // PULL-20.6: nor does approving a checkpoint left out merge it.
125
+ if (surface.mergeOn !== undefined &&
126
+ !checkpoints.some((checkpoint) => checkpoint.name === surface.mergeOn)) {
127
+ delete own.mergeOn;
128
+ }
124
129
  return own;
125
130
  }),
126
131
  phases,
@@ -105,6 +105,8 @@ export type Plan = {
105
105
  watchedBy?: string;
106
106
  /** The outcome a merge of its pull request closes (PULL-12). */
107
107
  mergeCloses?: string;
108
+ /** The checkpoint whose approval merges its pull request (PULL-20). */
109
+ mergeOn?: string;
108
110
  }>;
109
111
  phases: Array<{
110
112
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popoverai/dotrequirements",
3
- "version": "0.39.3",
3
+ "version": "0.39.4",
4
4
  "description": "Requirements as testable, human-readable data — CLI and test harness for spec-driven development with AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {