@teevee98/synapse-hub 3.8.2 → 3.8.3

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 (131) hide show
  1. package/.agents/agents/orchestrator.md +1 -1
  2. package/.agents/agents/quality-gatekeeper.md +3 -3
  3. package/.agents/rules/author-integrity-guard.md +5 -5
  4. package/.agents/rules/mandatory-playwright-live.md +1 -1
  5. package/.agents/rules/skill-precedence.md +1 -1
  6. package/.agents/rules/systematic-debugging.md +1 -1
  7. package/.agents/skills/antigravity-test-sentinel/SKILL.md +3 -3
  8. package/.agents/skills/antigravity-test-sentinel/examples/sprint_dod_enforcement.md +1 -1
  9. package/.agents/skills/consumer-driven-contract-testing/SKILL.md +1 -1
  10. package/.agents/skills/lean-impact-scoreboard/examples/sample_scoreboard.md +1 -1
  11. package/.agents/skills/persistent-planning-files/SKILL.md +1 -1
  12. package/.agents/skills/persistent-planning-files/examples/task_plan_example.md +1 -1
  13. package/.agents/skills/repo-quality-audit/SKILL.md +1 -1
  14. package/.agents/skills/surgical-coding-principles/SKILL.md +2 -2
  15. package/.agents/skills/verification-before-completion/SKILL.md +2 -2
  16. package/.agents/skills/verification-before-completion/examples/evidence_log_example.md +2 -2
  17. package/.agents/workflows/verify.md +3 -3
  18. package/.cursor/rules/synapse-qa.mdc +1 -1
  19. package/.cursorrules +3 -3
  20. package/.pre-commit-hooks.yaml +2 -2
  21. package/.windsurfrules +3 -3
  22. package/AGENTS.md +3 -3
  23. package/CLAUDE.md +4 -4
  24. package/Dockerfile +5 -5
  25. package/README.en.md +16 -17
  26. package/README.md +16 -17
  27. package/action.yml +2 -2
  28. package/agentskills.json +3 -3
  29. package/bin/agent-qa.js +2 -2
  30. package/docker-compose.yml +8 -8
  31. package/docs/ARCHITECTURE.en.md +6 -5
  32. package/docs/ARCHITECTURE.md +7 -6
  33. package/docs/CI_CD_INTEGRATION.en.md +16 -16
  34. package/docs/CI_CD_INTEGRATION.md +16 -16
  35. package/docs/CLI_REFERENCE.en.md +2 -3
  36. package/docs/CLI_REFERENCE.md +4 -5
  37. package/docs/CONTRIBUTING.en.md +1 -1
  38. package/docs/CONTRIBUTING.md +1 -1
  39. package/docs/PERFORMANCE_AUDIT_REPORT.md +2 -3
  40. package/docs/PLUGIN_DEVELOPMENT_GUIDE.md +1 -1
  41. package/docs/QUALITY_GATES.en.md +9 -12
  42. package/docs/QUALITY_GATES.md +10 -13
  43. package/docs/TOOL_CATALOG.md +1 -1
  44. package/docs/research/EXTERNAL_AGENT_SKILLS_SURVEY.md +3 -3
  45. package/docs/research/agent_skill_training_analysis.md +17 -18
  46. package/docs/schemas/synapse.config.schema.json +0 -1
  47. package/package.json +5 -5
  48. package/plugin.json +6 -6
  49. package/skills_manifest.json +1 -1
  50. package/synapse.config.json +2 -3
  51. package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +2 -2
  52. package/templates/PROJECT_STATE_TEMPLATE.md +1 -1
  53. package/templates/ai_bridges/CLAUDE.md +4 -4
  54. package/templates/ai_bridges/copilot-instructions.md +2 -2
  55. package/templates/ai_bridges/cursor_synapse_qa.mdc +1 -1
  56. package/templates/ai_bridges/windsurfrules +3 -3
  57. package/templates/ci/github-actions-synapse.yml +5 -5
  58. package/templates/welcome.html.tmpl +29 -34
  59. package/tools/TOOLS_RUNBOOK.md +7 -7
  60. package/tools/TOOL_CATALOG.json +1 -1
  61. package/tools/__init__.py +5 -5
  62. package/tools/_openapi_parser.py +2 -2
  63. package/tools/agentless_patcher.py +2 -2
  64. package/tools/analyze_project.py +10 -6
  65. package/tools/author_integrity.py +19 -13
  66. package/tools/auto_heal_reflexion.py +2 -2
  67. package/tools/autogen_qa_broker.py +2 -2
  68. package/tools/benchmark_swarm_context.py +2 -2
  69. package/tools/browser_helpers.js +2 -2
  70. package/tools/browsergym_eval.py +2 -2
  71. package/tools/bump_version.py +2 -2
  72. package/tools/ci_healing_hook.py +1 -1
  73. package/tools/cli.py +11 -11
  74. package/tools/contract_validator.py +2 -2
  75. package/tools/core/adapters.py +2 -2
  76. package/tools/core/circuit_breaker.py +2 -2
  77. package/tools/core/cli_runtime.py +2 -2
  78. package/tools/core/file_lock.py +2 -2
  79. package/tools/core/i18n.py +7 -7
  80. package/tools/core/memory_bus.py +2 -2
  81. package/tools/core/process_supervisor.py +2 -2
  82. package/tools/core/telemetry.py +2 -2
  83. package/tools/count_tokens.py +1 -1
  84. package/tools/dashboard_generator.py +29 -45
  85. package/tools/debt_harvester.py +2 -2
  86. package/tools/dspy_qa_signatures.py +3 -3
  87. package/tools/fsm_enforcer.py +4 -4
  88. package/tools/fsm_middleware.py +2 -2
  89. package/tools/generate_sbom.py +9 -9
  90. package/tools/generate_tool_catalog.py +3 -3
  91. package/tools/gherkin_suite.py +2 -2
  92. package/tools/goldfish_review.py +2 -2
  93. package/tools/heal_pr_automator.py +1 -1
  94. package/tools/hub_publisher.py +12 -12
  95. package/tools/humanize_linter.py +2 -2
  96. package/tools/init_config.py +4 -5
  97. package/tools/interview_story.py +2 -2
  98. package/tools/jira_sync.py +2 -2
  99. package/tools/lint_ai_docs.py +2 -2
  100. package/tools/mcp_docx_server.py +3 -3
  101. package/tools/mcp_excel_server.py +1 -1
  102. package/tools/mcp_server.py +5 -4
  103. package/tools/mipro_assertion_tuner.py +2 -2
  104. package/tools/openxml_guard.py +2 -2
  105. package/tools/package_release.py +2 -2
  106. package/tools/project_state.py +2 -2
  107. package/tools/qa_event_stream.py +2 -2
  108. package/tools/reversible_sandbox.py +2 -2
  109. package/tools/security_coverage_ledger.py +1 -1
  110. package/tools/security_scanner.py +2 -2
  111. package/tools/senior_code_review.py +2 -2
  112. package/tools/skill_collision_guard.py +2 -2
  113. package/tools/skill_profiles.py +2 -2
  114. package/tools/skill_vault.py +2 -2
  115. package/tools/skillspector.py +2 -2
  116. package/tools/spec_drift_sentinel.py +2 -2
  117. package/tools/swe_qa_aci.py +2 -2
  118. package/tools/synapse_observer.py +2 -2
  119. package/tools/synapse_qa_bench.py +2 -2
  120. package/tools/sync_agent_rules.py +15 -15
  121. package/tools/template_excel_exporter.py +2 -2
  122. package/tools/test_memory_os.py +2 -2
  123. package/tools/textgrad_mutation_optimizer.py +2 -2
  124. package/tools/tms_sync_bridge.py +2 -2
  125. package/tools/tot_exploratory_tester.py +2 -2
  126. package/tools/trend_analytics.py +2 -2
  127. package/tools/ui_server.py +6 -6
  128. package/tools/update_sentinel.py +6 -6
  129. package/tools/verify_all.py +26 -14
  130. package/tools/watch_mode.py +2 -2
  131. package/tools/welcome_page.py +9 -9
