@teevee98/synapse-hub 4.4.0 → 4.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/.cursor/rules/agents.mdc +11 -11
  2. package/.cursor/rules/katalon.mdc +11 -0
  3. package/.cursor/rules/perf.mdc +10 -0
  4. package/.cursor/rules/playwright.mdc +10 -0
  5. package/.cursor/rules/pytest.mdc +10 -0
  6. package/.cursor/rules/synapse-qa.mdc +4 -2
  7. package/.cursorrules +3 -10
  8. package/.windsurfrules +3 -10
  9. package/AGENTS.md +4 -3
  10. package/CLAUDE.md +4 -5
  11. package/README.en.md +3 -3
  12. package/README.md +3 -3
  13. package/agentskills.json +15 -15
  14. package/{.agents/agents → ai-agents/personas}/api-engineer.md +2 -2
  15. package/{.agents/agents → ai-agents/personas}/failure-analyst.md +1 -1
  16. package/{.agents/agents → ai-agents/personas}/live-explorer.md +1 -1
  17. package/{.agents/agents → ai-agents/personas}/orchestrator.md +8 -15
  18. package/{.agents/agents → ai-agents/personas}/perf-engineer.md +1 -3
  19. package/{.agents/agents → ai-agents/personas}/pom-crafter.md +3 -9
  20. package/{.agents/agents → ai-agents/personas}/quality-gatekeeper.md +1 -1
  21. package/{.agents/agents → ai-agents/personas}/test-designer.md +2 -1
  22. package/{.agents/agents → ai-agents/personas}/test-runner.md +3 -4
  23. package/{.agents/rules → automation/playwright}/mandatory-playwright-live.md +5 -13
  24. package/{.agents/skills/01-web-automation → automation/playwright}/playwright-webapp-testing/SKILL.md +2 -0
  25. package/{.agents/skills/01-web-automation → automation/shared-utils}/clean-pom-crafter/SKILL.md +8 -0
  26. package/{.agents/skills/01-web-automation → automation/shared-utils}/e2e-testing-patterns/SKILL.md +9 -0
  27. package/{.agents/skills/01-web-automation → automation/shared-utils}/lam-script-generator/SKILL.md +2 -0
  28. package/docs/ARCHITECTURE.en.md +2 -2
  29. package/docs/ARCHITECTURE.md +2 -2
  30. package/docs/TOOL_CATALOG.md +8 -5
  31. package/docs/reports/AUDIT_REPORT.md +1038 -0
  32. package/docs/reports/PROJECT_HEALTH_REPORT.md +49 -0
  33. package/docs/reports/TECHNICAL_DEBT_LEDGER.md +22 -0
  34. package/package.json +8 -1
  35. package/plugin.json +1 -1
  36. package/{.agents/skills/02-test-design → requirement/spec-review}/review-spec/SKILL.md +8 -0
  37. package/scripts/install_global_plugin.ps1 +1 -1
  38. package/scripts/install_global_plugin.sh +1 -1
  39. package/skills_index.json +61 -0
  40. package/skills_manifest.json +88 -62
  41. package/{.agents/skills/08-code-quality → standards/coding-standards}/lean-code-ladder/SKILL.md +8 -1
  42. package/{.agents/skills/08-code-quality → standards/coding-standards}/surgical-coding-principles/SKILL.md +2 -0
  43. package/synapse.config.json +1 -1
  44. package/templates/ai_bridges/CLAUDE.md +4 -5
  45. package/templates/ai_bridges/copilot-instructions.md +1 -0
  46. package/templates/ai_bridges/cursor_synapse_qa.mdc +4 -2
  47. package/templates/ai_bridges/windsurfrules +3 -10
  48. package/testing/api-contracts/api_testing_rules.md +74 -0
  49. package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/agentless-qa-repair/SKILL.md +2 -0
  50. package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/SKILL.md +5 -11
  51. package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/self-healing-locator/SKILL.md +2 -0
  52. package/testing/manual/manual-qa-and-rtm-bridge/SKILL.md +92 -0
  53. package/testing/manual/manual-qa-and-rtm-bridge/examples/sample_bug_and_rtm.json +38 -0
  54. package/{.agents/skills/04-performance-and-load → testing/performance}/backend-load-and-stress-patterns/SKILL.md +1 -1
  55. package/{.agents/rules → testing/performance}/performance_testing_rules.md +23 -0
  56. package/{.agents/rules → testing/security-a11y}/security_testing_rules.md +19 -0
  57. package/tools/TOOLS_RUNBOOK.md +9 -4
  58. package/tools/TOOL_CATALOG.json +75 -30
  59. package/tools/TOOL_INDEX.json +160 -0
  60. package/tools/__init__.py +1 -1
  61. package/tools/assertion_optimizer.py +188 -0
  62. package/tools/author_integrity.py +12 -1
  63. package/tools/benchmark_swarm_context.py +1 -1
  64. package/tools/browser_helpers.js +2 -2
  65. package/tools/catalogs/api_contract_testing.json +107 -0
  66. package/tools/catalogs/auxiliary_utilities.json +1536 -0
  67. package/tools/catalogs/benchmarking.json +23 -0
  68. package/tools/catalogs/ci_cd_packaging.json +46 -0
  69. package/tools/catalogs/code_generation_ast.json +70 -0
  70. package/tools/catalogs/failure_autopsy_healing.json +41 -0
  71. package/tools/catalogs/manual_testing_design.json +80 -0
  72. package/tools/catalogs/orchestration.json +25 -0
  73. package/tools/catalogs/performance_testing.json +71 -0
  74. package/tools/catalogs/quality_gates.json +65 -0
  75. package/tools/catalogs/sandboxing_isolation.json +42 -0
  76. package/tools/catalogs/security.json +72 -0
  77. package/tools/catalogs/setup_onboarding.json +26 -0
  78. package/tools/catalogs/testing_utilities.json +111 -0
  79. package/tools/check_env.py +16 -3
  80. package/tools/check_version_sync.py +114 -63
  81. package/tools/cldr_l10n_verifier.py +1 -1
  82. package/tools/cli.py +787 -3
  83. package/tools/core/circuit_breaker.py +106 -0
  84. package/tools/core/token_estimator.py +56 -7
  85. package/tools/dashboard_generator.py +10 -10
  86. package/tools/generate_tool_catalog.py +60 -2
  87. package/tools/mcp_docx_server.py +1 -1
  88. package/tools/mcp_excel_server.py +1 -1
  89. package/tools/mcp_server.py +5 -1
  90. package/tools/pre_push_guard.py +1 -1
  91. package/tools/project_state.py +17 -10
  92. package/tools/reversible_sandbox.py +7 -2
  93. package/tools/rules_router.py +5 -3
  94. package/tools/runaway_stopper.py +19 -111
  95. package/tools/setup_project.py +1 -1
  96. package/tools/skill_canonical_digest.py +2 -2
  97. package/tools/skillspector.py +78 -10
  98. package/tools/sync_agent_rules.py +15 -27
  99. package/tools/sync_skills_manifest.py +38 -4
  100. package/tools/tmmi_auditor.py +8 -1
  101. package/tools/ui_server.py +1 -1
  102. package/tools/update_sentinel.py +4 -4
  103. package/tools/validate_host_interop.py +3 -1
  104. package/tools/validate_skills_schema.py +49 -2
  105. package/tools/welcome_page.py +4 -4
  106. package/.agents/rules/stack-auto-router.md +0 -30
  107. package/.agents/skills/09-ci-and-devops/github-actions-templates/SKILL.md +0 -114
  108. package/.agents/skills/09-ci-and-devops/github-actions-templates/examples/matrix_test_pipeline.yml +0 -9
  109. package/.agents/skills/09-ci-and-devops/gitlab-ci-templates/SKILL.md +0 -123
  110. package/.agents/skills/09-ci-and-devops/gitlab-ci-templates/examples/sample_gitlab_ci.yml +0 -17
  111. package/.agents/skills/09-ci-and-devops/jenkins-pipeline-templates/SKILL.md +0 -133
  112. package/.agents/skills/09-ci-and-devops/jenkins-pipeline-templates/examples/Jenkinsfile.example +0 -21
  113. package/.cursor/rules/language.mdc +0 -7
  114. package/templates/ci/github-actions-synapse.yml +0 -95
  115. package/templates/ci/gitlab-ci-synapse.yml +0 -16
  116. package/tools/build_consolidated_report.py +0 -1643
  117. package/tools/create_mock_docx.py +0 -107
  118. /package/{.agents → ai-agents/hooks}/hooks.json +0 -0
  119. /package/{.agents → ai-agents}/hooks/session_start.py +0 -0
  120. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/actor-qa-swarm/SKILL.md +0 -0
  121. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/actor-qa-swarm/examples/broker_sharding_sample.json +0 -0
  122. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/agent-orchestration-multi-agent-optimize/SKILL.md +0 -0
  123. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/agent-orchestration-multi-agent-optimize/examples/swarm_workload_config.json +0 -0
  124. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/event-stream-qa-orchestrator/SKILL.md +0 -0
  125. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/event-stream-qa-orchestrator/examples/timeline_sample.jsonl +0 -0
  126. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/persistent-planning-files/SKILL.md +0 -0
  127. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/persistent-planning-files/examples/task_plan_example.md +0 -0
  128. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/qa-memory-os/SKILL.md +0 -0
  129. /package/{.agents/skills/10-agent-orchestration → ai-agents/orchestration}/qa-memory-os/examples/archival_memory_sample.json +0 -0
  130. /package/{.agents → ai-agents}/workflows/graphify.md +0 -0
  131. /package/{.agents → ai-agents}/workflows/test-impact.md +0 -0
  132. /package/{.agents → ai-agents}/workflows/verify.md +0 -0
  133. /package/{.agents/rules → automation/cypress}/cypress_rules.md +0 -0
  134. /package/{.agents/skills/01-web-automation → automation/katalon}/katalon-cli-runner/SKILL.md +0 -0
  135. /package/{.agents/skills/01-web-automation → automation/katalon}/katalon-cli-runner/examples/headless_kre_exec.sh +0 -0
  136. /package/{.agents/skills/01-web-automation → automation/katalon}/katalon-cli-runner/references/groovy-patterns.md +0 -0
  137. /package/{.agents/skills/01-web-automation → automation/katalon}/katalon-cli-runner/references/katalon-api.md +0 -0
  138. /package/{.agents/skills/01-web-automation → automation/katalon}/katalon-cli-runner/references/runner_commands.md +0 -0
  139. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-appium-som/SKILL.md +0 -0
  140. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-appium-som/examples/BaseScreen.java +0 -0
  141. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-appium-som/examples/LoginScreen.java +0 -0
  142. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-appium-som/examples/TC_MobileLogin.java +0 -0
  143. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-maestro-detox-patterns/SKILL.md +0 -0
  144. /package/{.agents/skills/01-web-automation → automation/mobile}/mobile-maestro-detox-patterns/examples/sample_flow.yaml +0 -0
  145. /package/{.agents/rules → automation/mobile}/mobile_appium_rules.md +0 -0
  146. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/SKILL.md +0 -0
  147. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/examples/live_probe_script.js +0 -0
  148. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/references/advanced_superpowers.md +0 -0
  149. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/references/compact_accessibility_snapshots.md +0 -0
  150. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/references/recipes.md +0 -0
  151. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-live-interaction/references/swarm_orchestration.md +0 -0
  152. /package/{.agents/skills/01-web-automation → automation/playwright}/playwright-webapp-testing/examples/server_lifecycle_playwright.py +0 -0
  153. /package/{.agents/skills/01-web-automation → automation/shared-utils}/auth-session-and-cookie-manager/SKILL.md +0 -0
  154. /package/{.agents/skills/01-web-automation → automation/shared-utils}/auth-session-and-cookie-manager/examples/multi_role_auth_matrix.md +0 -0
  155. /package/{.agents/skills/01-web-automation → automation/shared-utils}/auth-session-and-cookie-manager/examples/storage_state_sample.json +0 -0
  156. /package/{.agents/skills/01-web-automation → automation/shared-utils}/bats-testing-patterns/SKILL.md +0 -0
  157. /package/{.agents/skills/01-web-automation → automation/shared-utils}/bats-testing-patterns/examples/cli_runner_test.bats +0 -0
  158. /package/{.agents/skills/01-web-automation → automation/shared-utils}/bats-testing-patterns/resources/implementation-playbook.md +0 -0
  159. /package/{.agents/skills/01-web-automation → automation/shared-utils}/clean-pom-crafter/examples/standard_test_case.groovy +0 -0
  160. /package/{.agents/skills/01-web-automation → automation/shared-utils}/clean-pom-crafter/references/pom_patterns.groovy +0 -0
  161. /package/{.agents/skills/01-web-automation → automation/shared-utils}/e2e-testing-patterns/examples/playwright_sharded_config.ts +0 -0
  162. /package/{.agents/skills/01-web-automation → automation/shared-utils}/e2e-testing-patterns/resources/implementation-playbook.md +0 -0
  163. /package/{.agents/skills/01-web-automation → automation/shared-utils}/lam-script-generator/examples/user_story_sample.md +0 -0
  164. /package/{.agents/skills/03-api-and-contracts → requirement/spec-review}/api-spec-to-e2e-matrix/SKILL.md +0 -0
  165. /package/{.agents/skills/03-api-and-contracts → requirement/spec-review}/api-spec-to-e2e-matrix/examples/sample_openapi.json +0 -0
  166. /package/{.agents/skills/02-test-design → requirement/spec-review}/architecture-decision-records/SKILL.md +0 -0
  167. /package/{.agents/skills/02-test-design → requirement/spec-review}/architecture-decision-records/examples/0001-record-architecture-decisions.md +0 -0
  168. /package/{.agents/skills/02-test-design → requirement/spec-review}/review-spec/examples/pocock_grilling_decision_rubric.md +0 -0
  169. /package/{.agents/skills/02-test-design → requirement/spec-review}/review-spec/examples/sample_spec_review.md +0 -0
  170. /package/{.agents → requirement}/workflows/analyze_requirement_document.md +0 -0
  171. /package/{.agents → requirement}/workflows/generate_requirements_from_website.md +0 -0
  172. /package/{.agents/rules → standards/coding-standards}/author-integrity-guard.md +0 -0
  173. /package/{.agents/skills/08-code-quality → standards/coding-standards}/code-refactoring-refactor-clean/SKILL.md +0 -0
  174. /package/{.agents/skills/08-code-quality → standards/coding-standards}/code-refactoring-refactor-clean/examples/refactored_page_sample.groovy +0 -0
  175. /package/{.agents/skills/08-code-quality → standards/coding-standards}/code-refactoring-refactor-clean/examples/refactored_playwright_pom.ts +0 -0
  176. /package/{.agents/skills/08-code-quality → standards/coding-standards}/code-refactoring-refactor-clean/resources/implementation-playbook.md +0 -0
  177. /package/{.agents/rules → standards/coding-standards}/communication-style.md +0 -0
  178. /package/{.agents/rules → standards/coding-standards}/git-push-protocol.md +0 -0
  179. /package/{.agents/skills/08-code-quality → standards/coding-standards}/graphify-impact-analyzer/SKILL.md +0 -0
  180. /package/{.agents/skills/08-code-quality → standards/coding-standards}/graphify-impact-analyzer/examples/dependency_blast_radius.json +0 -0
  181. /package/{.agents/skills/08-code-quality → standards/coding-standards}/lean-code-ladder/examples/ladder_walkthrough.md +0 -0
  182. /package/{.agents/skills/08-code-quality → standards/coding-standards}/repo-quality-audit/SKILL.md +0 -0
  183. /package/{.agents/skills/08-code-quality → standards/coding-standards}/repo-quality-audit/examples/sample_audit_walkthrough.md +0 -0
  184. /package/{.agents/skills/08-code-quality → standards/coding-standards}/repo-quality-audit/examples/sample_repo_audit.md +0 -0
  185. /package/{.agents/skills/08-code-quality → standards/coding-standards}/senior-code-review/SKILL.md +0 -0
  186. /package/{.agents/skills/08-code-quality → standards/coding-standards}/senior-code-review/examples/sample_review_walkthrough.md +0 -0
  187. /package/{.agents/skills/08-code-quality → standards/coding-standards}/surgical-coding-principles/examples/surgical_vs_scope_creep.md +0 -0
  188. /package/{.agents/skills/08-code-quality → standards/coding-standards}/technical-debt-harvester/SKILL.md +0 -0
  189. /package/{.agents/skills/08-code-quality → standards/coding-standards}/technical-debt-harvester/examples/sample_debt_ledger.md +0 -0
  190. /package/{.agents/skills/08-code-quality → standards/coding-standards}/technical-debt-harvester/examples/sample_ledger_output.md +0 -0
  191. /package/{.agents/rules → standards/context-ai}/context-engineering.md +0 -0
  192. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/meta-prompt-crafter/SKILL.md +0 -0
  193. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/meta-prompt-crafter/examples/qa_prompt_template.md +0 -0
  194. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/mipro-prompt-compiler/SKILL.md +0 -0
  195. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/mipro-prompt-compiler/examples/compiled_module_sample.json +0 -0
  196. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/mipro-prompt-compiler/examples/dspy_assertion_optimizer_case.md +0 -0
  197. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/qa-aci-interface/SKILL.md +0 -0
  198. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/qa-aci-interface/examples/surgical_code_window_walkthrough.md +0 -0
  199. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/qa-aci-interface/examples/surgical_edit_sample.json +0 -0
  200. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/token-and-context-optimizer/SKILL.md +0 -0
  201. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/token-and-context-optimizer/examples/distilled_log_sample.txt +0 -0
  202. /package/{.agents/skills/11-ai-and-prompting → standards/context-ai}/token-and-context-optimizer/references/context_engineering_guide.md +0 -0
  203. /package/{.agents/rules → standards/qa-process}/graphify.md +0 -0
  204. /package/{.agents/rules → standards/qa-process}/lessons-learned.md +0 -0
  205. /package/{.agents/rules → standards/qa-process}/skill-precedence.md +0 -0
  206. /package/{.agents/rules → standards/quality-gates}/systematic-debugging.md +0 -0
  207. /package/{.agents/templates → templates/test-plan}/performance-test-plan-template.md +0 -0
  208. /package/{.agents/templates → templates/test-report}/completion_report.md +0 -0
  209. /package/{.agents/skills/02-test-design → test-design/bdd-gherkin}/gherkin-to-suite/SKILL.md +0 -0
  210. /package/{.agents/skills/02-test-design → test-design/bdd-gherkin}/gherkin-to-suite/examples/checkout.feature +0 -0
  211. /package/{.agents/skills/02-test-design → test-design/bdd-gherkin}/gherkin-to-suite/examples/suite_report_sample.json +0 -0
  212. /package/{.agents → test-design/bdd-gherkin}/workflows/generate_cross_module_test_plan.md +0 -0
  213. /package/{.agents → test-design/bdd-gherkin}/workflows/generate_testcases_from_requirements.md +0 -0
  214. /package/{.agents/skills/02-test-design → test-design/exploratory}/tot-exploratory-testing/SKILL.md +0 -0
  215. /package/{.agents/skills/02-test-design → test-design/exploratory}/tot-exploratory-testing/examples/payment_gateway_tot_tree.json +0 -0
  216. /package/{.agents/skills/02-test-design → test-design/exploratory}/tot-exploratory-testing/examples/tot_graph_sample.json +0 -0
  217. /package/{.agents/skills/02-test-design → test-design/manual-rbt}/rbt-manual-testing/SKILL.md +0 -0
  218. /package/{.agents/skills/02-test-design → test-design/manual-rbt}/rbt-manual-testing/examples/checkout_rbt_manual_suite.md +0 -0
  219. /package/{.agents/skills/02-test-design → test-design/manual-rbt}/rbt-manual-testing/references/field_validation_checklist.md +0 -0
  220. /package/{.agents → test-design/manual-rbt}/workflows/export_testcases_excel.md +0 -0
  221. /package/{.agents → test-design/manual-rbt}/workflows/generate_manual_testcases_rbt.md +0 -0
  222. /package/{.agents/skills/07-data-and-state → test-design/test-data}/db-state-verifier-and-seeder/SKILL.md +0 -0
  223. /package/{.agents/skills/07-data-and-state → test-design/test-data}/db-state-verifier-and-seeder/examples/db_fixture_seed.json +0 -0
  224. /package/{.agents/skills/07-data-and-state → test-design/test-data}/file-and-report-validator/SKILL.md +0 -0
  225. /package/{.agents/skills/07-data-and-state → test-design/test-data}/file-and-report-validator/examples/sample_export_schema.json +0 -0
  226. /package/{.agents/skills/07-data-and-state → test-design/test-data}/synthetic-test-data-generator/SKILL.md +0 -0
  227. /package/{.agents/skills/07-data-and-state → test-design/test-data}/synthetic-test-data-generator/examples/idempotent_data_recipe.json +0 -0
  228. /package/{.agents → test-design/test-data}/workflows/generate_combinatorial_test_data.md +0 -0
  229. /package/{.agents/skills/03-api-and-contracts → testing/api-contracts}/api-network-mocking-interception/SKILL.md +0 -0
  230. /package/{.agents/skills/03-api-and-contracts → testing/api-contracts}/api-network-mocking-interception/examples/network_route_stub.json +0 -0
  231. /package/{.agents/skills/03-api-and-contracts → testing/api-contracts}/consumer-driven-contract-testing/SKILL.md +0 -0
  232. /package/{.agents/skills/03-api-and-contracts → testing/api-contracts}/consumer-driven-contract-testing/examples/order_service_pact.json +0 -0
  233. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/agentless-qa-repair/examples/healing_report_sample.json +0 -0
  234. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/agentless-qa-repair/examples/three_phase_repair_workflow.md +0 -0
  235. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/antigravity-test-sentinel/SKILL.md +0 -0
  236. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/antigravity-test-sentinel/examples/dod_gate_policy.json +0 -0
  237. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/antigravity-test-sentinel/examples/sprint_dod_enforcement.md +0 -0
  238. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/examples/closed_loop_healing_walkthrough.md +0 -0
  239. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/examples/sample_junit_failure.xml +0 -0
  240. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/references/healing_matrix.md +0 -0
  241. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/references/qa_investigation_protocol.md +0 -0
  242. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/failure-autopsy-and-healing/scripts/triage_failures.sh +0 -0
  243. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/flaky-test-sentinel-and-quarantine/SKILL.md +0 -0
  244. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/flaky-test-sentinel-and-quarantine/examples/quarantine_registry.json +0 -0
  245. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/self-healing-locator/examples/aom_diff_sample.json +0 -0
  246. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/systematic-debugging/SKILL.md +0 -0
  247. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/systematic-debugging/examples/four_phase_case.md +0 -0
  248. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/test-driven-development/SKILL.md +0 -0
  249. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/test-driven-development/examples/red_green_refactor_qa.md +0 -0
  250. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/verification-before-completion/SKILL.md +0 -0
  251. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/verification-before-completion/examples/evidence_log_example.md +0 -0
  252. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/visual-regression-sentinel/SKILL.md +0 -0
  253. /package/{.agents/skills/06-healing-and-resilience → testing/healing-resilience}/visual-regression-sentinel/examples/visual_mask_rules.json +0 -0
  254. /package/{.agents/skills/04-performance-and-load → testing/performance}/backend-load-and-stress-patterns/examples/k6_load_test_sample.js +0 -0
  255. /package/{.agents/skills/04-performance-and-load → testing/performance}/backend-load-and-stress-patterns/references/k6_load_template.js +0 -0
  256. /package/{.agents/skills/04-performance-and-load → testing/performance}/backend-load-and-stress-patterns/references/performance_test_plan_29119.md +0 -0
  257. /package/{.agents/skills/04-performance-and-load → testing/performance}/lean-impact-scoreboard/SKILL.md +0 -0
  258. /package/{.agents/skills/04-performance-and-load → testing/performance}/lean-impact-scoreboard/examples/sample_benchmark_gain.md +0 -0
  259. /package/{.agents/skills/04-performance-and-load → testing/performance}/lean-impact-scoreboard/examples/sample_scoreboard.md +0 -0
  260. /package/{.agents/skills/04-performance-and-load → testing/performance}/web-vitals-and-performance-profiler/SKILL.md +0 -0
  261. /package/{.agents/skills/04-performance-and-load → testing/performance}/web-vitals-and-performance-profiler/examples/cwv_budget_policy.json +0 -0
  262. /package/{.agents/skills/04-performance-and-load → testing/performance}/web-vitals-and-performance-profiler/examples/playwright_cwv_profiler_fixture.ts +0 -0
  263. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/security-dast-sentinel/SKILL.md +0 -0
  264. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/security-dast-sentinel/examples/dast_scan_config.json +0 -0
  265. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/security-dast-sentinel/references/AI-AND-LLM.md +0 -0
  266. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/security-dast-sentinel/references/ATTACK-CLASSES.md +0 -0
  267. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/security-dast-sentinel/references/dast_recipes.ts +0 -0
  268. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/skillspector-security-guard/SKILL.md +0 -0
  269. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/skillspector-security-guard/examples/audit_threat_vectors_report.json +0 -0
  270. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/skillspector-security-guard/examples/safe_mcp_config.json +0 -0
  271. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/wcag-audit-patterns/SKILL.md +0 -0
  272. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/wcag-audit-patterns/examples/wcag_compliance_checklist.json +0 -0
  273. /package/{.agents/skills/05-security-and-compliance → testing/security-a11y}/wcag-audit-patterns/resources/implementation-playbook.md +0 -0
  274. /package/{.agents/skills/01-web-automation → tools/benchmarks-tests}/web-agent-gym-benchmarking/SKILL.md +0 -0
  275. /package/{.agents/skills/01-web-automation → tools/benchmarks-tests}/web-agent-gym-benchmarking/examples/benchmark_report_sample.json +0 -0
  276. /package/{.agents/skills/01-web-automation → tools/benchmarks-tests}/web-agent-gym-benchmarking/examples/enterprise_tasks_suite.json +0 -0
