@teevee98/synapse-hub 3.8.3 → 3.8.5

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.
Files changed (54) hide show
  1. package/.agents/rules/author-integrity-guard.md +13 -10
  2. package/.agents/rules/skill-precedence.md +6 -4
  3. package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +1 -1
  4. package/.agents/skills/agentless-qa-repair/SKILL.md +1 -1
  5. package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +22 -2
  6. package/.agents/skills/qa-memory-os/SKILL.md +21 -4
  7. package/.agents/skills/security-dast-sentinel/SKILL.md +1 -1
  8. package/.agents/skills/token-and-context-optimizer/SKILL.md +1 -1
  9. package/.agents/skills/verification-before-completion/SKILL.md +1 -1
  10. package/AGENTS.md +3 -2
  11. package/CLAUDE.md +3 -3
  12. package/README.en.md +9 -9
  13. package/README.md +9 -9
  14. package/agentskills.json +2 -2
  15. package/bin/agent-qa.js +1 -1
  16. package/docs/ARCHITECTURE.en.md +3 -3
  17. package/docs/ARCHITECTURE.md +2 -2
  18. package/docs/CI_CD_INTEGRATION.en.md +6 -6
  19. package/docs/CI_CD_INTEGRATION.md +6 -6
  20. package/docs/CLI_REFERENCE.md +1 -1
  21. package/docs/PERFORMANCE_AUDIT_REPORT.md +1 -1
  22. package/docs/QUALITY_GATES.en.md +1 -1
  23. package/docs/QUALITY_GATES.md +1 -1
  24. package/package.json +1 -1
  25. package/plugin.json +1 -1
  26. package/skills_manifest.json +103 -54
  27. package/synapse.config.json +1 -1
  28. package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +3 -3
  29. package/templates/ai_bridges/CLAUDE.md +3 -3
  30. package/templates/ci/github-actions-synapse.yml +2 -2
  31. package/templates/ci/gitlab-ci-synapse.yml +1 -1
  32. package/templates/ui/index.html +16 -16
  33. package/templates/welcome.html.tmpl +26 -26
  34. package/tools/TOOLS_RUNBOOK.md +8 -8
  35. package/tools/__init__.py +1 -1
  36. package/tools/analyze_project.py +2 -2
  37. package/tools/browser_helpers.js +2 -2
  38. package/tools/bump_version.py +5 -15
  39. package/tools/cli.py +3 -3
  40. package/tools/count_tokens.py +29 -5
  41. package/tools/dashboard_generator.py +12 -12
  42. package/tools/distill_log.py +2 -8
  43. package/tools/fsm_enforcer.py +1 -1
  44. package/tools/hub_publisher.py +38 -0
  45. package/tools/mcp_docx_server.py +1 -1
  46. package/tools/mcp_excel_server.py +1 -1
  47. package/tools/mcp_server.py +1 -1
  48. package/tools/repo_map.py +308 -106
  49. package/tools/setup_project.py +3 -3
  50. package/tools/sync_agent_rules.py +3 -3
  51. package/tools/ui_server.py +1 -1
  52. package/tools/update_sentinel.py +6 -6
  53. package/tools/verify_all.py +10 -5
  54. package/tools/welcome_page.py +2 -2
@@ -436,8 +436,8 @@
436
436
  <!-- Top Metrics -->
437
437
  <section class="metric-grid">
438
438
  <div class="metric-card">
439
- <div class="metric-label" data-i18n="metric_gates_label">11 Quality Gates DoD</div>
440
- <div class="metric-val">11 / 11 <span class="metric-sub" data-i18n="metric_gates_sub">100% TUÂN THỦ</span></div>
439
+ <div class="metric-label" data-i18n="metric_gates_label">10 Quality Gates DoD</div>
440
+ <div class="metric-val">10 / 10 <span class="metric-sub" data-i18n="metric_gates_sub">100% TUÂN THỦ</span></div>
441
441
  </div>
442
442
  <div class="metric-card">
443
443
  <div class="metric-label" data-i18n="metric_mutation_label">Micro-Mutation Sensitivity</div>
@@ -460,13 +460,13 @@
460
460
  </div>
461
461
  <div class="action-grid">
462
462
 
463
- <!-- Action 1: Verify 11 Gates -->
463
+ <!-- Action 1: Verify 10 Gates -->
464
464
  <div class="action-card">
465
465
  <div class="action-header">
466
466
  <div class="action-icon">🛡️</div>
467
467
  <div class="action-info">
468
- <h3 data-i18n="act_verify_title">Verify 11 Quality Gates</h3>
469
- <p data-i18n="act_verify_desc">Thẩm định toàn diện 11 cổng chất lượng Definition-of-Done trước khi bàn giao.</p>
468
+ <h3 data-i18n="act_verify_title">Verify 10 Quality Gates</h3>
469
+ <p data-i18n="act_verify_desc">Thẩm định toàn diện 10 cổng chất lượng Definition-of-Done trước khi bàn giao.</p>
470
470
  </div>
471
471
  </div>
472
472
  <button class="btn-run" onclick="triggerJob('verify')" id="btn-verify">
