@teevee98/synapse-hub 4.1.2 → 4.1.4

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 (122) hide show
  1. package/.agents/skills/01-web-automation/clean-pom-crafter/examples/standard_test_case.groovy +3 -0
  2. package/.agents/skills/01-web-automation/clean-pom-crafter/references/pom_patterns.groovy +3 -0
  3. package/.agents/skills/01-web-automation/e2e-testing-patterns/examples/playwright_sharded_config.ts +3 -0
  4. package/.agents/skills/01-web-automation/playwright-webapp-testing/examples/server_lifecycle_playwright.py +3 -0
  5. package/.agents/skills/04-performance-and-load/web-vitals-and-performance-profiler/examples/playwright_cwv_profiler_fixture.ts +3 -0
  6. package/.agents/skills/05-security-and-compliance/security-dast-sentinel/references/dast_recipes.ts +3 -0
  7. package/.agents/skills/08-code-quality/code-refactoring-refactor-clean/examples/refactored_page_sample.groovy +3 -0
  8. package/.agents/skills/08-code-quality/code-refactoring-refactor-clean/examples/refactored_playwright_pom.ts +3 -0
  9. package/.agents/skills/11-ai-and-prompting/qa-aci-interface/examples/surgical_code_window_walkthrough.md +1 -1
  10. package/README.en.md +2 -2
  11. package/README.md +2 -2
  12. package/agentskills.json +1 -1
  13. package/docs/ARCHITECTURE.en.md +1 -1
  14. package/docs/ARCHITECTURE.md +1 -1
  15. package/docs/PERFORMANCE_AUDIT_REPORT.md +2 -2
  16. package/package.json +1 -1
  17. package/plugin.json +1 -1
  18. package/scripts/generate_skill_examples.py +3 -0
  19. package/scripts/package_dist.py +3 -0
  20. package/skills_manifest.json +1 -1
  21. package/synapse.config.json +1 -1
  22. package/tools/.infer_baseline.json +3 -796
  23. package/tools/__init__.py +4 -1
  24. package/tools/agent_canary.py +3 -0
  25. package/tools/analyze_project.py +3 -0
  26. package/tools/api_drift_sentinel.py +3 -0
  27. package/tools/api_fuzzer.py +3 -0
  28. package/tools/ast_cache.py +4 -2
  29. package/tools/author_integrity.py +53 -1
  30. package/tools/auto_heal.py +7 -2
  31. package/tools/autogen_qa_broker.py +14 -15
  32. package/tools/benchmark_swarm_context.py +10 -2
  33. package/tools/browser_helpers.js +2 -2
  34. package/tools/bug_reporter.py +3 -0
  35. package/tools/build_consolidated_report.py +3 -0
  36. package/tools/bump_version.py +4 -1
  37. package/tools/cache_resolver.py +7 -3
  38. package/tools/check_env.py +3 -0
  39. package/tools/check_version_sync.py +3 -0
  40. package/tools/ci_healing_hook.py +3 -0
  41. package/tools/cli.py +10 -7
  42. package/tools/config_decoupler.py +3 -0
  43. package/tools/core/__init__.py +3 -0
  44. package/tools/core/file_lock.py +23 -14
  45. package/tools/core/i18n.py +9 -7
  46. package/tools/core/memory_bus.py +6 -3
  47. package/tools/core/process_supervisor.py +28 -18
  48. package/tools/core/token_estimator.py +55 -18
  49. package/tools/count_tokens.py +11 -7
  50. package/tools/create_mock_docx.py +3 -0
  51. package/tools/dashboard_generator.py +17 -15
  52. package/tools/db_sandbox.py +4 -1
  53. package/tools/debt_harvester.py +2 -2
  54. package/tools/diagram_architect.py +3 -0
  55. package/tools/distill_log.py +119 -26
  56. package/tools/e2e_flow_prober.py +3 -0
  57. package/tools/export_postman_collection.py +3 -0
  58. package/tools/flaky_detector.py +3 -0
  59. package/tools/fsm_enforcer.py +2 -2
  60. package/tools/fuzz_payloads.py +3 -0
  61. package/tools/generate_allure_report.py +3 -0
  62. package/tools/generate_api_matrix.py +3 -0
  63. package/tools/generate_jmx_plan.py +3 -0
  64. package/tools/generate_tc_from_story.py +3 -0
  65. package/tools/generate_test_reports.py +3 -0
  66. package/tools/git_pre_commit_guard.py +13 -3
  67. package/tools/git_worktree_manager.py +3 -0
  68. package/tools/heal/__init__.py +3 -0
  69. package/tools/heal_pr_automator.py +3 -0
  70. package/tools/heuristic_locator_matcher.py +3 -0
  71. package/tools/hub_publisher.py +3 -3
  72. package/tools/infer_linter.py +19 -9
  73. package/tools/init_config.py +6 -9
  74. package/tools/jtl_analyzer.py +3 -0
  75. package/tools/lint/__init__.py +3 -0
  76. package/tools/lint_ai_docs.py +3 -0
  77. package/tools/lookup_tc.py +3 -0
  78. package/tools/lookup_xpath.py +3 -0
  79. package/tools/matrix_sharder.py +3 -0
  80. package/tools/mcp/__init__.py +3 -0
  81. package/tools/mcp_docx_server.py +1 -1
  82. package/tools/mcp_excel_server.py +4 -1
  83. package/tools/mcp_server.py +4 -1
  84. package/tools/md_to_xlsx.py +3 -0
  85. package/tools/mechanical_ui_gate.py +3 -0
  86. package/tools/micro_mutator.py +9 -5
  87. package/tools/network_mock_shield.py +3 -0
  88. package/tools/newman_analyzer.py +3 -0
  89. package/tools/omni_emitter.py +3 -0
  90. package/tools/omni_parser.py +3 -0
  91. package/tools/omni_transpiler.py +3 -0
  92. package/tools/output_formatter.py +3 -0
  93. package/tools/package_release.py +6 -6
  94. package/tools/pairwise_generator.py +3 -0
  95. package/tools/pentest_scope_guard.py +2 -2
  96. package/tools/perf/__init__.py +3 -0
  97. package/tools/pinpoint_failure.py +3 -0
  98. package/tools/project_state.py +3 -0
  99. package/tools/repo_map.py +3 -0
  100. package/tools/report/__init__.py +3 -0
  101. package/tools/rules_router.py +42 -10
  102. package/tools/runaway_stopper.py +3 -0
  103. package/tools/safety_firewall.py +3 -0
  104. package/tools/setup_project.py +9 -4
  105. package/tools/skill_collision_guard.py +2 -2
  106. package/tools/skillspector.py +2 -1
  107. package/tools/smart_visual_masker.py +3 -0
  108. package/tools/telemetry_correlator.py +3 -0
  109. package/tools/template_excel_exporter.py +2 -2
  110. package/tools/test_impact.py +3 -0
  111. package/tools/trace_data_flow.py +3 -0
  112. package/tools/traffic_session_converter.py +3 -0
  113. package/tools/ui_server.py +2 -2
  114. package/tools/universal_ir.py +3 -0
  115. package/tools/update_sentinel.py +15 -9
  116. package/tools/validate_groovy_scripts.py +3 -0
  117. package/tools/verify_all.py +27 -20
  118. package/tools/visual_diff_canvas.py +3 -0
  119. package/tools/visual_som_helper.py +3 -0
  120. package/tools/watch_mode.py +4 -4
  121. package/tools/wcag_audit.py +3 -0
  122. package/tools/welcome_page.py +1 -1
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  import com.enterprise.pages.BasePage
2
5
  import com.enterprise.pages.LoginPage