@@ -13,6 +13,7 @@ Autonomously detects Target Project or QA Hub (CLI, CWD, ENV).
13
13
  ==============================================================================
14
14
  """
15
15
 
16
+ import json
16
17
  import os
17
18
  import sys
18
19
  import shlex
@@ -244,11 +245,23 @@ class DiagnosticRunner:
244
245
  # 1. QA Hub Repository Check
245
246
  is_hub = (self.target_dir / "skills_manifest.json").exists() or (self.target_dir / ".agents" / "skills").is_dir()
246
247
  if is_hub:
247
- required_dirs = [".agents/skills", ".agents/rules", "tools", "tests"]
248
+ has_legacy = (self.target_dir / ".agents" / "skills").exists() and (self.target_dir / ".agents" / "rules").exists()
249
+ has_lifecycle = (self.target_dir / "standards").exists() and (self.target_dir / "testing").exists() and (self.target_dir / "automation").exists()
250
+ required_dirs = ["tools", "tests"]
248
251
  missing = [rd for rd in required_dirs if not (self.target_dir / rd).exists()]
252
+ if not has_legacy and not has_lifecycle:
253
+ missing.extend([".agents/skills", ".agents/rules"])
249
254
  if not missing:
250
- skills_dir = self.target_dir / ".agents" / "skills"
251
- skill_count = len([d for d in skills_dir.iterdir() if d.is_dir() and not d.name.startswith(".")]) if skills_dir.exists() else 0
255
+ if (self.target_dir / "skills_manifest.json").exists():
256
+ try:
257
+ with open(self.target_dir / "skills_manifest.json", "r", encoding="utf-8") as f:
258
+ manifest = json.load(f)
259
+ skill_count = len(manifest.get("skills", []))
260
+ except Exception:
261
+ skill_count = 57
262
+ else:
263
+ skills_dir = self.target_dir / ".agents" / "skills"
264
+ skill_count = len([d for d in skills_dir.iterdir() if d.is_dir() and not d.name.startswith(".")]) if skills_dir.exists() else 0
252
265
  self.log_check("Project Structure (QA Hub)", "PASS", f"QA Hub integrity verified ({skill_count} Skills, Rules, Tools, Unit Tests)")
253
266
  else:
254
267
  self.log_check("Project Structure (QA Hub)", "FAIL", f"Missing directories: {', '.join(missing)}",
@@ -31,7 +31,16 @@ import json
31
31
  import argparse
32
32
  from typing import Dict, Optional, Tuple
33
33
 
34
- REPO_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
34
+ def _find_repo_root() -> str:
35
+ curr = os.path.dirname(os.path.abspath(__file__))
36
+ while curr and curr != os.path.dirname(curr):
37
+ if os.path.isfile(os.path.join(curr, "package.json")) or os.path.isfile(os.path.join(curr, "pyproject.toml")):
38
+ return curr
39
+ curr = os.path.dirname(curr)
40
+ return os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
41
+
42
+
43
+ REPO_ROOT = _find_repo_root()
35
44
 
36
45
 
37
46
  def extract_versions(repo_root: str) -> Dict[str, str]:
@@ -45,10 +54,15 @@ def extract_versions(repo_root: str) -> Dict[str, str]:
45
54
  versions["package.json"] = json.load(f).get("version", "")
46
55
 
47
56
  # 1b. editors/vscode/package.json
48
- vscode_pkg_path = os.path.join(repo_root, "editors", "vscode", "package.json")
49
- if os.path.exists(vscode_pkg_path):
50
- with open(vscode_pkg_path, "r", encoding="utf-8") as f:
51
- versions["editors/vscode/package.json"] = json.load(f).get("version", "")
57
+ for candidate in (
58
+ os.path.join(repo_root, "integrations", "editors", "editors", "vscode", "package.json"),
59
+ os.path.join(repo_root, "integrations", "editors", "package.json"),
60
+ os.path.join(repo_root, "editors", "vscode", "package.json"),
61
+ ):
62
+ if os.path.exists(candidate):
63
+ with open(candidate, "r", encoding="utf-8") as f:
64
+ versions["editors/vscode/package.json"] = json.load(f).get("version", "")
65
+ break
52
66
 
53
67
  # 2. pyproject.toml
54
68
  pyproject_path = os.path.join(repo_root, "pyproject.toml")
@@ -60,10 +74,14 @@ def extract_versions(repo_root: str) -> Dict[str, str]:
60
74
  versions["pyproject.toml"] = m.group(1)
61
75
 
62
76
  # 3. plugin.json
63
- plugin_path = os.path.join(repo_root, "plugin.json")
64
- if os.path.exists(plugin_path):
65
- with open(plugin_path, "r", encoding="utf-8") as f:
66
- versions["plugin.json"] = json.load(f).get("version", "")
77
+ for candidate in (
78
+ os.path.join(repo_root, "tools", "schemas", "plugin.json"),
79
+ os.path.join(repo_root, "plugin.json"),
80
+ ):
81
+ if os.path.exists(candidate):
82
+ with open(candidate, "r", encoding="utf-8") as f:
83
+ versions["plugin.json"] = json.load(f).get("version", "")
84
+ break
67
85
 
68
86
  # 4. skills_manifest.json
69
87
  manifest_path = os.path.join(repo_root, "skills_manifest.json")
@@ -78,70 +96,103 @@ def extract_versions(repo_root: str) -> Dict[str, str]:
78
96
  versions["synapse.config.json"] = json.load(f).get("version", "")
79
97
 
80
98
  # 5b. agentskills.json
81
- agentskills_path = os.path.join(repo_root, "agentskills.json")
82
- if os.path.exists(agentskills_path):
83
- with open(agentskills_path, "r", encoding="utf-8") as f:
84
- versions["agentskills.json"] = json.load(f).get("version", "")
99
+ for candidate in (
100
+ os.path.join(repo_root, "tools", "schemas", "agentskills.json"),
101
+ os.path.join(repo_root, "agentskills.json"),
102
+ ):
103
+ if os.path.exists(candidate):
104
+ with open(candidate, "r", encoding="utf-8") as f:
105
+ versions["agentskills.json"] = json.load(f).get("version", "")
106
+ break
85
107
 
86
108
  # 6. tools/mcp_server.py
87
- mcp_path = os.path.join(repo_root, "tools", "mcp_server.py")
88
- if os.path.exists(mcp_path):
89
- with open(mcp_path, "r", encoding="utf-8") as f:
90
- content = f.read()
91
- m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
92
- if m:
93
- versions["tools/mcp_server.py"] = m.group(1)
109
+ for candidate in (
110
+ os.path.join(repo_root, "tools", "cli", "tools", "mcp_server.py"),
111
+ os.path.join(repo_root, "tools", "mcp_server.py"),
112
+ ):
113
+ if os.path.exists(candidate):
114
+ with open(candidate, "r", encoding="utf-8") as f:
115
+ content = f.read()
116
+ m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
117
+ if m:
118
+ versions["tools/mcp_server.py"] = m.group(1)
119
+ break
94
120
 
95
121
  # 7. tools/cli.py
96
- cli_path = os.path.join(repo_root, "tools", "cli.py")
97
- if os.path.exists(cli_path):
98
- with open(cli_path, "r", encoding="utf-8") as f:
99
- content = f.read()
100
- m = re.search(r'version\s*=\s*["\']([^"\']+)["\']', content)
101
- if m:
102
- versions["tools/cli.py"] = m.group(1)
122
+ for candidate in (
123
+ os.path.join(repo_root, "tools", "cli", "tools", "cli.py"),
124
+ os.path.join(repo_root, "tools", "cli.py"),
125
+ ):
126
+ if os.path.exists(candidate):
127
+ with open(candidate, "r", encoding="utf-8") as f:
128
+ content = f.read()
129
+ m = re.search(r'version\s*=\s*["\']([^"\']+)["\']', content)
130
+ if m:
131
+ versions["tools/cli.py"] = m.group(1)
132
+ break
103
133
 
104
134
  # 8. tools/__init__.py
105
- init_path = os.path.join(repo_root, "tools", "__init__.py")
106
- if os.path.exists(init_path):
107
- with open(init_path, "r", encoding="utf-8") as f:
108
- content = f.read()
109
- m = re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', content)
110
- if m:
111
- versions["tools/__init__.py"] = m.group(1)
135
+ for candidate in (
136
+ os.path.join(repo_root, "tools", "cli", "tools", "__init__.py"),
137
+ os.path.join(repo_root, "tools", "__init__.py"),
138
+ ):
139
+ if os.path.exists(candidate):
140
+ with open(candidate, "r", encoding="utf-8") as f:
141
+ content = f.read()
142
+ m = re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', content)
143
+ if m:
144
+ versions["tools/__init__.py"] = m.group(1)
145
+ break
112
146
 
113
147
  # 9. tools/mcp_excel_server.py & tools/mcp_docx_server.py
114
- excel_mcp_path = os.path.join(repo_root, "tools", "mcp_excel_server.py")
115
- if os.path.exists(excel_mcp_path):
116
- with open(excel_mcp_path, "r", encoding="utf-8") as f:
117
- content = f.read()
118
- m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
119
- if m:
120
- versions["tools/mcp_excel_server.py"] = m.group(1)
121
-
122
- docx_mcp_path = os.path.join(repo_root, "tools", "mcp_docx_server.py")
123
- if os.path.exists(docx_mcp_path):
124
- with open(docx_mcp_path, "r", encoding="utf-8") as f:
125
- content = f.read()
126
- m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
127
- if m:
128
- versions["tools/mcp_docx_server.py"] = m.group(1)
148
+ for candidate in (
149
+ os.path.join(repo_root, "tools", "cli", "tools", "mcp_excel_server.py"),
150
+ os.path.join(repo_root, "tools", "mcp_excel_server.py"),
151
+ ):
152
+ if os.path.exists(candidate):
153
+ with open(candidate, "r", encoding="utf-8") as f:
154
+ content = f.read()
155
+ m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
156
+ if m:
157
+ versions["tools/mcp_excel_server.py"] = m.group(1)
158
+ break
159
+
160
+ for candidate in (
161
+ os.path.join(repo_root, "tools", "cli", "tools", "mcp_docx_server.py"),
162
+ os.path.join(repo_root, "tools", "mcp_docx_server.py"),
163
+ ):
164
+ if os.path.exists(candidate):
165
+ with open(candidate, "r", encoding="utf-8") as f:
166
+ content = f.read()
167
+ m = re.search(r'SERVER_VERSION\s*=\s*["\']([^"\']+)["\']', content)
168
+ if m:
169
+ versions["tools/mcp_docx_server.py"] = m.group(1)
170
+ break
129
171
 
130
172
  # 10. docs/ARCHITECTURE.md & docs/ARCHITECTURE.en.md
131
- arch_path = os.path.join(repo_root, "docs", "ARCHITECTURE.md")
132
- if os.path.exists(arch_path):
133
- with open(arch_path, "r", encoding="utf-8") as f:
134
- content = f.read()
135
- m = re.search(r'>\s*\*\*Version:\*\*\s*`([^`]+)`', content)
136
- if m:
137
- versions["docs/ARCHITECTURE.md"] = m.group(1)
138
- arch_en_path = os.path.join(repo_root, "docs", "ARCHITECTURE.en.md")
139
- if os.path.exists(arch_en_path):
140
- with open(arch_en_path, "r", encoding="utf-8") as f:
141
- content = f.read()
142
- m = re.search(r'>\s*\*\*Version:\*\*\s*`([^`]+)`', content)
143
- if m:
144
- versions["docs/ARCHITECTURE.en.md"] = m.group(1)
173
+ for candidate in (
174
+ os.path.join(repo_root, "docs", "guides", "ARCHITECTURE.md"),
175
+ os.path.join(repo_root, "docs", "ARCHITECTURE.md"),
176
+ ):
177
+ if os.path.exists(candidate):
178
+ with open(candidate, "r", encoding="utf-8") as f:
179
+ content = f.read()
180
+ m = re.search(r'>\s*\*\*Version:\*\*\s*`([^`]+)`', content)
181
+ if m:
182
+ versions["docs/ARCHITECTURE.md"] = m.group(1)
183
+ break
184
+
185
+ for candidate in (
186
+ os.path.join(repo_root, "docs", "guides", "ARCHITECTURE.en.md"),
187
+ os.path.join(repo_root, "docs", "ARCHITECTURE.en.md"),
188
+ ):
189
+ if os.path.exists(candidate):
190
+ with open(candidate, "r", encoding="utf-8") as f:
191
+ content = f.read()
192
+ m = re.search(r'>\s*\*\*Version:\*\*\s*`([^`]+)`', content)
193
+ if m:
194
+ versions["docs/ARCHITECTURE.en.md"] = m.group(1)
195
+ break
145
196
 
146
197
  # 11. README.md
147
198
  readme_path = os.path.join(repo_root, "README.md")
@@ -244,7 +244,7 @@ def main():
244
244
  formatter_class=argparse.RawDescriptionHelpFormatter,
245
245
  )
246
246
  parser.add_argument("--pseudo", help="Generate pseudo-localized string for UI truncation/encoding testing")
247
- parser.add_argument("--expand", type=int, default=35, help="Expansion percentage for pseudo-localization (default: 35%)")
247
+ parser.add_argument("--expand", type=int, default=35, help="Expansion percentage for pseudo-localization (default: 35%%)")
248
248
  parser.add_argument("--verify-date", help="Date string to validate against locale (e.g. '17/11/2026')")
249
249
  parser.add_argument("--verify-currency", help="Currency string to validate (e.g. '1.500.000 ₫' or '$1,234.56')")
250
250
  parser.add_argument("--locale", default="vi-VN", choices=list(CLDR_LOCALES.keys()), help="Target CLDR locale code")