@@ -680,7 +680,7 @@
680
680
  vi: {
681
681
  nav_dashboard: "Bảng Điều Hành",
682
682
  nav_welcome: "Giới Thiệu",
683
- metric_gates_label: "11 Quality Gates DoD",
683
+ metric_gates_label: "10 Quality Gates DoD",
684
684
  metric_gates_sub: "100% TUÂN THỦ",
685
685
  metric_mutation_label: "Độ Nhạy Kiểm Thử Đột Biến",
686
686
  metric_skills_label: "Danh Mục Kỹ Năng QA",
@@ -688,8 +688,8 @@
688
688
  metric_ecosystem_label: "Hệ Sinh Thái Tích Hợp",
689
689
  section_actions: "Bảng Điều Khiển Tác Vụ 1-Click (Mission Actions)",
690
690
  section_trends: "Biểu Đồ Xu Hướng Chất Lượng (Historical Quality Trends)",
691
- act_verify_title: "Verify 11 Quality Gates",
692
- act_verify_desc: "Thẩm định toàn diện 11 cổng chất lượng Definition-of-Done trước khi bàn giao.",
691
+ act_verify_title: "Verify 10 Quality Gates",
692
+ act_verify_desc: "Thẩm định toàn diện 10 cổng chất lượng Definition-of-Done trước khi bàn giao.",
693
693
  act_lint_title: "Meta Infer AST Linter",
694
694
  act_lint_desc: "Quét tĩnh AST 0.02s phát hiện test pass ảo, tautology và ngoại lệ bị nuốt.",
695
695
  act_mutate_title: "Micro-Mutation Sentinel",
@@ -711,7 +711,7 @@
711
711
  en: {
712
712
  nav_dashboard: "Executive Dashboard",
713
713
  nav_welcome: "Welcome Guide",
714
- metric_gates_label: "11 Quality Gates DoD",
714
+ metric_gates_label: "10 Quality Gates DoD",
715
715
  metric_gates_sub: "100% COMPLIANT",
716
716
  metric_mutation_label: "Mutation Kill Score",
717
717
  metric_skills_label: "QA Skill Catalog",
@@ -719,8 +719,8 @@
719
719
  metric_ecosystem_label: "Ecosystem Extensions",
720
720
  section_actions: "1-Click Mission Action Deck",
721
721
  section_trends: "Historical Quality Trends",
722
- act_verify_title: "Verify 11 Quality Gates",
723
- act_verify_desc: "Comprehensive 11 Quality Gates DoD verification before commit/release.",
722
+ act_verify_title: "Verify 10 Quality Gates",
723
+ act_verify_desc: "Comprehensive 10 Quality Gates DoD verification before commit/release.",
724
724
  act_lint_title: "Meta Infer AST Linter",
725
725
  act_lint_desc: "0.02s static AST scanner detecting fake-passes, tautologies, and swallowed errors.",
726
726
  act_mutate_title: "Micro-Mutation Sentinel",
@@ -773,7 +773,7 @@
773
773
  "\n[GATE 10] Running Performance & SLA Sentinel (k6, JMeter, Playwright CWV)...",
774
774
  "[PASS] 100% Verified: No SLA breaches detected (P95 < 500ms, Error Rate < 1.0%).",
775
775
  "\n======================================================================",
776
- "[ALL 11 QUALITY GATES PASSED - 100% DoD COMPLIANT]",
776
+ "[ALL 10 QUALITY GATES PASSED - 100% DoD COMPLIANT]",
777
777
  " Repository is 100% compliant, secure, and ready for execution/CI/CD.",
778
778
  "======================================================================"
779
779
  ],
@@ -828,7 +828,7 @@
828
828
  " [2/5] Mapping Page Classes & AST Signatures (repo_map.txt updated)",
829
829
  " [3/5] Scanning Static Defects & Fake-Passes (0 defects)",
830
830
  " [4/5] Auditing Synthetic Data Lifecycle & Idempotency (PASS)",
831
- " [5/5] Verifying 11 Quality Gates DoD (100% COMPLIANT)\n",
831
+ " [5/5] Verifying 10 Quality Gates DoD (100% COMPLIANT)\n",
832
832
  " Report Path: reports/PROJECT_HEALTH_REPORT.md",
833
833
  "======================================================================",
834
834
  "✅ HEALTH VERDICT: GRADE A+ (Production Ready)",
@@ -862,7 +862,7 @@
862
862
  "======================================================================",
863
863
  " SYNAPSE HUB — EXECUTIVE HTML DASHBOARD SYNTHESIS ",
864
864
  "======================================================================",
865
- "Scanning skills catalog, 11 Quality Gates status, and AST repository maps...",
865
+ "Scanning skills catalog, 10 Quality Gates status, and AST repository maps...",
866
866
  " [INDEXED] 53 Specialized Skills indexed with Vietnamese descriptions.",
867
867
  " [RENDERED] Inline SVGs and bilingual toggles generated (zero CDN dependencies).",
868
868
  " [SAVED] Standalone dashboard: reports/PROJECT_DASHBOARD.html\n",
@@ -916,7 +916,7 @@
916
916
  alert(
917
917
  '💡 Để kết nối với máy chủ cục bộ và chạy lệnh thật trên máy tính của bạn:\n\n' +
918
918
  '1. Mở cửa sổ Terminal trong thư mục agent-skills\n' +
919
- '2. Gõ lệnh: npx synapse-hub ui (hoặc: python tools/cli.py ui)\n' +
919
+ '2. Gõ lệnh: npx @teevee98/synapse-hub ui (hoặc: python tools/cli.py ui)\n' +
920
920
  '3. Máy chủ sẽ khởi chạy tại http://127.0.0.1:8080 và tự động kết nối!'
921
921
  );
922
922
  }
@@ -987,7 +987,7 @@
987
987
  } catch (err) {
988
988
  // Fallback to high-fidelity interactive simulation
989
989
  appendConsoleLine(`ℹ️ [SYNAPSE HUB] Máy chủ cục bộ chưa kích hoạt tại ${getApiBaseUrl() || 'http://127.0.0.1:8080'}.`, 'line-warn');
990
- appendConsoleLine(`👉 Để chạy thật: Gõ 'npx synapse-hub ui' trong terminal.`, 'line-info');
990
+ appendConsoleLine(`👉 Để chạy thật: Gõ 'npx @teevee98/synapse-hub ui' trong terminal.`, 'line-info');
991
991
  appendConsoleLine(`⚡ [CHẾ ĐỘ MÔ PHỎNG TƯƠNG TÁC ACTIVE] Đang phát luồng log trực tiếp...\n`, 'line-pass');
992
992
  runSimulation(cmdName);
993
993
  }
@@ -1019,7 +1019,7 @@
1019
1019
  <div class="hero-modes" style="display: flex; justify-content: center; gap: 16px; margin: 0 auto 32px; max-width: 820px; flex-wrap: wrap;">
1020
1020
  <div style="background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 14px 18px; text-align: left; flex: 1; min-width: 260px;">
1021
1021
  <div style="font-weight: 700; font-size: 13px; color: var(--accent-cyan); margin-bottom: 4px;" data-i18n="mode_cli_title">🛠️ Cách 1: CLI Độc Lập (Zero AI)</div>
1022
- <div style="font-size: 12.5px; color: var(--text-secondary); line-height: 1.45;" data-i18n="mode_cli_desc">Chạy <code>npx synapse-hub lint</code> phát hiện test pass ảo, nén log CI hoặc xuất Excel chuẩn mà không cần cấu hình.</div>
1022
+ <div style="font-size: 12.5px; color: var(--text-secondary); line-height: 1.45;" data-i18n="mode_cli_desc">Chạy <code>npx @teevee98/synapse-hub lint</code> phát hiện test pass ảo, nén log CI hoặc xuất Excel chuẩn mà không cần cấu hình.</div>
1023
1023
  </div>
1024
1024
  <div style="background: rgba(99, 102, 241, 0.06); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 12px; padding: 14px 18px; text-align: left; flex: 1; min-width: 260px;">
