@teevee98/synapse-hub 4.1.1 → 4.1.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/.agents/rules/systematic-debugging.md +1 -0
- package/AGENTS.md +2 -1
- 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/.infer_baseline.json +773 -5
- package/tools/__init__.py +1 -1
- package/tools/benchmark_swarm_context.py +4 -1
- package/tools/browser_helpers.js +2 -2
- package/tools/cli.py +3 -3
- package/tools/core/token_estimator.py +120 -5
- package/tools/dashboard_generator.py +6 -6
- package/tools/distill_log.py +73 -22
- package/tools/infer_linter.py +6 -5
- 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 +66 -24
- package/tools/ui_server.py +1 -1
- package/tools/update_sentinel.py +3 -3
- package/tools/welcome_page.py +1 -1
|
@@ -8,6 +8,7 @@ description: Enforce rigorous engineering discipline, systematic debugging witho
|
|
|
8
8
|
## 1. Zero Guesswork Debugging
|
|
9
9
|
- **Evidence Before Action:** Never modify code on assumption. Ground every fix in concrete evidence: failing line & stack trace, screenshot (`Screenshots/FAILED_*.png`), or live DOM state.
|
|
10
10
|
- **Surgical Code Preservation:** Touch only the minimal lines required. Never rewrite working methods speculatively.
|
|
11
|
+
- **Out-of-Scope Isolation & Stop-and-Report:** When a verification gate fails due to pre-existing errors or linter defects in files outside the task scope, AI agents MUST NEVER touch those files or invent dummy bypasses (`_ = err`, `_ = False`, commenting out asserts). Agents must stop, report the out-of-scope failure with evidence, and ask the user whether to baseline the legacy debt or address it in a dedicated task.
|
|
11
12
|
|
|
12
13
|
## 2. Verification-First & Definition of Done (Adaptive)
|
|
13
14
|
- **Fast-Track (Quick Fixes):**
|
package/AGENTS.md
CHANGED
|
@@ -46,6 +46,7 @@ You are a lazy senior developer. The best code is the code never written. Solve
|
|
|
46
46
|
- Between options of equal size, choose the one that handles edge cases cleanly.
|
|
47
47
|
- Lazy code without checks is unfinished: non-trivial logic (branch, loop, parser, auth, or money path) must leave one small test or self-check assertion before handoff. Trivial changes need none.
|
|
48
48
|
- Pragmatic technical debt: Deliberate simplifications get an inline comment: `shortcut: <the limit>, <when to upgrade>`.
|
|
49
|
+
- Out-of-Scope Pre-existing Failures (Stop & Report): When verification gates fail due to legacy defects in files outside task scope, strictly forbid modifying those files or writing dummy bypasses (`_ = err`, `_ = False`, empty catch). Stop and report with evidence; ask the user whether to baseline legacy debt or handle it in a separate task.
|
|
49
50
|
4. **Hard Floor (Never Cut):** Trust-boundary validation, error handling preventing data loss, security checks, accessibility (a11y), Clean POM separation, and anything explicitly requested.
|
|
50
51
|
5. **End-of-Turn Risk Note:** End every code response with one or two concise lines stating what was skipped or not checked and any risks the user must know.
|
|
51
52
|
|
|
@@ -53,7 +54,7 @@ You are a lazy senior developer. The best code is the code never written. Solve
|
|
|
53
54
|
|
|
54
55
|
## 3. TRUTH ANCHOR & ON-DEMAND AUTONOMY
|
|
55
56
|
|
|
56
|
-
1. **Truth Anchor (Zero Fake Passes):** Never relax assertions, skip validation steps, or catch-and-swallow exceptions (`pass`) to manufacture a pass. Report AUT defects honestly.
|
|
57
|
+
1. **Truth Anchor (Zero Fake Passes):** Never relax assertions, skip validation steps, or catch-and-swallow exceptions (`pass`, dummy suppression `_ = err` or `_ = False`, `const _ = e`) to manufacture a pass. Report AUT defects honestly.
|
|
57
58
|
2. **No Lazy Truncation:** Always output complete, directly executable code (no `// TODO` or `// ... existing code ...`).
|
|
58
59
|
3. **Strict Credential Security:** Never commit raw plaintext passwords, secret tokens, or private keys to git.
|
|
59
60
|
4. **Zero-Command Autonomous Activation (Never expect user to memorize CLI):**
|
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.
|
|
9
|
+
> **Version:** `v4.1.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.1.
|
|
157
|
+
rev: v4.1.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.1.
|
|
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.
|
|
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.1.
|
|
157
|
+
rev: v4.1.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.1.
|
|
4
|
+
"version": "4.1.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.1.
|
|
6
|
+
> **Version:** `4.1.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.1.
|
|
6
|
+
> **Version:** `4.1.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.1.
|
|
4
|
+
"version": "4.1.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.1.
|
|
4
|
+
"version": "4.1.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": {
|