amsd-pipeline-workflow 0.1.10 → 0.1.11

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.
@@ -17,6 +17,9 @@ function applyGateStamps(story, res) {
17
17
  else if (uit && uit.passed === true) { del('suiteState'); del('suiteStateStep'); }
18
18
  const gate = res && res.gate;
19
19
  if (gate && gate.ran !== false && gate.passed === false) { set('reviewStatus', 'escalated'); set('reproGate', 'failed'); }
20
+ // A REAL APPROVAL CLEARS AN EARLIER ATTEMPT'S ESCALATION (lib/review-cycle.sh ~:180–195, the pipeline's own: reviewStatus
21
+ // "escalated" → null). A Writer result of 'done' comes only after the review approved. B65: the stale stamp blocked the gate.
22
+ else if (res && res.status === 'done' && story.reviewStatus === 'escalated') set('reviewStatus', null);
20
23
  return changed;
21
24
  }
22
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amsd-pipeline-workflow",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "The AMSD pipeline as Claude workflows. Installed by the amsd-pipeline installer: install.sh --workflows",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {