@teevee98/synapse-hub 3.8.2 → 3.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/orchestrator.md +1 -1
- package/.agents/agents/quality-gatekeeper.md +3 -3
- package/.agents/rules/author-integrity-guard.md +5 -5
- package/.agents/rules/mandatory-playwright-live.md +1 -1
- package/.agents/rules/skill-precedence.md +1 -1
- package/.agents/rules/systematic-debugging.md +1 -1
- package/.agents/skills/antigravity-test-sentinel/SKILL.md +3 -3
- package/.agents/skills/antigravity-test-sentinel/examples/sprint_dod_enforcement.md +1 -1
- package/.agents/skills/consumer-driven-contract-testing/SKILL.md +1 -1
- package/.agents/skills/lean-impact-scoreboard/examples/sample_scoreboard.md +1 -1
- package/.agents/skills/persistent-planning-files/SKILL.md +1 -1
- package/.agents/skills/persistent-planning-files/examples/task_plan_example.md +1 -1
- package/.agents/skills/repo-quality-audit/SKILL.md +1 -1
- package/.agents/skills/surgical-coding-principles/SKILL.md +2 -2
- package/.agents/skills/verification-before-completion/SKILL.md +2 -2
- package/.agents/skills/verification-before-completion/examples/evidence_log_example.md +2 -2
- package/.agents/workflows/verify.md +3 -3
- package/.cursor/rules/synapse-qa.mdc +1 -1
- package/.cursorrules +3 -3
- package/.pre-commit-hooks.yaml +2 -2
- package/.windsurfrules +3 -3
- package/AGENTS.md +3 -3
- package/CLAUDE.md +4 -4
- package/Dockerfile +5 -5
- package/README.en.md +16 -17
- package/README.md +16 -17
- package/action.yml +2 -2
- package/agentskills.json +4 -4
- package/bin/agent-qa.js +2 -2
- package/docker-compose.yml +8 -8
- package/docs/ARCHITECTURE.en.md +6 -5
- package/docs/ARCHITECTURE.md +7 -6
- package/docs/CI_CD_INTEGRATION.en.md +16 -16
- package/docs/CI_CD_INTEGRATION.md +16 -16
- package/docs/CLI_REFERENCE.en.md +2 -3
- package/docs/CLI_REFERENCE.md +4 -5
- package/docs/CONTRIBUTING.en.md +1 -1
- package/docs/CONTRIBUTING.md +1 -1
- package/docs/PERFORMANCE_AUDIT_REPORT.md +2 -3
- package/docs/PLUGIN_DEVELOPMENT_GUIDE.md +1 -1
- package/docs/QUALITY_GATES.en.md +9 -12
- package/docs/QUALITY_GATES.md +10 -13
- package/docs/TOOL_CATALOG.md +1 -1
- package/docs/research/EXTERNAL_AGENT_SKILLS_SURVEY.md +3 -3
- package/docs/research/agent_skill_training_analysis.md +17 -18
- package/docs/schemas/synapse.config.schema.json +0 -1
- package/package.json +5 -5
- package/plugin.json +6 -6
- package/skills_manifest.json +1 -1
- package/synapse.config.json +2 -3
- package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +2 -2
- package/templates/PROJECT_STATE_TEMPLATE.md +1 -1
- package/templates/ai_bridges/CLAUDE.md +4 -4
- package/templates/ai_bridges/copilot-instructions.md +2 -2
- package/templates/ai_bridges/cursor_synapse_qa.mdc +1 -1
- package/templates/ai_bridges/windsurfrules +3 -3
- package/templates/ci/github-actions-synapse.yml +5 -5
- package/templates/ui/index.html +14 -14
- package/templates/welcome.html.tmpl +29 -34
- package/tools/TOOLS_RUNBOOK.md +7 -7
- package/tools/TOOL_CATALOG.json +1 -1
- package/tools/__init__.py +5 -5
- package/tools/_openapi_parser.py +2 -2
- package/tools/agentless_patcher.py +2 -2
- package/tools/analyze_project.py +10 -6
- package/tools/author_integrity.py +19 -13
- package/tools/auto_heal_reflexion.py +2 -2
- package/tools/autogen_qa_broker.py +2 -2
- package/tools/benchmark_swarm_context.py +2 -2
- package/tools/browser_helpers.js +2 -2
- package/tools/browsergym_eval.py +2 -2
- package/tools/bump_version.py +2 -2
- package/tools/ci_healing_hook.py +1 -1
- package/tools/cli.py +11 -11
- package/tools/contract_validator.py +2 -2
- package/tools/core/adapters.py +2 -2
- package/tools/core/circuit_breaker.py +2 -2
- package/tools/core/cli_runtime.py +2 -2
- package/tools/core/file_lock.py +2 -2
- package/tools/core/i18n.py +7 -7
- package/tools/core/memory_bus.py +2 -2
- package/tools/core/process_supervisor.py +2 -2
- package/tools/core/telemetry.py +2 -2
- package/tools/count_tokens.py +1 -1
- package/tools/dashboard_generator.py +31 -47
- package/tools/debt_harvester.py +2 -2
- package/tools/dspy_qa_signatures.py +3 -3
- package/tools/fsm_enforcer.py +5 -5
- package/tools/fsm_middleware.py +2 -2
- package/tools/generate_sbom.py +9 -9
- package/tools/generate_tool_catalog.py +3 -3
- package/tools/gherkin_suite.py +2 -2
- package/tools/goldfish_review.py +2 -2
- package/tools/heal_pr_automator.py +1 -1
- package/tools/hub_publisher.py +12 -12
- package/tools/humanize_linter.py +2 -2
- package/tools/init_config.py +4 -5
- package/tools/interview_story.py +2 -2
- package/tools/jira_sync.py +2 -2
- package/tools/lint_ai_docs.py +2 -2
- package/tools/mcp_docx_server.py +3 -3
- package/tools/mcp_excel_server.py +1 -1
- package/tools/mcp_server.py +5 -4
- package/tools/mipro_assertion_tuner.py +2 -2
- package/tools/openxml_guard.py +2 -2
- package/tools/package_release.py +2 -2
- package/tools/project_state.py +2 -2
- package/tools/qa_event_stream.py +2 -2
- package/tools/reversible_sandbox.py +2 -2
- package/tools/security_coverage_ledger.py +1 -1
- package/tools/security_scanner.py +2 -2
- package/tools/senior_code_review.py +2 -2
- package/tools/skill_collision_guard.py +2 -2
- package/tools/skill_profiles.py +2 -2
- package/tools/skill_vault.py +2 -2
- package/tools/skillspector.py +2 -2
- package/tools/spec_drift_sentinel.py +2 -2
- package/tools/swe_qa_aci.py +2 -2
- package/tools/synapse_observer.py +2 -2
- package/tools/synapse_qa_bench.py +2 -2
- package/tools/sync_agent_rules.py +15 -15
- package/tools/template_excel_exporter.py +2 -2
- package/tools/test_memory_os.py +2 -2
- package/tools/textgrad_mutation_optimizer.py +2 -2
- package/tools/tms_sync_bridge.py +2 -2
- package/tools/tot_exploratory_tester.py +2 -2
- package/tools/trend_analytics.py +2 -2
- package/tools/ui_server.py +6 -6
- package/tools/update_sentinel.py +6 -6
- package/tools/verify_all.py +36 -19
- package/tools/watch_mode.py +2 -2
- package/tools/welcome_page.py +9 -9
package/tools/generate_sbom.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/generate_sbom.py — Enterprise Software Bill of Materials (SBOM) Generator
|
|
@@ -122,14 +122,14 @@ def build_spdx_sbom(repo_root: str = REPO_ROOT) -> Dict[str, Any]:
|
|
|
122
122
|
"SPDXID": root_pkg_id,
|
|
123
123
|
"name": "synapse-hub",
|
|
124
124
|
"versionInfo": version,
|
|
125
|
-
"downloadLocation": "https://github.com/
|
|
125
|
+
"downloadLocation": "https://github.com/TeeVee98/Synapse-Hub",
|
|
126
126
|
"filesAnalyzed": False,
|
|
127
|
-
"homepage": "https://github.com/
|
|
128
|
-
"originator": "Person: Thế Vị (@
|
|
129
|
-
"supplier": "Person: Thế Vị (@
|
|
127
|
+
"homepage": "https://github.com/TeeVee98/Synapse-Hub",
|
|
128
|
+
"originator": "Person: Thế Vị (@TeeVee98)",
|
|
129
|
+
"supplier": "Person: Thế Vị (@TeeVee98)",
|
|
130
130
|
"licenseConcluded": "MIT",
|
|
131
131
|
"licenseDeclared": "MIT",
|
|
132
|
-
"copyrightText": "Copyright (c) 2026 Thế Vị (@
|
|
132
|
+
"copyrightText": "Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.",
|
|
133
133
|
"description": "Enterprise QA & Automation Multi-Agent Hub enforcing Clean POM Flat Architecture.",
|
|
134
134
|
"checksums": [
|
|
135
135
|
{
|
|
@@ -206,12 +206,12 @@ def build_spdx_sbom(repo_root: str = REPO_ROOT) -> Dict[str, Any]:
|
|
|
206
206
|
"dataLicense": "CC0-1.0",
|
|
207
207
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
208
208
|
"name": f"Synapse-Hub-SBOM-v{version}",
|
|
209
|
-
"documentNamespace": f"https://github.com/
|
|
209
|
+
"documentNamespace": f"https://github.com/TeeVee98/Synapse-Hub/spdx/{version}-{uuid.uuid4().hex[:12]}",
|
|
210
210
|
"creationInfo": {
|
|
211
211
|
"created": created_time,
|
|
212
212
|
"creators": [
|
|
213
213
|
"Tool: synapse-sbom-generator-1.0.0",
|
|
214
|
-
"Person: Thế Vị (@
|
|
214
|
+
"Person: Thế Vị (@TeeVee98)"
|
|
215
215
|
]
|
|
216
216
|
},
|
|
217
217
|
"packages": packages,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/generate_tool_catalog.py — Enterprise Tooling Ecosystem Catalog Generator
|
|
@@ -47,7 +47,7 @@ TOOL_REGISTRY_METADATA = {
|
|
|
47
47
|
"risk_level": "read_only",
|
|
48
48
|
"inputs": ["--mode auto|hub|target", "--test-cmd", "--format text|json|junit"],
|
|
49
49
|
"outputs": ["Console report", "Exit code 0/1", "reports/PROJECT_HEALTH_REPORT.md"],
|
|
50
|
-
"description": "One-command
|
|
50
|
+
"description": "One-command 10 Quality Gates Definition of Done (DoD) verification sentinel."
|
|
51
51
|
},
|
|
52
52
|
"hub_publisher.py": {
|
|
53
53
|
"command": "python tools/hub_publisher.py",
|
package/tools/gherkin_suite.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Gherkin BDD Suite Compiler - Natural-Language Test Ingestion (0-Token)
|
package/tools/goldfish_review.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/goldfish_review.py — Zero-Context Test Specification Reviewer
|
|
@@ -145,7 +145,7 @@ def generate_pr_draft(
|
|
|
145
145
|
#### 3. Verification Checklist
|
|
146
146
|
- [x] Confidence score meets threshold ($\ge 90\%$)
|
|
147
147
|
- [x] Tested with `python tools/test_impact.py` on impacted test cases
|
|
148
|
-
- [x]
|
|
148
|
+
- [x] 10 Quality Gates DoD satisfied
|
|
149
149
|
{checklist_trace}{evidence_markdown}
|
|
150
150
|
"""
|
|
151
151
|
return {
|
package/tools/hub_publisher.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/hub_publisher.py — End-to-End Autonomous Hub Release & Publishing Pipeline
|
|
@@ -10,7 +10,7 @@ Orchestrates the 5-step universal release workflow for Synapse Hub:
|
|
|
10
10
|
1. [Git Push] Push verified code to origin/main.
|
|
11
11
|
2. [Git Tag] Create & push semantic version tag (vX.Y.Z).
|
|
12
12
|
3. [GitHub Release] Generate release notes from commits and create GitHub Release via API.
|
|
13
|
-
4. [GitHub Packages] Build and publish scoped package (@
|
|
13
|
+
4. [GitHub Packages] Build and publish scoped package (@teevee98/synapse-hub).
|
|
14
14
|
5. [NPM Registry] Publish package to npmjs.com via OIDC Trusted Publishing and verify live availability.
|
|
15
15
|
|
|
16
16
|
Usage:
|
|
@@ -111,7 +111,7 @@ def get_remote_repo_info() -> Tuple[str, str]:
|
|
|
111
111
|
return m.group(1), m.group(2)
|
|
112
112
|
except Exception as e:
|
|
113
113
|
log_warn(f"Could not parse git remote origin URL: {e}")
|
|
114
|
-
return "
|
|
114
|
+
return "TeeVee98", "Synapse-Hub"
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
def get_github_auth_token() -> Optional[str]:
|
|
@@ -162,7 +162,7 @@ def execute_cmd(cmd: List[str], error_msg: str, dry_run: bool = False, capture:
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
def run_preflight_verification(skip_verify: bool = False, dry_run: bool = False) -> bool:
|
|
165
|
-
"""Verifies universal version synchronization and
|
|
165
|
+
"""Verifies universal version synchronization and 10 Quality Gates DoD."""
|
|
166
166
|
print(f"\n{BOLD}🔍 Pre-Flight Verification & Universal Quality Gates...{RESET}")
|
|
167
167
|
|
|
168
168
|
# 1. Version sync
|
|
@@ -183,16 +183,16 @@ def run_preflight_verification(skip_verify: bool = False, dry_run: bool = False)
|
|
|
183
183
|
else:
|
|
184
184
|
log_warn("Pre-flight Regression Test Suite skipped by user (--skip-verify).")
|
|
185
185
|
|
|
186
|
-
# 3.
|
|
186
|
+
# 3. 10 Quality Gates DoD
|
|
187
187
|
if not skip_verify:
|
|
188
188
|
verify_script = os.path.join(REPO_ROOT, "tools", "verify_all.py")
|
|
189
189
|
if os.path.exists(verify_script):
|
|
190
|
-
ret, _ = execute_cmd([sys.executable, verify_script, "--mode", "hub"], "
|
|
190
|
+
ret, _ = execute_cmd([sys.executable, verify_script, "--mode", "hub"], "10 Quality Gates DoD Verification failed", dry_run=dry_run, timeout=180.0)
|
|
191
191
|
if ret != 0:
|
|
192
192
|
return False
|
|
193
|
-
log_success("
|
|
193
|
+
log_success("10 Quality Gates DoD verified 100% compliant.")
|
|
194
194
|
else:
|
|
195
|
-
log_warn("Pre-flight
|
|
195
|
+
log_warn("Pre-flight 10 Quality Gates skipped by user (--skip-verify).")
|
|
196
196
|
|
|
197
197
|
return True
|
|
198
198
|
|
|
@@ -319,9 +319,9 @@ def generate_release_notes(version: str) -> str:
|
|
|
319
319
|
{commit_lines}
|
|
320
320
|
|
|
321
321
|
- **Universal Synchronization:** 100% synchronized across all 15 polyglot manifests, configs, and tool entrypoints to version `{version}`.
|
|
322
|
-
- **Enterprise DoD Integrity:** Passed all
|
|
322
|
+
- **Enterprise DoD Integrity:** Passed all 10 Quality Gates and automated unit test suites.
|
|
323
323
|
|
|
324
|
-
**Full Comparison**: https://github.com/
|
|
324
|
+
**Full Comparison**: https://github.com/TeeVee98/Synapse-Hub/compare/{prev_tag}...{tag_name}
|
|
325
325
|
"""
|
|
326
326
|
return body
|
|
327
327
|
|
|
@@ -489,7 +489,7 @@ def main() -> int:
|
|
|
489
489
|
description="Autonomous 1-Click Release & Publishing Pipeline for Synapse Hub"
|
|
490
490
|
)
|
|
491
491
|
parser.add_argument("--message", "-m", help="Optional commit message for unstaged/pending changes")
|
|
492
|
-
parser.add_argument("--skip-verify", action="store_true", help="Skip running
|
|
492
|
+
parser.add_argument("--skip-verify", action="store_true", help="Skip running 10 Quality Gates DoD before push")
|
|
493
493
|
parser.add_argument("--dry-run", action="store_true", help="Simulate all steps without pushing or publishing")
|
|
494
494
|
parser.add_argument("--no-wait", action="store_true", help="Fire and forget (do not wait for CI workflow / npm verification)")
|
|
495
495
|
parser.add_argument("--skip-tag", "--no-npm", dest="skip_tag", action="store_true", help="Push to main only, skipping git tag creation, GitHub Release, and NPM publishing")
|
package/tools/humanize_linter.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Humanize & Anti-AI Slop Linter (Enterprise QA Hub)
|
package/tools/init_config.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/init_config.py — Standardized Project Configuration Bootstrapper
|
|
@@ -97,7 +97,7 @@ def build_default_config(
|
|
|
97
97
|
"""Constructs the canonical .synapse.json dictionary schema."""
|
|
98
98
|
hub_ver = version or get_hub_version()
|
|
99
99
|
return {
|
|
100
|
-
"$schema": "https://raw.githubusercontent.com/
|
|
100
|
+
"$schema": "https://raw.githubusercontent.com/TeeVee98/Synapse-Hub/main/docs/schemas/synapse.config.schema.json",
|
|
101
101
|
"version": hub_ver,
|
|
102
102
|
"project": {
|
|
103
103
|
"name": project_name,
|
|
@@ -115,7 +115,6 @@ def build_default_config(
|
|
|
115
115
|
"quality_gates": {
|
|
116
116
|
"mutation_min_score": 80,
|
|
117
117
|
"gates": {
|
|
118
|
-
"gate_0_author_integrity": True,
|
|
119
118
|
"gate_1_bom_check": True,
|
|
120
119
|
"gate_2_path_portability": True,
|
|
121
120
|
"gate_3_clean_pom": True,
|
|
@@ -258,7 +257,7 @@ def init_config(
|
|
|
258
257
|
print(f"\n{CYAN}💡 Bước Tiếp Theo:{RESET}")
|
|
259
258
|
print(" 1. Chạy xuất test cases Markdown sang Excel tự động áp dụng template:")
|
|
260
259
|
print(f" 👉 {BOLD}agent-qa export-excel docs/TEST_CASES.md{RESET}")
|
|
261
|
-
print(" 2. Chạy kiểm tra
|
|
260
|
+
print(" 2. Chạy kiểm tra 10 Quality Gates cho dự án:")
|
|
262
261
|
print(f" 👉 {BOLD}agent-qa verify{RESET}\n")
|
|
263
262
|
return 0
|
|
264
263
|
|
package/tools/interview_story.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Pocock Grilling Primitive & Requirements Interrogation Engine (Matt Pocock Pattern)
|
package/tools/jira_sync.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/jira_sync.py — Jira / Xray / Zephyr Enterprise 2-Way Synchronization Engine
|
package/tools/lint_ai_docs.py
CHANGED
|
@@ -316,8 +316,8 @@ def check_doc_metrics_consistency(repo_root):
|
|
|
316
316
|
obsolete_patterns = [
|
|
317
317
|
(re.compile(r'\b(42|50)\s+(kỹ năng|skills?)\b', re.IGNORECASE), f"Obsolete skill count detected (real count: {skills_count})"),
|
|
318
318
|
(re.compile(r'\b(60|68)\s+(công cụ|tools?)\b', re.IGNORECASE), f"Obsolete tool count detected (real count: {tools_count})"),
|
|
319
|
-
(re.compile(r'\b(9|
|
|
320
|
-
(re.compile(r'\b(9|
|
|
319
|
+
(re.compile(r'\b(9|11)\s+Cổng\s+Chất\s+Lượng\b', re.IGNORECASE), "Obsolete gate count detected: must refer to 10 Cổng Chất Lượng DoD (Gate 1–10)"),
|
|
320
|
+
(re.compile(r'\b(9|11)\s+Quality\s+Gates\b', re.IGNORECASE), "Obsolete gate count detected: must refer to 10 Quality Gates DoD (Gate 1–10)"),
|
|
321
321
|
]
|
|
322
322
|
|
|
323
323
|
docs_to_check = [
|
package/tools/mcp_docx_server.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Enterprise Cross-Platform MCP Docx Server (Zero-Dependency)
|
|
@@ -60,7 +60,7 @@ if hasattr(sys.stdout, 'reconfigure'):
|
|
|
60
60
|
except Exception:
|
|
61
61
|
pass
|
|
62
62
|
|
|
63
|
-
SERVER_VERSION = "3.8.
|
|
63
|
+
SERVER_VERSION = "3.8.4"
|
|
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 = "3.8.
|
|
55
|
+
SERVER_VERSION = "3.8.4"
|
|
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
|
@@ -46,12 +46,12 @@ import gherkin_suite
|
|
|
46
46
|
import api_fuzzer
|
|
47
47
|
|
|
48
48
|
SERVER_NAME = "enterprise-agent-qa"
|
|
49
|
-
SERVER_VERSION = "3.8.
|
|
49
|
+
SERVER_VERSION = "3.8.4"
|
|
50
50
|
|
|
51
51
|
MCP_TOOLS = [
|
|
52
52
|
{
|
|
53
53
|
"name": "verify_all_gates",
|
|
54
|
-
"description": "Validates the
|
|
54
|
+
"description": "Validates the 10 Quality Gates Definition of Done (UTF-8, paths, Clean POM, AI docs, blacklist, security, infer linter, micro-mutator, skill collision, performance SLA) with pre-flight integrity check.",
|
|
55
55
|
"inputSchema": {
|
|
56
56
|
"type": "object",
|
|
57
57
|
"properties": {
|
|
@@ -347,9 +347,10 @@ def _validate_safe_path(filepath: str, allowed_root: Optional[str] = None, allow
|
|
|
347
347
|
def _handle_verify_all_gates(arguments: Dict[str, Any]) -> str:
|
|
348
348
|
repo = _validate_safe_path(arguments.get("repo_path") or os.getcwd())
|
|
349
349
|
mode = verify_all.detect_repo_mode(repo)
|
|
350
|
+
if not verify_all.verify_engine_preflight(repo, mode=mode, silent=True):
|
|
351
|
+
return "[DoD BLOCKED] Pre-flight Engine Integrity Guard failed: Author Attribution / MIT License Violated."
|
|
350
352
|
passed = True
|
|
351
353
|
gates = [
|
|
352
|
-
("Gate 0: Author Integrity", verify_all.gate_0_author_integrity),
|
|
353
354
|
("Gate 1: UTF-8 No BOM", verify_all.gate_1_bom_check),
|
|
354
355
|
("Gate 2: Path Portability", verify_all.gate_2_path_portability),
|
|
355
356
|
("Gate 3: Clean POM", verify_all.gate_3_clean_pom),
|
|
@@ -367,7 +368,7 @@ def _handle_verify_all_gates(arguments: Dict[str, Any]) -> str:
|
|
|
367
368
|
results.append(f"{g_name}: {'PASS' if res else 'FAIL'}")
|
|
368
369
|
if not res:
|
|
369
370
|
passed = False
|
|
370
|
-
summary = "100% ALL
|
|
371
|
+
summary = "100% ALL 10 GATES PASSED" if passed else "VERIFICATION FAILED"
|
|
371
372
|
return f"[{summary}]\n" + "\n".join(results)
|
|
372
373
|
|
|
373
374
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
MIPROv2 Prompt Assertion Tuner (Stanford DSPy v2 & Optuna TPE Pattern)
|
package/tools/openxml_guard.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
OpenXML Security & Protocol Defense Guard
|
package/tools/package_release.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/package_release.py — Enterprise Release Packaging & Integrity Sentinel
|
package/tools/project_state.py
CHANGED
|
@@ -54,7 +54,7 @@ def init_state(target_dir, goal="Initial Autonomous Setup"):
|
|
|
54
54
|
- Failing Locator / Line: `[None]`
|
|
55
55
|
|
|
56
56
|
## 4. Quality Verification
|
|
57
|
-
-
|
|
57
|
+
- 10 Quality Gates: `READY`
|
|
58
58
|
- Clean POM Integrity: `VERIFIED`
|
|
59
59
|
"""
|
|
60
60
|
with open(state_file, "w", encoding="utf-8") as f:
|
|
@@ -144,7 +144,7 @@ def update_state(target_dir, goal=None, completed_task=None, pending_task=None,
|
|
|
144
144
|
{watch_block}
|
|
145
145
|
|
|
146
146
|
## 4. Quality Verification
|
|
147
|
-
-
|
|
147
|
+
- 10 Quality Gates: `{current_gate}`
|
|
148
148
|
- Clean POM Integrity: `VERIFIED`
|
|
149
149
|
"""
|
|
150
150
|
with open(state_file, "w", encoding="utf-8") as f:
|
package/tools/qa_event_stream.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Immutable QA Event Stream Engine (OpenHands EventStream Pattern)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Reversible Execution Sandbox & Automated Teardown Engine (GoEx Pattern)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
# SPDX-FileCopyrightText: Copyright (c) Cloudflare, Inc.
|
|
3
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
3
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
4
4
|
# SPDX-License-Identifier: MIT
|
|
5
5
|
# Adapted from cloudflare/security-audit-skill for Synapse-Hub Enterprise QA.
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/security_scanner.py — Comprehensive Enterprise Security Sentinel
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/senior_code_review.py — Senior Developer Quality & Lean Diff Reviewer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Tier-2 Skill Routing & Collision Guard (Addy Osmani Pattern)
|
package/tools/skill_profiles.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/skill_profiles.py — Skill Catalog Capability Profile Manager
|
package/tools/skill_vault.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
SkillVault Lifelong Page Object Model & Interaction Library (MineDojo / Voyager Pattern)
|
package/tools/skillspector.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Enterprise SkillSpector Sentinel (AI Agent Skill & MCP Security Scanner)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
tools/spec_drift_sentinel.py — Spec-to-Code Drift Sentinel
|
package/tools/swe_qa_aci.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
QA Agent-Computer Interface (SWE-agent ACI Pattern)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Synapse Cognitive Observer & Tradeoff Sentinel
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@
|
|
2
|
+
# SPDX-FileCopyrightText: Copyright (c) 2026 Thế Vị (@TeeVee98). All rights reserved.
|
|
3
3
|
# SPDX-License-Identifier: MIT
|
|
4
|
-
# Project: Synapse-Hub (https://github.com/
|
|
4
|
+
# Project: Synapse-Hub (https://github.com/TeeVee98/Synapse-Hub)
|
|
5
5
|
|
|
6
6
|
"""
|
|
7
7
|
Synapse-QA-Bench: Tool Function Calling Benchmark (Gorilla BFCL Pattern)
|