@yemi33/minions 0.1.796 → 0.1.797

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.796 (2026-04-10)
3
+ ## 0.1.797 (2026-04-10)
4
4
 
5
5
  ### Features
6
6
  - add open-source community sources to agentic research pipeline
@@ -8,6 +8,7 @@
8
8
  - cap review→fix cycles at evalMaxIterations (default 3)
9
9
 
10
10
  ### Fixes
11
+ - bot comment on approved PR can no longer reset vote
11
12
  - remove redundant 'PR' prefix from dispatch labels (id already has it)
12
13
  - include PR title in all dispatch labels and escalation alerts
13
14
  - never downgrade reviewStatus from 'approved' unless explicitly rejected
@@ -788,7 +788,8 @@ function updatePrAfterFix(pr, project, source) {
788
788
  if (!Array.isArray(prs)) return prs;
789
789
  const target = prs.find(p => p.id === pr.id);
790
790
  if (!target) return prs;
791
- target.reviewStatus = 'waiting';
791
+ // Never downgrade from approved — fix was dispatched but PR is already approved
792
+ if (target.reviewStatus !== 'approved') target.reviewStatus = 'waiting';
792
793
  // Always clear pendingFix — a fix dispatch (regardless of source) addresses all pending feedback
793
794
  if (target.humanFeedback) target.humanFeedback.pendingFix = false;
794
795
  if (source === 'pr-human-feedback') {
package/engine.js CHANGED
@@ -1659,7 +1659,7 @@ async function discoverFromPrs(config, project) {
1659
1659
  // PRs with pending human feedback (skip if review-fix already dispatched above)
1660
1660
  const humanFixKey = `human-fix-${project?.name || 'default'}-${pr.id}`;
1661
1661
  const hasCoalescedFeedback = (dispatchCooldowns.get(humanFixKey)?.pendingContexts || []).length > 0;
1662
- if ((pr.humanFeedback?.pendingFix || hasCoalescedFeedback) && !awaitingReReview && !fixDispatched) {
1662
+ if ((pr.humanFeedback?.pendingFix || hasCoalescedFeedback) && !awaitingReReview && !fixDispatched && reviewStatus !== 'approved') {
1663
1663
  const key = humanFixKey;
1664
1664
  if (isAlreadyDispatched(key) || isOnCooldown(key, cooldownMs)) {
1665
1665
  // Coalesce: save feedback for next dispatch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.796",
3
+ "version": "0.1.797",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"