@@ -740,7 +740,7 @@
740
740
  transform: translateY(-1px);
741
741
  }
742
742
 
743
- /* 11 Quality Gates Grid */
743
+ /* 10 Quality Gates Grid */
744
744
  .gates-grid {
745
745
  display: grid;
746
746
  grid-template-columns: repeat(3, 1fr);
@@ -989,7 +989,7 @@
989
989
  <li><a href="#hero-features" data-i18n="nav_features">Tính Năng</a></li>
990
990
  <li><a href="#glossary" data-i18n="nav_glossary">Từ Điển QA</a></li>
991
991
  <li><a href="#quickstart" data-i18n="nav_quickstart">Lệnh CLI</a></li>
992
- <li><a href="#quality-gates" data-i18n="nav_gates">11 Quality Gates</a></li>
992
+ <li><a href="#quality-gates" data-i18n="nav_gates">10 Quality Gates</a></li>
993
993
  <li><a href="#comparison" data-i18n="nav_compare">So Sánh</a></li>
994
994
  </ul>
995
995
  <div class="nav-actions">
@@ -1014,7 +1014,7 @@
1014
1014
  <p data-i18n="hero_desc">
1015
1015
  Tăng cường sức mạnh cho QA Engineers và các Autonomous AI Agent trên cả 4 mảng:
1016
1016
  <strong>Manual</strong>, <strong>Automation</strong>, <strong>API</strong> và <strong>Performance Testing</strong>.
1017
- Trang bị các Sentinel phân tích cú pháp AST 100% offline, 9 hồ sơ Swarm Agent, và 11 Quality Gates Definition-of-Done.
1017
+ 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.
1018
1018
  </p>
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;">
@@ -1029,7 +1029,7 @@
1029
1029
  <div class="hero-buttons">
1030
1030
  <a href="#quickstart" class="btn btn-primary" style="padding: 12px 24px; font-size: 15px;" data-i18n="btn_quickstart">🚀 Bắt Đầu Trong 5 Giây</a>
1031
1031
  <a href="#pillars" class="btn btn-secondary" style="padding: 12px 24px; font-size: 15px;" data-i18n="btn_pillars">🎯 Khám Phá 4 Trụ Cột</a>
1032
- <a href="#quality-gates" class="btn btn-emerald" style="padding: 12px 24px; font-size: 15px;" data-i18n="btn_gates">🛡️ Xem 11 Quality Gates</a>
1032
+ <a href="#quality-gates" class="btn btn-emerald" style="padding: 12px 24px; font-size: 15px;" data-i18n="btn_gates">🛡️ Xem 10 Quality Gates</a>
1033
1033
  </div>
1034
1034
 
1035
1035
  <!-- Stats Ribbon -->
@@ -1039,7 +1039,7 @@
1039
1039
  <div class="stat-label" data-i18n="stat_skills">Kỹ Năng AI Tiêu Chuẩn</div>
1040
1040
  </div>
1041
1041
  <div class="stat-item">
1042
- <div class="stat-val" style="color: var(--accent-emerald);">11 / 11</div>
1042
+ <div class="stat-val" style="color: var(--accent-emerald);">10 / 10</div>
1043
1043
  <div class="stat-label" data-i18n="stat_gates">Cổng Kiểm Soát DoD</div>
1044
1044
  </div>
1045
1045
  <div class="stat-item">
@@ -1254,7 +1254,7 @@
1254
1254
  <div class="terminal-tab active" onclick="switchTab(event, 'tab-doctor')" data-i18n="t_doctor">1. Chẩn Đoán (Doctor)</div>
1255
1255
  <div class="terminal-tab" onclick="switchTab(event, 'tab-setup')" data-i18n="t_setup">2. Cài Đặt (Setup)</div>
1256
1256
  <div class="terminal-tab" onclick="switchTab(event, 'tab-init-cfg')" data-i18n="t_init_cfg">3. Cấu Hình (Init-Config)</div>
1257
- <div class="terminal-tab" onclick="switchTab(event, 'tab-verify')" data-i18n="t_verify">4. Kiểm Tra 11 Cổng</div>
1257
+ <div class="terminal-tab" onclick="switchTab(event, 'tab-verify')" data-i18n="t_verify">4. Kiểm Tra 10 Cổng</div>
1258
1258
  <div class="terminal-tab" onclick="switchTab(event, 'tab-lint')" data-i18n="t_lint">5. Quét Fake-Pass</div>
1259
1259
  <div class="terminal-tab" onclick="switchTab(event, 'tab-excel')" data-i18n="t_excel">6. Xuất Excel</div>
1260
1260
  <div class="terminal-tab" onclick="switchTab(event, 'tab-heal')" data-i18n="t_heal">7. Tự Sửa Test (Reflexion)</div>
@@ -1297,7 +1297,7 @@
1297
1297
  <div class="cmd-text"><span class="prompt">$</span>npx synapse-hub verify</div>
1298
1298
  <button class="copy-btn" onclick="copyCmd('npx synapse-hub verify')">Copy</button>
1299
1299
  </div>
1300
- <p class="cmd-desc" data-i18n="t_desc_verify">🛡️ Thực thi toàn bộ 11 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>
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>
1302
1302
 
1303
1303
  <!-- Tab Lint -->
@@ -1431,20 +1431,15 @@
1431
1431
  </div>
1432
1432
  </section>
1433
1433
 
1434
- <!-- 11 Quality Gates DoD Section -->
1434
+ <!-- 10 Quality Gates DoD Section -->
1435
1435
  <section id="quality-gates" style="scroll-margin-top: 100px;">
1436
1436
  <div class="section-header">
1437
1437
  <span class="section-tag" data-i18n="sec_gates_tag">Kiểm Định Toàn Diện</span>
1438
- <h2 class="section-title" data-i18n="sec_gates_title">11 Cổng Kiểm Soát Chất Lượng (DoD Sentinel)</h2>
1439
- <p class="section-desc" data-i18n="sec_gates_desc">Mọi kịch bản test do AI sinh ra bắt buộc phải vượt qua toàn bộ 11 Quality Gates trước khi được commit hoặc merge code.</p>
1438
+ <h2 class="section-title" data-i18n="sec_gates_title">10 Cổng Kiểm Soát Chất Lượng (DoD Sentinel)</h2>
1439
+ <p class="section-desc" data-i18n="sec_gates_desc">Mọi kịch bản test do AI sinh ra bắt buộc phải vượt qua toàn bộ 10 Quality Gates trước khi được commit hoặc merge code.</p>
1440
1440
  </div>
1441
1441
 
1442
1442
  <div class="gates-grid">
1443
- <div class="gate-card">
1444
- <div class="gate-top"><span class="gate-badge">GATE 0</span><span class="gate-pass">✓ PASS</span></div>
1445
- <div class="gate-name" data-i18n="g0_name">Bảo Đảm Bản Quyền & Tác Giả</div>
1446
- <div class="gate-desc" data-i18n="g0_desc">Bảo chứng nguồn gốc tác quyền Thế Vị (@TeeVee998) theo chuẩn Giấy phép MIT.</div>
1447
- </div>
1448
1443
  <div class="gate-card">
1449
1444
  <div class="gate-top"><span class="gate-badge">GATE 1</span><span class="gate-pass">✓ PASS</span></div>
1450
1445
  <div class="gate-name" data-i18n="g1_name">Chuẩn Mã Hóa UTF-8 No BOM</div>
@@ -1559,7 +1554,7 @@
1559
1554
  <div class="agent-icon">🛡️</div>
1560
1555
  <div class="agent-role" data-i18n="a6_role">Chốt Chặn Kiểm Soát Chất Lượng (Quality Gatekeeper)</div>
1561
1556
  <span class="agent-id">@quality-gatekeeper</span>
1562
- <p class="agent-desc" data-i18n="a6_desc">Kiểm định nghiêm ngặt toàn bộ 11 Quality Gates DoD và điểm mutation &ge; 80% trước khi hoàn tất công việc.</p>
1557
+ <p class="agent-desc" data-i18n="a6_desc">Kiểm định nghiêm ngặt toàn bộ 10 Quality Gates DoD và điểm mutation &ge; 80% trước khi hoàn tất công việc.</p>
1563
1558
  </div>
1564
1559
  </div>
1565
1560
  </section>
@@ -1606,21 +1601,21 @@
1606
1601
  nav_features: "Tính Năng",
1607
1602
  nav_glossary: "Từ Điển QA",
1608
1603
  nav_quickstart: "Lệnh CLI",
1609
- nav_gates: "11 Quality Gates",
1604
+ nav_gates: "10 Quality Gates",
1610
1605
  nav_compare: "So Sánh",
1611
1606
  status_ready: "● Sẵn sàng",
1612
1607
  hero_pill_tag: "🛡️ Trung Tâm Trí Tuệ Chất Lượng AI Doanh Nghiệp",
1613
1608
  hero_pill_status: "Sẵn Sàng 100% Offline",
1614
1609
  hero_target_label: "Dự án mục tiêu",
1615
1610
  hero_title: "Trung Tâm Trí Tuệ QA Toàn Diện<br>Dành Cho AI Coding Agents",
1616
- 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à 11 Quality Gates Definition-of-Done.",
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.",
1617
1612
  mode_cli_title: "🛠️ Cách 1: CLI Độc Lập (Zero AI)",
1618
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.",
1619
1614
  mode_agent_title: "🧠 Cách 2: Chốt Chặn Cho AI Coding",
1620
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.",
1621
1616
  btn_quickstart: "🚀 Bắt Đầu Trong 5 Giây",
1622
1617
  btn_pillars: "🎯 Khám Phá 4 Trụ Cột",
1623
- btn_gates: "🛡️ Xem 11 Quality Gates",
1618
+ btn_gates: "🛡️ Xem 10 Quality Gates",
1624
1619
  stat_skills: "Kỹ Năng AI Tiêu Chuẩn",
1625
1620
  stat_gates: "Cổng Kiểm Soát DoD",
1626
1621
  stat_swarm: "Vai Trò AI Chuyên Biệt",
@@ -1686,7 +1681,7 @@
1686
1681
  t_doctor: "1. Chẩn Đoán (Doctor)",
1687
1682
  t_setup: "2. Cài Đặt (Setup)",
1688
1683
  t_init_cfg: "3. Cấu Hình (Init-Config)",
1689
- t_verify: "4. Kiểm Tra 11 Cổng",
1684
+ t_verify: "4. Kiểm Tra 10 Cổng",
1690
1685
  t_lint: "5. Quét Fake-Pass",
1691
1686
  t_excel: "6. Xuất Excel",
1692
1687
  t_heal: "7. Tự Sửa Test (Reflexion)",
@@ -1696,7 +1691,7 @@
1696
1691
  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.",
1697
1692
  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ỉ.",
1698
1693
  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ợ wizard hỏi đáp và cờ tự động --template, --author, --sheet-name).",
1699
- t_desc_verify: "🛡️ Thực thi toàn bộ 11 Quality Gates Definition-of-Done (UTF-8 No BOM, Clean POM, Đường dẫn linh hoạt, Mutation &ge; 80%, Skill Routing Guard, SLA Sentinel).",
1694
+ t_desc_verify: "🛡️ Thực thi toàn bộ 10 Quality Gates Definition-of-Done (UTF-8 No BOM, Clean POM, Đường dẫn linh hoạt, Mutation &ge; 80%, Skill Routing Guard, SLA Sentinel).",
1700
1695
  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.",
1701
1696
  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.",
1702
1697
  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ũ.",
@@ -1727,10 +1722,10 @@
1727
1722
  tr6_dim: "QA Thủ Công (AI-RBT & Excel)",
1728
1723
  tr6_syn: "Xuất Excel 12 cột tích hợp sẵn",
1729
1724
  sec_gates_tag: "Kiểm Định Toàn Diện",
1730
- sec_gates_title: "11 Cổng Kiểm Soát Chất Lượng (DoD Sentinel)",
1731
- sec_gates_desc: "Mọi kịch bản test do AI sinh ra bắt buộc phải vượt qua toàn bộ 11 Quality Gates trước khi được commit hoặc merge code.",
1725
+ sec_gates_title: "10 Cổng Kiểm Soát Chất Lượng (DoD Sentinel)",
1726
+ sec_gates_desc: "Mọi kịch bản test do AI sinh ra bắt buộc phải vượt qua toàn bộ 10 Quality Gates trước khi được commit hoặc merge code.",
1732
1727
  g0_name: "Bảo Đảm Bản Quyền & Tác Giả",
