@teevee98/synapse-hub 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/agentskills.json +1 -1
- package/docs/ARCHITECTURE.en.md +1 -1
- package/docs/ARCHITECTURE.md +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills_manifest.json +1 -1
- package/synapse.config.json +1 -1
- package/tools/__init__.py +1 -1
- package/tools/browser_helpers.js +2 -2
- package/tools/bump_version.py +2 -2
- package/tools/cli.py +3 -3
- package/tools/dashboard_generator.py +6 -6
- package/tools/hub_publisher.py +2 -12
- package/tools/mcp_docx_server.py +1 -1
- package/tools/mcp_excel_server.py +1 -1
- package/tools/mcp_server.py +1 -1
- package/tools/ui_server.py +1 -1
- package/tools/update_sentinel.py +3 -3
- package/tools/verify_all.py +2 -2
- package/tools/welcome_page.py +1 -1
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.2.
|
|
9
|
+
> **Version:** `v4.2.2` | **Scale:** 53 Standardized QA Skills, 9 Specialized AI Agents, 10 DoD Quality Gates.
|
|
10
10
|
|
|
11
11
|
[](https://www.npmjs.com/package/@teevee98/synapse-hub)
|
|
12
12
|
[](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.2.
|
|
157
|
+
rev: v4.2.2
|
|
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.2.
|
|
9
|
+
> **Phiên bản:** `v4.2.2` | **Quy mô:** 53 Kỹ năng QA, 9 Vai trò AI Agent, 10 Cổng kiểm định DoD.
|
|
10
10
|
|
|
11
11
|
[](https://www.npmjs.com/package/@teevee98/synapse-hub)
|
|
12
12
|
[](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.2.
|
|
157
|
+
rev: v4.2.2
|
|
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.2.
|
|
4
|
+
"version": "4.2.2",
|
|
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",
|
package/docs/ARCHITECTURE.en.md
CHANGED
|
@@ -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.2.
|
|
6
|
+
> **Version:** `4.2.2` | **Status:** Active / Production Standard
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -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.2.
|
|
6
|
+
> **Version:** `4.2.2` | **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
|
---
|
package/package.json
CHANGED
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.2.
|
|
4
|
+
"version": "4.2.2",
|
|
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",
|
package/skills_manifest.json
CHANGED
|
@@ -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.2.
|
|
4
|
+
"version": "4.2.2",
|
|
5
5
|
"description": "Unified Catalog of 53 Skills across 11 Domain Packages for Enterprise QA AI Agents.",
|
|
6
6
|
"totalSkills": 53,
|
|
7
7
|
"domains": {
|
package/synapse.config.json
CHANGED
package/tools/__init__.py
CHANGED
package/tools/browser_helpers.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
(function () {
|
|
14
14
|
'use strict';
|
|
15
15
|
|
|
16
|
-
if (window.__qa && window.__qa.__version === '4.2.
|
|
16
|
+
if (window.__qa && window.__qa.__version === '4.2.2') {
|
|
17
17
|
return window.__qa;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
const qa = {
|
|
50
|
-
__version: '4.2.
|
|
50
|
+
__version: '4.2.2',
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* 1. Smart Action Batching
|
package/tools/bump_version.py
CHANGED
|
@@ -206,13 +206,13 @@ def run_tests() -> bool:
|
|
|
206
206
|
print("\n🔍 Running 10 DoD Quality Gates verification...")
|
|
207
207
|
verify_script = os.path.join(REPO_ROOT, "tools", "verify_all.py")
|
|
208
208
|
try:
|
|
209
|
-
res_verify = subprocess.run([sys.executable, verify_script], cwd=REPO_ROOT, timeout=
|
|
209
|
+
res_verify = subprocess.run([sys.executable, verify_script], cwd=REPO_ROOT, timeout=360.0)
|
|
210
210
|
if res_verify.returncode != 0:
|
|
211
211
|
print("❌ Quality Gates failed! Aborting release.")
|
|
212
212
|
return False
|
|
213
213
|
print("✅ 10 Quality Gates DoD PASSED.")
|
|
214
214
|
except subprocess.TimeoutExpired:
|
|
215
|
-
print("❌ Quality Gates timed out after
|
|
215
|
+
print("❌ Quality Gates timed out after 360s! Aborting release.")
|
|
216
216
|
return False
|
|
217
217
|
return True
|
|
218
218
|
|
package/tools/cli.py
CHANGED
|
@@ -133,7 +133,7 @@ def _resolve_manifest_path(repo_root: Optional[str] = None) -> Optional[str]:
|
|
|
133
133
|
def cmd_version(args):
|
|
134
134
|
"""Displays the current hub version, skill catalog count, and license information."""
|
|
135
135
|
manifest_path = _resolve_manifest_path()
|
|
136
|
-
version = "4.2.
|
|
136
|
+
version = "4.2.2"
|
|
137
137
|
manifest_skills = 53
|
|
138
138
|
if manifest_path and os.path.exists(manifest_path):
|
|
139
139
|
try:
|
|
@@ -775,14 +775,14 @@ def cmd_trend(args):
|
|
|
775
775
|
|
|
776
776
|
def _hub_version():
|
|
777
777
|
manifest_path = _resolve_manifest_path()
|
|
778
|
-
version = "4.2.
|
|
778
|
+
version = "4.2.2"
|
|
779
779
|
if manifest_path and os.path.exists(manifest_path):
|
|
780
780
|
try:
|
|
781
781
|
import json
|
|
782
782
|
with open(manifest_path, "r", encoding="utf-8") as f:
|
|
783
783
|
version = json.load(f).get("version", version)
|
|
784
784
|
except (OSError, json.JSONDecodeError):
|
|
785
|
-
version = "4.2.
|
|
785
|
+
version = "4.2.2"
|
|
786
786
|
return version
|
|
787
787
|
|
|
788
788
|
|
|
@@ -1350,7 +1350,7 @@ def _build_target_translations(
|
|
|
1350
1350
|
"th_step_status": "Trạng Thái",
|
|
1351
1351
|
"th_step_details": "Chi Tiết Kỹ Thuật (OTel & AST)",
|
|
1352
1352
|
|
|
1353
|
-
"footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v4.2.
|
|
1353
|
+
"footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v4.2.2 • Bản quyền © Thế Vị (@TeeVee98) • Chuẩn Clean POM & Kiểm Thử Tự Chủ",
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
1356
|
translations_en = {
|
|
@@ -1428,7 +1428,7 @@ def _build_target_translations(
|
|
|
1428
1428
|
"th_step_status": "Status",
|
|
1429
1429
|
"th_step_details": "Technical Details (OTel & AST)",
|
|
1430
1430
|
|
|
1431
|
-
"footer_text": "Generated automatically by Synapse-Hub v4.2.
|
|
1431
|
+
"footer_text": "Generated automatically by Synapse-Hub v4.2.2 • Copyright © Thế Vị (@TeeVee98) • Clean POM & Autonomous Testing",
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
|
@@ -1917,7 +1917,7 @@ def _build_hub_translations(
|
|
|
1917
1917
|
"""Builds bilingual dictionaries for Hub Dashboard."""
|
|
1918
1918
|
translations_vi = {
|
|
1919
1919
|
"header_title": "Bảng Điều Hành Chất Lượng Doanh Nghiệp",
|
|
1920
|
-
"header_subtitle": "Synapse-Hub v4.2.
|
|
1920
|
+
"header_subtitle": "Synapse-Hub v4.2.2 • Hệ Sinh Thái Kiểm Thử AI Agent Tự Chủ",
|
|
1921
1921
|
"nav_welcome": "Giới Thiệu",
|
|
1922
1922
|
"meta_mode": "🏷️ Chế độ: <strong>HỆ SINH THÁI QA HUB</strong>",
|
|
1923
1923
|
"meta_gen": f"🕒 Khởi tạo: <strong>{now_str}</strong>",
|
|
@@ -1987,12 +1987,12 @@ def _build_hub_translations(
|
|
|
1987
1987
|
"th_sk_ver": "Phiên Bản",
|
|
1988
1988
|
"th_sk_cap": "Khả Năng Nghiệp Vụ Cốt Lõi",
|
|
1989
1989
|
|
|
1990
|
-
"footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp • Synapse-Hub v4.2.
|
|
1990
|
+
"footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp • Synapse-Hub v4.2.2 • Bản quyền © Thế Vị (@TeeVee98) • Hệ Thống Kiểm Thử AI Agent Tự Chủ",
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
1993
|
translations_en = {
|
|
1994
1994
|
"header_title": "Enterprise QA Executive Dashboard",
|
|
1995
|
-
"header_subtitle": "Synapse-Hub v4.2.
|
|
1995
|
+
"header_subtitle": "Synapse-Hub v4.2.2 • Autonomous AI Agent Testing Ecosystem",
|
|
1996
1996
|
"nav_welcome": "Welcome",
|
|
1997
1997
|
"meta_mode": "🏷️ Mode: <strong>QA HUB ECOSYSTEM</strong>",
|
|
1998
1998
|
"meta_gen": f"🕒 Generated: <strong>{now_str}</strong>",
|
|
@@ -2062,7 +2062,7 @@ def _build_hub_translations(
|
|
|
2062
2062
|
"th_sk_ver": "Version",
|
|
2063
2063
|
"th_sk_cap": "Core Capabilities",
|
|
2064
2064
|
|
|
2065
|
-
"footer_text": "Enterprise QA Executive Dashboard • Synapse-Hub v4.2.
|
|
2065
|
+
"footer_text": "Enterprise QA Executive Dashboard • Synapse-Hub v4.2.2 • Copyright © Thế Vị (@TeeVee98) • Autonomous AI Agent Testing Ecosystem",
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
2068
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
package/tools/hub_publisher.py
CHANGED
|
@@ -173,21 +173,11 @@ def run_preflight_verification(skip_verify: bool = False, dry_run: bool = False)
|
|
|
173
173
|
return False
|
|
174
174
|
log_success("Universal version synchronization verified across 16 targets.")
|
|
175
175
|
|
|
176
|
-
# 2. Regression Test Suite
|
|
177
|
-
if not skip_verify:
|
|
178
|
-
print(" Running Regression Test Suite (pytest tests -q)...")
|
|
179
|
-
ret, out = execute_cmd([sys.executable, "-m", "pytest", "tests", "-q"], "Regression Test Suite failed", dry_run=dry_run, timeout=180.0)
|
|
180
|
-
if ret != 0:
|
|
181
|
-
return False
|
|
182
|
-
log_success("Hub Regression Test Suite passed 100%.")
|
|
183
|
-
else:
|
|
184
|
-
log_warn("Pre-flight Regression Test Suite skipped by user (--skip-verify).")
|
|
185
|
-
|
|
186
|
-
# 3. 10 Quality Gates DoD
|
|
176
|
+
# 2. 10 Quality Gates DoD (includes Hub Regression Test Suite under Gate 7)
|
|
187
177
|
if not skip_verify:
|
|
188
178
|
verify_script = os.path.join(REPO_ROOT, "tools", "verify_all.py")
|
|
189
179
|
if os.path.exists(verify_script):
|
|
190
|
-
ret, _ = execute_cmd([sys.executable, verify_script, "--mode", "hub"], "10 Quality Gates DoD Verification failed", dry_run=dry_run, timeout=
|
|
180
|
+
ret, _ = execute_cmd([sys.executable, verify_script, "--mode", "hub"], "10 Quality Gates DoD Verification failed", dry_run=dry_run, timeout=360.0)
|
|
191
181
|
if ret != 0:
|
|
192
182
|
return False
|
|
193
183
|
log_success("10 Quality Gates DoD verified 100% compliant.")
|
package/tools/mcp_docx_server.py
CHANGED
|
@@ -60,7 +60,7 @@ if hasattr(sys.stdout, 'reconfigure'):
|
|
|
60
60
|
except Exception:
|
|
61
61
|
pass
|
|
62
62
|
|
|
63
|
-
SERVER_VERSION = "4.2.
|
|
63
|
+
SERVER_VERSION = "4.2.2"
|
|
64
64
|
MAX_DOCX_SIZE = 50 * 1024 * 1024 # 50 MB
|
|
65
65
|
MAX_UNCOMPRESSED_SIZE = 200 * 1024 * 1024 # 200 MB
|
|
66
66
|
MAX_RATIO = 100 # 100:1 compression ratio limit
|
|
@@ -55,7 +55,7 @@ if hasattr(sys.stdout, 'reconfigure'):
|
|
|
55
55
|
except Exception:
|
|
56
56
|
pass
|
|
57
57
|
|
|
58
|
-
SERVER_VERSION = "4.2.
|
|
58
|
+
SERVER_VERSION = "4.2.2"
|
|
59
59
|
MAX_XLSX_SIZE = 50 * 1024 * 1024 # 50 MB
|
|
60
60
|
MAX_UNCOMPRESSED_SIZE = 200 * 1024 * 1024 # 200 MB
|
|
61
61
|
MAX_RATIO = 100 # 100:1 compression ratio limit
|
package/tools/mcp_server.py
CHANGED
package/tools/ui_server.py
CHANGED
|
@@ -238,7 +238,7 @@ class SynapseUiHandler(BaseHTTPRequestHandler):
|
|
|
238
238
|
if path == "/api/status":
|
|
239
239
|
active_target = JOB_MANAGER.target_dir or REPO_ROOT
|
|
240
240
|
self.send_json(200, {
|
|
241
|
-
"version": "4.2.
|
|
241
|
+
"version": "4.2.2",
|
|
242
242
|
"status": "ONLINE",
|
|
243
243
|
"os": sys.platform,
|
|
244
244
|
"workspace": active_target,
|
package/tools/update_sentinel.py
CHANGED
|
@@ -68,7 +68,7 @@ def get_local_version():
|
|
|
68
68
|
try:
|
|
69
69
|
with open(pkg_file, "r", encoding="utf-8") as f:
|
|
70
70
|
data = json.load(f)
|
|
71
|
-
return data.get("version", "4.2.
|
|
71
|
+
return data.get("version", "4.2.2")
|
|
72
72
|
except (OSError, json.JSONDecodeError):
|
|
73
73
|
data = {}
|
|
74
74
|
|
|
@@ -77,11 +77,11 @@ def get_local_version():
|
|
|
77
77
|
try:
|
|
78
78
|
with open(manifest_file, "r", encoding="utf-8") as f:
|
|
79
79
|
data = json.load(f)
|
|
80
|
-
return data.get("version", "4.2.
|
|
80
|
+
return data.get("version", "4.2.2")
|
|
81
81
|
except (OSError, json.JSONDecodeError):
|
|
82
82
|
data = {}
|
|
83
83
|
|
|
84
|
-
return "4.2.
|
|
84
|
+
return "4.2.2"
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
def fetch_remote_version():
|
package/tools/verify_all.py
CHANGED
|
@@ -1096,7 +1096,7 @@ def gate_7_infer_linter(repo_root, mode="AUTO"):
|
|
|
1096
1096
|
text=True,
|
|
1097
1097
|
encoding="utf-8",
|
|
1098
1098
|
errors="replace",
|
|
1099
|
-
timeout=
|
|
1099
|
+
timeout=360.0,
|
|
1100
1100
|
env=env
|
|
1101
1101
|
)
|
|
1102
1102
|
combined_output = (test_res.stdout or "") + "\n" + (test_res.stderr or "")
|
|
@@ -1122,7 +1122,7 @@ def gate_7_infer_linter(repo_root, mode="AUTO"):
|
|
|
1122
1122
|
metrics_desc = ", ".join(summary_parts)
|
|
1123
1123
|
safe_print(f"[PASS] Hub regression test suite passed: {metrics_desc} in {metrics['duration_seconds']:.2f}s (Git commit: {commit_sha}).")
|
|
1124
1124
|
except subprocess.TimeoutExpired:
|
|
1125
|
-
safe_print("[FAIL] Gate 7 Hub Regression Test Suite timed out after
|
|
1125
|
+
safe_print("[FAIL] Gate 7 Hub Regression Test Suite timed out after 360s!")
|
|
1126
1126
|
return False
|
|
1127
1127
|
except (OSError, subprocess.SubprocessError) as err:
|
|
1128
1128
|
safe_print(f"[FAIL] Gate 7 Failed to run test suite: {err}")
|
package/tools/welcome_page.py
CHANGED
|
@@ -47,7 +47,7 @@ def get_hub_metadata() -> Dict[str, Any]:
|
|
|
47
47
|
"""Retrieves version and catalog count from skills_manifest.json."""
|
|
48
48
|
manifest_path = os.path.join(HUB_ROOT, "skills_manifest.json")
|
|
49
49
|
meta = {
|
|
50
|
-
"version": "4.2.
|
|
50
|
+
"version": "4.2.2",
|
|
51
51
|
"totalSkills": 53,
|
|
52
52
|
"author": "Thế Vị (@TeeVee98)",
|
|
53
53
|
"repo": "https://github.com/TeeVee98/Synapse-Hub"
|