@teevee98/synapse-hub 4.2.4 → 4.3.0
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/.agents/agents/api-engineer.md +1 -1
- package/.agents/agents/failure-analyst.md +1 -1
- package/.agents/agents/live-explorer.md +1 -1
- package/.agents/agents/orchestrator.md +1 -1
- package/.agents/agents/perf-engineer.md +1 -1
- package/.agents/agents/pom-crafter.md +1 -1
- package/.agents/agents/quality-gatekeeper.md +1 -1
- package/.agents/agents/test-designer.md +1 -1
- package/.agents/agents/test-runner.md +1 -1
- package/.agents/rules/author-integrity-guard.md +1 -0
- package/.agents/rules/communication-style.md +1 -0
- package/.agents/rules/context-engineering.md +1 -0
- package/.agents/rules/cypress_rules.md +46 -0
- package/.agents/rules/git-push-protocol.md +3 -2
- package/.agents/rules/graphify.md +1 -0
- package/.agents/rules/lessons-learned.md +11 -12
- package/.agents/rules/mandatory-playwright-live.md +8 -10
- package/.agents/rules/mobile_appium_rules.md +26 -10
- package/.agents/rules/performance_testing_rules.md +26 -5
- package/.agents/rules/security_testing_rules.md +21 -15
- package/.agents/rules/skill-precedence.md +12 -5
- package/.agents/rules/stack-auto-router.md +18 -12
- package/.agents/rules/systematic-debugging.md +4 -3
- package/.agents/skills/01-web-automation/clean-pom-crafter/SKILL.md +71 -2
- package/.agents/skills/01-web-automation/e2e-testing-patterns/SKILL.md +38 -0
- package/.agents/skills/01-web-automation/katalon-cli-runner/SKILL.md +27 -0
- package/.agents/skills/01-web-automation/mobile-maestro-detox-patterns/SKILL.md +134 -0
- package/.agents/skills/01-web-automation/mobile-maestro-detox-patterns/examples/sample_flow.yaml +6 -0
- package/.agents/skills/02-test-design/rbt-manual-testing/SKILL.md +30 -1
- package/.agents/skills/02-test-design/rbt-manual-testing/references/field_validation_checklist.md +13 -1
- package/.agents/skills/02-test-design/review-spec/SKILL.md +7 -0
- package/.agents/skills/03-api-and-contracts/api-spec-to-e2e-matrix/SKILL.md +15 -0
- package/.agents/skills/06-healing-and-resilience/failure-autopsy-and-healing/SKILL.md +12 -0
- package/.agents/skills/07-data-and-state/synthetic-test-data-generator/SKILL.md +30 -0
- package/.agents/skills/09-ci-and-devops/gitlab-ci-templates/SKILL.md +123 -0
- package/.agents/skills/09-ci-and-devops/gitlab-ci-templates/examples/sample_gitlab_ci.yml +17 -0
- package/.agents/skills/09-ci-and-devops/jenkins-pipeline-templates/SKILL.md +133 -0
- package/.agents/skills/09-ci-and-devops/jenkins-pipeline-templates/examples/Jenkinsfile.example +21 -0
- package/.agents/workflows/analyze_requirement_document.md +1 -1
- package/.agents/workflows/export_testcases_excel.md +1 -1
- package/.agents/workflows/generate_combinatorial_test_data.md +1 -1
- package/.agents/workflows/generate_cross_module_test_plan.md +1 -1
- package/.agents/workflows/generate_manual_testcases_rbt.md +1 -1
- package/.agents/workflows/generate_requirements_from_website.md +1 -1
- package/.agents/workflows/generate_testcases_from_requirements.md +1 -1
- package/.agents/workflows/test-impact.md +1 -1
- package/.agents/workflows/verify.md +1 -1
- package/README.en.md +3 -3
- package/README.md +3 -3
- package/agentskills.json +2 -2
- package/docs/ARCHITECTURE.en.md +3 -3
- package/docs/ARCHITECTURE.md +2 -2
- package/docs/TOOL_CATALOG.md +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/scripts/install_global_plugin.ps1 +1 -1
- package/scripts/install_global_plugin.sh +1 -1
- package/skills_manifest.json +61 -4
- package/synapse.config.json +1 -1
- package/tools/TOOL_CATALOG.json +1 -1
- package/tools/__init__.py +1 -1
- package/tools/benchmark_swarm_context.py +1 -1
- package/tools/browser_helpers.js +2 -2
- package/tools/cli.py +4 -4
- package/tools/dashboard_generator.py +8 -8
- 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/rules_router.py +4 -4
- package/tools/setup_project.py +91 -63
- package/tools/skill_canonical_digest.py +2 -2
- package/tools/task_memory_manager.py +2 -1
- package/tools/ui_server.py +1 -1
- package/tools/update_sentinel.py +3 -3
- package/tools/verify_all.py +1 -1
- package/tools/welcome_page.py +2 -2
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: jenkins-pipeline-templates
|
|
3
|
+
description: "Enterprise Jenkins Declarative Pipeline templates for test automation, parallel stages, Katalon KRE runner, JUnit reporting, and workspace hygiene. Use when configuring Jenkins pipelines or quality gates."
|
|
4
|
+
category: architecture_and_analysis
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
policies:
|
|
7
|
+
network: none
|
|
8
|
+
shell: none
|
|
9
|
+
filesystem: workspace-sandbox
|
|
10
|
+
---
|
|
11
|
+
# Jenkins Pipeline Templates for Test Automation
|
|
12
|
+
|
|
13
|
+
> **Author Attribution & MIT License Guard:** Synapse Hub is open-source software created by **Thế Vị (@TeeVee98)** (<https://github.com/TeeVee98/Synapse-Hub>) under the MIT License.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 1. Trigger & Activation
|
|
18
|
+
|
|
19
|
+
- **Trigger Clause:** Use when creating or standardizing Jenkins Declarative Pipelines (`Jenkinsfile`), configuring parallel execution stages across agent nodes, integrating Katalon Runtime Engine (KRE), publishing JUnit/HTML test results, or implementing workspace cleanup routines.
|
|
20
|
+
- **Activation Scope:**
|
|
21
|
+
- Automated test pipelines (Playwright, Cypress, Katalon, Pytest, Newman).
|
|
22
|
+
- Parallel execution across Jenkins agent nodes.
|
|
23
|
+
- Quality Gate Definition of Done (DoD) verification and post-build actions.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 2. Non-Goals & Boundary Constraints
|
|
28
|
+
|
|
29
|
+
- **What NOT to do:**
|
|
30
|
+
- Do NOT use Scripted Pipeline syntax (`node { ... }`) when Declarative Pipeline (`pipeline { agent ... }`) meets the architectural requirement.
|
|
31
|
+
- Do NOT commit plaintext passwords or credentials in `Jenkinsfile`; inject via `withCredentials([string(credentialsId: '...', variable: '...')])`.
|
|
32
|
+
- Do NOT omit post-execution workspace cleanup; always invoke `cleanWs()` in `post { always { ... } }`.
|
|
33
|
+
- **Sibling Skill Boundaries:**
|
|
34
|
+
- `github-actions-templates`: Owns GitHub Actions workflows.
|
|
35
|
+
- `gitlab-ci-templates`: Owns GitLab CI/CD pipelines.
|
|
36
|
+
- `jenkins-pipeline-templates` (this skill): Owns Jenkins Declarative Pipelines (`Jenkinsfile`).
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 3. Ordered Execution Workflow
|
|
41
|
+
|
|
42
|
+
### Phase 1: Declarative Pipeline Template
|
|
43
|
+
|
|
44
|
+
Author or update the `Jenkinsfile` Declarative Pipeline configuration.
|
|
45
|
+
|
|
46
|
+
<!-- classification: illustrative -->
|
|
47
|
+
```groovy
|
|
48
|
+
pipeline {
|
|
49
|
+
agent any
|
|
50
|
+
|
|
51
|
+
options {
|
|
52
|
+
timeout(time: 45, unit: 'MINUTES')
|
|
53
|
+
buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '10'))
|
|
54
|
+
disableConcurrentBuilds()
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
environment {
|
|
58
|
+
KATALON_API_KEY = credentials('katalon-kre-api-key')
|
|
59
|
+
NODE_ENV = 'test'
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
stages {
|
|
63
|
+
stage('Checkout & Setup') {
|
|
64
|
+
steps {
|
|
65
|
+
checkout scm
|
|
66
|
+
sh 'npm ci'
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
stage('Parallel Automated Testing') {
|
|
71
|
+
parallel {
|
|
72
|
+
stage('Playwright E2E Shard 1') {
|
|
73
|
+
steps {
|
|
74
|
+
sh 'npx playwright test --shard=1/2'
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
stage('Playwright E2E Shard 2') {
|
|
78
|
+
steps {
|
|
79
|
+
sh 'npx playwright test --shard=2/2'
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
stage('Katalon KRE Suite') {
|
|
83
|
+
when {
|
|
84
|
+
expression { env.RUN_KATALON == 'true' }
|
|
85
|
+
}
|
|
86
|
+
steps {
|
|
87
|
+
sh '''
|
|
88
|
+
katalonc -noSplash -runMode=console \
|
|
89
|
+
-projectPath="$(pwd)/project.prj" \
|
|
90
|
+
-retry=0 \
|
|
91
|
+
-testSuitePath="Test Suites/TS_Smoke" \
|
|
92
|
+
-browserType="Chrome (headless)" \
|
|
93
|
+
-executionProfile="default" \
|
|
94
|
+
-apiKey="${KATALON_API_KEY}"
|
|
95
|
+
'''
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
post {
|
|
103
|
+
always {
|
|
104
|
+
junit testResults: '**/reports/*.xml, **/JUnit_Report.xml', allowEmptyResults: true
|
|
105
|
+
archiveArtifacts artifacts: 'playwright-report/**, Screenshots/FAILED_*.png', allowEmptyArchive: true, fingerprint: true
|
|
106
|
+
cleanWs deleteDirs: true, notFailBuild: true
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Phase 2: Pipeline Invariants & Hygiene
|
|
113
|
+
|
|
114
|
+
1. **Workspace Sanitization:** Always execute `cleanWs()` in the post-build block to prevent cross-build disk pollution and lingering lockfiles.
|
|
115
|
+
2. **Credential Masking:** Use Jenkins native `credentials()` helper to bind secrets securely; never echo or write credentials to workspace files.
|
|
116
|
+
3. **Artifact Retention:** Limit artifact history with `buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '10'))`.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 4. Verification Points & DoD
|
|
121
|
+
|
|
122
|
+
1. **Syntax Validation:** `Jenkinsfile` adheres to Declarative Pipeline syntax and passes Jenkinsfile linter.
|
|
123
|
+
2. **Credential Binding:** Zero hardcoded secrets; 100% of credentials mapped via Jenkins credentials store.
|
|
124
|
+
3. **Report Publication:** Post-build actions configure `junit` result parsing and selective artifact archiving.
|
|
125
|
+
4. **Clean Teardown:** Post section enforces `cleanWs()` workspace sanitization.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 5. Handoff Protocol
|
|
130
|
+
|
|
131
|
+
- **Deliverables:** Production-ready `Jenkinsfile` pipeline definitions and reusable stage libraries.
|
|
132
|
+
- **Next Subagent:** Pass to `test-runner` for local runner execution or `quality-gatekeeper` for CI/CD pipeline acceptance.
|
|
133
|
+
- **Output Format:** Valid Jenkins Declarative Pipeline Groovy syntax.
|
package/.agents/skills/09-ci-and-devops/jenkins-pipeline-templates/examples/Jenkinsfile.example
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
pipeline {
|
|
2
|
+
agent any
|
|
3
|
+
options {
|
|
4
|
+
timeout(time: 30, unit: 'MINUTES')
|
|
5
|
+
buildDiscarder(logRotator(numToKeepStr: '10'))
|
|
6
|
+
}
|
|
7
|
+
stages {
|
|
8
|
+
stage('Test') {
|
|
9
|
+
steps {
|
|
10
|
+
sh 'npm ci'
|
|
11
|
+
sh 'npx playwright test'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
post {
|
|
16
|
+
always {
|
|
17
|
+
junit 'test-results/**/*.xml'
|
|
18
|
+
cleanWs()
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Requirement ambiguity, gap detection, and boundary verification.
|
|
3
3
|
skills:
|
|
4
4
|
- rbt-manual-testing
|
|
5
5
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Convert
|
|
2
|
+
description: Convert Markdown test cases into styled Excel (.xlsx) spreadsheets.
|
|
3
3
|
skills:
|
|
4
4
|
- rbt-manual-testing
|
|
5
5
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Synthesize combinatorial test data fixtures covering pairwise parameter combinations.
|
|
3
3
|
skills:
|
|
4
4
|
- synthetic-test-data-generator
|
|
5
5
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Cross-module user journey test planning and pairwise combinatorial test matrices.
|
|
3
3
|
skills:
|
|
4
4
|
- clean-pom-crafter
|
|
5
5
|
- e2e-testing-patterns
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Generate
|
|
2
|
+
description: Generate manual test cases using 6-stage Risk-Based Testing pipeline.
|
|
3
3
|
skills:
|
|
4
4
|
- rbt-manual-testing
|
|
5
5
|
---
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Reverse-engineer
|
|
2
|
+
description: Reverse-engineer functional requirements and user stories by inspecting live web apps.
|
|
3
3
|
skills:
|
|
4
4
|
- playwright-live-interaction
|
|
5
5
|
- clean-pom-crafter
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Rapid single-pass generation of structured test cases from requirements.
|
|
3
3
|
skills:
|
|
4
4
|
- rbt-manual-testing
|
|
5
5
|
---
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verify
|
|
3
|
-
description: Execute 10 Quality Gates to verify
|
|
3
|
+
description: Execute 10 Quality Gates to verify codebase integrity before completion.
|
|
4
4
|
trigger: /verify
|
|
5
5
|
---
|
|
6
6
|
|
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.
|
|
9
|
+
> **Version:** `v4.3.0` | **Scale:** 56 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)
|
|
@@ -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**
|
|
71
|
+
You **never need to memorize** 56 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.
|
|
157
|
+
rev: v4.3.0
|
|
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.
|
|
9
|
+
> **Phiên bản:** `v4.3.0` | **Quy mô:** 56 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)
|
|
@@ -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ớ**
|
|
71
|
+
Bạn **không cần học hay ghi nhớ** 56 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.
|
|
157
|
+
rev: v4.3.0
|
|
158
158
|
hooks:
|
|
159
159
|
- id: synapse-lint
|
|
160
160
|
- id: synapse-verify
|
package/agentskills.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agentskills.io/schema/v1.json",
|
|
3
3
|
"name": "Synapse-Hub",
|
|
4
|
-
"version": "4.
|
|
5
|
-
"description": "Enterprise QA & Test Automation AI Skills Ecosystem —
|
|
4
|
+
"version": "4.3.0",
|
|
5
|
+
"description": "Enterprise QA & Test Automation AI Skills Ecosystem — 56 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",
|
|
8
8
|
"license": "MIT",
|
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.
|
|
6
|
+
> **Version:** `4.3.0` | **Status:** Active / Production Standard
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ The `Synapse-Hub` repository functions as a centralized **Intelligence Core (Hub
|
|
|
16
16
|
```mermaid
|
|
17
17
|
flowchart TD
|
|
18
18
|
subgraph Hub["Synapse Hub (Intelligence Core)"]
|
|
19
|
-
Catalog["
|
|
19
|
+
Catalog["56 Standardized Skills (.agents/skills)"]
|
|
20
20
|
Rules["Core Architectural Rules (.agents/rules)"]
|
|
21
21
|
Tools["Zero-Token Python Engine (tools/)"]
|
|
22
22
|
Swarm["9 Specialized Subagents (.agents/agents)"]
|
|
@@ -42,7 +42,7 @@ flowchart TD
|
|
|
42
42
|
|
|
43
43
|
## 2. Four-Tier Skill Stratification
|
|
44
44
|
|
|
45
|
-
The
|
|
45
|
+
The 56 skills in the hub are structured into four progressive operational tiers:
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
```mermaid
|
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.
|
|
6
|
+
> **Version:** `4.3.0` | **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
|
---
|
|
@@ -17,7 +17,7 @@ Kho lưu trữ `Synapse Hub` hoạt động theo mô hình **Hub & Spoke**: tron
|
|
|
17
17
|
```mermaid
|
|
18
18
|
flowchart TD
|
|
19
19
|
subgraph Hub["Synapse Hub (Bộ Não Trung Tâm)"]
|
|
20
|
-
Catalog["
|
|
20
|
+
Catalog["56 Standardized Skills (.agents/skills)"]
|
|
21
21
|
Rules["Bộ Quy Tắc Cốt Lõi (.agents/rules)"]
|
|
22
22
|
Tools["Bộ Công Cụ Python Zero-Token (tools/)"]
|
|
23
23
|
Swarm["9 Subagent Chuyên Biệt (.agents/agents)"]
|
package/docs/TOOL_CATALOG.md
CHANGED
|
@@ -145,4 +145,4 @@
|
|
|
145
145
|
- `network`: Queries external APIs, monitors npm registry, or checks live URLs.
|
|
146
146
|
- `destructive`: High-impact actions guarded by `safety_firewall.py` (e.g. drop database, hard resets).
|
|
147
147
|
|
|
148
|
-
*Catalog generated: `2026-11-
|
|
148
|
+
*Catalog generated: `2026-11-16T14:33:14.461153+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.
|
|
4
|
+
"version": "4.3.0",
|
|
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,7 +1,7 @@
|
|
|
1
1
|
# Enterprise Synapse-Hub Global Antigravity Plugin Installer (Windows)
|
|
2
2
|
# ======================================================================
|
|
3
3
|
# Mounts Synapse-Hub directly into Google Antigravity's Global Plugin Directory.
|
|
4
|
-
# Once installed, all
|
|
4
|
+
# Once installed, all 56 skills and 9 subagents are active across all projects automatically.
|
|
5
5
|
|
|
6
6
|
[CmdletBinding()]
|
|
7
7
|
param()
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Enterprise Synapse-Hub Global Antigravity Plugin Installer (macOS / Linux)
|
|
3
3
|
# ======================================================================
|
|
4
4
|
# Mounts Synapse-Hub directly into Google Antigravity's Global Plugin Directory.
|
|
5
|
-
# Once installed, all
|
|
5
|
+
# Once installed, all 56 skills and 9 subagents are active across all projects automatically.
|
|
6
6
|
|
|
7
7
|
set -e
|
|
8
8
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
package/skills_manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"name": "Synapse-Hub",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0",
|
|
5
5
|
"description": "Unified Catalog of 53 Skills across 11 Domain Packages for Enterprise QA AI Agents.",
|
|
6
|
-
"totalSkills":
|
|
6
|
+
"totalSkills": 56,
|
|
7
7
|
"domains": {
|
|
8
8
|
"01-web-automation": {
|
|
9
9
|
"id": "01-web-automation",
|
|
@@ -156,7 +156,10 @@
|
|
|
156
156
|
"verification-before-completion",
|
|
157
157
|
"qa-aci-interface",
|
|
158
158
|
"qa-memory-os",
|
|
159
|
-
"github-actions-templates"
|
|
159
|
+
"github-actions-templates",
|
|
160
|
+
"gitlab-ci-templates",
|
|
161
|
+
"jenkins-pipeline-templates",
|
|
162
|
+
"mobile-maestro-detox-patterns"
|
|
160
163
|
]
|
|
161
164
|
},
|
|
162
165
|
"perf-and-load": {
|
|
@@ -249,7 +252,7 @@
|
|
|
249
252
|
},
|
|
250
253
|
"full": {
|
|
251
254
|
"name": "Complete Enterprise Hub",
|
|
252
|
-
"description": "All
|
|
255
|
+
"description": "All 56 skills enabled across context optimization, multi-agent swarms, performance, and architecture.",
|
|
253
256
|
"skills": "all"
|
|
254
257
|
},
|
|
255
258
|
"playwright": {
|
|
@@ -1274,6 +1277,60 @@
|
|
|
1274
1277
|
"shell": "read-only",
|
|
1275
1278
|
"filesystem": "read-only"
|
|
1276
1279
|
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"id": "gitlab-ci-templates",
|
|
1283
|
+
"name": "GitLab CI Templates",
|
|
1284
|
+
"domain": "09-ci-and-devops",
|
|
1285
|
+
"category": "architecture_and_analysis",
|
|
1286
|
+
"path": ".agents/skills/09-ci-and-devops/gitlab-ci-templates/SKILL.md",
|
|
1287
|
+
"summary": "Production GitLab CI/CD pipeline blueprints for test automation, Playwright matrix sharding, Katalon KRE execution, and artifact retention governance.",
|
|
1288
|
+
"version": "1.0.0",
|
|
1289
|
+
"profiles": [
|
|
1290
|
+
"core-web-qa"
|
|
1291
|
+
],
|
|
1292
|
+
"description": "Production GitLab CI/CD pipeline blueprints for test automation, Playwright matrix sharding, Katalon KRE execution, and artifact retention governance. Use when wiring test pipelines or quality gates into GitLab CI.",
|
|
1293
|
+
"policies": {
|
|
1294
|
+
"network": "none",
|
|
1295
|
+
"shell": "none",
|
|
1296
|
+
"filesystem": "workspace-sandbox"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"id": "jenkins-pipeline-templates",
|
|
1301
|
+
"name": "Jenkins Pipeline Templates",
|
|
1302
|
+
"domain": "09-ci-and-devops",
|
|
1303
|
+
"category": "architecture_and_analysis",
|
|
1304
|
+
"path": ".agents/skills/09-ci-and-devops/jenkins-pipeline-templates/SKILL.md",
|
|
1305
|
+
"summary": "Enterprise Jenkins Declarative Pipeline templates for test automation, parallel stages, Katalon KRE runner, JUnit reporting, and workspace hygiene.",
|
|
1306
|
+
"version": "1.0.0",
|
|
1307
|
+
"profiles": [
|
|
1308
|
+
"core-web-qa"
|
|
1309
|
+
],
|
|
1310
|
+
"description": "Enterprise Jenkins Declarative Pipeline templates for test automation, parallel stages, Katalon KRE runner, JUnit reporting, and workspace hygiene. Use when configuring Jenkins pipelines or quality gates.",
|
|
1311
|
+
"policies": {
|
|
1312
|
+
"network": "none",
|
|
1313
|
+
"shell": "none",
|
|
1314
|
+
"filesystem": "workspace-sandbox"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"id": "mobile-maestro-detox-patterns",
|
|
1319
|
+
"name": "Mobile Maestro and Detox Patterns",
|
|
1320
|
+
"domain": "01-web-automation",
|
|
1321
|
+
"category": "test_automation_and_execution",
|
|
1322
|
+
"path": ".agents/skills/01-web-automation/mobile-maestro-detox-patterns/SKILL.md",
|
|
1323
|
+
"summary": "Declarative mobile UI test patterns for Maestro flows and Detox gray-box automation on React Native and native mobile apps.",
|
|
1324
|
+
"version": "1.0.0",
|
|
1325
|
+
"profiles": [
|
|
1326
|
+
"core-web-qa"
|
|
1327
|
+
],
|
|
1328
|
+
"description": "Declarative mobile UI test patterns for Maestro flows and Detox gray-box automation on React Native and native mobile apps. Use when authoring declarative mobile flows or fast gray-box mobile tests.",
|
|
1329
|
+
"policies": {
|
|
1330
|
+
"network": "localhost-only",
|
|
1331
|
+
"shell": "workspace-sandbox",
|
|
1332
|
+
"filesystem": "workspace-sandbox"
|
|
1333
|
+
}
|
|
1277
1334
|
}
|
|
1278
1335
|
]
|
|
1279
1336
|
}
|
package/synapse.config.json
CHANGED
package/tools/TOOL_CATALOG.json
CHANGED
package/tools/__init__.py
CHANGED
|
@@ -511,7 +511,7 @@ def format_markdown_report(bench: Dict[str, Any]) -> str:
|
|
|
511
511
|
"",
|
|
512
512
|
"## Track 2: Empirical Reference Suites Benchmark (Static Workspace Inspection)",
|
|
513
513
|
"",
|
|
514
|
-
"> *Methodology: Dynamically enumerates all
|
|
514
|
+
"> *Methodology: Dynamically enumerates all 14 rules and 56 skills in repository without static per-skill multiplier assumptions.*",
|
|
515
515
|
"> *Disclosure: 'Avoided Disk Read (I/O)' measures filesystem file size bytes not read from storage; it is strictly distinguished from context tokens and is not billed token savings.*",
|
|
516
516
|
"",
|
|
517
517
|
"| Reference Project | Detected Stack | Confidence | Catalog Summary Saved | Full Hydration Saved | Avoided Disk Read (I/O) |",
|
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.
|
|
16
|
+
if (window.__qa && window.__qa.__version === '4.3.0') {
|
|
17
17
|
return window.__qa;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
const qa = {
|
|
50
|
-
__version: '4.
|
|
50
|
+
__version: '4.3.0',
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* 1. Smart Action Batching
|
package/tools/cli.py
CHANGED
|
@@ -133,8 +133,8 @@ 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.
|
|
137
|
-
manifest_skills =
|
|
136
|
+
version = "4.3.0"
|
|
137
|
+
manifest_skills = 56
|
|
138
138
|
if manifest_path and os.path.exists(manifest_path):
|
|
139
139
|
try:
|
|
140
140
|
import json
|
|
@@ -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.
|
|
778
|
+
version = "4.3.0"
|
|
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.
|
|
785
|
+
version = "4.3.0"
|
|
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.
|
|
1353
|
+
"footer_text": "Báo cáo được khởi tạo tự động bởi Synapse-Hub v4.3.0 • 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.
|
|
1431
|
+
"footer_text": "Generated automatically by Synapse-Hub v4.3.0 • Copyright © Thế Vị (@TeeVee98) • Clean POM & Autonomous Testing",
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
|
@@ -1911,13 +1911,13 @@ def _build_hub_translations(
|
|
|
1911
1911
|
now_str: str,
|
|
1912
1912
|
bench: Dict[str, Any],
|
|
1913
1913
|
gates: List[Dict[str, str]],
|
|
1914
|
-
total_skills: int =
|
|
1914
|
+
total_skills: int = 56,
|
|
1915
1915
|
skills: Optional[List[Dict[str, Any]]] = None,
|
|
1916
1916
|
) -> Tuple[Dict[str, str], Dict[str, str]]:
|
|
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.
|
|
1920
|
+
"header_subtitle": "Synapse-Hub v4.3.0 • 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.
|
|
1990
|
+
"footer_text": "Bảng Điều Hành Chất Lượng Doanh Nghiệp • Synapse-Hub v4.3.0 • 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.
|
|
1995
|
+
"header_subtitle": "Synapse-Hub v4.3.0 • 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.
|
|
2065
|
+
"footer_text": "Enterprise QA Executive Dashboard • Synapse-Hub v4.3.0 • Copyright © Thế Vị (@TeeVee98) • Autonomous AI Agent Testing Ecosystem",
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
2068
|
_inject_gate_translations(translations_vi, translations_en, gates)
|
|
@@ -2258,7 +2258,7 @@ def generate_hub_html(
|
|
|
2258
2258
|
now_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
2259
2259
|
total_skills = manifest.get("totalSkills", len(manifest.get("skills", [])))
|
|
2260
2260
|
if total_skills == 0:
|
|
2261
|
-
total_skills =
|
|
2261
|
+
total_skills = 56
|
|
2262
2262
|
skills = manifest.get("skills", [])
|
|
2263
2263
|
|
|
2264
2264
|
gates = _get_hub_gates()
|