@teevee98/synapse-hub 4.1.0 → 4.1.1
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 +4 -4
- package/README.md +4 -4
- package/agentskills.json +1 -1
- package/docs/ARCHITECTURE.en.md +2 -2
- package/docs/ARCHITECTURE.md +2 -2
- package/docs/CONTRIBUTING.en.md +1 -1
- package/docs/CONTRIBUTING.md +1 -1
- package/docs/TOOL_CATALOG.md +14 -4
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills_manifest.json +1 -1
- package/synapse.config.json +1 -1
- package/tools/TOOL_CATALOG.json +156 -6
- package/tools/__init__.py +1 -1
- package/tools/benchmark_swarm_context.py +2 -2
- package/tools/browser_helpers.js +2 -2
- package/tools/check_version_sync.py +1 -1
- package/tools/cli.py +3 -3
- package/tools/core/file_lock.py +1 -1
- package/tools/core/token_estimator.py +0 -1
- package/tools/dashboard_generator.py +6 -6
- package/tools/distill_log.py +1 -1
- 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/pentest_scope_guard.py +1 -1
- package/tools/perf/benchmark_perf_runner.py +4 -5
- package/tools/rules_router.py +1 -1
- package/tools/token_telemetry.py +1 -1
- package/tools/ui_server.py +1 -1
- package/tools/update_sentinel.py +3 -3
- package/tools/welcome_page.py +1 -1
package/README.en.md
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
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.
|
|
9
|
+
> **Version:** `v4.1.1` | **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)
|
|
13
13
|
[](https://python.org)
|
|
14
14
|
[](docs/QUALITY_GATES.en.md)
|
|
15
|
-
[](#)
|
|
16
16
|
[](https://github.com/TeeVee98/Synapse-Hub/blob/main/LICENSE)
|
|
17
17
|
[](#)
|
|
18
18
|
|
|
@@ -68,7 +68,7 @@ flowchart LR
|
|
|
68
68
|
|
|
69
69
|
## ⚡ Quickstart in 60 Seconds (One-Command Onboarding 🚀)
|
|
70
70
|
|
|
71
|
-
You **never need to memorize** 53 skills or
|
|
71
|
+
You **never need to memorize** 53 skills or 121 internal tools. Synapse Hub activates autonomously when needed:
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
@@ -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.
|
|
157
|
+
rev: v4.1.1
|
|
158
158
|
hooks:
|
|
159
159
|
- id: synapse-lint
|
|
160
160
|
- id: synapse-verify
|
package/README.md
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
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.
|
|
9
|
+
> **Phiên bản:** `v4.1.1` | **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)
|
|
13
13
|
[](https://python.org)
|
|
14
14
|
[](docs/QUALITY_GATES.md)
|
|
15
|
-
[](#)
|
|
16
16
|
[](https://github.com/TeeVee98/Synapse-Hub/blob/main/LICENSE)
|
|
17
17
|
[](#)
|
|
18
18
|
|
|
@@ -68,7 +68,7 @@ flowchart LR
|
|
|
68
68
|
|
|
69
69
|
## ⚡ Bắt Đầu Nhanh Trong 60 Giây (1 Lệnh Khởi Chạy 🚀)
|
|
70
70
|
|
|
71
|
-
Bạn **không cần học hay ghi nhớ** 53 kỹ năng hay
|
|
71
|
+
Bạn **không cần học hay ghi nhớ** 53 kỹ năng hay 121 công cụ bên trong. Synapse Hub hoạt động tự động khi cần:
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
@@ -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.
|
|
157
|
+
rev: v4.1.1
|
|
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.
|
|
4
|
+
"version": "4.1.1",
|
|
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.1.
|
|
6
|
+
> **Version:** `4.1.1` | **Status:** Active / Production Standard
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -193,7 +193,7 @@ To maintain strict engineering rigor (**Truth Anchor**), Synapse Hub discloses a
|
|
|
193
193
|
2. **Empirical Benchmarks (Self-Reported Baseline):**
|
|
194
194
|
The metrics (25/25 challenges resolved, 76.2 tokens/bug) reflect author-measured internal baselines on curated challenges (`benchmarks/qa_eval`) rather than independent third-party double-blind audits. Metrics may vary on real-world enterprise suites depending on architectural complexity and test coverage.
|
|
195
195
|
3. **Hub-Spoke Version Pinning (Blast-Radius Isolation):**
|
|
196
|
-
When mounting or referencing Synapse Hub in downstream Spoke projects, downstream repositories should pin a specific Git Submodule commit or release tag (`git checkout
|
|
196
|
+
When mounting or referencing Synapse Hub in downstream Spoke projects, downstream repositories should pin a specific Git Submodule commit or release tag (`git checkout v4.1.1`) rather than tracking unpinned `main` HEAD, preventing upstream Hub changes from unexpectedly breaking downstream CI/CD pipelines.
|
|
197
197
|
4. **Supported Runners:**
|
|
198
198
|
First-class runner adapters for **Playwright, Pytest, Katalon Studio/Groovy, and Cypress**. Selenium WebDriver is supported via Clean POM architecture patterns, smart-wait primitives, and Universal IR transpilation.
|
|
199
199
|
5. **Environment Prerequisites:**
|
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.1.
|
|
6
|
+
> **Version:** `4.1.1` | **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
|
---
|
|
@@ -194,7 +194,7 @@ flowchart TD
|
|
|
194
194
|
2. **Kết Quả Benchmark Thực Nghiệm (Self-Reported Baseline):**
|
|
195
195
|
Các chỉ số 25/25 bài toán (100.0%) và 76.2 token / lỗi là kết quả đo lường nội bộ do tác giả thực hiện trên bộ benchmark curated nội bộ (`benchmarks/qa_eval`), chưa qua kiểm chứng độc lập của bên thứ ba (third-party double-blind benchmark). Khi áp dụng vào dự án thực tế với kiến trúc phức tạp, các chỉ số có thể thay đổi tùy thuộc vào độ bao phủ của bộ test.
|
|
196
196
|
3. **Cơ Chế Pin Version Hub-Spoke (Chống Lỗi Lan Truyền):**
|
|
197
|
-
Khi tích hợp Synapse Hub vào các dự án Spoke, khuyến nghị bắt buộc pin phiên bản qua Git Submodule commit cụ thể hoặc git release tag (`git checkout
|
|
197
|
+
Khi tích hợp Synapse Hub vào các dự án Spoke, khuyến nghị bắt buộc pin phiên bản qua Git Submodule commit cụ thể hoặc git release tag (`git checkout v4.1.1`), tránh kéo trực tiếp nhánh `main` tự động để không làm ảnh hưởng pipeline của các Spoke khi Hub có cập nhật chưa kiểm duyệt.
|
|
198
198
|
4. **Test Framework Được Hỗ Trợ Tốt Nhất:**
|
|
199
199
|
Tối ưu tốt nhất cho **Playwright, Pytest, Katalon Studio/Groovy, và Cypress**. Hỗ trợ Selenium WebDriver thông qua chuẩn kiến trúc Clean POM, smart wait và chuyển ngữ Universal IR.
|
|
200
200
|
5. **Yêu Cầu Môi Trường:**
|
package/docs/CONTRIBUTING.en.md
CHANGED
|
@@ -8,7 +8,7 @@ We welcome contributions to expand and refine skills, tools, and rules in the **
|
|
|
8
8
|
|
|
9
9
|
## 1. Skill Authoring Standards
|
|
10
10
|
|
|
11
|
-
Every skill resides in `.agents/skills/<skill-name>/` and must satisfy:
|
|
11
|
+
Every skill resides in `.agents/skills/<category>/<skill-name>/` (across 11 domain categories) and must satisfy:
|
|
12
12
|
|
|
13
13
|
1. **`SKILL.md` Structure:**
|
|
14
14
|
- Must contain valid YAML frontmatter with `name` and `description`.
|
package/docs/CONTRIBUTING.md
CHANGED
|
@@ -8,7 +8,7 @@ Chào mừng bạn tham gia đóng góp mở rộng kỹ năng (Skills), công c
|
|
|
8
8
|
|
|
9
9
|
## 1. Quy Chuẩn Khi Viết Kỹ Năng Mới (Skill Standards)
|
|
10
10
|
|
|
11
|
-
Mỗi kỹ năng nằm trong thư mục riêng `.agents/skills/<ten-ky-nang>/` và cần đáp ứng các tiêu chí sau:
|
|
11
|
+
Mỗi kỹ năng nằm trong thư mục riêng `.agents/skills/<category>/<ten-ky-nang>/` (thuộc 1 trong 11 nhóm chuyên mục) và cần đáp ứng các tiêu chí sau:
|
|
12
12
|
|
|
13
13
|
1. **Cấu trúc file `SKILL.md`:**
|
|
14
14
|
- Bắt buộc có phần mở đầu YAML frontmatter chuẩn xác chứa `name` và `description`.
|
package/docs/TOOL_CATALOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Synapse Hub — Tooling Ecosystem Catalog & Runbook
|
|
2
2
|
|
|
3
3
|
> **Audience:** QA Engineers, Autonomous AI Agents (Lead Orchestrator, POM-Crafter, Test-Runner, Failure-Analyst, Quality-Gatekeeper).
|
|
4
|
-
> **Total Tools Cataloged:** `
|
|
4
|
+
> **Total Tools Cataloged:** `121` | **Stable:** `121` | **Experimental:** `0`
|
|
5
5
|
|
|
6
6
|
## 1. Primary Enterprise CLI Tools
|
|
7
7
|
|
|
@@ -13,13 +13,15 @@
|
|
|
13
13
|
| `python tools/analyze_project.py` | **Quality Gates** | `quality-gatekeeper` | 🟢 Stable | `read_only` | Comprehensive health audit analyzing environment, POM structure, and Quality Gates. |
|
|
14
14
|
| `python tools/api_drift_sentinel.py` | **API & Contract Testing** | `api-engineer` | 🟢 Stable | `read_only` | Detects contract drift and breaking schema mutations against OpenAPI specifications. |
|
|
15
15
|
| `python tools/api_fuzzer.py` | **Testing & Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Autonomous API Fuzzing & Chaos Breaker |
|
|
16
|
-
| `python tools/
|
|
16
|
+
| `python tools/ast_cache.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/ast_cache.py — AST Dataflow Pre-Validation Cache (Boost B3) |
|
|
17
|
+
| `python tools/author_integrity.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/author_integrity.py — Author Attribution & Repository Provenance Guard |
|
|
17
18
|
| `python tools/auto_heal.py` | **Failure Autopsy & Healing** | `failure-analyst` | 🟢 Stable | `modifying` | Closed-loop locator self-healing engine matching broken selectors against DOM/AOM. |
|
|
18
19
|
| `python tools/auto_heal_reflexion.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Multi-Trial Episodic Reflexion Loop for Autonomous Healing (Noah Shinn / Reflexion Pattern) |
|
|
19
20
|
| `python tools/autogen_qa_broker.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Asynchronous Actor QA Message Broker (Microsoft AutoGen v0.4+ Pattern) |
|
|
20
21
|
| `python tools/benchmark_swarm_context.py` | **Benchmarking** | `orchestrator` | 🟢 Stable | `read_only` | Empirical context token reduction benchmark harness proving >= 40% savings. |
|
|
21
22
|
| `python tools/browsergym_eval.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | BrowserGym Web Agent Benchmark Harness (BrowserGym / WebArena Pattern) |
|
|
22
23
|
| `python tools/bug_reporter.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Auto-Bug Reporter & Root Cause Analysis (RCA) Ticket Generator |
|
|
24
|
+
| `python tools/build_consolidated_report.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/build_consolidated_report.py — Generate Unified Top 20 Skills & Agents Evaluation Report |
|
|
23
25
|
| `python tools/bump_version.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/bump_version.py — Atomic Universal Version Bumper for Synapse Hub |
|
|
24
26
|
| `python tools/cache_resolver.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Universal Local Semantic Memory Cache & Self-Healing Resolver |
|
|
25
27
|
| `python tools/check_env.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | ============================================================================== |
|
|
@@ -33,7 +35,8 @@
|
|
|
33
35
|
| `python tools/dashboard_generator.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/dashboard_generator.py — Standalone One-Page Enterprise QA HTML Dashboard |
|
|
34
36
|
| `python tools/db_sandbox.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Zero-Pollution Database Sandbox & Ephemeral Teardown Engine |
|
|
35
37
|
| `python tools/debt_harvester.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/debt_harvester.py — Technical Debt & Shortcut Harvester |
|
|
36
|
-
| `python tools/
|
|
38
|
+
| `python tools/diagram_architect.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/diagram_architect.py — Standalone Self-Contained SVG & HTML Diagram Builder |
|
|
39
|
+
| `python tools/distill_log.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/distill_log.py — Enterprise Multi-Framework Log Distiller (Token & Failure Sentinel) |
|
|
37
40
|
| `python tools/dspy_qa_signatures.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Declarative QA Signature Compilation Engine (Stanford DSPy Pattern) |
|
|
38
41
|
| `python tools/e2e_flow_prober.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise E2E Flow Prober & XPath Crawler Dispatcher (Cross-Platform) |
|
|
39
42
|
| `python tools/export_postman_collection.py` | **API & Contract Testing** | `api-engineer` | 🟢 Stable | `read_only` | Exports API test matrices into runnable Postman Collections with pre-request scripts. |
|
|
@@ -50,6 +53,7 @@
|
|
|
50
53
|
| `python tools/generate_tool_catalog.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/generate_tool_catalog.py — Enterprise Tooling Ecosystem Catalog Generator |
|
|
51
54
|
| `python tools/gherkin_suite.py` | **Manual Testing & Design** | `test-designer` | 🟢 Stable | `read_only` | Compiles Gherkin .feature specs into expanded test matrices and coverage reports. |
|
|
52
55
|
| `python tools/git_pre_commit_guard.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Git Pre-Commit Architecture & Discipline Guard |
|
|
56
|
+
| `python tools/git_worktree_manager.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/git_worktree_manager.py — Ephemeral Git Worktree Manager for Subagents |
|
|
53
57
|
| `python tools/goldfish_review.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/goldfish_review.py — Zero-Context Test Specification Reviewer |
|
|
54
58
|
| `python tools/heal_pr_automator.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Self-Healing Confidence Scorer & PR Automator |
|
|
55
59
|
| `python tools/heuristic_locator_matcher.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | 3-Layer Heuristic Locator Matcher (0-Token Autonomous Recovery) |
|
|
@@ -68,6 +72,7 @@
|
|
|
68
72
|
| `python tools/mcp_excel_server.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Cross-Platform MCP Excel Server (Zero-Dependency) |
|
|
69
73
|
| `python tools/mcp_server.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Model Context Protocol (MCP) Standard Server |
|
|
70
74
|
| `python tools/md_to_xlsx.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Markdown to Excel (.xlsx) Enterprise Converter |
|
|
75
|
+
| `python tools/mechanical_ui_gate.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/mechanical_ui_gate.py — Headless Chrome Mechanical Layout & Contrast Gate |
|
|
71
76
|
| `python tools/micro_mutator.py` | **Quality Gates** | `quality-gatekeeper` | 🟢 Stable | `read_only` | Syntactic micro-mutation sentinel eliminating tautological tests and measuring assertion sensitivity. |
|
|
72
77
|
| `python tools/mipro_assertion_tuner.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | MIPROv2 Prompt Assertion Tuner (Stanford DSPy v2 & Optuna TPE Pattern) |
|
|
73
78
|
| `python tools/network_mock_shield.py` | **API & Contract Testing** | `api-engineer` | 🟢 Stable | `modifying` | Network interception shield stubbing external routes and injecting chaos network faults. |
|
|
@@ -78,11 +83,15 @@
|
|
|
78
83
|
| `python tools/openxml_guard.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | OpenXML Security & Protocol Defense Guard |
|
|
79
84
|
| `python tools/output_formatter.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Standardized Output Formatter & Exit Code Specification |
|
|
80
85
|
| `python tools/package_release.py` | **CI/CD & Packaging** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise release packager preserving .github/workflows and generating SHA-256 provenance. |
|
|
86
|
+
| `python tools/pairwise_generator.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/pairwise_generator.py — Pairwise (2-Way) Combinatorial Test Case Generator |
|
|
87
|
+
| `python tools/pentest_scope_guard.py` | **Testing & Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/pentest_scope_guard.py — Enterprise Pentest Scope & DAST Runtime Guard |
|
|
81
88
|
| `python tools/pinpoint_failure.py` | **Failure Autopsy & Healing** | `failure-analyst` | 🟢 Stable | `read_only` | Sub-0.1s JUnit XML autopsy parser diagnosing test crashes without LLM token waste. |
|
|
82
89
|
| `python tools/project_state.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Project State Machine & Token-Capped Memory Anchor |
|
|
83
90
|
| `python tools/qa_event_stream.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Immutable QA Event Stream Engine (OpenHands EventStream Pattern) |
|
|
84
91
|
| `python tools/repo_map.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise Repository Map Compressor (Inspired by Aider-AI/aider) |
|
|
85
92
|
| `python tools/reversible_sandbox.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Reversible Execution Sandbox & Automated Teardown Engine (GoEx Pattern) |
|
|
93
|
+
| `python tools/rules_router.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/rules_router.py — Progressive Rules Router & Context Optimizer (Boost B2) |
|
|
94
|
+
| `python tools/runaway_stopper.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/runaway_stopper.py — Agent Runaway & Token Loop Sentinel |
|
|
86
95
|
| `python tools/safety_firewall.py` | **Security** | `quality-gatekeeper` | 🟢 Stable | `read_only` | Non-bypassable safety firewall blocking destructive operations (drop database, git push force, rm -rf). |
|
|
87
96
|
| `python tools/security_coverage_ledger.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Mathematical Security Coverage Ledger & Audit Tracker |
|
|
88
97
|
| `python tools/security_scanner.py` | **Security** | `quality-gatekeeper` | 🟢 Stable | `read_only` | Comprehensive enterprise security sentinel auditing Python & NPM dependencies and threat-model defense. |
|
|
@@ -104,6 +113,7 @@
|
|
|
104
113
|
| `python tools/test_memory_os.py` | **Testing & Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Hierarchical QA Test Memory OS (Letta / MemGPT Pattern) |
|
|
105
114
|
| `python tools/textgrad_mutation_optimizer.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Mutant-Directed Textual Loss Optimizer (Deterministic TextGrad-Style Heuristic) |
|
|
106
115
|
| `python tools/tms_sync_bridge.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Enterprise ALM & TMS Sync Bridge (Jira / Xray / Zephyr / TestRail) |
|
|
116
|
+
| `python tools/token_telemetry.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | tools/token_telemetry.py — Live LLM Token & MTTR Telemetry Engine |
|
|
107
117
|
| `python tools/tot_exploratory_tester.py` | **Manual Testing & Design** | `test-designer` | 🟢 Stable | `read_only` | Tree-of-Thoughts exploratory scenario generator with risk scoring and boundary decomposition. |
|
|
108
118
|
| `python tools/trace_data_flow.py` | **Auxiliary Utilities** | `orchestrator` | 🟢 Stable | `read_only` | Universal Data Flow & Teardown Tracer (Taint Analysis) |
|
|
109
119
|
| `python tools/traffic_session_converter.py` | **API & Contract Testing** | `api-engineer` | 🟢 Stable | `read_only` | Converts recorded HAR traffic sessions into executable API automation test cases. |
|
|
@@ -126,4 +136,4 @@
|
|
|
126
136
|
- `network`: Queries external APIs, monitors npm registry, or checks live URLs.
|
|
127
137
|
- `destructive`: High-impact actions guarded by `safety_firewall.py` (e.g. drop database, hard resets).
|
|
128
138
|
|
|
129
|
-
*Catalog generated: `2026-11-
|
|
139
|
+
*Catalog generated: `2026-11-13T16:17:55.180336+00:00` by `tools/generate_tool_catalog.py`*
|
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.1.
|
|
4
|
+
"version": "4.1.1",
|
|
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.1.
|
|
4
|
+
"version": "4.1.1",
|
|
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/TOOL_CATALOG.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "1.0.0",
|
|
3
|
-
"updated_at": "2026-11-
|
|
4
|
-
"total_tools":
|
|
5
|
-
"stable_count":
|
|
3
|
+
"updated_at": "2026-11-13T16:17:55.180336+00:00",
|
|
4
|
+
"total_tools": 121,
|
|
5
|
+
"stable_count": 121,
|
|
6
6
|
"experimental_count": 0,
|
|
7
7
|
"tools": [
|
|
8
8
|
{
|
|
@@ -100,6 +100,21 @@
|
|
|
100
100
|
],
|
|
101
101
|
"description": "Enterprise Autonomous API Fuzzing & Chaos Breaker"
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"file": "tools/ast_cache.py",
|
|
105
|
+
"command": "python tools/ast_cache.py",
|
|
106
|
+
"category": "Auxiliary Utilities",
|
|
107
|
+
"owner_role": "orchestrator",
|
|
108
|
+
"status": "stable",
|
|
109
|
+
"risk_level": "read_only",
|
|
110
|
+
"inputs": [
|
|
111
|
+
"CLI options"
|
|
112
|
+
],
|
|
113
|
+
"outputs": [
|
|
114
|
+
"Artifacts / Telemetry"
|
|
115
|
+
],
|
|
116
|
+
"description": "tools/ast_cache.py — AST Dataflow Pre-Validation Cache (Boost B3)"
|
|
117
|
+
},
|
|
103
118
|
{
|
|
104
119
|
"file": "tools/author_integrity.py",
|
|
105
120
|
"command": "python tools/author_integrity.py",
|
|
@@ -113,7 +128,7 @@
|
|
|
113
128
|
"outputs": [
|
|
114
129
|
"Artifacts / Telemetry"
|
|
115
130
|
],
|
|
116
|
-
"description": "tools/author_integrity.py — Author Attribution &
|
|
131
|
+
"description": "tools/author_integrity.py — Author Attribution & Repository Provenance Guard"
|
|
117
132
|
},
|
|
118
133
|
{
|
|
119
134
|
"file": "tools/auto_heal.py",
|
|
@@ -210,6 +225,21 @@
|
|
|
210
225
|
],
|
|
211
226
|
"description": "Auto-Bug Reporter & Root Cause Analysis (RCA) Ticket Generator"
|
|
212
227
|
},
|
|
228
|
+
{
|
|
229
|
+
"file": "tools/build_consolidated_report.py",
|
|
230
|
+
"command": "python tools/build_consolidated_report.py",
|
|
231
|
+
"category": "Auxiliary Utilities",
|
|
232
|
+
"owner_role": "orchestrator",
|
|
233
|
+
"status": "stable",
|
|
234
|
+
"risk_level": "read_only",
|
|
235
|
+
"inputs": [
|
|
236
|
+
"CLI options"
|
|
237
|
+
],
|
|
238
|
+
"outputs": [
|
|
239
|
+
"Artifacts / Telemetry"
|
|
240
|
+
],
|
|
241
|
+
"description": "tools/build_consolidated_report.py — Generate Unified Top 20 Skills & Agents Evaluation Report"
|
|
242
|
+
},
|
|
213
243
|
{
|
|
214
244
|
"file": "tools/bump_version.py",
|
|
215
245
|
"command": "python tools/bump_version.py",
|
|
@@ -405,6 +435,21 @@
|
|
|
405
435
|
],
|
|
406
436
|
"description": "tools/debt_harvester.py — Technical Debt & Shortcut Harvester"
|
|
407
437
|
},
|
|
438
|
+
{
|
|
439
|
+
"file": "tools/diagram_architect.py",
|
|
440
|
+
"command": "python tools/diagram_architect.py",
|
|
441
|
+
"category": "Auxiliary Utilities",
|
|
442
|
+
"owner_role": "orchestrator",
|
|
443
|
+
"status": "stable",
|
|
444
|
+
"risk_level": "read_only",
|
|
445
|
+
"inputs": [
|
|
446
|
+
"CLI options"
|
|
447
|
+
],
|
|
448
|
+
"outputs": [
|
|
449
|
+
"Artifacts / Telemetry"
|
|
450
|
+
],
|
|
451
|
+
"description": "tools/diagram_architect.py — Standalone Self-Contained SVG & HTML Diagram Builder"
|
|
452
|
+
},
|
|
408
453
|
{
|
|
409
454
|
"file": "tools/distill_log.py",
|
|
410
455
|
"command": "python tools/distill_log.py",
|
|
@@ -418,7 +463,7 @@
|
|
|
418
463
|
"outputs": [
|
|
419
464
|
"Artifacts / Telemetry"
|
|
420
465
|
],
|
|
421
|
-
"description": "tools/distill_log.py —
|
|
466
|
+
"description": "tools/distill_log.py — Enterprise Multi-Framework Log Distiller (Token & Failure Sentinel)"
|
|
422
467
|
},
|
|
423
468
|
{
|
|
424
469
|
"file": "tools/dspy_qa_signatures.py",
|
|
@@ -678,6 +723,21 @@
|
|
|
678
723
|
],
|
|
679
724
|
"description": "Enterprise Git Pre-Commit Architecture & Discipline Guard"
|
|
680
725
|
},
|
|
726
|
+
{
|
|
727
|
+
"file": "tools/git_worktree_manager.py",
|
|
728
|
+
"command": "python tools/git_worktree_manager.py",
|
|
729
|
+
"category": "Auxiliary Utilities",
|
|
730
|
+
"owner_role": "orchestrator",
|
|
731
|
+
"status": "stable",
|
|
732
|
+
"risk_level": "read_only",
|
|
733
|
+
"inputs": [
|
|
734
|
+
"CLI options"
|
|
735
|
+
],
|
|
736
|
+
"outputs": [
|
|
737
|
+
"Artifacts / Telemetry"
|
|
738
|
+
],
|
|
739
|
+
"description": "tools/git_worktree_manager.py — Ephemeral Git Worktree Manager for Subagents"
|
|
740
|
+
},
|
|
681
741
|
{
|
|
682
742
|
"file": "tools/goldfish_review.py",
|
|
683
743
|
"command": "python tools/goldfish_review.py",
|
|
@@ -964,6 +1024,21 @@
|
|
|
964
1024
|
],
|
|
965
1025
|
"description": "Markdown to Excel (.xlsx) Enterprise Converter"
|
|
966
1026
|
},
|
|
1027
|
+
{
|
|
1028
|
+
"file": "tools/mechanical_ui_gate.py",
|
|
1029
|
+
"command": "python tools/mechanical_ui_gate.py",
|
|
1030
|
+
"category": "Auxiliary Utilities",
|
|
1031
|
+
"owner_role": "orchestrator",
|
|
1032
|
+
"status": "stable",
|
|
1033
|
+
"risk_level": "read_only",
|
|
1034
|
+
"inputs": [
|
|
1035
|
+
"CLI options"
|
|
1036
|
+
],
|
|
1037
|
+
"outputs": [
|
|
1038
|
+
"Artifacts / Telemetry"
|
|
1039
|
+
],
|
|
1040
|
+
"description": "tools/mechanical_ui_gate.py — Headless Chrome Mechanical Layout & Contrast Gate"
|
|
1041
|
+
},
|
|
967
1042
|
{
|
|
968
1043
|
"file": "tools/micro_mutator.py",
|
|
969
1044
|
"command": "python tools/micro_mutator.py",
|
|
@@ -1120,7 +1195,7 @@
|
|
|
1120
1195
|
"category": "CI/CD & Packaging",
|
|
1121
1196
|
"owner_role": "orchestrator",
|
|
1122
1197
|
"status": "stable",
|
|
1123
|
-
"risk_level": "
|
|
1198
|
+
"risk_level": "read_only",
|
|
1124
1199
|
"inputs": [
|
|
1125
1200
|
"--output-dir",
|
|
1126
1201
|
"--format zip|tar.gz|both",
|
|
@@ -1132,6 +1207,36 @@
|
|
|
1132
1207
|
],
|
|
1133
1208
|
"description": "Enterprise release packager preserving .github/workflows and generating SHA-256 provenance."
|
|
1134
1209
|
},
|
|
1210
|
+
{
|
|
1211
|
+
"file": "tools/pairwise_generator.py",
|
|
1212
|
+
"command": "python tools/pairwise_generator.py",
|
|
1213
|
+
"category": "Auxiliary Utilities",
|
|
1214
|
+
"owner_role": "orchestrator",
|
|
1215
|
+
"status": "stable",
|
|
1216
|
+
"risk_level": "read_only",
|
|
1217
|
+
"inputs": [
|
|
1218
|
+
"CLI options"
|
|
1219
|
+
],
|
|
1220
|
+
"outputs": [
|
|
1221
|
+
"Artifacts / Telemetry"
|
|
1222
|
+
],
|
|
1223
|
+
"description": "tools/pairwise_generator.py — Pairwise (2-Way) Combinatorial Test Case Generator"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"file": "tools/pentest_scope_guard.py",
|
|
1227
|
+
"command": "python tools/pentest_scope_guard.py",
|
|
1228
|
+
"category": "Testing & Utilities",
|
|
1229
|
+
"owner_role": "orchestrator",
|
|
1230
|
+
"status": "stable",
|
|
1231
|
+
"risk_level": "read_only",
|
|
1232
|
+
"inputs": [
|
|
1233
|
+
"CLI options"
|
|
1234
|
+
],
|
|
1235
|
+
"outputs": [
|
|
1236
|
+
"Artifacts / Telemetry"
|
|
1237
|
+
],
|
|
1238
|
+
"description": "tools/pentest_scope_guard.py — Enterprise Pentest Scope & DAST Runtime Guard"
|
|
1239
|
+
},
|
|
1135
1240
|
{
|
|
1136
1241
|
"file": "tools/pinpoint_failure.py",
|
|
1137
1242
|
"command": "python tools/pinpoint_failure.py",
|
|
@@ -1209,6 +1314,36 @@
|
|
|
1209
1314
|
],
|
|
1210
1315
|
"description": "Reversible Execution Sandbox & Automated Teardown Engine (GoEx Pattern)"
|
|
1211
1316
|
},
|
|
1317
|
+
{
|
|
1318
|
+
"file": "tools/rules_router.py",
|
|
1319
|
+
"command": "python tools/rules_router.py",
|
|
1320
|
+
"category": "Auxiliary Utilities",
|
|
1321
|
+
"owner_role": "orchestrator",
|
|
1322
|
+
"status": "stable",
|
|
1323
|
+
"risk_level": "read_only",
|
|
1324
|
+
"inputs": [
|
|
1325
|
+
"CLI options"
|
|
1326
|
+
],
|
|
1327
|
+
"outputs": [
|
|
1328
|
+
"Artifacts / Telemetry"
|
|
1329
|
+
],
|
|
1330
|
+
"description": "tools/rules_router.py — Progressive Rules Router & Context Optimizer (Boost B2)"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"file": "tools/runaway_stopper.py",
|
|
1334
|
+
"command": "python tools/runaway_stopper.py",
|
|
1335
|
+
"category": "Auxiliary Utilities",
|
|
1336
|
+
"owner_role": "orchestrator",
|
|
1337
|
+
"status": "stable",
|
|
1338
|
+
"risk_level": "read_only",
|
|
1339
|
+
"inputs": [
|
|
1340
|
+
"CLI options"
|
|
1341
|
+
],
|
|
1342
|
+
"outputs": [
|
|
1343
|
+
"Artifacts / Telemetry"
|
|
1344
|
+
],
|
|
1345
|
+
"description": "tools/runaway_stopper.py — Agent Runaway & Token Loop Sentinel"
|
|
1346
|
+
},
|
|
1212
1347
|
{
|
|
1213
1348
|
"file": "tools/safety_firewall.py",
|
|
1214
1349
|
"command": "python tools/safety_firewall.py",
|
|
@@ -1546,6 +1681,21 @@
|
|
|
1546
1681
|
],
|
|
1547
1682
|
"description": "Enterprise ALM & TMS Sync Bridge (Jira / Xray / Zephyr / TestRail)"
|
|
1548
1683
|
},
|
|
1684
|
+
{
|
|
1685
|
+
"file": "tools/token_telemetry.py",
|
|
1686
|
+
"command": "python tools/token_telemetry.py",
|
|
1687
|
+
"category": "Auxiliary Utilities",
|
|
1688
|
+
"owner_role": "orchestrator",
|
|
1689
|
+
"status": "stable",
|
|
1690
|
+
"risk_level": "read_only",
|
|
1691
|
+
"inputs": [
|
|
1692
|
+
"CLI options"
|
|
1693
|
+
],
|
|
1694
|
+
"outputs": [
|
|
1695
|
+
"Artifacts / Telemetry"
|
|
1696
|
+
],
|
|
1697
|
+
"description": "tools/token_telemetry.py — Live LLM Token & MTTR Telemetry Engine"
|
|
1698
|
+
},
|
|
1549
1699
|
{
|
|
1550
1700
|
"file": "tools/tot_exploratory_tester.py",
|
|
1551
1701
|
"command": "python tools/tot_exploratory_tester.py",
|
package/tools/__init__.py
CHANGED
|
@@ -36,10 +36,10 @@ REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
|
|
36
36
|
|
|
37
37
|
# Import core token estimator
|
|
38
38
|
try:
|
|
39
|
-
from tools.core.token_estimator import count_tokens
|
|
39
|
+
from tools.core.token_estimator import count_tokens
|
|
40
40
|
except ImportError:
|
|
41
41
|
try:
|
|
42
|
-
from core.token_estimator import count_tokens
|
|
42
|
+
from core.token_estimator import count_tokens
|
|
43
43
|
except ImportError:
|
|
44
44
|
def count_tokens(text: str, model_hint: str = "cl100k") -> int:
|
|
45
45
|
if not text:
|
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.1.
|
|
16
|
+
if (window.__qa && window.__qa.__version === '4.1.1') {
|
|
17
17
|
return window.__qa;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
const qa = {
|
|
50
|
-
__version: '4.1.
|
|
50
|
+
__version: '4.1.1',
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* 1. Smart Action Batching
|
|
@@ -263,7 +263,7 @@ def validate_lockfile_integrity(repo_root: str) -> Tuple[bool, str]:
|
|
|
263
263
|
except Exception as e:
|
|
264
264
|
return False, f"Failed to sync .skill-lock.json: {e}"
|
|
265
265
|
|
|
266
|
-
return True,
|
|
266
|
+
return True, "53/53 skills verified with valid paths & SHA-256 hashes (auto-synced .skill-lock.json)"
|
|
267
267
|
|
|
268
268
|
|
|
269
269
|
def main() -> int:
|
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 = "4.1.
|
|
102
|
+
version = "4.1.1"
|
|
103
103
|
if os.path.exists(manifest_path):
|
|
104
104
|
try:
|
|
105
105
|
import json
|
|
@@ -686,14 +686,14 @@ def cmd_trend(args):
|
|
|
686
686
|
|
|
687
687
|
def _hub_version():
|
|
688
688
|
manifest_path = os.path.join(REPO_ROOT, "skills_manifest.json")
|
|
689
|
-
version = "4.1.
|
|
689
|
+
version = "4.1.1"
|
|
690
690
|
if os.path.exists(manifest_path):
|
|
691
691
|
try:
|
|
692
692
|
import json
|
|
693
693
|
with open(manifest_path, "r", encoding="utf-8") as f:
|
|
694
694
|
version = json.load(f).get("version", version)
|
|
695
695
|
except (OSError, json.JSONDecodeError):
|
|
696
|
-
version = "4.1.
|
|
696
|
+
version = "4.1.1"
|
|
697
697
|
return version
|
|
698
698
|
|
|
699
699
|
|
package/tools/core/file_lock.py
CHANGED
|
@@ -219,7 +219,7 @@ class FileLock:
|
|
|
219
219
|
_ = err
|
|
220
220
|
os.lseek(self._fd, 0, os.SEEK_SET)
|
|
221
221
|
_win32_lock(self._fd, shared=self.shared)
|
|
222
|
-
|
|
222
|
+
|
|
223
223
|
# Write PID into lock file metadata for stale lock tracking if exclusive
|
|
224
224
|
if not self.shared and self._fd is not None:
|
|
225
225
|
try:
|
|
@@ -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 v4.1.
|
|
1351
|
+
"footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v4.1.1 • Bản quyền © Thế Vị (@TeeVee98) • Chuẩn Clean POM & Kiểm Thử Tự Chủ",
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
translations_en = {
|
|
@@ -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 v4.1.
|
|
1429
|
+
"footer_text": "Generated automatically by Synapse-Hub v4.1.1 • Copyright © Thế Vị (@TeeVee98) • Clean POM & Autonomous Testing",
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
1432
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
|
@@ -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 v4.1.
|
|
1918
|
+
"header_subtitle": "Synapse-Hub v4.1.1 • 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 • Synapse-Hub v4.1.
|
|
1988
|
+
"footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp • Synapse-Hub v4.1.1 • Bản quyền © Thế Vị (@TeeVee98) • 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 v4.1.
|
|
1993
|
+
"header_subtitle": "Synapse-Hub v4.1.1 • 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 • Synapse-Hub v4.1.
|
|
2063
|
+
"footer_text": "Enterprise QA Executive Dashboard • Synapse-Hub v4.1.1 • Copyright © Thế Vị (@TeeVee98) • Autonomous AI Agent Testing Ecosystem",
|
|
2064
2064
|
}
|
|
2065
2065
|
|
|
2066
2066
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
package/tools/distill_log.py
CHANGED
|
@@ -16,7 +16,7 @@ import argparse
|
|
|
16
16
|
import os
|
|
17
17
|
import re
|
|
18
18
|
import sys
|
|
19
|
-
from typing import
|
|
19
|
+
from typing import List, Optional, Set
|
|
20
20
|
|
|
21
21
|
# Enforce UTF-8 stdout encoding for cross-platform compatibility
|
|
22
22
|
if hasattr(sys.stdout, "reconfigure"):
|
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.1.
|
|
63
|
+
SERVER_VERSION = "4.1.1"
|
|
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
|
|
@@ -52,7 +52,7 @@ if hasattr(sys.stdout, 'reconfigure'):
|
|
|
52
52
|
except Exception:
|
|
53
53
|
pass
|
|
54
54
|
|
|
55
|
-
SERVER_VERSION = "4.1.
|
|
55
|
+
SERVER_VERSION = "4.1.1"
|
|
56
56
|
MAX_XLSX_SIZE = 50 * 1024 * 1024 # 50 MB
|
|
57
57
|
MAX_UNCOMPRESSED_SIZE = 200 * 1024 * 1024 # 200 MB
|
|
58
58
|
MAX_RATIO = 100 # 100:1 compression ratio limit
|
package/tools/mcp_server.py
CHANGED
|
@@ -31,7 +31,7 @@ import socket
|
|
|
31
31
|
import ipaddress
|
|
32
32
|
import urllib.parse
|
|
33
33
|
from datetime import datetime, timezone
|
|
34
|
-
from typing import List, Tuple, Optional
|
|
34
|
+
from typing import List, Tuple, Optional
|
|
35
35
|
|
|
36
36
|
# Enforce UTF-8 stdout encoding for Windows console compatibility
|
|
37
37
|
if hasattr(sys.stdout, "reconfigure"):
|
|
@@ -24,10 +24,9 @@ import sys
|
|
|
24
24
|
import csv
|
|
25
25
|
import json
|
|
26
26
|
import time
|
|
27
|
-
import math
|
|
28
27
|
import random
|
|
29
28
|
import argparse
|
|
30
|
-
from typing import Dict,
|
|
29
|
+
from typing import Dict, Any
|
|
31
30
|
|
|
32
31
|
# Enforce UTF-8 stdout encoding for Windows console compatibility
|
|
33
32
|
if hasattr(sys.stdout, "reconfigure"):
|
|
@@ -58,15 +57,15 @@ def run_benchmark(
|
|
|
58
57
|
# Perform micro-benchmark tasks (e.g. JSON serialization, string hashing, lock acquisition)
|
|
59
58
|
for i in range(iterations):
|
|
60
59
|
t0 = time.perf_counter()
|
|
61
|
-
|
|
60
|
+
|
|
62
61
|
# Micro-workload representing internal API / POM dispatch
|
|
63
62
|
data = {f"key_{j}": f"val_{j}_{random.random()}" for j in range(25)}
|
|
64
63
|
serialized = json.dumps(data)
|
|
65
64
|
_ = json.loads(serialized)
|
|
66
|
-
|
|
65
|
+
|
|
67
66
|
elapsed_s = time.perf_counter() - t0
|
|
68
67
|
elapsed_ms = max(1, int(elapsed_s * 1000))
|
|
69
|
-
|
|
68
|
+
|
|
70
69
|
# Add small controlled jitter to simulate real network/disk I/O
|
|
71
70
|
jitter = random.randint(2, 28)
|
|
72
71
|
elapsed_ms += jitter
|
package/tools/rules_router.py
CHANGED
package/tools/token_telemetry.py
CHANGED
|
@@ -32,7 +32,7 @@ import json
|
|
|
32
32
|
import sqlite3
|
|
33
33
|
import argparse
|
|
34
34
|
from datetime import datetime, timezone
|
|
35
|
-
from typing import Dict, List, Optional, Any
|
|
35
|
+
from typing import Dict, List, Optional, Any
|
|
36
36
|
|
|
37
37
|
# Enforce UTF-8 stdout encoding for Windows console compatibility
|
|
38
38
|
if hasattr(sys.stdout, "reconfigure"):
|
package/tools/ui_server.py
CHANGED
|
@@ -236,7 +236,7 @@ class SynapseUiHandler(BaseHTTPRequestHandler):
|
|
|
236
236
|
if path == "/api/status":
|
|
237
237
|
active_target = JOB_MANAGER.target_dir or REPO_ROOT
|
|
238
238
|
self.send_json(200, {
|
|
239
|
-
"version": "4.1.
|
|
239
|
+
"version": "4.1.1",
|
|
240
240
|
"status": "ONLINE",
|
|
241
241
|
"os": sys.platform,
|
|
242
242
|
"workspace": active_target,
|
package/tools/update_sentinel.py
CHANGED
|
@@ -65,7 +65,7 @@ def get_local_version():
|
|
|
65
65
|
try:
|
|
66
66
|
with open(pkg_file, "r", encoding="utf-8") as f:
|
|
67
67
|
data = json.load(f)
|
|
68
|
-
return data.get("version", "4.1.
|
|
68
|
+
return data.get("version", "4.1.1")
|
|
69
69
|
except (OSError, json.JSONDecodeError):
|
|
70
70
|
data = {}
|
|
71
71
|
|
|
@@ -74,11 +74,11 @@ def get_local_version():
|
|
|
74
74
|
try:
|
|
75
75
|
with open(manifest_file, "r", encoding="utf-8") as f:
|
|
76
76
|
data = json.load(f)
|
|
77
|
-
return data.get("version", "4.1.
|
|
77
|
+
return data.get("version", "4.1.1")
|
|
78
78
|
except (OSError, json.JSONDecodeError):
|
|
79
79
|
data = {}
|
|
80
80
|
|
|
81
|
-
return "4.1.
|
|
81
|
+
return "4.1.1"
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
def fetch_remote_version():
|
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.1.
|
|
50
|
+
"version": "4.1.1",
|
|
51
51
|
"totalSkills": 42,
|
|
52
52
|
"author": "Thế Vị (@TeeVee98)",
|
|
53
53
|
"repo": "https://github.com/TeeVee98/Synapse-Hub"
|