pi-goal-list-loop-audit 0.28.8 → 0.28.9

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.
@@ -311,16 +311,18 @@ export function runReviewer(
311
311
  if (findings.length === 0 && config.cascade.includes("fire-audit-on-clean")) {
312
312
  const auditObjective = `Post-completion regression scan after ${source.goalId} (${config.auditScope})`;
313
313
  if (aggressive) {
314
- deps.proposeGoal(auditObjective, "aggressive postaudit: clean completion — relaunching the regression scan as /goal");
315
- proposed++;
314
+ if (deps.proposeGoal(auditObjective, "aggressive postaudit: clean completion — relaunching the regression scan as /goal")) {
315
+ proposed++;
316
+ }
316
317
  cascadeStep = "aggressive-relaunch";
317
318
  } else if (auto) {
318
319
  deps.enqueueListItems([auditObjective]);
319
320
  enqueued++;
320
321
  cascadeStep = "fire-audit-on-clean";
321
322
  } else {
322
- deps.proposeGoal(auditObjective, "reviewer: completion looks clean — firing the audit step");
323
- proposed++;
323
+ if (deps.proposeGoal(auditObjective, "reviewer: completion looks clean — firing the audit step")) {
324
+ proposed++;
325
+ }
324
326
  cascadeStep = "fire-audit-on-clean";
325
327
  }
326
328
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-list-loop-audit",
3
- "version": "0.28.8",
3
+ "version": "0.28.9",
4
4
  "description": "Goal. Loop. Audit. Done. \u2014 a pi-coding-agent extension that supervises long-running work, with isolated auditor on each completion. Beat bamboozling by design: the auditor runs in a fresh session with no extensions, no skills, no editor \u2014 only the read tools needed to verify your goal.",
5
5
  "license": "MIT",
6
6
  "author": "dracon",