1733
- g0_desc: "Bảo chứng nguồn gốc tác quyền Thế Vị (@TeeVee998) theo chuẩn Giấy phép MIT.",
1728
+ g0_desc: "Bảo chứng nguồn gốc tác quyền Thế Vị (@TeeVee98) theo chuẩn Giấy phép MIT.",
1734
1729
  g1_name: "Chuẩn Mã Hóa UTF-8 No BOM",
1735
1730
  g1_desc: "100% file không chứa UTF-8 BOM hoặc lỗi vỡ font chữ trên toàn bộ dự án.",
1736
1731
  g2_name: "Đường Dẫn Linh Hoạt (Path Portability)",
@@ -1769,7 +1764,7 @@
1769
1764
  a5_role: "Chuyên Gia Phân Tích & Điều Tra Lỗi (Failure Autopsy)",
1770
1765
  a5_desc: "Chẩn đoán nguyên nhân gốc (RCA) từ JUnit XML và ảnh chụp lỗi; tự động đề xuất giải pháp và tạo PR khắc phục lỗi.",
1771
1766
  a6_role: "Chốt Chặn Kiểm Soát Chất Lượng (Quality Gatekeeper)",
1772
- a6_desc: "Kiểm định nghiêm ngặt toàn bộ 11 Quality Gates DoD và điểm mutation &ge; 80% trước khi hoàn tất công việc.",
1767
+ a6_desc: "Kiểm định nghiêm ngặt toàn bộ 10 Quality Gates DoD và điểm mutation &ge; 80% trước khi hoàn tất công việc.",
1773
1768
  a7_role: "Kỹ Sư Kiểm Thử Hiệu Năng (Performance Engineer)",
1774
1769
  a7_desc: "Chuyên trách kịch bản tải k6, JMeter, Locust; giám sát phân tích thời gian thực và đối soát APM server.",
1775
1770
  footer_subtitle: "Nền Tảng Kiểm Định Chất Lượng & Guardrail Cho AI Coding Doanh Nghiệp.",
@@ -1784,21 +1779,21 @@
1784
1779
  nav_features: "Features",
1785
1780
  nav_glossary: "QA Glossary",
1786
1781
  nav_quickstart: "CLI Commands",
1787
- nav_gates: "11 Quality Gates",
1782
+ nav_gates: "10 Quality Gates",
1788
1783
  nav_compare: "Comparison",
1789
1784
  status_ready: "● Ready",
1790
1785
  hero_pill_tag: "🛡️ Enterprise AI Quality Intelligence Hub",
1791
1786
  hero_pill_status: "100% Offline Ready",
1792
1787
  hero_target_label: "Target Project",
1793
1788
  hero_title: "The Complete QA Intelligence Hub<br>for AI Coding Agents",
1794
- 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 11 Quality Gates Definition-of-Done.",
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.",
1795
1790
  mode_cli_title: "🛠️ Mode 1: Standalone CLI (Zero AI)",
1796
1791
  mode_cli_desc: "Run <code>npx synapse-hub lint</code> to catch fake passes, distill CI logs, or export Excel with zero setup.",
1797
1792
  mode_agent_title: "🧠 Mode 2: Guardrail for AI Coding",
1798
1793
  mode_agent_desc: "Mount into Cursor, Antigravity, or Claude Code as quality guardrails — stopping AI from writing brittle or tautological tests.",
1799
1794
  btn_quickstart: "🚀 5-Second Quickstart",
1800
1795
  btn_pillars: "🎯 Explore 4 Pillars",
