teapot-coding-agent 0.37.156 → 0.37.157

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.
@@ -1542,6 +1542,21 @@ export class Agent {
1542
1542
  * auto-continue off or no goal set, because filing a report is not a decision to stop. Once per round, and
1543
1543
  * reset by any round that does actual work.
1544
1544
  */
1545
+ /**
1546
+ * …and when the branch does NOT fire, say why.
1547
+ *
1548
+ * A report followed by a stop went unanswered on mediapad-t5 at 09:29Z on a build that HAS the per-round reset,
1549
+ * and nothing in the log could explain it: every guard that could have swallowed the branch (`pendingPrompts`,
1550
+ * a running background shell, an audit cap) either logs its own note or leaves no trace. This note makes the
1551
+ * decision observable the next time it goes the wrong way.
1552
+ */
1553
+ if (!finished && this.reportedThisRound && this.reportedNudges >= 1) {
1554
+ await this.log.append("system_note", this.currentSession, this.currentBranch, {
1555
+ event: "auto-continue-after-progress-skipped",
1556
+ reason: "the nudge budget for this round was already spent",
1557
+ nudges: this.reportedNudges,
1558
+ });
1559
+ }
1545
1560
  if (!finished &&
1546
1561
  this.reportedThisRound &&
1547
1562
  this.reportedNudges < 1 &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teapot-coding-agent",
3
- "version": "0.37.156",
3
+ "version": "0.37.157",
4
4
  "description": "A lightweight, always-on multi-agent harness for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",