iriai-build 0.4.2 → 0.4.3
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.
- package/package.json +1 -1
- package/v3/orchestrator.js +5 -5
package/package.json
CHANGED
package/v3/orchestrator.js
CHANGED
|
@@ -2132,12 +2132,12 @@ export class Orchestrator {
|
|
|
2132
2132
|
}
|
|
2133
2133
|
|
|
2134
2134
|
// Handle [DECISION] blocks — render as separate decision prompts.
|
|
2135
|
-
// Skip
|
|
2135
|
+
// Skip ALL Operator-emitted decisions when a deferred decision exists for this feature.
|
|
2136
|
+
// The orchestrator already manages phase review / plan-approval decisions via
|
|
2137
|
+
// _requestPhaseReview → _postDeferredDecision. Operator [DECISION] blocks would
|
|
2138
|
+
// duplicate those, even if the IDs don't match exactly.
|
|
2136
2139
|
for (const decision of parsed.decisions) {
|
|
2137
|
-
if (this._deferredDecisions[feature.id])
|
|
2138
|
-
const deferred = this._deferredDecisions[feature.id].decision;
|
|
2139
|
-
if (deferred.id === decision.id) continue;
|
|
2140
|
-
}
|
|
2140
|
+
if (this._deferredDecisions[feature.id]) continue;
|
|
2141
2141
|
const options = decision.options.map(o => ({
|
|
2142
2142
|
id: o.id,
|
|
2143
2143
|
label: o.label,
|