1801
- btn_gates: "🛡️ View 11 Quality Gates",
1796
+ btn_gates: "🛡️ View 10 Quality Gates",
1802
1797
  stat_skills: "Standardized AI Skills",
1803
1798
  stat_gates: "Quality Gates DoD",
1804
1799
  stat_swarm: "Autonomous Swarm Roles",
@@ -1864,7 +1859,7 @@
1864
1859
  t_doctor: "1. Doctor",
1865
1860
  t_setup: "2. Setup Project",
1866
1861
  t_init_cfg: "3. Init-Config",
1867
- t_verify: "4. Verify 11 Gates",
1862
+ t_verify: "4. Verify 10 Gates",
1868
1863
  t_lint: "5. Scan Fake-Pass",
1869
1864
  t_excel: "6. Export Excel",
1870
1865
  t_heal: "7. Auto-Heal (Reflexion)",
@@ -1874,7 +1869,7 @@
1874
1869
  t_desc_doctor: "🩺 Runs a 1-click diagnostic scan verifying Python 3.9+, Node.js, Git hooks, browser drivers, and Central Agent Memory.",
1875
1870
  t_desc_setup: "⚡ 1-click bootstrap of target repository: generates PROJECT_AI_GUIDE.md, universal AI bridges, AST map, and pre-push sentinel.",
1876
1871
  t_desc_init_cfg: "⚙️ Quickly initializes a standardized .synapse.json configuration for Spoke projects (interactive wizard and flags).",
1877
- t_desc_verify: "🛡️ Enforces all 11 Quality Gates Definition-of-Done (UTF-8 No BOM, Clean POM, Path Portability, Mutation &ge; 80%, Skill Routing Guard, SLA Sentinel).",
1872
+ t_desc_verify: "🛡️ Enforces all 10 Quality Gates Definition-of-Done (UTF-8 No BOM, Clean POM, Path Portability, Mutation &ge; 80%, Skill Routing Guard, SLA Sentinel).",
1878
1873
  t_desc_lint: "🔍 AST scan detecting fake passes (0 assertions), empty catch blocks, and swallowed exceptions across all test scripts.",
1879
1874
  t_desc_excel: "📊 Compiles markdown test cases into a professional 12-column Excel workbook with status dropdowns and formulas.",
1880
1875
  t_desc_heal: "🔄 Autonomous test failure healing via Reflexion: AI inspects failure traces and patches locators without repeating failed attempts.",
@@ -1905,10 +1900,10 @@
1905
1900
  tr6_dim: "Manual QA (AI-RBT & Excel)",
1906
1901
  tr6_syn: "Native 12-Col Exporter",
1907
1902
  sec_gates_tag: "Zero-Hallucination Pipeline",
1908
- sec_gates_title: "11 Quality Gates DoD Sentinel",
1909
- sec_gates_desc: "Every AI-generated test script must satisfy all 11 Quality Gates before code can be committed or merged.",
1903
+ sec_gates_title: "10 Quality Gates DoD Sentinel",
1904
+ sec_gates_desc: "Every AI-generated test script must satisfy all 10 Quality Gates before code can be committed or merged.",
1910
1905
  g0_name: "Author Attribution & Integrity",
1911
- g0_desc: "Cryptographic provenance invariant preserving author Thế Vị (@TeeVee998) MIT license.",
1906
+ g0_desc: "Cryptographic provenance invariant preserving author Thế Vị (@TeeVee98) MIT license.",
1912
1907
  g1_name: "UTF-8 No BOM & Clean Encoding",
1913
1908
  g1_desc: "100% UTF-8 without BOM or mojibake bytes across all test files and configs.",
1914
1909
  g2_name: "Path Portability",
@@ -1947,7 +1942,7 @@
1947
1942
  a5_role: "Failure Autopsy Analyst",
1948
1943
  a5_desc: "Closed-loop failure diagnosis from JUnit XML and screenshots; generates auto-healing PR plans.",
1949
1944
  a6_role: "Quality Gatekeeper Sentinel",
1950
- a6_desc: "Final gatekeeper enforcing all 11 Quality Gates DoD and &ge; 80% mutation score before task completion.",
1945
+ a6_desc: "Final gatekeeper enforcing all 10 Quality Gates DoD and &ge; 80% mutation score before task completion.",
1951
1946
  a7_role: "Performance & Load Engineer",
1952
1947
  a7_desc: "Specialist orchestrating k6, JMeter, Locust load profiles, real-time telemetry streaming, and APM bottleneck correlation.",
1953
1948
  footer_subtitle: "The Enterprise AI Agent Quality Engineering & Autonomous Skill Network.",
@@ -74,7 +74,7 @@
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
76
  | **Auditing AI Agent Skills & MCP Security** | `tools/skillspector.py` | `python tools/skillspector.py [path]` (or `agent-qa skillspector [path]` / `npx synapse-hub skillspector`) |
77
- | **Author Provenance & Anti-Tamper Integrity Guard** | `tools/author_integrity.py` | `python tools/author_integrity.py` (or `agent-qa verify-author` / `verify_all Gate 0`) |
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]`) |
@@ -177,7 +177,7 @@ agent-qa update
177
177
  ---
178
178
 
179
179
  ### 3. `tools/verify_all.py`
180
- - **Purpose:** Supreme Definition of Done (DoD) verification gate running all 11 Quality Gates (including Syntactic Micro-Mutation >= 80% and SLA Sentinel) prior to completing tasks or git commits. Supports dual operational modes (`hub` vs `target`) and dynamic target project resolution.
180
+ - **Purpose:** Supreme Definition of Done (DoD) verification gate running all 10 Quality Gates (including Syntactic Micro-Mutation >= 80% and SLA Sentinel) prior to completing tasks or git commits. Supports dual operational modes (`hub` vs `target`) and dynamic target project resolution.
181
181
  - **CLI Syntax:**
182
182
  ```bash
183
183
  # Auto-detection (automatically targets CWD if inside a test project, otherwise falls back to QA Hub)
@@ -259,7 +259,7 @@ agent-qa update
259
259
  ---
260
260
 