1025
1025
  <div style="font-weight: 700; font-size: 13px; color: #a5b4fc; margin-bottom: 4px;" data-i18n="mode_agent_title">🧠 Cách 2: Chốt Chặn Cho AI Coding</div>
@@ -1146,7 +1146,7 @@
1146
1146
  <h3 class="highlight-title" data-i18n="h1_title">Bắt Test Pass Ảo (Fake-Pass Sentinel)</h3>
1147
1147
  <p class="highlight-desc" data-i18n="h1_desc">AI coding agents thường sinh test case rỗng hoặc bọc try/catch bỏ qua lỗi để tạo kết quả pass giả. Linter AST phân tích cây cú pháp trong 0.02s giúp phát hiện ngay các bài test thiếu assertion hoặc bỏ qua ngoại lệ ngầm.</p>
1148
1148
  </div>
1149
- <div class="code-snippet">npx synapse-hub lint</div>
1149
+ <div class="code-snippet">npx @teevee98/synapse-hub lint</div>
1150
1150
  </div>
1151
1151
 
1152
1152
  <div class="highlight-card">
@@ -1155,7 +1155,7 @@
1155
1155
  <h3 class="highlight-title" data-i18n="h2_title">Đo Độ Nhạy Assert (Micro-Mutator)</h3>
1156
1156
  <p class="highlight-desc" data-i18n="h2_desc">Tự động biến đổi logic (đảo toán tử, sửa điều kiện) để kiểm tra xem các câu lệnh assert có thực sự bắt được lỗi hay không (yêu cầu Mutation Score &ge; 80%).</p>
1157
1157
  </div>
1158
- <div class="code-snippet">npx synapse-hub mutate --min-score 80</div>
1158
+ <div class="code-snippet">npx @teevee98/synapse-hub mutate --min-score 80</div>
1159
1159
  </div>
1160
1160
 
1161
1161
  <div class="highlight-card">
@@ -1164,7 +1164,7 @@
1164
1164
  <h3 class="highlight-title" data-i18n="h3_title">Lọc 95% Nhiễu Log CI/CD</h3>
1165
1165
  <p class="highlight-desc" data-i18n="h3_desc">Log CLI và Gradle dài hàng nghìn dòng làm AI bị tràn bộ nhớ và mất tập trung. Bộ lọc thông minh cô đọng dữ liệu còn vài dòng chứa đúng dòng gây lỗi, exception gốc và 3 request gần nhất.</p>
1166
1166
  </div>
1167
- <div class="code-snippet">npx synapse-hub distill &lt;log_file&gt;</div>
1167
+ <div class="code-snippet">npx @teevee98/synapse-hub distill &lt;log_file&gt;</div>
1168
1168
  </div>
1169
1169
  </div>
1170
1170
  </section>
@@ -1267,8 +1267,8 @@
1267
1267
  <!-- Tab Doctor -->
1268
1268
  <div id="tab-doctor" class="tab-pane">
1269
1269
  <div class="cmd-line">
1270
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub doctor</div>
1271
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub doctor')">Copy</button>
1270
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub doctor</div>
1271
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub doctor')">Copy</button>
1272
1272
  </div>
1273
1273
  <p class="cmd-desc" data-i18n="t_desc_doctor">🩺 Quét chẩn đoán 1-click kiểm tra môi trường Python 3.9+, Node.js, Git hook, trình duyệt, và Bộ nhớ Agent Trung tâm.</p>
1274
1274
  </div>
@@ -1276,8 +1276,8 @@
1276
1276
  <!-- Tab Setup -->
1277
1277
  <div id="tab-setup" class="tab-pane" style="display:none;">
1278
1278
  <div class="cmd-line">
1279
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub setup</div>
1280
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub setup')">Copy</button>
1279
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub setup</div>
1280
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub setup')">Copy</button>
1281
1281
  </div>
1282
1282
  <p class="cmd-desc" data-i18n="t_desc_setup">⚡ Cài đặt dự án 1-click: sinh hướng dẫn PROJECT_AI_GUIDE.md, cầu nối Universal AI bridges, bản đồ AST, và git hook chặn rò rỉ.</p>
1283
1283
  </div>
@@ -1285,8 +1285,8 @@
1285
1285
  <!-- Tab Init Config -->
1286
1286
  <div id="tab-init-cfg" class="tab-pane" style="display:none;">
1287
1287
  <div class="cmd-line">
1288
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub init-config</div>
1289
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub init-config')">Copy</button>
1288
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub init-config</div>
1289
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub init-config')">Copy</button>
1290
1290
  </div>
1291
1291
  <p class="cmd-desc" data-i18n="t_desc_init_cfg">⚙️ Khởi tạo nhanh file cấu hình .synapse.json chuẩn hóa cho dự án Spoke (hỗ trợ interactive wizard và cờ tự động --template, --author, --sheet-name).</p>
1292
1292
  </div>
@@ -1294,8 +1294,8 @@
1294
1294
  <!-- Tab Verify -->
1295
1295
  <div id="tab-verify" class="tab-pane" style="display:none;">
1296
1296
  <div class="cmd-line">
1297
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub verify</div>
1298
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub verify')">Copy</button>
1297
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub verify</div>
1298
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub verify')">Copy</button>
1299
1299
  </div>
1300
1300
  <p class="cmd-desc" data-i18n="t_desc_verify">🛡️ Thực thi toàn bộ 10 Quality Gates Definition-of-Done (UTF-8 No BOM, Clean POM, Đường dẫn khả chuyển, Mutation &ge; 80%, Skill Routing Guard, SLA Sentinel).</p>
1301
1301
  </div>
@@ -1303,8 +1303,8 @@
1303
1303
  <!-- Tab Lint -->
1304
1304
  <div id="tab-lint" class="tab-pane" style="display:none;">
1305
1305
  <div class="cmd-line">
1306
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub lint</div>
1307
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub lint')">Copy</button>
1306
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub lint</div>
1307
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub lint')">Copy</button>
1308
1308
  </div>
1309
1309
  <p class="cmd-desc" data-i18n="t_desc_lint">🔍 Quét AST phát hiện các test case pass ảo (0 assertion), khối catch rỗng và ngoại lệ bị bỏ qua ngầm (swallowed exceptions) trên toàn bộ test script.</p>
1310
1310
  </div>
@@ -1312,8 +1312,8 @@
1312
1312
  <!-- Tab Excel -->
1313
1313
  <div id="tab-excel" class="tab-pane" style="display:none;">
1314
1314
  <div class="cmd-line">
1315
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub export-excel &lt;path_to_markdown&gt;</div>
1316
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub export-excel')">Copy</button>
1315
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub export-excel &lt;path_to_markdown&gt;</div>
1316
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub export-excel')">Copy</button>
1317
1317
  </div>