3
6
  import com.enterprise.pages.DataMiningPage
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  package com.enterprise.pages
2
5
 
3
6
  import org.openqa.selenium.By
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  import { defineConfig, devices } from '@playwright/test';
2
5
 
3
6
  export default defineConfig({
@@ -1,3 +1,6 @@
1
+ # SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ # SPDX-License-Identifier: MIT
3
+
1
4
  """Example: managed server lifecycle + minimal Playwright automation.
2
5
 
3
6
  Hub baseline: headless chromium, 1920x1080 viewport, networkidle wait,
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  /**
2
5
  * Playwright Core Web Vitals (CWV) Profiling Fixture via Chrome DevTools Protocol (CDP)
3
6
  * Measures LCP (Largest Contentful Paint), CLS (Cumulative Layout Shift),
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  /**
2
5
  * DAST Automated Security Test Recipes (Playwright TypeScript)
3
6
  * Includes HTTP Security Headers auditing and BOLA / IDOR cross-tenant defense checks.
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  package pages
2
5
 
3
6
  class UserManagementPage extends BasePage {
@@ -1,3 +1,6 @@
1
+ // SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
2
+ // SPDX-License-Identifier: MIT
3
+
1
4
  /**
2
5
  * Clean POM & Flat Architecture Refactoring Demonstration (Playwright TypeScript)
3
6
  *
@@ -37,4 +37,4 @@ python tools/infer_linter.py --file pages/OrderPage.py --strict
37
37
  The ACI engine automatically rejects patches that introduce:
38
38
  - Syntax errors or brace mismatches.
39
39
  - Swallowed exception handlers (`except: pass`).
40
- - Hardcoded machine-specific absolute paths (`/Users/admin/...`).
40
+ - Hardcoded machine-specific absolute paths (`/Users/<username>/...`).
package/README.en.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  > **Core Mission:** A standalone linter and guardrail engine (zero external dependencies for core engine & DoD gates) safeguarding automated test suites when AI writes code — Automatically catching "fake-pass" tests (0 assertions, tautologies), eliminating fixed sleeps, compressing 95% of CI/CD log noise, and enforcing Clean POM architecture.
8
8
  > **Author:** Thế Vị ([@TeeVee98](https://github.com/TeeVee98)) | **License:** MIT License
9
- > **Version:** `v4.1.2` | **Scale:** 53 Standardized QA Skills, 9 Specialized AI Agents, 10 DoD Quality Gates.
9
+ > **Version:** `v4.1.4` | **Scale:** 53 Standardized QA Skills, 9 Specialized AI Agents, 10 DoD Quality Gates.
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/@teevee98/synapse-hub.svg?style=flat-square&color=blue)](https://www.npmjs.com/package/@teevee98/synapse-hub)
12
12
  [![node version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg?style=flat-square)](https://nodejs.org)
@@ -154,7 +154,7 @@ Every test code change must satisfy all 10 Quality Gates before pull request mer
154
154
  # Pre-commit hook (.pre-commit-config.yaml):
155
155
  repos:
156
156
  - repo: https://github.com/TeeVee98/Synapse-Hub
157
- rev: v4.1.2
157
+ rev: v4.1.4
158
158
  hooks:
159
159
  - id: synapse-lint
160
160
  - id: synapse-verify
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  > **Định vị cốt lõi:** Bộ Linter & Guardrails độc lập (zero external dependencies cho core engine & DoD gates) bảo vệ độ tin cậy của test suite khi AI viết code — Tự động bắt test "pass ảo" (0 assert, tautology), loại bỏ hoàn toàn sleep cố định, nén 95% log CI/CD, và chuẩn hóa cấu trúc Clean POM.
8
8
  > **Tác giả:** Thế Vị ([@TeeVee98](https://github.com/TeeVee98)) | **Giấy phép:** MIT License
9
- > **Phiên bản:** `v4.1.2` | **Quy mô:** 53 Kỹ năng QA, 9 Vai trò AI Agent, 10 Cổng kiểm định DoD.
9
+ > **Phiên bản:** `v4.1.4` | **Quy mô:** 53 Kỹ năng QA, 9 Vai trò AI Agent, 10 Cổng kiểm định DoD.
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/@teevee98/synapse-hub.svg?style=flat-square&color=blue)](https://www.npmjs.com/package/@teevee98/synapse-hub)
12
12
  [![node version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg?style=flat-square)](https://nodejs.org)
@@ -154,7 +154,7 @@ Mọi thay đổi mã nguồn kiểm thử đều được kiểm chứng qua 10
154
154
  # Pre-commit hook (.pre-commit-config.yaml):
155
155
  repos:
156
156
  - repo: https://github.com/TeeVee98/Synapse-Hub
157
- rev: v4.1.2
157
+ rev: v4.1.4
158
158
  hooks:
159
159
  - id: synapse-lint
160
160
  - id: synapse-verify
package/agentskills.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agentskills.io/schema/v1.json",
3
3
  "name": "Synapse-Hub",
4
- "version": "4.1.2",
4
+ "version": "4.1.4",
5
5
  "description": "Enterprise QA & Test Automation AI Skills Ecosystem — 53 skills organised across 11 Domain Packages adhering to Clean POM Flat Architecture.",
6
6
  "author": "Thế Vị (@TeeVee98)",
7
7
  "repository": "https://github.com/TeeVee98/Synapse-Hub",
@@ -3,7 +3,7 @@
3
3
  [🇻🇳 Tiếng Việt](ARCHITECTURE.md) | [🇬🇧 English Edition](ARCHITECTURE.en.md)
4
4
 
5
5
  > **Scope:** Enterprise Multi-Agent QA Hub
6
- > **Version:** `4.1.2` | **Status:** Active / Production Standard
6
+ > **Version:** `4.1.4` | **Status:** Active / Production Standard
7
7
 
8
8
  ---
9
9
 
@@ -3,7 +3,7 @@
3
3
  [🇻🇳 Tiếng Việt](ARCHITECTURE.md) | [🇬🇧 English Edition](ARCHITECTURE.en.md)
4
4
 
5
5
  > **Phạm vi:** Enterprise Multi-Agent QA Hub
6
- > **Version:** `4.1.2` | **Trạng thái:** Hoạt động / Tiêu chuẩn Sản xuất
6
+ > **Version:** `4.1.4` | **Trạng thái:** Hoạt động / Tiêu chuẩn Sản xuất
7
7
  > **Tác giả:** Thế Vị (@TeeVee98) | **Giấy phép:** MIT License
8
8
 
9
9
  ---
@@ -3,7 +3,7 @@
3
3
  **Document ID:** SYNAPSE-AUDIT-PERF-2026-M2
4
4
  **Evaluation Standard:** Adversarial Enterprise SRE Benchmark (Scale 1.0 – 10.0)
5
5
  **Lead Auditor:** Principal Performance Test Architect & Staff SRE (15+ Years Distributed Systems Experience)
6
- **Target Repository:** Synapse Enterprise QA Hub (`/Users/phungcao/Downloads/Agent Skill`)
6
+ **Target Repository:** Synapse Enterprise QA Hub (`/path/to/workstation/Agent Skill`)
7
7
  **Audit Date:** 2026-11-09
8
8
  **Status:** COMPLETE / OFFICIAL AUDIT REPORT
9
9
 
@@ -549,7 +549,7 @@ The profiler runs unthrottled against local or high-speed CI networks, producing
549
549
  `examples/playwright-crm-suite/tests/customers.spec.ts` imports standard `@playwright/test` and `BasePage`, with zero references to `playwright_cwv_profiler_fixture.ts`. Across the entire repository, zero functional test suites reference the profiler fixture.
550
550
 
551
551
  ##### 6. Memory Leak & Heap Snapshot Tooling Gaps
552
- - **Unmounted MCP Server:** Memory debugging instructions in `/Users/phungcao/.gemini/config/plugins/chrome-devtools-plugin/skills/memory-leak-debugging/SKILL.md` rely on the `chrome-devtools` MCP server started with `--memoryDebugging`. However, the active runtime environment registers only `genoffice` and `playwright`.
552
+ - **Unmounted MCP Server:** Memory debugging instructions in `<HOME_DIR>/.gemini/config/plugins/chrome-devtools-plugin/skills/memory-leak-debugging/SKILL.md` rely on the `chrome-devtools` MCP server started with `--memoryDebugging`. However, the active runtime environment registers only `genoffice` and `playwright`.
553
553
  - **Gate 5 Quality Gate Conflict:** Gate 5 in `tools/verify_all.py` (line 433) explicitly blacklists temporary files and heap dumps, scanning for `.heapsnapshot` and `.hprof` files. Generating heap dumps during CI causes `verify_all.py` to fail.
554
554
  - **Zero Detached DOM Node Assertions:** Codebase references to `detached` strictly refer to waiting for loading spinners to detach (`waitFor({ state: 'detached' })`). There is zero automated verification for detached DOM node retention or leaking event listeners.
555
555
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teevee98/synapse-hub",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "Enterprise AI Agent Intelligence Hub & Autonomous Skill Network",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "synapse-hub",
3
3
  "displayName": "Synapse Hub Enterprise QA",
4
- "version": "4.1.2",
4
+ "version": "4.1.4",
5
5
  "description": "Enterprise AI Agent Intelligence Hub & Autonomous Skill Network for Quality Engineering, Clean POM, and Automated Testing.",
6
6
  "author": {
7
7
  "name": "TeeVee98",
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env python3
2
+ # SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
3
+ # SPDX-License-Identifier: MIT
4
+
2
5
  """
3
6
  Generates standard examples/ directory and realistic fixtures for all skills (Task B3).
4
7
  """
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env python3
2
+ # SPDX-FileCopyrightText: © 2026 Thế Vị (@TeeVee98) <https://github.com/TeeVee98/Synapse-Hub>
3
+ # SPDX-License-Identifier: MIT
4
+
2
5
  """
3
6
  Enterprise Agent-Skills Hub Distribution Packager
4
7
  ================================================
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "name": "Synapse-Hub",
4
- "version": "4.1.2",
4
+ "version": "4.1.4",
5
5
  "description": "Unified Catalog of 53 Skills across 11 Domain Packages for Enterprise QA AI Agents.",
6
6
  "totalSkills": 53,
7
7
  "domains": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/TeeVee98/Synapse-Hub/main/docs/schemas/synapse.config.schema.json",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "quality_gates": {
5
5
  "mutation_min_score": 80,
6
6
  "gates": {