261
261
  ### 11. `tools/analyze_project.py`
262
- - **Purpose:** Comprehensive 5-in-1 Project Health & AST Intelligence Suite. Aggregates environment checks (`check_env`), Page Class AST mapping (`repo_map`), Static Defect Sentinel (`infer_linter`), Teardown Data Flow (`trace_data_flow`), and 11 Quality Gates (`verify_all`). Generates `reports/PROJECT_HEALTH_REPORT.md` and synchronizes all AI data context in < 1 second.
262
+ - **Purpose:** Comprehensive 5-in-1 Project Health & AST Intelligence Suite. Aggregates environment checks (`check_env`), Page Class AST mapping (`repo_map`), Static Defect Sentinel (`infer_linter`), Teardown Data Flow (`trace_data_flow`), and 10 Quality Gates (`verify_all`). Generates `reports/PROJECT_HEALTH_REPORT.md` and synchronizes all AI data context in < 1 second.
263
263
  - **Trigger:** Whenever user says: "analyze project", "re-analyze project", "audit project", or during initial project onboarding.
264
264
  - **CLI Syntax:**
265
265
  ```bash
@@ -474,8 +474,8 @@ agent-qa update
474
474
  ### 25. `tools/author_integrity.py` (Author Provenance & Anti-Tamper Integrity Guard)
475
475
  - **Purpose:** Cryptographic and textual provenance validator enforcing the mandatory author attribution condition of the MIT License:
476
476
  *"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."*
477
- Protects original creator **Thế Vị (@TeeVee998)** against unauthorized author stripping or copyright tampering across `LICENSE`, `package.json`, `README.md`, and `pyproject.toml`.
478
- - **Trigger Condition:** Runs autonomously as **Gate 0** in `tools/verify_all.py`, pre-dispatch in `agent-qa` CLI, or on-demand via `agent-qa verify-author`.
477
+ Protects original creator **Thế Vị (@TeeVee98)** against unauthorized author stripping or copyright tampering across `LICENSE`, `package.json`, `README.md`, and `pyproject.toml`.
478
+ - **Trigger Condition:** Runs autonomously as pre-flight engine check in `tools/verify_all.py`, pre-dispatch in `agent-qa` CLI, or on-demand via `agent-qa verify-author`.
479
479
  - **CLI Syntax:**
480
480
  ```bash
481
481
  # 1. Verify author attribution and provenance
@@ -544,7 +544,7 @@ agent-qa update
544
544
  ---
545
545
 
546
546
  ### 28. `tools/dashboard_generator.py` (Standalone Executive HTML Dashboard)
547
- - **Purpose:** Compiles project health metrics, 11 Quality Gates status, AST repository maps, benchmark results, and skills inventory into a single, dependency-free, modern HTML dashboard (`PROJECT_DASHBOARD.html`).
547
+ - **Purpose:** Compiles project health metrics, 10 Quality Gates status, AST repository maps, benchmark results, and skills inventory into a single, dependency-free, modern HTML dashboard (`PROJECT_DASHBOARD.html`).
548
548
  - **Trigger Condition:** On-demand when presenting project status to stakeholders, QA leads, or managers, or after completing project analysis/audits.
549
549
  - **CLI Syntax:**
550
550
  ```bash
@@ -1212,7 +1212,7 @@ agent-qa update
1212
1212
  ---
1213
1213
 
1214
1214
  ### 78. `tools/ui_server.py` (Interactive QA Mission Control UI Server)
1215
- - **Purpose:** Fast lightweight HTTP server providing an interactive browser UI for running audits, inspecting 11 Quality Gates, viewing test matrices, and monitoring swarm state.
1215
+ - **Purpose:** Fast lightweight HTTP server providing an interactive browser UI for running audits, inspecting 10 Quality Gates, viewing test matrices, and monitoring swarm state.
1216
1216
  - **Trigger Condition:** User requests "ui", "mission control", or visual web interface for Synapse Hub.
1217
1217
  - **CLI Syntax:**
1218
1218
  ```bash
@@ -1688,7 +1688,7 @@
1688
1688
  "Exit code 0/1",
1689
1689
  "reports/PROJECT_HEALTH_REPORT.md"
1690
1690
  ],
1691
- "description": "One-command 11 Quality Gates Definition of Done (DoD) verification sentinel."
1691
+ "description": "One-command 10 Quality Gates Definition of Done (DoD) verification sentinel."
1692
1692
  },