1318
1318
  <p class="cmd-desc" data-i18n="t_desc_excel">📊 Biên dịch tài liệu test case markdown sang file bảng tính Excel 12 cột chuyên nghiệp có công thức và danh sách chọn trạng thái.</p>
1319
1319
  </div>
@@ -1321,8 +1321,8 @@
1321
1321
  <!-- Tab Auto Heal (Reflexion) -->
1322
1322
  <div id="tab-heal" class="tab-pane" style="display:none;">
1323
1323
  <div class="cmd-line">
1324
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub auto-heal</div>
1325
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub auto-heal')">Copy</button>
1324
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub auto-heal</div>
1325
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub auto-heal')">Copy</button>
1326
1326
  </div>
1327
1327
  <p class="cmd-desc" data-i18n="t_desc_heal">🔄 Tự phục hồi test lỗi theo mô hình Reflexion: AI phân tích call stack, đề xuất bản vá và ghi nhớ các cách sửa hỏng để không bao giờ lặp lại lỗi cũ.</p>
1328
1328
  </div>
@@ -1330,8 +1330,8 @@
1330
1330
  <!-- Tab Set-of-Marks (SoM) -->
1331
1331
  <div id="tab-som" class="tab-pane" style="display:none;">
1332
1332
  <div class="cmd-line">
1333
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub som &lt;image_path&gt;</div>
1334
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub som')">Copy</button>
1333
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub som &lt;image_path&gt;</div>
1334
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub som')">Copy</button>
1335
1335
  </div>
1336
1336
  <p class="cmd-desc" data-i18n="t_desc_som">🏷️ Gắn nhãn thị giác trực tiếp lên màn hình Canvas/GIS: Đánh số thứ tự lên từng nút bấm để AI click chính xác mà không cần mã HTML DOM.</p>
1337
1337
  </div>
@@ -1339,8 +1339,8 @@
1339
1339
  <!-- Tab Dashboard -->
1340
1340
  <div id="tab-dashboard" class="tab-pane" style="display:none;">
1341
1341
  <div class="cmd-line">
1342
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub dashboard</div>
1343
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub dashboard')">Copy</button>
1342
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub dashboard</div>
1343
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub dashboard')">Copy</button>
1344
1344
  </div>
1345
1345
  <p class="cmd-desc" data-i18n="t_desc_dashboard">📈 Khởi tạo và mở trang Báo cáo QA Tổng thể dạng HTML độc lập ngay trong trình duyệt của bạn.</p>
1346
1346
  </div>
@@ -1348,8 +1348,8 @@
1348
1348
  <!-- Tab Watch -->
1349
1349
  <div id="tab-watch" class="tab-pane" style="display:none;">
1350
1350
  <div class="cmd-line">
1351
- <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub watch</div>
1352
- <button class="copy-btn" onclick="copyCmd('npx synapse-hub watch')">Copy</button>
1351
+ <div class="cmd-text"><span class="prompt">$</span>npx @teevee98/synapse-hub watch</div>
1352
+ <button class="copy-btn" onclick="copyCmd('npx @teevee98/synapse-hub watch')">Copy</button>
1353
1353
  </div>
1354
1354
  <p class="cmd-desc" data-i18n="t_desc_watch">👁️ Bảng điều khiển TUI HUD trực quan thời gian thực, tích hợp cơ chế giám sát tự động chống treo/kẹt mạng và chống vòng lặp thao tác.</p>
1355
1355
  </div>
@@ -1610,7 +1610,7 @@
1610
1610
  hero_title: "Trung Tâm Trí Tuệ QA Toàn Diện<br>Dành Cho AI Coding Agents",
1611
1611
  hero_desc: "Tăng cường sức mạnh cho QA Engineers và các Autonomous AI Agent trên cả 4 mảng: <strong>Manual</strong>, <strong>Automation</strong>, <strong>API</strong> và <strong>Performance Testing</strong>. Trang bị các Sentinel phân tích cú pháp AST 100% offline, 9 hồ sơ Swarm Agent, và 10 Quality Gates Definition-of-Done.",
1612
1612
  mode_cli_title: "🛠️ Cách 1: CLI Độc Lập (Zero AI)",
1613
- mode_cli_desc: "Chạy <code>npx synapse-hub lint</code> phát hiện test pass ảo, nén log CI hoặc xuất Excel chuẩn mà không cần cấu hình.",
1613
+ mode_cli_desc: "Chạy <code>npx @teevee98/synapse-hub lint</code> phát hiện test pass ảo, nén log CI hoặc xuất Excel chuẩn mà không cần cấu hình.",
1614
1614
  mode_agent_title: "🧠 Cách 2: Chốt Chặn Cho AI Coding",
1615
1615
  mode_agent_desc: "Tích hợp vào Cursor, Antigravity, Claude Code làm bộ quy chuẩn — ngăn AI sinh mã nguồn cẩu thả hoặc bỏ qua ngoại lệ ngầm.",
1616
1616
  btn_quickstart: "🚀 Bắt Đầu Trong 5 Giây",
@@ -1788,7 +1788,7 @@
1788
1788
  hero_title: "The Complete QA Intelligence Hub<br>for AI Coding Agents",
1789
1789
  hero_desc: "Empowering QA Engineers and Autonomous AI Agents across <strong>Manual</strong>, <strong>Automation</strong>, <strong>API</strong>, and <strong>Performance</strong> testing. Equipped with 100% offline-first AST sentinels, 9 swarm profiles, and 10 Quality Gates Definition-of-Done.",
1790
1790
  mode_cli_title: "🛠️ Mode 1: Standalone CLI (Zero AI)",
1791
- mode_cli_desc: "Run <code>npx synapse-hub lint</code> to catch fake passes, distill CI logs, or export Excel with zero setup.",
1791
+ mode_cli_desc: "Run <code>npx @teevee98/synapse-hub lint</code> to catch fake passes, distill CI logs, or export Excel with zero setup.",
1792
1792
  mode_agent_title: "🧠 Mode 2: Guardrail for AI Coding",
1793
1793
  mode_agent_desc: "Mount into Cursor, Antigravity, or Claude Code as quality guardrails — stopping AI from writing brittle or tautological tests.",
1794
1794
  btn_quickstart: "🚀 5-Second Quickstart",
@@ -10,11 +10,11 @@
10
10
  | Practical Agent Context | Required Tool | Typical Execution Command |
11
11
  | :--- | :--- | :--- |
