@yemi33/minions 0.1.690 → 0.1.691

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.690 (2026-04-09)
3
+ ## 0.1.691 (2026-04-09)
4
4
 
5
5
  ### Features
6
6
  - Re-execute button for plans with existing awaiting-approval PRD
@@ -9,6 +9,7 @@
9
9
  - collapsible doc-chat thread in modal
10
10
 
11
11
  ### Fixes
12
+ - show E2E PR + testing guide in verify badge, improve PR matching
12
13
  - add archive fallback for artifact notes when KB entry was swept
13
14
  - link work item artifacts to KB entries, not raw archive copies
14
15
 
@@ -710,12 +710,18 @@ async function planRegeneratePRD(source) {
710
710
  function _renderVerifyBadge(verifyWi) {
711
711
  const statusColors = { pending: 'var(--muted)', dispatched: 'var(--blue)', done: 'var(--green)', failed: 'var(--red)' };
712
712
  const color = statusColors[verifyWi.status] || 'var(--muted)';
713
- const label = verifyWi.status === 'dispatched' ? 'Verifying...' : verifyWi.status === 'done' ? 'Verified' : verifyWi.status === 'failed' ? 'Verify failed' : 'Verify pending';
713
+ const label = verifyWi.status === 'dispatched' ? 'Verifying...' : verifyWi.status === 'done' ? '\u2714 Verified' : verifyWi.status === 'failed' ? 'Verify failed' : 'Verify pending';
714
+ // E2E PR — check by prdItems, branch, or title
714
715
  const allPrs = (window._lastStatus?.pullRequests) || [];
715
- const verifyPr = allPrs.find(pr => (pr.prdItems || []).includes(verifyWi.id));
716
- const prLink = verifyPr?.url ? ' <a href="' + escHtml(verifyPr.url) + '" target="_blank" onclick="event.stopPropagation()" style="color:var(--blue);text-decoration:none;font-size:9px">E2E PR</a>' : '';
717
- const branchInfo = verifyPr?.branch ? ' <span style="font-size:8px;color:var(--muted)" title="' + escHtml(verifyPr.branch) + '">(' + escHtml(verifyPr.branch.slice(0, 25)) + ')</span>' : '';
718
- return '<span style="font-size:9px;font-weight:600;color:' + color + ';padding:0 4px">' + label + '</span>' + prLink + branchInfo;
716
+ const planFile = verifyWi.sourcePlan || '';
717
+ const planSlug = planFile.replace('.json', '');
718
+ const verifyPr = allPrs.find(pr => (pr.prdItems || []).includes(verifyWi.id) || (pr.branch && pr.branch.includes(planSlug) && (pr.title || '').includes('[E2E]')));
719
+ const prLink = verifyPr?.url ? ' <a href="' + escHtml(verifyPr.url) + '" target="_blank" onclick="event.stopPropagation()" style="color:var(--blue);text-decoration:underline;font-size:9px">' + escHtml(verifyPr.id || 'E2E PR') + '</a>' : '';
720
+ // Testing guide
721
+ const guides = window._lastStatus?.verifyGuides || [];
722
+ const guide = guides.find(g => g.planFile === planFile);
723
+ const guideLink = guide ? ' <span onclick="event.stopPropagation();openVerifyGuide(\'' + escHtml(guide.file) + '\')" style="color:var(--green);cursor:pointer;text-decoration:underline;font-size:9px">Testing Guide</span>' : '';
724
+ return '<span style="font-size:9px;font-weight:600;color:' + color + ';padding:0 4px">' + label + '</span>' + prLink + guideLink;
719
725
  }
720
726
 
721
727
  async function openVerifyGuide(file) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.690",
3
+ "version": "0.1.691",
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"