synapse-hub 2.2.3 → 2.4.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/failure-analyst.md +11 -0
- package/.agents/agents/live-explorer.md +28 -0
- package/.agents/agents/orchestrator.md +20 -4
- package/.agents/agents/pom-crafter.md +12 -0
- package/.agents/agents/quality-gatekeeper.md +19 -4
- package/.agents/agents/test-runner.md +11 -0
- package/.agents/rules/communication-style.md +40 -0
- package/.agents/rules/context-engineering.md +23 -0
- package/.agents/rules/git-push-protocol.md +11 -17
- package/.agents/rules/graphify.md +14 -14
- package/.agents/rules/lessons-learned.md +3 -3
- package/.agents/rules/mandatory-playwright-live.md +29 -29
- package/.agents/rules/mobile_appium_rules.md +132 -0
- package/.agents/rules/performance_testing_rules.md +74 -0
- package/.agents/rules/skill-precedence.md +1 -1
- package/.agents/rules/systematic-debugging.md +6 -6
- package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +64 -215
- package/.agents/skills/agent-orchestration-multi-agent-optimize/examples/swarm_workload_config.json +12 -0
- package/.agents/skills/antigravity-test-sentinel/SKILL.md +3 -3
- package/.agents/skills/antigravity-test-sentinel/examples/dod_gate_policy.json +11 -0
- package/.agents/skills/api-network-mocking-interception/SKILL.md +1 -1
- package/.agents/skills/api-network-mocking-interception/examples/network_route_stub.json +9 -0
- package/.agents/skills/api-spec-to-e2e-matrix/SKILL.md +9 -9
- package/.agents/skills/api-spec-to-e2e-matrix/examples/sample_openapi.json +19 -0
- package/.agents/skills/architecture-decision-records/SKILL.md +35 -412
- package/.agents/skills/architecture-decision-records/examples/0001-record-architecture-decisions.md +12 -0
- package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +4 -1
- package/.agents/skills/auth-session-and-cookie-manager/examples/storage_state_sample.json +11 -0
- package/.agents/skills/backend-load-and-stress-patterns/SKILL.md +80 -186
- package/.agents/skills/backend-load-and-stress-patterns/examples/k6_load_test_sample.js +13 -0
- package/.agents/skills/bats-testing-patterns/SKILL.md +1 -1
- package/.agents/skills/bats-testing-patterns/examples/cli_runner_test.bats +6 -0
- package/.agents/skills/bats-testing-patterns/resources/implementation-playbook.md +614 -614
- package/.agents/skills/clean-pom-crafter/SKILL.md +21 -3
- package/.agents/skills/clean-pom-crafter/examples/standard_test_case.groovy +28 -28
- package/.agents/skills/clean-pom-crafter/references/pom_patterns.groovy +138 -138
- package/.agents/skills/code-refactoring-refactor-clean/SKILL.md +2 -2
- package/.agents/skills/code-refactoring-refactor-clean/examples/refactored_page_sample.groovy +9 -0
- package/.agents/skills/code-refactoring-refactor-clean/resources/implementation-playbook.md +9 -7
- package/.agents/skills/db-state-verifier-and-seeder/SKILL.md +5 -5
- package/.agents/skills/db-state-verifier-and-seeder/examples/db_fixture_seed.json +12 -0
- package/.agents/skills/e2e-testing-patterns/SKILL.md +1 -1
- package/.agents/skills/e2e-testing-patterns/examples/playwright_sharded_config.ts +12 -0
- package/.agents/skills/e2e-testing-patterns/resources/implementation-playbook.md +522 -522
- package/.agents/skills/failure-autopsy-and-healing/SKILL.md +17 -3
- package/.agents/skills/failure-autopsy-and-healing/examples/sample_junit_failure.xml +8 -0
- package/.agents/skills/failure-autopsy-and-healing/references/healing_matrix.md +64 -64
- package/.agents/skills/failure-autopsy-and-healing/references/qa_investigation_protocol.md +56 -56
- package/.agents/skills/failure-autopsy-and-healing/scripts/triage_failures.sh +98 -98
- package/.agents/skills/file-and-report-validator/SKILL.md +1 -1
- package/.agents/skills/file-and-report-validator/examples/sample_export_schema.json +14 -0
- package/.agents/skills/flaky-test-sentinel-and-quarantine/SKILL.md +3 -3
- package/.agents/skills/flaky-test-sentinel-and-quarantine/examples/quarantine_registry.json +11 -0
- package/.agents/skills/gherkin-to-suite/SKILL.md +103 -0
- package/.agents/skills/gherkin-to-suite/examples/checkout.feature +39 -0
- package/.agents/skills/gherkin-to-suite/examples/suite_report_sample.json +334 -0
- package/.agents/skills/github-actions-templates/SKILL.md +47 -304
- package/.agents/skills/github-actions-templates/examples/matrix_test_pipeline.yml +8 -0
- package/.agents/skills/graphify-impact-analyzer/SKILL.md +6 -6
- package/.agents/skills/graphify-impact-analyzer/examples/dependency_blast_radius.json +8 -0
- package/.agents/skills/katalon-cli-runner/SKILL.md +2 -2
- package/.agents/skills/katalon-cli-runner/examples/headless_kre_exec.sh +3 -0
- package/.agents/skills/katalon-cli-runner/references/groovy-patterns.md +209 -209
- package/.agents/skills/katalon-cli-runner/references/katalon-api.md +155 -155
- package/.agents/skills/katalon-cli-runner/references/runner_commands.md +67 -67
- package/.agents/skills/lam-script-generator/SKILL.md +42 -1
- package/.agents/skills/lam-script-generator/examples/user_story_sample.md +8 -0
- package/.agents/skills/lean-code-ladder/SKILL.md +83 -0
- package/.agents/skills/lean-code-ladder/examples/ladder_walkthrough.md +37 -0
- package/.agents/skills/meta-prompt-crafter/SKILL.md +107 -0
- package/.agents/skills/meta-prompt-crafter/examples/qa_prompt_template.md +35 -0
- package/.agents/skills/persistent-planning-files/SKILL.md +108 -0
- package/.agents/skills/persistent-planning-files/examples/task_plan_example.md +56 -0
- package/.agents/skills/playwright-live-interaction/SKILL.md +49 -1
- package/.agents/skills/playwright-live-interaction/examples/live_probe_script.js +5 -0
- package/.agents/skills/playwright-live-interaction/references/advanced_superpowers.md +160 -160
- package/.agents/skills/playwright-live-interaction/references/compact_accessibility_snapshots.md +75 -75
- package/.agents/skills/playwright-live-interaction/references/recipes.md +388 -388
- package/.agents/skills/playwright-live-interaction/references/swarm_orchestration.md +134 -134
- package/.agents/skills/playwright-webapp-testing/SKILL.md +93 -0
- package/.agents/skills/playwright-webapp-testing/examples/server_lifecycle_playwright.py +63 -0
- package/.agents/skills/rbt-manual-testing/SKILL.md +150 -0
- package/.agents/skills/rbt-manual-testing/examples/checkout_rbt_manual_suite.md +25 -0
- package/.agents/skills/security-dast-sentinel/SKILL.md +57 -135
- package/.agents/skills/security-dast-sentinel/examples/dast_scan_config.json +10 -0
- package/.agents/skills/self-healing-locator/SKILL.md +24 -10
- package/.agents/skills/self-healing-locator/examples/aom_diff_sample.json +16 -0
- package/.agents/skills/skillspector-security-guard/SKILL.md +32 -90
- package/.agents/skills/skillspector-security-guard/examples/safe_mcp_config.json +12 -0
- package/.agents/skills/surgical-coding-principles/SKILL.md +89 -0
- package/.agents/skills/surgical-coding-principles/examples/surgical_vs_scope_creep.md +46 -0
- package/.agents/skills/synthetic-test-data-generator/SKILL.md +3 -3
- package/.agents/skills/synthetic-test-data-generator/examples/idempotent_data_recipe.json +9 -0
- package/.agents/skills/systematic-debugging/SKILL.md +100 -0
- package/.agents/skills/systematic-debugging/examples/four_phase_case.md +44 -0
- package/.agents/skills/test-driven-development/SKILL.md +114 -0
- package/.agents/skills/test-driven-development/examples/red_green_refactor_qa.md +78 -0
- package/.agents/skills/token-and-context-optimizer/SKILL.md +1 -1
- package/.agents/skills/token-and-context-optimizer/examples/distilled_log_sample.txt +3 -0
- package/.agents/skills/verification-before-completion/SKILL.md +100 -0
- package/.agents/skills/verification-before-completion/examples/evidence_log_example.md +46 -0
- package/.agents/skills/visual-regression-sentinel/SKILL.md +21 -1
- package/.agents/skills/visual-regression-sentinel/examples/visual_mask_rules.json +9 -0
- package/.agents/skills/wcag-audit-patterns/SKILL.md +3 -3
- package/.agents/skills/wcag-audit-patterns/examples/wcag_compliance_checklist.json +10 -0
- package/.agents/skills/wcag-audit-patterns/resources/implementation-playbook.md +541 -541
- package/.agents/skills/web-vitals-and-performance-profiler/SKILL.md +1 -1
- package/.agents/skills/web-vitals-and-performance-profiler/examples/cwv_budget_policy.json +6 -0
- package/.agents/templates/completion_report.md +57 -57
- package/.agents/workflows/analyze_requirement_document.md +18 -0
- package/.agents/workflows/export_testcases_excel.md +32 -0
- package/.agents/workflows/generate_combinatorial_test_data.md +28 -0
- package/.agents/workflows/generate_cross_module_test_plan.md +37 -0
- package/.agents/workflows/generate_manual_testcases_rbt.md +56 -0
- package/.agents/workflows/generate_requirements_from_website.md +25 -0
- package/.agents/workflows/generate_testcases_from_requirements.md +21 -0
- package/.agents/workflows/graphify.md +10 -10
- package/.agents/workflows/verify.md +2 -2
- package/.cursor/rules/language.mdc +7 -7
- package/.cursor/rules/synapse-qa.mdc +23 -0
- package/.cursorrules +7 -0
- package/.pre-commit-hooks.yaml +14 -0
- package/.windsurfrules +7 -0
- package/AGENTS.md +54 -15
- package/CLAUDE.md +35 -12
- package/LICENSE +30 -0
- package/NOTICE +180 -0
- package/README.en.md +325 -0
- package/README.md +247 -512
- package/action.yml +51 -0
- package/benchmarks/qa_eval/README.md +71 -0
- package/benchmarks/qa_eval/build_dataset.py +677 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-06_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-07_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-08_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-09_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/api_contract_drift/qa-challenge-10_api_contract_drift.json +22 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-21_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-22_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-23_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-24_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/fake_pass_tautology/qa-challenge-25_fake_pass_tautology.json +21 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-01_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-02_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-03_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-04_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/locator_drift/qa-challenge-05_locator_drift.json +23 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-16_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-17_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-18_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-19_stale_and_mutation.json +22 -0
- package/benchmarks/qa_eval/dataset/stale_and_mutation/qa-challenge-20_stale_and_mutation.json +23 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-11_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-12_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-13_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-14_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/dataset/timing_and_race/qa-challenge-15_timing_and_race.json +22 -0
- package/benchmarks/qa_eval/eval_runner.py +418 -0
- package/benchmarks/qa_eval/reports/AB_METHODOLOGY_REPORT.md +83 -0
- package/benchmarks/qa_eval/reports/BENCHMARK_REPORT.md +69 -0
- package/benchmarks/qa_eval/reports/eval_results.json +105 -0
- package/bin/agent-qa.js +10 -3
- package/docs/ARCHITECTURE.md +107 -0
- package/docs/CI_CD_INTEGRATION.md +94 -0
- package/docs/CLI_REFERENCE.md +157 -0
- package/docs/CONTRIBUTING.md +91 -0
- package/docs/PLUGIN_DEVELOPMENT_GUIDE.md +126 -0
- package/docs/TOKEN_QUOTA_PLAYBOOK.md +41 -0
- package/docs/adopted-ecosystem-tools.md +87 -0
- package/docs/schemas/synapse.config.schema.json +64 -0
- package/examples/cypress-ecommerce-suite/README.md +45 -0
- package/examples/cypress-ecommerce-suite/cypress/e2e/checkout.cy.js +17 -0
- package/examples/cypress-ecommerce-suite/cypress/pages/BasePage.js +29 -0
- package/examples/cypress-ecommerce-suite/cypress/pages/CartPage.js +51 -0
- package/examples/cypress-ecommerce-suite/cypress.config.js +13 -0
- package/examples/cypress-ecommerce-suite/package.json +13 -0
- package/examples/katalon-suite/Keywords/pages/BasePage.groovy +19 -0
- package/examples/katalon-suite/Keywords/pages/DashboardPage.groovy +29 -0
- package/examples/katalon-suite/Keywords/pages/LoginPage.groovy +45 -0
- package/examples/katalon-suite/Profiles/default.glbl +12 -0
- package/examples/katalon-suite/README.md +18 -0
- package/examples/katalon-suite/Scripts/Auth/TC_LoginSuccess/Script1234567890.groovy +12 -0
- package/examples/katalon-suite/Scripts/Dashboard/TC_ViewSummary/Script1234567891.groovy +15 -0
- package/examples/katalon-suite/katalon_suite.prj +21 -0
- package/examples/playwright-crm-suite/README.md +40 -0
- package/examples/playwright-crm-suite/package.json +14 -0
- package/examples/playwright-crm-suite/pages/BasePage.ts +37 -0
- package/examples/playwright-crm-suite/pages/CustomerPage.ts +57 -0
- package/examples/playwright-crm-suite/pages/LoginPage.ts +32 -0
- package/examples/playwright-crm-suite/playwright.config.ts +27 -0
- package/examples/playwright-crm-suite/tests/auth.spec.ts +22 -0
- package/examples/playwright-crm-suite/tests/customers.spec.ts +33 -0
- package/examples/plugins/sample-custom-plugin/README.md +14 -0
- package/examples/plugins/sample-custom-plugin/plugin.json +16 -0
- package/examples/plugins/sample-custom-plugin/skills/custom-security-headers-audit/SKILL.md +29 -0
- package/examples/plugins/sample-custom-plugin/skills/custom-security-headers-audit/examples/audit_fixture.json +8 -0
- package/examples/plugins/sample-custom-plugin/tools/custom_security_headers.py +125 -0
- package/examples/practices/README.md +22 -0
- package/examples/practices/requirements/crm/requirements_contracts.md +292 -0
- package/examples/practices/requirements/crm/requirements_customers.md +462 -0
- package/examples/practices/requirements/crm/requirements_login.md +202 -0
- package/examples/practices/requirements/crm/requirements_projects.md +396 -0
- package/examples/practices/requirements/crm/requirements_tasks.md +343 -0
- package/examples/practices/requirements/ecommerce/requirements_category_brand.txt +402 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-1/2026-04-03_04-28-27.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-1/KAN-1_requirement.md +52 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/2026-04-03_04-28-19.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/2026-04-03_04-28-57.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-4/KAN-4_requirement.md +119 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-5_overview.md +9 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/2026-04-03_05-58-08.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/2026-04-03_05-58-23.png +0 -0
- package/examples/practices/requirements/jira/KAN-5/KAN-6/KAN-6_requirement.md +32 -0
- package/examples/practices/testcases/api/book_management_api_test_cases.md +144 -0
- package/examples/practices/testcases/api/user_management_api_test_cases.md +139 -0
- package/examples/practices/testcases/crm/test_cases_crm_login.md +148 -0
- package/examples/practices/testcases/crm/test_cases_customers.md +156 -0
- package/examples/pytest-api-suite/README.md +45 -0
- package/examples/pytest-api-suite/conftest.py +31 -0
- package/examples/pytest-api-suite/pages/user_api_client.py +36 -0
- package/examples/pytest-api-suite/requirements.txt +2 -0
- package/examples/pytest-api-suite/tests/test_user_api.py +44 -0
- package/examples/selenium-suite/README.md +18 -0
- package/examples/selenium-suite/pages/base_page.py +27 -0
- package/examples/selenium-suite/pages/login_page.py +29 -0
- package/examples/selenium-suite/pages/order_page.py +25 -0
- package/examples/selenium-suite/pytest.ini +6 -0
- package/examples/selenium-suite/requirements.txt +2 -0
- package/examples/selenium-suite/tests/test_login.py +10 -0
- package/examples/selenium-suite/tests/test_order.py +10 -0
- package/package.json +22 -7
- package/scripts/generate_skill_examples.py +244 -0
- package/scripts/install.ps1 +112 -0
- package/scripts/install_global_plugin.ps1 +94 -0
- package/scripts/install_global_plugin.sh +49 -0
- package/scripts/lint_skills.ps1 +57 -0
- package/scripts/package_dist.py +323 -0
- package/scripts/setup.sh +59 -0
- package/scripts/update_hub.ps1 +19 -0
- package/scripts/update_hub.sh +15 -0
- package/skills_manifest.json +209 -6
- package/synapse.config.json +30 -0
- package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +7 -7
- package/templates/PROJECT_STATE_TEMPLATE.md +1 -1
- package/templates/ai_bridges/CLAUDE.md +33 -16
- package/templates/ai_bridges/copilot-instructions.md +14 -21
- package/templates/ai_bridges/cursor_synapse_qa.mdc +17 -20
- package/templates/ai_bridges/windsurfrules +21 -21
- package/templates/ci/github-actions-synapse.yml +71 -4
- package/templates/welcome.html.tmpl +1674 -0
- package/tools/.infer_baseline.json +1102 -0
- package/tools/TOOLS_RUNBOOK.md +92 -130
- package/tools/__init__.py +26 -0
- package/tools/agent_canary.py +501 -501
- package/tools/analyze_project.py +31 -17
- package/tools/api_fuzzer.py +278 -6
- package/tools/author_integrity.py +6 -6
- package/tools/auto_heal.py +1 -1
- package/tools/browser_helpers.js +105 -7
- package/tools/bug_reporter.py +31 -1
- package/tools/bump_version.py +23 -3
- package/tools/cache_resolver.py +248 -14
- package/tools/check_env.py +55 -14
- package/tools/check_version_sync.py +153 -0
- package/tools/ci_healing_hook.py +1 -1
- package/tools/cli.py +263 -13
- package/tools/count_tokens.py +1257 -0
- package/tools/dashboard_generator.py +2638 -0
- package/tools/db_sandbox.py +198 -20
- package/tools/e2e_flow_prober.ps1 +12 -64
- package/tools/e2e_flow_prober.py +99 -0
- package/tools/e2e_flow_prober.sh +4 -0
- package/tools/export_postman_collection.py +29 -7
- package/tools/flaky_detector.py +4 -3
- package/tools/generate_allure_report.ps1 +12 -29
- package/tools/generate_allure_report.py +77 -0
- package/tools/generate_allure_report.sh +4 -0
- package/tools/generate_jmx_plan.py +299 -68
- package/tools/generate_test_reports.ps1 +12 -134
- package/tools/generate_test_reports.py +133 -0
- package/tools/generate_test_reports.sh +4 -0
- package/tools/gherkin_suite.py +758 -0
- package/tools/git_pre_commit_guard.py +12 -6
- package/tools/goldfish_review.py +366 -0
- package/tools/heal_pr_automator.py +1 -1
- package/tools/heuristic_locator_matcher.py +170 -21
- package/tools/infer_linter.py +612 -70
- package/tools/jtl_analyzer.py +1 -1
- package/tools/lint_ai_docs.py +64 -0
- package/tools/matrix_sharder.py +1 -1
- package/tools/mcp_excel_server.ps1 +12 -250
- package/tools/mcp_excel_server.py +249 -0
- package/tools/mcp_excel_server.sh +4 -0
- package/tools/mcp_server.py +368 -144
- package/tools/md_to_xlsx.py +307 -0
- package/tools/micro_mutator.py +300 -69
- package/tools/omni_transpiler.py +2 -2
- package/tools/output_formatter.py +128 -0
- package/tools/pinpoint_failure.py +88 -88
- package/tools/project_state.py +2 -2
- package/tools/repo_map.py +1 -1
- package/tools/safety_firewall.py +197 -33
- package/tools/setup_project.py +294 -30
- package/tools/skillspector.py +8 -8
- package/tools/spec_drift_sentinel.py +439 -0
- package/tools/sync_agent_rules.py +248 -0
- package/tools/telemetry_correlator.py +45 -0
- package/tools/test_impact.py +51 -12
- package/tools/tms_sync_bridge.py +21 -5
- package/tools/universal_ir.py +3 -0
- package/tools/update_sentinel.py +87 -15
- package/tools/verify_all.ps1 +13 -0
- package/tools/verify_all.py +463 -79
- package/tools/visual_diff_canvas.py +1 -0
- package/tools/visual_som_helper.py +1 -1
- package/tools/watch_mode.py +305 -0
- package/tools/welcome_page.py +291 -0
package/CLAUDE.md
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
> **Author & Creator:** Thế Vị (@TeeVee998) <https://github.com/TeeVee998/Synapse-Hub>
|
|
4
4
|
> **License:** MIT License (Mandatory Attribution Preservation)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
<!-- ============================================================================== -->
|
|
7
|
+
<!-- AUTO-GENERATED FROM AGENTS.md — DO NOT EDIT DIRECTLY. -->
|
|
8
|
+
<!-- Run: python3 tools/sync_agent_rules.py -->
|
|
9
|
+
<!-- ============================================================================== -->
|
|
10
|
+
|
|
7
11
|
|
|
8
12
|
## 🛡️ MANDATORY AI ETHICAL INVARIANT: AUTHOR ATTRIBUTION GUARD
|
|
9
13
|
|
|
@@ -12,14 +16,33 @@ In accordance with the MIT License, the original copyright notice crediting **Th
|
|
|
12
16
|
|
|
13
17
|
---
|
|
14
18
|
|
|
15
|
-
## Quick Commands
|
|
16
|
-
- Verify 9 Quality Gates: `
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
## ⚡ Quick Commands
|
|
20
|
+
- Verify 9 Quality Gates: `npx synapse-hub verify` (or `python tools/verify_all.py`)
|
|
21
|
+
- Project Health Audit: `npx synapse-hub analyze` (or `python tools/analyze_project.py`)
|
|
22
|
+
- Code Linter & Fake-Pass Sentinel: `npx synapse-hub lint` (or `python tools/infer_linter.py`)
|
|
23
|
+
- Verify Author Attribution: `python tools/author_integrity.py`
|
|
24
|
+
- Skill Security Audit: `python tools/skillspector.py .agents/skills`
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🏛️ Core QA Automation Invariants (From AGENTS.md)
|
|
29
|
+
1. **Clean Page Object Model (POM):**
|
|
30
|
+
- Test scripts (`tests/`, `Scripts/`) must contain ONLY business workflow method calls on Page Classes.
|
|
31
|
+
- Strictly forbidden: Raw XPaths, CSS selectors, or `findTestObject` inside test scripts.
|
|
32
|
+
- All locators and DOM operations must be encapsulated in Page Classes extending `BasePage`.
|
|
33
|
+
|
|
34
|
+
2. **Truth Anchor (Zero Fake Passes):**
|
|
35
|
+
- Never write empty assertions or tautological tests (0 asserts).
|
|
36
|
+
- If a test fails due to an AUT defect, report it honestly. Never soften assertions or skip validation steps to fake a pass.
|
|
37
|
+
|
|
38
|
+
3. **Dynamic & Idempotent Test Data:**
|
|
39
|
+
- Always randomize test entity codes with timestamps/prefixes (`AUTO_` + timestamp) to avoid DB unique constraint collisions.
|
|
40
|
+
- Every creation test case MUST be paired with automated Teardown / Cleanup.
|
|
41
|
+
|
|
42
|
+
4. **Synchronization & Smart Waits:**
|
|
43
|
+
- Static sleeps (`Thread.sleep`, `time.sleep`) are strictly prohibited in test scripts.
|
|
44
|
+
- Use dynamic smart waits: element visibility checks or Playwright `waitForLoadState('networkidle')`.
|
|
45
|
+
|
|
46
|
+
5. **Pragmatic Communication Protocol:**
|
|
47
|
+
- Conversational responses, explanation, and telemetry MUST be in Vietnamese.
|
|
48
|
+
- All codebase assets, test scripts, Page Classes, docstrings, and commits MUST remain strictly in English.
|
package/LICENSE
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
# Giấy Phép Bản Quyền MIT / MIT License
|
|
2
|
+
|
|
3
|
+
[🇻🇳 Phiên Bản Tiếng Việt](#-phiên-bản-tiếng-việt-tham-khảo--giải-thích-pháp-lý) | [🇬🇧 English Legal Text](#-official-mit-license-english-legal-text)
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🇻🇳 Phiên Bản Tiếng Việt (Tham Khảo & Giải Thích Pháp Lý)
|
|
8
|
+
|
|
9
|
+
Bản quyền (c) 2026 Thế Vị (@TeeVee998). Toàn quyền bảo lưu.
|
|
10
|
+
Kho mã nguồn gốc: https://github.com/TeeVee998/Synapse-Hub
|
|
11
|
+
|
|
12
|
+
*(Lưu ý: Phần tiếng Việt dưới đây là bản giải thích tham khảo nhằm giúp cộng đồng nắm bắt rõ quyền và nghĩa vụ; văn bản tiếng Anh phía dưới là văn bản pháp lý chính thức có hiệu lực của Giấy phép MIT).*
|
|
13
|
+
|
|
14
|
+
### 1. Quyền của bạn (Được phép làm gì?)
|
|
15
|
+
Theo Giấy phép MIT, bạn được cấp quyền miễn phí, không giới hạn để:
|
|
16
|
+
- **Sử dụng:** Tự do chạy phần mềm cho bất kỳ mục đích cá nhân, đào tạo hoặc thương mại nào trong doanh nghiệp.
|
|
17
|
+
- **Sao chép & Chỉnh sửa:** Tự do tạo bản sao, tùy biến, bổ sung thêm kỹ năng (Skills), quy tắc (Rules) hoặc công cụ (Tools) mới.
|
|
18
|
+
- **Hợp nhất & Đóng gói:** Tích hợp Synapse Hub vào các bộ kiểm thử nội bộ hoặc giải pháp của bạn.
|
|
19
|
+
|
|
20
|
+
### 2. Nghĩa vụ bắt buộc (Điều kiện tiên quyết)
|
|
21
|
+
- **Ghi nhận nguồn tác giả gốc:** Bạn **BẮT BUỘC** phải giữ nguyên thông báo bản quyền ghi nhận tác giả **Thế Vị (@TeeVee998)** cùng liên kết mã nguồn gốc `https://github.com/TeeVee998/Synapse-Hub` trong toàn bộ các bản sao hoặc các phần quan trọng của phần mềm.
|
|
22
|
+
- Nghiêm cấm hành vi xóa bỏ bản quyền hoặc mạo danh quyền tác giả.
|
|
23
|
+
|
|
24
|
+
### 3. Tuyên bố miễn trừ trách nhiệm
|
|
25
|
+
Phần mềm được cung cấp theo nguyên trạng ("AS IS"), không có bất kỳ bảo đảm nào (rõ ràng hay ngụ ý). Tác giả hoặc người nắm giữ bản quyền không chịu trách nhiệm đối với bất kỳ khiếu nại, tổn thất hay rủi ro nào phát sinh từ việc sử dụng phần mềm.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 🇬🇧 Official MIT License (English Legal Text)
|
|
30
|
+
|
|
1
31
|
MIT License
|
|
2
32
|
|
|
3
33
|
Copyright (c) 2026 Thế Vị (@TeeVee998). All rights reserved.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
Synapse Hub
|
|
2
|
+
Copyright (c) 2026 Thế Vị (@TeeVee998). Distributed under the MIT License.
|
|
3
|
+
|
|
4
|
+
This software includes threat vector taxonomy, static rule categories, and security concepts
|
|
5
|
+
inspired by:
|
|
6
|
+
|
|
7
|
+
NVIDIA SkillSpector (https://github.com/NVIDIA/SkillSpector)
|
|
8
|
+
Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES.
|
|
9
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
|
+
you may not use this file except in compliance with the License.
|
|
11
|
+
You may obtain a copy of the License at
|
|
12
|
+
|
|
13
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
|
|
15
|
+
Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
17
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
See the License for the specific language governing permissions and
|
|
19
|
+
limitations under the License.
|
|
20
|
+
|
|
21
|
+
--------------------------------------------------------------------------------
|
|
22
|
+
Third-Party Borrowings (idea- and text-level)
|
|
23
|
+
--------------------------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
1. Midscene.js (https://github.com/web-infra-dev/midscene) - MIT License.
|
|
26
|
+
The "Instant Action vs Auto-Planning Dispatch" guidance in
|
|
27
|
+
.agents/skills/playwright-live-interaction/SKILL.md and the
|
|
28
|
+
assert-on-extracted-data guidance in
|
|
29
|
+
.agents/skills/visual-regression-sentinel/SKILL.md are adapted from the
|
|
30
|
+
Midscene.js prompting model. Copyright (c) ByteDance / web-infra-dev.
|
|
31
|
+
|
|
32
|
+
2. Kane CLI (https://github.com/lambdatest/kane-cli) - Apache License 2.0.
|
|
33
|
+
The "proven vs owed" coverage traceability concept used in
|
|
34
|
+
.agents/skills/lam-script-generator/SKILL.md and in tools/gherkin_suite.py
|
|
35
|
+
is adapted from the Kane CLI generate -> execute -> prove workflow.
|
|
36
|
+
|
|
37
|
+
3. TestZeus Hercules (https://github.com/test-zeus-ai/testzeus-hercules) -
|
|
38
|
+
GNU Affero General Public License v3.0. tools/gherkin_suite.py is an
|
|
39
|
+
independent, from-scratch implementation of the Gherkin-driven E2E test
|
|
40
|
+
ingestion concept. NO upstream code or text is used; AGPL content is
|
|
41
|
+
incompatible with this MIT repository. Idea-level inspiration only.
|
|
42
|
+
|
|
43
|
+
4. Anthropic Agent Skills (https://github.com/anthropics/skills) - no license
|
|
44
|
+
file (all rights reserved). SKILL.md structural conventions only were
|
|
45
|
+
observed as reference; no upstream text is copied.
|
|
46
|
+
|
|
47
|
+
5. Agent Skills open standard (https://agentskills.io, governed by the
|
|
48
|
+
Agentic AI Foundation) - SKILL.md frontmatter and description-trigger
|
|
49
|
+
conventions followed for all hub skills.
|
|
50
|
+
|
|
51
|
+
6. Playwright MCP (https://github.com/microsoft/playwright-mcp) - Apache
|
|
52
|
+
License 2.0. The ARIA snapshot serialization format in
|
|
53
|
+
tools/browser_helpers.js (ariaSnapshot) and the MCP tool-surface expansion
|
|
54
|
+
are adapted from the Playwright MCP contract.
|
|
55
|
+
|
|
56
|
+
7. Stagehand (https://github.com/browserbase/stagehand) - MIT License.
|
|
57
|
+
The observe -> act -> extract interaction triad in
|
|
58
|
+
.agents/skills/playwright-live-interaction/SKILL.md and the action-result
|
|
59
|
+
caching guidance are adapted from the Stagehand primitives.
|
|
60
|
+
|
|
61
|
+
8. OWASP ZAP (https://github.com/zaproxy/zaproxy) - Apache License 2.0.
|
|
62
|
+
The passive/active scan taxonomy and severity ladder in
|
|
63
|
+
.agents/skills/security-dast-sentinel/SKILL.md and tools/api_fuzzer.py
|
|
64
|
+
are adapted from ZAP's alert risk model.
|
|
65
|
+
|
|
66
|
+
9. Selenium (https://github.com/SeleniumHQ/selenium) - Apache License 2.0.
|
|
67
|
+
Geometric relative-locator semantics (above/below/near/left-of/right-of)
|
|
68
|
+
in tools/heuristic_locator_matcher.py are adapted from Selenium relative
|
|
69
|
+
locators.
|
|
70
|
+
|
|
71
|
+
10. Locust (https://github.com/locustio/locust) - MIT License. The
|
|
72
|
+
code-as-code load model (--emit-locust) in tools/generate_jmx_plan.py and
|
|
73
|
+
the Locust section in .agents/skills/backend-load-and-stress-patterns/
|
|
74
|
+
SKILL.md are adapted from the Locust user/task/weight model.
|
|
75
|
+
|
|
76
|
+
11. Testcontainers (https://github.com/testcontainers/testcontainers-python)
|
|
77
|
+
- Apache License 2.0. The wait-ready readiness probe strategies
|
|
78
|
+
(port/http/sqlite) in tools/db_sandbox.py are adapted from the
|
|
79
|
+
Testcontainers WaitStrategy taxonomy.
|
|
80
|
+
|
|
81
|
+
12. crewAI (https://github.com/crewAIInc/crewAI) - MIT License. The
|
|
82
|
+
hierarchical process / manager delegation guidance in
|
|
83
|
+
.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md is
|
|
84
|
+
adapted from the crewAI process model.
|
|
85
|
+
|
|
86
|
+
13. browser-use (https://github.com/browser-use/browser-use) - MIT License.
|
|
87
|
+
Session-trace and human-in-the-loop escalation guidance in
|
|
88
|
+
.agents/agents/live-explorer.md is adapted from the browser-use agent
|
|
89
|
+
operating model.
|
|
90
|
+
|
|
91
|
+
14. Appium (https://github.com/appium/appium) - Apache License 2.0. The
|
|
92
|
+
driver-architecture and image-based-matching rules in
|
|
93
|
+
.agents/rules/mobile_appium_rules.md are adapted from Appium's driver
|
|
94
|
+
and plugin concepts.
|
|
95
|
+
|
|
96
|
+
15. LangChain (https://github.com/langchain-ai/langchain) - MIT License.
|
|
97
|
+
Consciously NOT adopted at framework level: the hub remains 0-LLM-
|
|
98
|
+
dependent by design. Recorded here as a documented decision, no content used.
|
|
99
|
+
|
|
100
|
+
16. andrej-karpathy-skills (https://github.com/multica-ai/andrej-karpathy-skills)
|
|
101
|
+
- MIT License (declared in the repository's plugin.json), by forrestchang,
|
|
102
|
+
derived from Andrej Karpathy's published observations on LLM coding
|
|
103
|
+
pitfalls. The four behavioral principles (Think Before Coding, Simplicity
|
|
104
|
+
First, Surgical Changes, Goal-Driven Execution) in
|
|
105
|
+
.agents/skills/surgical-coding-principles/SKILL.md are adapted and
|
|
106
|
+
re-scoped for enterprise QA automation; wording, structure, and examples
|
|
107
|
+
modified.
|
|
108
|
+
|
|
109
|
+
17. ponytail (https://github.com/DietrichGebert/ponytail) - MIT License,
|
|
110
|
+
Copyright (c) 2026 DietrichGebert. The 7-rung reuse-first ladder, the
|
|
111
|
+
completeness rules, and the never-cut floor in
|
|
112
|
+
.agents/skills/lean-code-ladder/SKILL.md are adapted from the ponytail
|
|
113
|
+
lazy-senior model; wording, structure, and examples modified.
|
|
114
|
+
|
|
115
|
+
18. planning-with-files (https://github.com/OthmanAdi/planning-with-files)
|
|
116
|
+
- MIT License, Copyright (c) 2026 Ahmad Adi. The 3-file planning pattern
|
|
117
|
+
(task_plan.md / findings.md / progress.md), the 2-Action Rule, the
|
|
118
|
+
3-Strike Error Protocol, and the completion-gate concept in
|
|
119
|
+
.agents/skills/persistent-planning-files/SKILL.md are adapted as a
|
|
120
|
+
conventions-only skill; NO hooks or scripts from the upstream are used.
|
|
121
|
+
|
|
122
|
+
19. anthropics/skills - skill "webapp-testing"
|
|
123
|
+
(https://github.com/anthropics/skills) - Apache License 2.0,
|
|
124
|
+
Copyright 2026 Anthropic, PBC. The server-lifecycle contract, the
|
|
125
|
+
static-vs-dynamic decision tree, and the reconnaissance-then-action
|
|
126
|
+
pattern in .agents/skills/playwright-webapp-testing/SKILL.md are adapted
|
|
127
|
+
per Apache-2.0 with prominent modification notices; rewritten derivative,
|
|
128
|
+
not a verbatim copy. No upstream scripts are bundled.
|
|
129
|
+
|
|
130
|
+
20. superpowers (https://github.com/obra/superpowers) - MIT License,
|
|
131
|
+
Copyright (c) 2025 Jesse Vincent. The Iron Laws, the RED-GREEN-REFACTOR
|
|
132
|
+
cycle, the four-phase debugging process, the 3-fix architecture rule,
|
|
133
|
+
the verification gate function, and the claim-evidence matrix adapted
|
|
134
|
+
into .agents/skills/test-driven-development/SKILL.md,
|
|
135
|
+
.agents/skills/systematic-debugging/SKILL.md, and
|
|
136
|
+
.agents/skills/verification-before-completion/SKILL.md; wording,
|
|
137
|
+
structure, and hub tooling modified.
|
|
138
|
+
|
|
139
|
+
21. wshobson/agents (https://github.com/wshobson/agents) - MIT License,
|
|
140
|
+
Copyright (c) 2024 Seth Hobson. Persona guidance in the "Persona
|
|
141
|
+
Enhancements (Adapted from wshobson/agents, MIT)" sections of the six
|
|
142
|
+
.agents/agents/*.md profiles is cherry-picked and condensed from the
|
|
143
|
+
test-automator, debugger, security-auditor, backend-architect,
|
|
144
|
+
context-manager, and qa agent definitions; heavily edited for the Synapse
|
|
145
|
+
Hub swarm context.
|
|
146
|
+
|
|
147
|
+
22. bats-core (https://github.com/bats-core/bats-core) - CC0 1.0 Universal /
|
|
148
|
+
MIT License. Test structure, exit status assertions, and sandbox
|
|
149
|
+
isolation conventions in .agents/skills/bats-testing-patterns/SKILL.md
|
|
150
|
+
are adapted from bats-core community best practices.
|
|
151
|
+
|
|
152
|
+
23. W3C WCAG 2.2 Recommendation & axe-core (https://github.com/dequelabs/axe-core)
|
|
153
|
+
- MPL 2.0. Accessibility rule heuristics, ARIA conformance checklists,
|
|
154
|
+
and contrast validation principles in .agents/skills/wcag-audit-patterns/
|
|
155
|
+
SKILL.md are structured per W3C WCAG 2.2 guidelines and axe-core rule taxonomies.
|
|
156
|
+
|
|
157
|
+
24. End-to-End Test Architecture & Multi-Browser Sharding Patterns
|
|
158
|
+
- Adapted from enterprise Playwright and modern browser automation
|
|
159
|
+
standards in .agents/skills/e2e-testing-patterns/SKILL.md.
|
|
160
|
+
|
|
161
|
+
25. Clean Architecture & Refactoring (Martin Fowler & Robert C. Martin)
|
|
162
|
+
- Refactoring catalog, code smell heuristics, and SOLID design patterns in
|
|
163
|
+
.agents/skills/code-refactoring-refactor-clean/SKILL.md are synthesized
|
|
164
|
+
from established Clean Code software engineering literature.
|
|
165
|
+
|
|
166
|
+
26. GitHub Actions Starter Workflows (https://github.com/actions/starter-workflows)
|
|
167
|
+
- MIT License. CI/CD test automation pipelines, matrix sharding, and caching
|
|
168
|
+
patterns in .agents/skills/github-actions-templates/SKILL.md are adapted
|
|
169
|
+
from standard GitHub Actions workflow conventions.
|
|
170
|
+
|
|
171
|
+
27. Architecture Decision Records (Michael Nygard & MADR)
|
|
172
|
+
- CC-BY-4.0 / MIT. The architectural decision record schema and governance
|
|
173
|
+
structure in .agents/skills/architecture-decision-records/SKILL.md are
|
|
174
|
+
adapted from Michael Nygard's ADR format and the Markdown ADR project.
|
|
175
|
+
|
|
176
|
+
28. Multi-Agent Swarm Orchestration & Optimization
|
|
177
|
+
- Multi-agent coordination topologies, subagent communication protocols,
|
|
178
|
+
and token throughput optimization in
|
|
179
|
+
.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md are
|
|
180
|
+
synthesized from autonomous multi-agent design patterns (crewAI, AutoGen).
|
package/README.en.md
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
# 🧠 Synapse Hub — AI Test Quality Linter & Guardrails for Automated Testing
|
|
2
|
+
### *Zero-Dependency Quality Linter, Fake-Pass Sentinel & Guardrails for AI-Generated Tests*
|
|
3
|
+
|
|
4
|
+
[🇻🇳 Tiếng Việt](README.md) | [🇬🇧 English Edition](README.en.md)
|
|
5
|
+
|
|
6
|
+
> **Core Mission:** A standalone, zero-dependency Linter & Guardrail engine (zero external dependencies for core engine & DoD gates) protecting test suite integrity in the era of AI code generation — Catching tautological "fake-pass" tests, eliminating hard sleeps, distilling 95% CI log noise, and enforcing Clean POM architecture. Specialized tools (Excel export, Canvas visual diff) leverage standard optional extras (`openpyxl`, `Pillow`).
|
|
7
|
+
> **Extended Ecosystem:** Bundled with 38 production QA skills, 6 specialized AI roles, and 9 DoD Quality Gates supporting Playwright, Cypress, Pytest, and Katalon.
|
|
8
|
+
> **Author:** Thế Vị ([@TeeVee998](https://github.com/TeeVee998))
|
|
9
|
+
> **Hub Version:** `v2.4.0` | **Scope:** 38 Standardized Skills, 6 Specialized AI Agents, 51 CLI Commands & 60+ Test Engineering Tools, 9 DoD Quality Gates.
|
|
10
|
+
|
|
11
|
+
[](https://www.npmjs.com/package/synapse-hub)
|
|
12
|
+
[](https://nodejs.org)
|
|
13
|
+
[](https://python.org)
|
|
14
|
+
[](https://github.com/TeeVee998/Synapse-Hub/blob/main/LICENSE)
|
|
15
|
+
[](#)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
### 💡 What is Synapse Hub? (In 30 Seconds)
|
|
20
|
+
|
|
21
|
+
Think of Synapse Hub as a versatile, dual-mode engine:
|
|
22
|
+
1. 🛠️ **Standalone CLI Tool (Zero AI needed):** Simply run `npx synapse-hub lint` to scan your test suite, distill bloated CI logs, or export test cases to standard Excel spreadsheets without any complex setup.
|
|
23
|
+
2. 🧠 **Guardrail "Brain" for AI Coding Assistants:** When using Google Antigravity, Cursor, or Claude Code, Synapse Hub acts as an automated quality guardrail — preventing AI assistants from generating tautological fake-passes, swallowing exceptions, or inserting flaky hard sleeps.
|
|
24
|
+
|
|
25
|
+
> 🛡️ **Zero Overhead:** You **never need to memorize** all 38 skills or 60+ tools! The system operates strictly *On-Demand*, activating tools only when a specific situation arises.
|
|
26
|
+
|
|
27
|
+
#### ⚖️ Before vs. After Synapse Hub:
|
|
28
|
+
|
|
29
|
+
| Raw AI-Generated Tests (Without Synapse) | Protected by Synapse Hub 🛡️ |
|
|
30
|
+
| :--- | :--- |
|
|
31
|
+
| ❌ **"Fake-Pass" tests:** Tests pass unconditionally with **0 assertions**, giving false confidence. | ✅ **Caught in 0.1s:** Flags zero-assertion tautologies and enforces genuine validation. |
|
|
32
|
+
| ❌ **Hardcoded sleeps:** Injects random `sleep(5000)` calls, making suites slow and flaky in CI. | ✅ **Smart Wait Enforcement:** Flags static delays and guides dynamic element synchronization. |
|
|
33
|
+
| ❌ **Context overflow:** CI logs with 20,000+ lines blow up LLM token windows without root cause. | ✅ **95% Noise Distillation:** Compresses logs down to ~30 lines containing the exact failing trace. |
|
|
34
|
+
| ❌ **Security leaks:** AI inadvertently commits hardcoded plaintext passwords or secret tokens. | ✅ **Gate 6 Sentinel:** Scans and blocks credentials before commits ever reach remote SCM. |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## ⚡ 1. The 60-Second "Wow" (3 Hero Features 🦸♂️)
|
|
39
|
+
|
|
40
|
+
No need to read dozens of documents or configure complex frameworks. You can immediately solve three daily QA pain points:
|
|
41
|
+
|
|
42
|
+
### 🔍 1. Catch "Fake-Pass", Static Sleeps & Swallowed Exceptions
|
|
43
|
+
```bash
|
|
44
|
+
npx synapse-hub lint ./tests
|
|
45
|
+
```
|
|
46
|
+
* **The Problem:** AI-generated tests frequently pass unconditionally without testing anything (zero assertions), rely on flaky hardcoded sleeps (`Thread.sleep`), or hide exceptions in empty `try-catch` blocks.
|
|
47
|
+
* **The Solution:** Polyglot heuristic & static AST linter (Playwright TypeScript/JavaScript, Pytest Python, Cypress, Groovy/Katalon) flags defects in 0.1s without LLM tokens.
|
|
48
|
+
|
|
49
|
+
### 📊 2. Convert Requirements Into Standard 12-Column Excel
|
|
50
|
+
```bash
|
|
51
|
+
npx synapse-hub export-excel
|
|
52
|
+
```
|
|
53
|
+
* **The Problem:** QA engineers spend tedious hours manually formatting Excel sheets from user stories or Markdown scenarios.
|
|
54
|
+
* **The Solution:** Compiles test scenarios directly into formatted 12-column `.xlsx` spreadsheets with calculated P × I risk scoring, ready for PMs and stakeholders.
|
|
55
|
+
|
|
56
|
+
### 🧹 3. Distill 95% CI Log Bloat Down to Root Cause
|
|
57
|
+
```bash
|
|
58
|
+
npx synapse-hub distill path/to/ci.log
|
|
59
|
+
```
|
|
60
|
+
* **The Problem:** CI/CD build logs containing 20,000+ lines overwhelm LLM context windows and human eyes.
|
|
61
|
+
* **The Solution:** Filters out 95% repetitive noise and extracts ~30 lines containing the exact failing line, exception stacktrace, and HTTP status.
|
|
62
|
+
|
|
63
|
+
### 💻 Real-World Terminal Output (Catching Defects in 0.1s Zero-Token):
|
|
64
|
+
```bash
|
|
65
|
+
$ npx synapse-hub lint ./tests
|
|
66
|
+
|
|
67
|
+
======================================================================
|
|
68
|
+
ENTERPRISE STATIC DEFECT & FAKE-PASS SENTINEL
|
|
69
|
+
======================================================================
|
|
70
|
+
Target Scope : 6 Test Scripts (Polyglot TS/Python/Groovy)
|
|
71
|
+
Detected Items:
|
|
72
|
+
- [CRITICAL] tests/checkout.spec.ts:42 - Fake-pass risk: Test contains 0 assertions!
|
|
73
|
+
- [CRITICAL] tests/login.spec.ts:14 - Hardcoded sleep (5000ms) detected. Replace with dynamic wait.
|
|
74
|
+
======================================================================
|
|
75
|
+
Result: 2 anti-patterns flagged in 0.12s (Zero LLM tokens used).
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 🚀 2. Fast & Non-Intrusive Onboarding
|
|
81
|
+
|
|
82
|
+
Synapse Hub respects your workspace privacy and system boundaries. You have complete control over disk writes:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
# 🩺 Diagnose your local environment in 1 second (Node, Python, Chrome, Git):
|
|
86
|
+
npx synapse-hub doctor
|
|
87
|
+
|
|
88
|
+
# 💡 Pro Tip: Install globally to run commands directly without npx:
|
|
89
|
+
npm install -g synapse-hub
|
|
90
|
+
synapse-hub doctor
|
|
91
|
+
|
|
92
|
+
# 🔹 Option 1: Project-local configuration only (Safest, does not touch ~/.gemini)
|
|
93
|
+
npx synapse-hub setup --local-only
|
|
94
|
+
|
|
95
|
+
# 🔹 Option 2: Dry-run simulation (Preview actions without writing any file to disk)
|
|
96
|
+
npx synapse-hub setup --dry-run
|
|
97
|
+
|
|
98
|
+
# 🔹 Option 3: Full setup (Generates PROJECT_AI_GUIDE.md, AI bridges and Antigravity plugin)
|
|
99
|
+
npx synapse-hub setup
|
|
100
|
+
|
|
101
|
+
# 🔹 Completely revert and uninstall at any time:
|
|
102
|
+
npx synapse-hub uninstall
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Run Quality DoD Gates:
|
|
106
|
+
```bash
|
|
107
|
+
npx synapse-hub verify # Execute 9 Quality Gates DoD (Gate 0–8)
|
|
108
|
+
npx synapse-hub analyze # Comprehensive 5-in-1 project health audit
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### 🔄 3-Line CI/CD & Pre-commit Integration:
|
|
112
|
+
Automatically block fake-pass tests and substandard code before merging:
|
|
113
|
+
|
|
114
|
+
```yaml
|
|
115
|
+
# Method 1: Official Composite GitHub Action (action.yml)
|
|
116
|
+
- name: Run Synapse Hub Quality Gates
|
|
117
|
+
uses: TeeVee998/Synapse-Hub@v2
|
|
118
|
+
with:
|
|
119
|
+
mode: 'target'
|
|
120
|
+
format: 'sarif'
|
|
121
|
+
|
|
122
|
+
# Method 2: Direct NPX execution (GitLab CI / Bitbucket / Jenkins)
|
|
123
|
+
- name: Run Synapse Hub Quality Gates
|
|
124
|
+
run: npx synapse-hub verify
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
```yaml
|
|
128
|
+
# Pre-commit Hook Integration (.pre-commit-config.yaml):
|
|
129
|
+
repos:
|
|
130
|
+
- repo: https://github.com/TeeVee998/Synapse-Hub
|
|
131
|
+
rev: v2.4.0
|
|
132
|
+
hooks:
|
|
133
|
+
- id: synapse-lint
|
|
134
|
+
- id: synapse-verify
|
|
135
|
+
```
|
|
136
|
+
*(Configurable via root `synapse.config.json`. See comprehensive documentation at [docs/CI_CD_INTEGRATION.md](docs/CI_CD_INTEGRATION.md)).*
|
|
137
|
+
|
|
138
|
+
| Gate | Gate Name | Practical Verification Objective |
|
|
139
|
+
| :---: | :--- | :--- |
|
|
140
|
+
| **Gate 0** | **Author Attribution & MIT** | Canonical author attribution invariant preserving author Thế Vị (@TeeVee998) MIT notice. |
|
|
141
|
+
| **Gate 1** | **UTF-8 No BOM Clean Encoding** | Scans 100% of repository files for illegal BOM bytes and mojibake corruption. |
|
|
142
|
+
| **Gate 2** | **Path Portability** | Prohibits local workstation paths (`/Users/...`, `C:\...`) in source code. |
|
|
143
|
+
| **Gate 3** | **Clean POM Flat Architecture** | Enforces 100% locator encapsulation in Page Classes; zero raw XPaths in test scripts. |
|
|
144
|
+
| **Gate 4** | **AI Docs Anti-Drift** | Verifies AST truth against `PROJECT_AI_GUIDE.md`, eliminating hallucinated PageClasses. |
|
|
145
|
+
| **Gate 5** | **Temp File Blacklist** | Prevents temporary build debris (`*.tmp`, memory dumps, stale artifacts) from leaking. |
|
|
146
|
+
| **Gate 6** | **Credential Security** | Blocks hardcoded plaintext passwords, private keys, and secret tokens in code. |
|
|
147
|
+
| **Gate 7** | **Static Defect & Fake-Pass Sentinel** | Static heuristic analysis catching 0-assertion tests, empty catch blocks, hardcoded/variable sleeps (≥ 3000ms), and unawaited promises. |
|
|
148
|
+
| **Gate 8** | **Assertion Sensitivity Sentinel** | Injects syntactic micro-mutations linked via dataflow (requires Score ≥ 80%). |
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## 🎯 3. Level-Based Roadmap
|
|
153
|
+
|
|
154
|
+
| Level | What You Want | Synapse Hub Entry Point |
|
|
155
|
+
| :--- | :--- | :--- |
|
|
156
|
+
| **Fresher / Junior** | Learn fast, deliver immediately, understand weak asserts | • `npx synapse-hub export-excel`: Generate standard test cases.<br/>• `npx synapse-hub lint ./tests`: Understand why assertions are tautological.<br/>• Inspect Clean POM examples in `examples/practices/`. |
|
|
157
|
+
| **Mid-Level** | Reduce flakiness, cut locator maintenance | • `npx synapse-hub flaky scan ./tests`: Detect flaky tests and quarantine them.<br/>• `npx synapse-hub heal`: Semantic locator healing via AOM diffing.<br/>• Add linter to pre-commit git hooks. |
|
|
158
|
+
| **Senior / Lead** | Control, measurement, CI/CD safety gates | • `npx synapse-hub verify`: 9 Automated DoD Gates in CI.<br/>• `npx synapse-hub mutate ./tests`: Heuristic assertion sensitivity analysis before merge.<br/>• Standard Markdown/JSON telemetry for PR review bots. |
|
|
159
|
+
|
|
160
|
+
> *Pro Tip: If installed globally (`npm i -g synapse-hub`), you can use the shorter syntax `synapse-hub <cmd>` or equivalent aliases `synapse`, `agent-qa`.*
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## 💎 4. Core Architecture & Engineering Pillars
|
|
165
|
+
|
|
166
|
+
```mermaid
|
|
167
|
+
flowchart TD
|
|
168
|
+
subgraph Hub["🧠 Synapse Hub (Core v2.4.0)"]
|
|
169
|
+
Skills[".agents/skills/ (38 Skills)"]
|
|
170
|
+
Agents[".agents/agents/ (6 Specialized Roles)"]
|
|
171
|
+
Rules[".agents/rules/ (11 Core Rules)"]
|
|
172
|
+
Tools["tools/ (60+ Universal Python Tools)"]
|
|
173
|
+
Workflows[".agents/workflows/ (10 Workflows)"]
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
subgraph ChatSession["💬 AI Agent Workspace / IDE"]
|
|
177
|
+
Hub -->|Mount / Plugins| ChatSession
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
subgraph Projects["📁 Target Test Projects"]
|
|
181
|
+
ProjectA["Playwright (TS/JS)"]
|
|
182
|
+
ProjectB["Pytest (Python)"]
|
|
183
|
+
ProjectC["Cypress / Katalon"]
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
ProjectA -->|Verify & Lint| ChatSession
|
|
187
|
+
ProjectB -->|Verify & Lint| ChatSession
|
|
188
|
+
ProjectC -->|Verify & Lint| ChatSession
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### 🧠 Pillar 1: Fake-Pass Prevention & Assertion Sensitivity (Heuristic)
|
|
192
|
+
- **Static Defect Sentinel (`tools/infer_linter.py`):** Scans for anti-patterns: unasserted tests, swallowed catch blocks, hardcoded sleeps, and unawaited Playwright assertions.
|
|
193
|
+
- **Assertion Sensitivity Sentinel (`tools/micro_mutator.py`):** Injects lightweight syntactic micro-mutations (equality, relational, boundary inversions) to verify whether downstream assertions catch logic flaws. Enforces Sensitivity Score ≥ 80% to pass Gate 8.
|
|
194
|
+
|
|
195
|
+
### ⚡ Pillar 2: Context Optimization & Token Conservation
|
|
196
|
+
- **Log Distillation (`tools/distill_log.py`):** Truncates verbose terminal output to keep AI prompts concise.
|
|
197
|
+
- **AST Method Mapping (`tools/repo_map.py`):** Maps class methods into a compressed < 600 token index; no reading large monolithic files whole.
|
|
198
|
+
- **Episodic SQLite Memory (`tools/cache_resolver.py`):** Offline solution store at `~/.agent_memory/global_cache.db` (zero token queries).
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## ⚖️ 5. Transparent Engineering & Known Limitations
|
|
203
|
+
|
|
204
|
+
To uphold our strict **Truth Anchor** standard, we openly disclose known system boundaries:
|
|
205
|
+
|
|
206
|
+
1. **Assertion Sensitivity is a Syntactic Heuristic, not Compiler-Grade Mutation Testing:**
|
|
207
|
+
`tools/micro_mutator.py` uses lexical AST pattern evaluation to test downstream assertion coverage in sub-second speed. It **does not replace** full dynamic runtime mutation testing frameworks (such as Stryker for JS/TS or mutmut for Python) when bytecode-level mutant kill-rate is mandated.
|
|
208
|
+
2. **Empirical Benchmark & Evaluation Metrics (`benchmarks/qa_eval`):**
|
|
209
|
+
Evaluated across 25 polyglot testing challenges (Groovy, TypeScript, Python, Java):
|
|
210
|
+
- **Autonomous Resolution Rate:** 25 / 25 challenges (100.0%).
|
|
211
|
+
- **Average Token Consumption:** 76.2 tokens / bug (saving 95% prompt context vs full repo dump).
|
|
212
|
+
- **Assertion Sensitivity (Mutation Score):** 100.0% mutants killed.
|
|
213
|
+
- **Fake-Pass Sentinel Accuracy (`infer_linter.py`):** **100.0% Precision** (0 false positives), **95.7% Recall**, **97.8% F1-Score** on 51 independent samples.
|
|
214
|
+
3. **Framework Support Scope:**
|
|
215
|
+
Synapse Hub provides native runners and direct adapters for **Playwright, Pytest, Katalon Studio/Groovy, and Cypress**. For **Selenium WebDriver**, the hub supports Clean POM design patterns, smart waits, and universal IR transpilation, which can be readily adapted into standard Selenium WebDriver test suites.
|
|
216
|
+
4. **Recommended Runtime Baseline:**
|
|
217
|
+
- Node.js: `>= 18.0.0` (Node 20 or 22 LTS recommended).
|
|
218
|
+
- Python: `>= 3.9` (Python 3.10+ recommended; full testing matrix on Python 3.10, 3.11, 3.12, 3.13).
|
|
219
|
+
5. **Headless Browser Requirement:**
|
|
220
|
+
Live DOM inspection and locator self-healing require a headless browser environment (e.g., Playwright Chromium) to extract the Accessibility Object Model (AOM).
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## 👥 6. Multi-Agent Swarm System (6 Specialized Roles)
|
|
225
|
+
|
|
226
|
+
| Subagent Role | Core Responsibilities | Key Skills | Included Tools |
|
|
227
|
+
| :--- | :--- | :--- | :--- |
|
|
228
|
+
| **`orchestrator`** | Workflow director, project bootstrapper, health auditor, state anchor. | `agent-orchestration`, `graphify`, `architecture-decision-records` | `setup_project.py`, `analyze_project.py`, `repo_map.py` |
|
|
229
|
+
| **`live-explorer`** | Live DOM/AOM probing via headless Playwright, destructive action firewall. | `playwright-live-interaction`, `self-healing-locator`, `visual-regression-sentinel` | `safety_firewall.py`, `browser_helpers.js` |
|
|
230
|
+
| **`pom-crafter`** | Clean POM engineer, API breaking change sentinel, story-to-script generator. | `clean-pom-crafter`, `lam-script-generator`, `synthetic-test-data-generator` | `generate_tc_from_story.py`, `api_drift_sentinel.py` |
|
|
231
|
+
| **`test-runner`** | Headless CLI suite dispatcher, parallel matrix sharder, log distiller. | `katalon-cli-runner`, `e2e-testing-patterns`, `flaky-test-sentinel-and-quarantine` | `matrix_sharder.py`, `distill_log.py`, `pinpoint_failure.py` |
|
|
232
|
+
| **`failure-analyst`** | Root cause autopsy, failing line isolation, automated bug ticket synthesis. | `failure-autopsy-and-healing`, `token-and-context-optimizer` | `auto_heal.py`, `bug_reporter.py`, `cache_resolver.py` |
|
|
233
|
+
| **`quality-gatekeeper`**| Sentinel guardian enforcing 9 DoD Quality Gates and assertion sensitivity. | `antigravity-test-sentinel`, `wcag-audit-patterns`, `security-dast-sentinel` | `verify_all.py`, `micro_mutator.py`, `infer_linter.py` |
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## 📦 7. Standardized Skill Catalog (38 Skills in .agents/skills/)
|
|
238
|
+
|
|
239
|
+
<details>
|
|
240
|
+
<summary><b>📦 Click to expand: 38 Standardized Skills</b></summary>
|
|
241
|
+
|
|
242
|
+
| # | Skill ID | Practical Capability |
|
|
243
|
+
|:---:|---|---|
|
|
244
|
+
| 1 | `clean-pom-crafter` | Clean POM & Flat Architecture page class design (zero raw selectors in test scripts). |
|
|
245
|
+
| 2 | `playwright-live-interaction` | Live DOM/AOM exploration and < 200ms selector verification via headless Playwright. |
|
|
246
|
+
| 3 | `failure-autopsy-and-healing` | Failure triage from JUnit XML/screenshots and automated broken locator repair. |
|
|
247
|
+
| 4 | `infer_linter` / `antigravity-test-sentinel` | Quality gatekeeper enforcing zero fake-passes and 9 DoD quality gates. |
|
|
248
|
+
| 5 | `token-and-context-optimizer` | Prompt context optimization, log distillation, and Context Rot prevention. |
|
|
249
|
+
| 6 | `flaky-test-sentinel-and-quarantine` | Non-deterministic test detection, flakiness scoring, and quarantine management. |
|
|
250
|
+
| 7 | `api-spec-to-e2e-matrix` | Convert OpenAPI/Swagger specifications into E2E testing matrices. |
|
|
251
|
+
| 8 | `api-network-mocking-interception` | HTTP/GraphQL traffic stubbing, route mocking, and chaos network failure simulation. |
|
|
252
|
+
| 9 | `synthetic-test-data-generator` | Generate idempotent, collision-free synthetic test data with timestamps. |
|
|
253
|
+
| 10 | `db-state-verifier-and-seeder` | Seed isolated test fixtures and assert database state across SQL and NoSQL. |
|
|
254
|
+
| 11 | `visual-regression-sentinel` | Screenshot layout comparison with dynamic anti-flake element masking. |
|
|
255
|
+
| 12 | `wcag-audit-patterns` | Accessibility auditing against WCAG 2.2 A/AA and semantic ARIA roles. |
|
|
256
|
+
| 13 | `security-dast-sentinel` | Dynamic security analysis: OWASP Top 10, security headers, token leaks, and IDOR. |
|
|
257
|
+
| 14 | `web-vitals-and-performance-profiler` | Core Web Vitals (LCP, CLS, INP) measurement and network waterfalls via CDP. |
|
|
258
|
+
| 15 | `backend-load-and-stress-patterns` | Orchestrate k6, Locust, and Apache JMeter backend load and SLA endurance test suites. |
|
|
259
|
+
| 16 | `auth-session-and-cookie-manager` | Browser session `storageState`, JWT token management, and multi-role states. |
|
|
260
|
+
| 17 | `file-and-report-validator` | Tabular integrity and schema validation for downloaded/uploaded files (Excel, CSV, PDF). |
|
|
261
|
+
| 18 | `e2e-testing-patterns` | Multi-browser E2E test architectures, parallel sharding, and retry governance. |
|
|
262
|
+
| 19 | `lam-script-generator` | Transform user stories and acceptance criteria into runnable Clean POM test scripts. |
|
|
263
|
+
| 20 | `katalon-cli-runner` | Headless test execution for Katalon and Gradle suites with automatic driver cleanup. |
|
|
264
|
+
| 21 | `bats-testing-patterns` | Automated testing for bash/sh scripts, CLI tools, and CI/CD pipelines with Bats. |
|
|
265
|
+
| 22 | `code-refactoring-refactor-clean` | Technical debt remediation and test refactoring using SOLID and Clean Code patterns. |
|
|
266
|
+
| 23 | `agent-orchestration-multi-agent-optimize` | Profile and optimize multi-agent swarm workloads and token throughput. |
|
|
267
|
+
| 24 | `architecture-decision-records` | Author and maintain technical Architecture Decision Records (ADRs). |
|
|
268
|
+
| 25 | `github-actions-templates` | Production-ready GitHub Actions workflow templates for automated test pipelines. |
|
|
269
|
+
| 26 | `graphify-impact-analyzer` | Code change blast radius analysis and impacted test scoping via AST graphs. |
|
|
270
|
+
| 27 | `skillspector-security-guard` | Audit AI agent skills and MCP configurations against prompt injection vectors. |
|
|
271
|
+
| 28 | `gherkin-to-suite` | Compile Gherkin `.feature` BDD files into an expanded test matrix, Universal IR, and coverage-gap report. |
|
|
272
|
+
| 29 | `rbt-manual-testing` | 6-stage Risk-Based Testing (AI-RBT) manual test case synthesis, 12-column matrix, and input checklist. |
|
|
273
|
+
| 30 | `agy-customizations` | Antigravity Customization System guide for skills, rules, hooks, and MCP servers. |
|
|
274
|
+
| 31 | `persistent-planning-files` | Persist plans, findings, and progress to three markdown files so multi-phase work survives context resets. |
|
|
275
|
+
| 32 | `surgical-coding-principles` | Four disciplined-change principles: state assumptions, minimal diffs, every line traces to the request. |
|
|
276
|
+
| 33 | `lean-code-ladder` | 7-rung reuse-first ladder: pick the smallest complete solution before writing new code. |
|
|
277
|
+
| 34 | `playwright-webapp-testing` | Managed server lifecycle (start/ready/teardown) for local Playwright webapp test runs. |
|
|
278
|
+
| 35 | `test-driven-development` | RED-GREEN-REFACTOR discipline: no production code before a watched failing test. |
|
|
279
|
+
| 36 | `systematic-debugging` | Four-phase root-cause investigation before any fix; 3 failed fixes signal an architecture question. |
|
|
280
|
+
| 37 | `verification-before-completion` | Evidence protocol: every pass/done claim requires fresh command output from the current session. |
|
|
281
|
+
| 38 | `meta-prompt-crafter` | Meta-prompt engineer: Transforms rough requests into high-fidelity prompts for any target AI. |
|
|
282
|
+
|
|
283
|
+
> **Open source & credits:** Skills 31-37 are adapted from open-source projects (andrej-karpathy-skills, ponytail, planning-with-files, anthropics/skills, superpowers, wshobson/agents) — full license and author details in `NOTICE` (entries 16-21); companion external-tool guide in `docs/adopted-ecosystem-tools.md`.
|
|
284
|
+
|
|
285
|
+
</details>
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## 🛠️ 8. CLI Tooling Arsenal (tools/)
|
|
290
|
+
|
|
291
|
+
Synapse Hub includes over 60 utility tools implemented entirely in the **Python Standard Library** (zero external dependencies):
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# 1. Diagnose local environment (Node, Python, Chrome, Git)
|
|
295
|
+
npx synapse-hub doctor
|
|
296
|
+
|
|
297
|
+
# 2. Run 9 Quality Gates DoD Verification
|
|
298
|
+
npx synapse-hub verify
|
|
299
|
+
|
|
300
|
+
# 3. Scan for fake-passes, tautologies, and empty catch blocks
|
|
301
|
+
npx synapse-hub lint ./tests
|
|
302
|
+
|
|
303
|
+
# 4. Distill verbose CI/CD logs down to root causes
|
|
304
|
+
npx synapse-hub distill path/to/ci.log
|
|
305
|
+
|
|
306
|
+
# 5. Export test cases to formatted Excel .xlsx
|
|
307
|
+
npx synapse-hub export-excel
|
|
308
|
+
|
|
309
|
+
# 6. Verify assertion sensitivity via syntactic micro-mutations
|
|
310
|
+
npx synapse-hub mutate ./tests
|
|
311
|
+
|
|
312
|
+
# 7. Detect and quarantine flaky tests
|
|
313
|
+
npx synapse-hub flaky scan ./tests
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
*(See [docs/CLI_REFERENCE.md](docs/CLI_REFERENCE.md) and [tools/TOOLS_RUNBOOK.md](tools/TOOLS_RUNBOOK.md) for parameter details).*
|
|
317
|
+
|
|
318
|
+
> 💡 **Equivalent Command Aliases:** When installed globally (`npm i -g synapse-hub`), you can interchangeably use `synapse-hub`, `synapse`, or `agent-qa` (e.g., `synapse verify`, `agent-qa lint ./tests`).
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## 📄 Provenance & Attribution (MIT License)
|
|
323
|
+
|
|
324
|
+
This software was created and designed by **Thế Vị ([@TeeVee998](https://github.com/TeeVee998))** under the open-source [MIT License](LICENSE).
|
|
325
|
+
You are free to use, modify, and distribute this software, provided that the **original author attribution and copyright notice are preserved**.
|