12
12
  | **Autonomous Bootstrap (New project / "setup project")** | `tools/setup_project.py` | `python tools/setup_project.py [target]` (or `agent-qa setup`).<br/>*Autonomous:* Detects stack, generates `PROJECT_AI_GUIDE.md`, installs `pre-push` Git hook, runs initial audit. |
13
- | **Prerequisites & Environment Health Diagnostic ("doctor")** | `tools/check_env.py` | `agent-qa doctor` (or `npx synapse-hub doctor`) |
14
- | **Visual Product Landing Page & Interactive Guide ("welcome")** | `tools/welcome_page.py` | `agent-qa welcome` (or `npx synapse-hub welcome`) |
15
- | **Flaky Test Detection & Quarantine Governance ("flaky")** | `tools/flaky_detector.py` | `agent-qa flaky --detect` (or `npx synapse-hub flaky`) |
16
- | **Executive Project Health & Quality Dashboard ("dashboard")** | `tools/dashboard_generator.py` | `agent-qa dashboard` (or `npx synapse-hub dashboard`) |
17
- | **Clean Uninstall of AI Bridges & Global Plugins ("uninstall")** | `tools/cli.py` | `agent-qa uninstall` (or `npx synapse-hub uninstall`) |
13
+ | **Prerequisites & Environment Health Diagnostic ("doctor")** | `tools/check_env.py` | `agent-qa doctor` (or `npx @teevee98/synapse-hub doctor`) |
14
+ | **Visual Product Landing Page & Interactive Guide ("welcome")** | `tools/welcome_page.py` | `agent-qa welcome` (or `npx @teevee98/synapse-hub welcome`) |
15
+ | **Flaky Test Detection & Quarantine Governance ("flaky")** | `tools/flaky_detector.py` | `agent-qa flaky --detect` (or `npx @teevee98/synapse-hub flaky`) |
16
+ | **Executive Project Health & Quality Dashboard ("dashboard")** | `tools/dashboard_generator.py` | `agent-qa dashboard` (or `npx @teevee98/synapse-hub dashboard`) |
17
+ | **Clean Uninstall of AI Bridges & Global Plugins ("uninstall")** | `tools/cli.py` | `agent-qa uninstall` (or `npx @teevee98/synapse-hub uninstall`) |
18
18
  | **Comprehensive Health & AST Analysis ("analyze project")** | `tools/analyze_project.py` | `python tools/analyze_project.py [target]` (or `agent-qa analyze`).<br/>*Post-Audit:* Stages and commits `PROJECT_HEALTH_REPORT.md` & `repo_map.txt` locally; confirms with user before pushing to remote. |
19
19
  | **Action Safety Firewall (Environment Protection)** | `tools/safety_firewall.py` | `python tools/safety_firewall.py --text "Delete" --action click` (or `agent-qa safety-check`) |
20
20
  | **API Contract Drift (Breaking Change Detection)** | `tools/api_drift_sentinel.py` | `python tools/api_drift_sentinel.py --old base.json --new curr.json` (or `agent-qa contract-drift`) |
@@ -73,14 +73,14 @@
73
73
  | **Lookup XPath Locator in cached memory** | `tools/lookup_xpath.py` | `python tools/lookup_xpath.py "<keyword>"` |
74
74
  | **Lookup Test Case metadata** | `tools/lookup_tc.py` | `python tools/lookup_tc.py "<keyword_or_id>"` |
75
75
  | **Linting Markdown documentation quality** | `tools/lint_ai_docs.py` | `python tools/lint_ai_docs.py` |
76
- | **Auditing AI Agent Skills & MCP Security** | `tools/skillspector.py` | `python tools/skillspector.py [path]` (or `agent-qa skillspector [path]` / `npx synapse-hub skillspector`) |
76
+ | **Auditing AI Agent Skills & MCP Security** | `tools/skillspector.py` | `python tools/skillspector.py [path]` (or `agent-qa skillspector [path]` / `npx @teevee98/synapse-hub skillspector`) |
77
77
  | **Author Provenance & Anti-Tamper Integrity Guard** | `tools/author_integrity.py` | `python tools/author_integrity.py` (or `agent-qa verify-author` / `verify_all pre-flight`) |
78
78
  | **Cross-Platform Token & Cost Auditor (Antigravity / Cursor / Claude)** | `tools/count_tokens.py` | `python tools/count_tokens.py` (or `--platform cursor` / `--platform all --list` / `--file <path>`) |
79
79
  | **Standalone Executive HTML Dashboard Generator** | `tools/dashboard_generator.py` | `python tools/dashboard_generator.py` (or `agent-qa dashboard [--open]`) |
80
80
  | **Real-Time Incremental Watch Mode Sentinel** | `tools/watch_mode.py` | `python tools/watch_mode.py` (or `agent-qa watch [--once]`) |
81
81
  | **Technical Debt & Shortcut Harvester ("debt")** | `tools/debt_harvester.py` | `agent-qa debt [path]` (or `python tools/debt_harvester.py --scan`).<br/>*Autonomous:* Scans `shortcut:` markers across repo, generates tracked markdown ledger. |
82
82
  | **6-Pillar Senior Git Diff Reviewer ("review")** | `tools/senior_code_review.py` | `agent-qa review [--staged]` (or `python tools/senior_code_review.py`).<br/>*Autonomous:* Reviews diff across Bugs, Security, Concurrency, Missing Tests, Speed, Bloat. |
83
- | **Upstream Version Check & 1-Click Self-Update** | `tools/update_sentinel.py` | `python tools/update_sentinel.py --check / --update` (or `agent-qa update` / `npx synapse-hub update`) |
83
+ | **Upstream Version Check & 1-Click Self-Update** | `tools/update_sentinel.py` | `python tools/update_sentinel.py --check / --update` (or `agent-qa update` / `npx @teevee98/synapse-hub update`) |
84
84
  | **Tier-2 Skill Routing & Collision Guard (Gate 9)** | `tools/skill_collision_guard.py` | `python tools/skill_collision_guard.py` (or `verify_all Gate 9` / `--route "<intent>"`) |
85
85
  | **GoEx Reversible Sandbox Teardown Stack** | `tools/reversible_sandbox.py` | `python tools/reversible_sandbox.py run --cmd "<cmd>" --rollback "<cleanup>"` |
86
86
  | **Multi-Trial Episodic Reflexion Loop (K=3)** | `tools/auto_heal_reflexion.py` | `python tools/auto_heal_reflexion.py --test-cmd "<cmd>" --max-trials 3` |
@@ -1029,7 +1029,7 @@ agent-qa update
1029
1029
  - **Trigger Condition:** User requests "push hub" or "publish hub" after SemVer bump.