1693
1693
  {
1694
1694
  "file": "tools/visual_diff_canvas.py",
package/tools/__init__.py CHANGED
@@ -1,12 +1,12 @@
1
1
  """
2
2
  Synapse Hub — Enterprise AI Agent Quality Engineering & Automated Testing Tooling Suite.
3
3
  ========================================================================================
4
- Author: Thế Vị (@TeeVee998)
5
- Repository: https://github.com/TeeVee998/Synapse-Hub
4
+ Author: Thế Vị (@TeeVee98)
5
+ Repository: https://github.com/TeeVee98/Synapse-Hub
6
6
  License: MIT
7
7
 
8
8
  Domain Packages:
9
- - tools.core: Execution engines, 11 DoD Quality Gates, setup, CLI, AST maps.
9
+ - tools.core: Execution engines, 10 DoD Quality Gates, setup, CLI, AST maps.
10
10
  - tools.lint: Static code defect, encoding, author integrity, and AI doc sentinels.
11
11
  - tools.report: HTML dashboards, spreadsheets, telemetry correlation, and metrics.
12
12
  - tools.heal: Locator healing, episodic Reflexion memory, and agentless patching.
@@ -14,8 +14,8 @@ Domain Packages:
14
14
  - tools.mcp: Model Context Protocol servers (core QA and Excel manipulation).
15
15
  """
16
16
 
17
- __version__ = "3.8.2"
18
- __author__ = "Thế Vị (@TeeVee998)"
17
+ __version__ = "3.8.3"
18
+ __author__ = "Thế Vị (@TeeVee98)"
19
19
 
20
20
  # Expose domain packages
21
21
  from tools import core, heal, lint, mcp, perf, report # noqa: F401
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  tools/_openapi_parser.py — Shared OpenAPI & Swagger Specification Parser
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  Agentless 3-Stage Deterministic Patcher (OpenAutoCoder Agentless Pattern)
@@ -10,7 +10,7 @@ Executes in sequence:
10
10
  2. Page Class & AST Repository Mapping (tools/repo_map.py)
11
11
  3. Static Defect & Fake-Pass Sentinel (tools/infer_linter.py)
12
12
  4. Data Flow Lifecycle & Teardown Audit (tools/trace_data_flow.py)
13
- 5. Definition of Done 11 Quality Gates (tools/verify_all.py)
13
+ 5. Definition of Done 10 Quality Gates (tools/verify_all.py)
14
14
 
15
15
  Generates & Updates In-Place inside the Target Project:
16
16
  - PROJECT_HEALTH_REPORT.md (Root & reports/ of target project)
@@ -143,11 +143,15 @@ def run_full_analysis(target_repo):
143
143
  except Exception as e:
144
144
  print(f" ⚠️ trace_data_flow error: {e}")
145
145
 
146
- # Step 5: 11 Quality Gates DoD Verification
147
- print(f"\n{BOLD}[5/5] Verifying 11 Quality Gates DoD (verify_all)...{RESET}")
146
+ # Step 5: 10 Quality Gates DoD Verification
147
+ print(f"\n{BOLD}[5/5] Verifying 10 Quality Gates DoD (verify_all)...{RESET}")
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.")
150
+ summary["gates_status"] = "PREFLIGHT_TAMPER_DETECTED"
151
+ return summary
152
+
148
153
  gates_passed = True
149
154
  gates = [
150
- ("Gate 0: Author Attribution Provenance", verify_all.gate_0_author_integrity),
151
155
  ("Gate 1: UTF-8 No BOM", verify_all.gate_1_bom_check),
152
156
  ("Gate 2: Path Portability", verify_all.gate_2_path_portability),
153
157
  ("Gate 3: Clean POM & Flat Architecture", verify_all.gate_3_clean_pom),
@@ -188,7 +192,7 @@ def run_full_analysis(target_repo):
188
192
  | **Page Classes & Helpers** | `{summary['repo_map'].get('classes_count', 0)}` classes (`{summary['repo_map'].get('methods_count', 0)}` methods) | ✅ INDEXED |
189
193
  | **Static Defect Sentinel** | `infer_linter` exit `{summary['infer_linter'].get('exit_code', 0)}` | {'✅ CLEAN' if summary['infer_linter'].get('exit_code', 0) == 0 else '❌ CRITICAL'} |
190
194
  | **Lifecycle & Teardown** | `trace_data_flow` exit `{summary['data_flow'].get('exit_code', 0)}` | ✅ AUDITED |
191
- | **11 Quality Gates DoD** | `{summary['gates_status']}` | {'✅ 100% PASS' if gates_passed else '❌ BLOCKED'} |
195
+ | **10 Quality Gates DoD** | `{summary['gates_status']}` | {'✅ 100% PASS' if gates_passed else '❌ BLOCKED'} |
192
196
 
193
197
  ---
194
198
 
@@ -227,7 +231,7 @@ def run_full_analysis(target_repo):
227
231
  print(f"{BOLD}{CYAN}======================================================================{RESET}")
228
232
  print(f" Elapsed Time : {elapsed:.2f}s")
229
233
  print(f" Page Classes Indexed : {summary['repo_map'].get('classes_count', 0)} classes")
230
- print(f" 11 Quality Gates DoD : {GREEN + '100% PASS' if gates_passed else RED + 'FAILED'}{RESET}")
234
+ print(f" 10 Quality Gates DoD : {GREEN + '100% PASS' if gates_passed else RED + 'FAILED'}{RESET}")
231
235
  print(f" In-Project Report Path : {report_in_root if os.path.abspath(target_repo).lower() != os.path.abspath(HUB_ROOT).lower() else report_in_reports}")
232
236
  if os.path.abspath(target_repo).lower() != os.path.abspath(HUB_ROOT).lower():
233
237
  print(f" {YELLOW}💡 Post-Analysis Action: Push updated files to Git:{RESET}")
@@ -33,11 +33,15 @@ if hasattr(sys.stdout, 'reconfigure'):
33
33
  pass
34
34
 
35
35
  ORIGINAL_AUTHOR_NAME = "Thế Vị"
36
- ORIGINAL_AUTHOR_HANDLE = "@TeeVee998"
37
- ORIGINAL_REPO_URL = "https://github.com/TeeVee998/Synapse-Hub"
36
+ ORIGINAL_AUTHOR_HANDLE = "@TeeVee98"
37
+ ORIGINAL_REPO_URL = "https://github.com/TeeVee98/Synapse-Hub"
38
38
 
39
- # Pre-computed SHA-256 fingerprint of canonical author credentials
40
- CANONICAL_AUTHOR_SIG = "ea09e6bd3428c00581a385ec13bb7d8cd7d9e800fbdd1094c6d5a7bfb4060475"
39
+ # Pre-computed SHA-256 fingerprints of canonical author credentials (@TeeVee98 and legacy @TeeVee998)
40
+ CANONICAL_AUTHOR_SIGS = {
41
+ "6c56b5f2c2d6f4e4b82cf4d1fa6ccd4a5e8cf0cb0e15a4a60136965fe8ebb697", # Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
42
+ "ea09e6bd3428c00581a385ec13bb7d8cd7d9e800fbdd1094c6d5a7bfb4060475", # Thế Vị (@TeeVee998) <https://github.com/TeeVee998/Synapse-Hub> (legacy provenance)
43
+ }
44
+ CANONICAL_AUTHOR_SIG = "6c56b5f2c2d6f4e4b82cf4d1fa6ccd4a5e8cf0cb0e15a4a60136965fe8ebb697"
41
45
 
42
46
  SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
43
47
  DEFAULT_REPO_ROOT = os.path.dirname(SCRIPT_DIR)
@@ -51,7 +55,9 @@ def verify_author_fingerprint() -> bool:
51
55
  """Validates that the canonical author attribution metadata matches the reference integrity hash."""
52
56
  watermark = get_canonical_watermark()
53
57
  computed = hashlib.sha256(watermark.encode("utf-8")).hexdigest()
54
- return computed == CANONICAL_AUTHOR_SIG
58
+ if CANONICAL_AUTHOR_SIG not in CANONICAL_AUTHOR_SIGS:
59
+ return False
60
+ return computed == CANONICAL_AUTHOR_SIG or computed in CANONICAL_AUTHOR_SIGS
55
61
 
56
62
 
57
63
  def assert_integrity_or_raise(repo_root: Optional[str] = None) -> bool:
@@ -96,9 +102,9 @@ def verify_author_attribution(repo_root: Optional[str] = None) -> Tuple[bool, Li
96
102
  try:
97
103
  with open(license_path, "r", encoding="utf-8", errors="ignore") as f:
98
104
  lic_content = f.read()
99
- if ORIGINAL_AUTHOR_NAME not in lic_content or ORIGINAL_AUTHOR_HANDLE not in lic_content:
100
- violations.append("LICENSE file modified: original copyright notice for 'Thế Vị (@TeeVee998)' was removed or altered.")
101
- if ORIGINAL_REPO_URL not in lic_content:
105
+ if ORIGINAL_AUTHOR_NAME not in lic_content or ("@TeeVee98" not in lic_content and "@TeeVee998" not in lic_content):
106
+ violations.append("LICENSE file modified: original copyright notice for 'Thế Vị (@TeeVee98)' was removed or altered.")
107
+ if "Synapse-Hub" not in lic_content:
102
108
  violations.append("LICENSE file modified: original repository URL was removed.")
103
109
  except Exception as e:
104
110
  violations.append(f"Could not read LICENSE file: {e}")
@@ -110,8 +116,8 @@ def verify_author_attribution(repo_root: Optional[str] = None) -> Tuple[bool, Li
110
116
  with open(pkg_path, "r", encoding="utf-8", errors="ignore") as f:
111
117
  pkg_data = json.load(f)
112
118
  author_val = str(pkg_data.get("author", ""))
113
- if ORIGINAL_AUTHOR_NAME not in author_val or "TeeVee998" not in author_val:
114
- violations.append("package.json modified: 'author' field does not credit 'Thế Vị (@TeeVee998)'.")
119
+ if ORIGINAL_AUTHOR_NAME not in author_val or ("TeeVee98" not in author_val and "TeeVee998" not in author_val):
120
+ violations.append("package.json modified: 'author' field does not credit 'Thế Vị (@TeeVee98)'.")
115
121
  except Exception as e:
116
122
  violations.append(f"Could not read package.json: {e}")
117
123
 
@@ -121,9 +127,9 @@ def verify_author_attribution(repo_root: Optional[str] = None) -> Tuple[bool, Li
121
127
  try:
122
128
  with open(readme_path, "r", encoding="utf-8", errors="ignore") as f:
123
129
  readme_content = f.read()
124
- if ORIGINAL_AUTHOR_NAME not in readme_content or ORIGINAL_AUTHOR_HANDLE not in readme_content:
125
- violations.append("README.md modified: author attribution for 'Thế Vị (@TeeVee998)' was removed.")
126
- if "TeeVee998/Synapse-Hub" not in readme_content:
130
+ if ORIGINAL_AUTHOR_NAME not in readme_content or ("@TeeVee98" not in readme_content and "@TeeVee998" not in readme_content):
131
+ violations.append("README.md modified: author attribution for 'Thế Vị (@TeeVee98)' was removed.")
132
+ if "Synapse-Hub" not in readme_content:
127
133
  violations.append("README.md modified: upstream repository provenance link was removed.")
128
134
  except Exception as e:
129
135
  violations.append(f"Could not read README.md: {e}")
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  Multi-Trial Episodic Reflexion Loop for Autonomous Healing (Noah Shinn / Reflexion Pattern)
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  Asynchronous Actor QA Message Broker (Microsoft AutoGen v0.4+ Pattern)
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  tools/benchmark_swarm_context.py — Empirical Context & Token Reduction Benchmark
@@ -13,7 +13,7 @@
13
13
  (function () {
14
14
  'use strict';
15
15
 
16
- if (window.__qa && window.__qa.__version === '3.8.2') {
16
+ if (window.__qa && window.__qa.__version === '3.8.3') {
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.2',
50
+ __version: '3.8.3',
51
51
 
52
52
  /**
53
53
  * 1. Smart Action Batching
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python3
2
- # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
2
+ # SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
3
3
  # SPDX-License-Identifier: MIT
4
- # Project: Synapse-Hub (https://github.com/TeeVee998/Synapse-Hub)
4
+ # Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
5
5
 
6
6
  """
7
7
  BrowserGym Web Agent Benchmark Harness (BrowserGym / WebArena Pattern)
@@ -194,7 +194,7 @@ 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 11 DoD Quality Gates before release.
197
+ """Executes the test suite and 10 DoD Quality Gates before release.
198
198
 
199
199
  Returns:
200
200
  True if all tests and gates pass.
@@ -217,7 +217,7 @@ def run_tests() -> bool:
217
217
  if res_verify.returncode != 0:
218
218
  print("❌ Quality Gates failed! Aborting release.")
219
219
  return False
220
- print("✅ 11 Quality Gates DoD PASSED.")
220
+ print("✅ 10 Quality Gates DoD PASSED.")
221
221
  except subprocess.TimeoutExpired:
222
222
  print("❌ Quality Gates timed out after 240s! Aborting release.")
223
223
  return False
@@ -52,7 +52,7 @@ The Self-Healing Engine successfully located the replacement element:
52
52
  ### ✅ Verification Status
53
53
  - [x] In-place AST replacement verified
54
54
  - [x] Syntax checked across target framework
55
- - [x] DoD 11 Quality Gates checked
55
+ - [x] DoD 10 Quality Gates checked
56
56
 
57
57
  ### 🚀 QA Action Required
58
58
  Review the diff above and **Merge PR** to lock the healed locator into main branch.