1030
1030
  - **CLI Syntax:**
1031
1031
  ```bash
1032
- python tools/hub_publisher.py [--dry-run]
1032
+ python tools/hub_publisher.py [--yes] [--dry-run]
1033
1033
  ```
1034
1034
 
1035
1035
  ---
package/tools/__init__.py CHANGED
@@ -14,7 +14,7 @@ Domain Packages:
14
14
  - tools.mcp: Model Context Protocol servers (core QA and Excel manipulation).
15
15
  """
16
16
 
17
- __version__ = "3.8.3"
17
+ __version__ = "3.8.5"
18
18
  __author__ = "Thế Vị (@TeeVee98)"
19
19
 
20
20
  # Expose domain packages
@@ -146,7 +146,7 @@ def run_full_analysis(target_repo):
146
146
  # Step 5: 10 Quality Gates DoD Verification
147
147
  print(f"\n{BOLD}[5/5] Verifying 10 Quality Gates DoD (verify_all)...{RESET}")
148
148
  if not verify_all.verify_engine_preflight(target_repo, mode=mode, silent=True):
149
- print(f" ⚠️ Pre-flight Engine Integrity Guard failed: Author Attribution / MIT License Violated.")
149
+ print(" ⚠️ Pre-flight Engine Integrity Guard failed: Author Attribution / MIT License Violated.")
150
150
  summary["gates_status"] = "PREFLIGHT_TAMPER_DETECTED"
151
151
  return summary
152
152
 
@@ -213,7 +213,7 @@ def run_full_analysis(target_repo):
213
213
  > 1. `PROJECT_HEALTH_REPORT.md` (immediate architecture status, warnings, and DoD readiness).
214
214
  > 2. `repo_map.txt` (instant lookup for Page Classes, methods, and parameters in < 600 tokens).
215
215
  > - **Post-Audit Git Protocol:** Once analysis completes, stage and commit updated in-project artifacts locally (`git add PROJECT_HEALTH_REPORT.md repo_map.txt && git commit -m "docs(audit): update project health report and AST repo map"`). Per `git-push-protocol.md`, always confirm with the user before executing `git push`.
216
- > - Whenever the user requests **"analyze project"** or **"project audit"**, re-run `npx synapse-hub analyze` to update this file in-place.
216
+ > - Whenever the user requests **"analyze project"** or **"project audit"**, re-run `npx @teevee98/synapse-hub analyze` to update this file in-place.
217
217
  """
218
218
  with open(report_in_reports, "w", encoding="utf-8") as f:
219
219
  f.write(md_content)
@@ -13,7 +13,7 @@
13
13
  (function () {
14
14
  'use strict';
15
15
 
16
- if (window.__qa && window.__qa.__version === '3.8.3') {
16
+ if (window.__qa && window.__qa.__version === '3.8.5') {
17
17
  return window.__qa;
18
18
  }
19
19
 
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  const qa = {
50
- __version: '3.8.3',
50
+ __version: '3.8.5',
51
51
 
52
52
  /**
53
53
  * 1. Smart Action Batching
@@ -194,23 +194,13 @@ def update_file(rel_path: str, pattern: str, replacement: str, dry_run: bool = F
194
194
  return True
195
195
 
196
196
  def run_tests() -> bool:
197
- """Executes the test suite and 10 DoD Quality Gates before release.
197
+ """Executes the 10 DoD Quality Gates before and after release.
198
198
 
199
- Returns:
200
- True if all tests and gates pass.
199
+ Note: verify_all.py already executes the full regression test suite
200
+ under Gate 7 (with multi-worker parallel xdist), so calling standalone
201
+ pytest here is redundant.
201
202
  """
202
- print("\n🔍 Running verification suite...")
203
- cmd = [sys.executable, "-m", "pytest", "tests", "-q"]
204
- try:
205
- res = subprocess.run(cmd, cwd=REPO_ROOT, timeout=240.0)
206
- if res.returncode != 0:
207
- print("❌ Unit tests failed! Aborting release.")
208
- return False
209
- print("✅ All unit tests PASSED.")
210
- except subprocess.TimeoutExpired:
211
- print("❌ Unit tests timed out after 240s! Aborting release.")
212
- return False
213
-
203
+ print("\n🔍 Running 10 DoD Quality Gates verification...")
214
204
  verify_script = os.path.join(REPO_ROOT, "tools", "verify_all.py")
215
205
  try:
216
206
  res_verify = subprocess.run([sys.executable, verify_script], cwd=REPO_ROOT, timeout=240.0)
package/tools/cli.py CHANGED
@@ -99,7 +99,7 @@ def cmd_set_lang(args):
99
99
  def cmd_version(args):
100
100
  """Displays the current hub version, skill catalog count, and license information."""
101
101
  manifest_path = os.path.join(REPO_ROOT, "skills_manifest.json")
102
- version = "3.8.3"
102
+ version = "3.8.5"
103
103
  if os.path.exists(manifest_path):
104
104
  try:
105
105
  import json
@@ -680,14 +680,14 @@ def cmd_trend(args):
680
680
 
681
681
  def _hub_version():
682
682
  manifest_path = os.path.join(REPO_ROOT, "skills_manifest.json")
683
- version = "3.8.3"
683
+ version = "3.8.5"
684
684
  if os.path.exists(manifest_path):
685
685
  try:
686
686
  import json
687
687
  with open(manifest_path, "r", encoding="utf-8") as f:
688
688
  version = json.load(f).get("version", version)
689
689
  except (OSError, json.JSONDecodeError):
690
- version = "3.8.3"
690
+ version = "3.8.5"
691
691
  return version
692
692
 
693
693
 
@@ -720,7 +720,7 @@ def calculate_cost(input_tokens: int, cache_tokens: int, output_tokens: int, mod
720
720
  }
721
721
 
722
722
 
723
- def calculate_hub_savings(input_tokens: int, cache_tokens: int, output_tokens: int, model_key: str = DEFAULT_MODEL) -> Dict[str, Any]:
723
+ def calculate_hub_savings(input_tokens: int, cache_tokens: int, output_tokens: int, model_key: str = DEFAULT_MODEL, turns_count: Optional[int] = None) -> Dict[str, Any]:
724
724
  """
725
725
  Empirical Hub Savings Model:
726
726
  Compares actual Synapse-Hub execution against vanilla/non-Hub agent execution:
@@ -728,12 +728,23 @@ def calculate_hub_savings(input_tokens: int, cache_tokens: int, output_tokens: i
728
728
  2. Sparse Retrieval (Repo Map): 500-token AST map vs reading full 4,000-line classes.
729
729
  3. Compact AOM: <500-token interactive tree vs 15,000-token raw HTML DOM.
730
730
  4. KV-Cache Alignment: 95%+ Cache Hit vs <15% without prefix stability.
731
+ 5. Lean Telemetry Badge: ~180 tokens/turn saved by omitting verbose footer.
731
732
  """
732
733
  pricing = PRICING_TABLE.get(model_key, PRICING_TABLE[DEFAULT_MODEL])
733
734
 
734
735
  estimated_non_hub_input = int(input_tokens * 3.5 + cache_tokens * 0.82)
735
736
  estimated_non_hub_cache = int(cache_tokens * 0.18)
736
- estimated_non_hub_output = output_tokens
737
+
738
+ # Output savings from Lean Telemetry Badge (~180 tokens/turn saved vs verbose markdown table)
739
+ if turns_count is not None and turns_count > 0:
740
+ estimated_saved_output = turns_count * 180
741
+ elif output_tokens > 0:
742
+ estimated_turns = max(1, output_tokens // 400)
743
+ estimated_saved_output = estimated_turns * 180
744
+ else:
745
+ estimated_saved_output = 0
746
+
747
+ estimated_non_hub_output = output_tokens + estimated_saved_output
737
748
 
738
749
  estimated_non_hub_total = estimated_non_hub_input + estimated_non_hub_cache + estimated_non_hub_output
739
750
  actual_hub_total = input_tokens + cache_tokens + output_tokens
@@ -786,7 +797,8 @@ def get_preflight_block_lines(platform: str = "antigravity", model_key: str = DE
786
797
  parsed_cur = adapter.parse_transcript(convs[0]["transcript_file"])
787
798
  if model_key == DEFAULT_MODEL and parsed_cur.get("detected_model"):
788
799
  model_key = parsed_cur["detected_model"]
789
- savings = calculate_hub_savings(w5["input_tokens"], w5["cache_read_tokens"], w5["output_tokens"], model_key)
800
+ turns_len = len(parsed_cur.get("turns", [])) if parsed_cur.get("turns") else None
801
+ savings = calculate_hub_savings(w5["input_tokens"], w5["cache_read_tokens"], w5["output_tokens"], model_key, turns_count=turns_len)
790
802
  if parsed_cur.get("turns"):
791
803
  turns = parsed_cur["turns"]
792
804
  target_t = turns[-1]
@@ -1148,7 +1160,13 @@ def main():
1148
1160
 
1149
1161
  if args.json:
1150
1162
  parsed["costs"] = calculate_cost(parsed["input_tokens"], parsed["cache_read_tokens"], parsed["output_tokens"], active_pricing)
1151
- parsed["savings"] = calculate_hub_savings(parsed["input_tokens"], parsed["cache_read_tokens"], parsed["output_tokens"], active_pricing)
1163
+ parsed["savings"] = calculate_hub_savings(
1164
+ parsed["input_tokens"],
1165
+ parsed["cache_read_tokens"],
1166
+ parsed["output_tokens"],
1167
+ active_pricing,
1168
+ turns_count=len(parsed.get("turns", []))
1169
+ )
1152
1170
  print(json.dumps(parsed, indent=2, ensure_ascii=False))
1153
1171
  else:
1154
1172
  format_table(parsed, f"File: {args.file}", active_pricing, args.turns, args.last_task)
@@ -1251,7 +1269,13 @@ def main():
1251
1269
  parsed["session_id"] = target_conv["id"]
1252
1270
  parsed["title"] = target_conv["title"]
1253
1271
  parsed["costs"] = calculate_cost(parsed["input_tokens"], parsed["cache_read_tokens"], parsed["output_tokens"], active_pricing)
1254
- parsed["savings"] = calculate_hub_savings(parsed["input_tokens"], parsed["cache_read_tokens"], parsed["output_tokens"], active_pricing)
1272
+ parsed["savings"] = calculate_hub_savings(
1273
+ parsed["input_tokens"],
1274
+ parsed["cache_read_tokens"],
1275
+ parsed["output_tokens"],
1276
+ active_pricing,
1277
+ turns_count=len(parsed.get("turns", []))
1278
+ )
1255
1279
  print(json.dumps(parsed, indent=2, ensure_ascii=False))
1256
1280
  else:
1257
1281
  format_table(
@@ -1218,8 +1218,8 @@ def _build_target_tables(assets: Dict[str, Any], stack_info: Dict[str, str], def
1218
1218
  </tr>
1219
1219
  """)
1220
1220
  else:
1221
- empty_pom_vi = "ℹ️ Chưa có Page Class nào được lập chỉ mục. Chạy <code>npx synapse-hub analyze</code> trong dự án để tạo bản đồ AST repo."
1222
- empty_pom_en = "ℹ️ No Page Classes indexed yet. Run <code>npx synapse-hub analyze</code> inside project to generate AST repo map."
1221
+ empty_pom_vi = "ℹ️ Chưa có Page Class nào được lập chỉ mục. Chạy <code>npx @teevee98/synapse-hub analyze</code> trong dự án để tạo bản đồ AST repo."
1222
+ empty_pom_en = "ℹ️ No Page Classes indexed yet. Run <code>npx @teevee98/synapse-hub analyze</code> inside project to generate AST repo map."
1223
1223
  classes_rows_html.append(f"""
1224
1224
  <tr>
1225
1225
  <td colspan="5" style="text-align:center; padding: 24px; color: var(--text-muted);" data-i18n="empty_pom_table">
@@ -1324,7 +1324,7 @@ def _build_target_translations(
1324
1324
  "th_pom_extends": "Kế Thừa",
1325
1325
  "th_pom_methods": "Phương Thức",
1326
1326
  "th_pom_api": "Tóm Tắt Chữ Ký API & Hành Động",
1327
- "empty_pom_table": "ℹ️ Chưa có Page Class nào được lập chỉ mục. Chạy <code>npx synapse-hub analyze</code> trong dự án để tạo bản đồ AST repo.",
1327
+ "empty_pom_table": "ℹ️ Chưa có Page Class nào được lập chỉ mục. Chạy <code>npx @teevee98/synapse-hub analyze</code> trong dự án để tạo bản đồ AST repo.",
1328
1328
 
1329
1329
  "sec_tests_title": f"🧪 Danh Mục Kịch Bản Kiểm Thử Tự Động ({assets['test_count']} Test Cases)",
1330
1330
  "sec_tests_badge": "100% Nghiệp Vụ",
@@ -1348,7 +1348,7 @@ def _build_target_translations(
1348
1348
  "th_step_status": "Trạng Thái",
1349
1349
  "th_step_details": "Chi Tiết Kỹ Thuật (OTel & AST)",
1350
1350
 
1351
- "footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v3.8.3 &bull; Bản quyền &copy; Thế Vị (@TeeVee98) &bull; Chuẩn Clean POM & Kiểm Thử Tự Chủ",
1351
+ "footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v3.8.5 &bull; Bản quyền &copy; Thế Vị (@TeeVee98) &bull; Chuẩn Clean POM & Kiểm Thử Tự Chủ",
1352
1352
  }
1353
1353
 
1354
1354
  translations_en = {
@@ -1402,7 +1402,7 @@ def _build_target_translations(
1402
1402
  "th_pom_extends": "Extends",
1403
1403
  "th_pom_methods": "Methods",
1404
1404
  "th_pom_api": "Action Summary & Signatures",
1405
- "empty_pom_table": "ℹ️ No Page Classes indexed yet. Run <code>npx synapse-hub analyze</code> inside project to generate AST repo map.",
1405
+ "empty_pom_table": "ℹ️ No Page Classes indexed yet. Run <code>npx @teevee98/synapse-hub analyze</code> inside project to generate AST repo map.",
1406
1406
 
1407
1407
  "sec_tests_title": f"🧪 Automated Test Scripts ({assets['test_count']} Test Cases)",
1408
1408
  "sec_tests_badge": "100% Business Logic",
@@ -1426,7 +1426,7 @@ def _build_target_translations(
1426
1426
  "th_step_status": "Status",
1427
1427
  "th_step_details": "Technical Details (OTel & AST)",
1428
1428
 
1429
- "footer_text": "Generated automatically by Synapse-Hub v3.8.3 &bull; Copyright &copy; Thế Vị (@TeeVee98) &bull; Clean POM & Autonomous Testing",
1429
+ "footer_text": "Generated automatically by Synapse-Hub v3.8.5 &bull; Copyright &copy; Thế Vị (@TeeVee98) &bull; Clean POM & Autonomous Testing",
1430
1430
  }
1431
1431
 
1432
1432
  _inject_gate_translations(translations_vi, translations_en, gates)
@@ -1482,7 +1482,7 @@ def _render_target_content(
1482
1482
  <div class="kpi-grid">
1483
1483
  <div class="kpi-card">
1484
1484
  <div class="kpi-label" data-i18n="kpi_dod_lbl">{t['kpi_dod_lbl']}</div>
1485
- <div class="kpi-value" style="color: var(--accent-emerald);">11 / 11</div>
1485
+ <div class="kpi-value" style="color: var(--accent-emerald);">10 / 10</div>
1486
1486
  <div class="kpi-subtext" data-i18n="kpi_dod_sub">{t['kpi_dod_sub']}</div>
1487
1487
  </div>
1488
1488
  <div class="kpi-card">
@@ -1915,7 +1915,7 @@ def _build_hub_translations(
1915
1915
  """Builds bilingual dictionaries for Hub Dashboard."""
1916
1916
  translations_vi = {
1917
1917
  "header_title": "Bảng Điều Hành Chất Lượng Doanh Nghiệp",
1918
- "header_subtitle": "Synapse-Hub v3.8.3 &bull; Hệ Sinh Thái Kiểm Thử AI Agent Tự Chủ",
1918
+ "header_subtitle": "Synapse-Hub v3.8.5 &bull; Hệ Sinh Thái Kiểm Thử AI Agent Tự Chủ",
1919
1919
  "nav_welcome": "Giới Thiệu",
1920
1920
  "meta_mode": "🏷️ Chế độ: <strong>HỆ SINH THÁI QA HUB</strong>",
1921
1921
  "meta_gen": f"🕒 Khởi tạo: <strong>{now_str}</strong>",
@@ -1985,12 +1985,12 @@ def _build_hub_translations(
1985
1985
  "th_sk_ver": "Phiên Bản",
1986
1986
  "th_sk_cap": "Khả Năng Nghiệp Vụ Cốt Lõi",
1987
1987
 
1988
- "footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp &bull; Synapse-Hub v3.8.3 &bull; Bản quyền &copy; Thế Vị (@TeeVee98) &bull; Hệ Thống Kiểm Thử AI Agent Tự Chủ",
1988
+ "footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp &bull; Synapse-Hub v3.8.5 &bull; Bản quyền &copy; Thế Vị (@TeeVee98) &bull; Hệ Thống Kiểm Thử AI Agent Tự Chủ",
1989
1989
  }
1990
1990
 
1991
1991
  translations_en = {
1992
1992
  "header_title": "Enterprise QA Executive Dashboard",
1993
- "header_subtitle": "Synapse-Hub v3.8.3 &bull; Autonomous AI Agent Testing Ecosystem",
1993
+ "header_subtitle": "Synapse-Hub v3.8.5 &bull; Autonomous AI Agent Testing Ecosystem",
1994
1994
  "nav_welcome": "Welcome",
1995
1995
  "meta_mode": "🏷️ Mode: <strong>QA HUB ECOSYSTEM</strong>",
1996
1996
  "meta_gen": f"🕒 Generated: <strong>{now_str}</strong>",
@@ -2060,7 +2060,7 @@ def _build_hub_translations(
2060
2060
  "th_sk_ver": "Version",
2061
2061
  "th_sk_cap": "Core Capabilities",
2062
2062
 
2063
- "footer_text": "Enterprise QA Executive Dashboard &bull; Synapse-Hub v3.8.3 &bull; Copyright &copy; Thế Vị (@TeeVee98) &bull; Autonomous AI Agent Testing Ecosystem",
2063
+ "footer_text": "Enterprise QA Executive Dashboard &bull; Synapse-Hub v3.8.5 &bull; Copyright &copy; Thế Vị (@TeeVee98) &bull; Autonomous AI Agent Testing Ecosystem",
2064
2064
  }
2065
2065
 
2066
2066
  _inject_gate_translations(translations_vi, translations_en, gates)
@@ -2112,7 +2112,7 @@ def _render_hub_content(
2112
2112
  <div class="kpi-grid">
2113
2113
  <div class="kpi-card">
2114
2114
  <div class="kpi-label" data-i18n="kpi_dod_lbl">{t['kpi_dod_lbl']}</div>
2115
- <div class="kpi-value" style="color: var(--accent-emerald);">11 / 11</div>
2115
+ <div class="kpi-value" style="color: var(--accent-emerald);">10 / 10</div>
2116
2116
  <div class="kpi-subtext" data-i18n="kpi_dod_sub">{t['kpi_dod_sub']}</div>
2117
2117
  </div>
2118
2118
  <div class="kpi-card">