synapse-hub 2.5.0 → 2.7.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.
Files changed (92) hide show
  1. package/.agents/agents/failure-analyst.md +17 -0
  2. package/.agents/agents/orchestrator.md +20 -2
  3. package/.agents/agents/pom-crafter.md +20 -0
  4. package/.agents/agents/quality-gatekeeper.md +20 -2
  5. package/.agents/agents/test-runner.md +16 -0
  6. package/.agents/rules/context-engineering.md +22 -102
  7. package/.agents/rules/git-push-protocol.md +1 -1
  8. package/.agents/rules/graphify.md +2 -0
  9. package/.agents/rules/mandatory-playwright-live.md +9 -9
  10. package/.agents/rules/mobile_appium_rules.md +27 -116
  11. package/.agents/rules/performance_testing_rules.md +18 -62
  12. package/.agents/rules/skill-precedence.md +22 -42
  13. package/.agents/rules/systematic-debugging.md +10 -29
  14. package/.agents/skills/actor-qa-swarm/SKILL.md +77 -0
  15. package/.agents/skills/actor-qa-swarm/examples/broker_sharding_sample.json +12 -0
  16. package/.agents/skills/agentless-qa-repair/SKILL.md +69 -0
  17. package/.agents/skills/agentless-qa-repair/examples/healing_report_sample.json +17 -0
  18. package/.agents/skills/api-spec-to-e2e-matrix/SKILL.md +1 -1
  19. package/.agents/skills/clean-pom-crafter/SKILL.md +2 -2
  20. package/.agents/skills/db-state-verifier-and-seeder/SKILL.md +4 -4
  21. package/.agents/skills/event-stream-qa-orchestrator/SKILL.md +79 -0
  22. package/.agents/skills/event-stream-qa-orchestrator/examples/timeline_sample.jsonl +2 -0
  23. package/.agents/skills/failure-autopsy-and-healing/SKILL.md +2 -2
  24. package/.agents/skills/failure-autopsy-and-healing/scripts/triage_failures.sh +6 -21
  25. package/.agents/skills/katalon-cli-runner/SKILL.md +1 -1
  26. package/.agents/skills/mipro-prompt-compiler/SKILL.md +59 -0
  27. package/.agents/skills/mipro-prompt-compiler/examples/compiled_module_sample.json +22 -0
  28. package/.agents/skills/qa-aci-interface/SKILL.md +67 -0
  29. package/.agents/skills/qa-aci-interface/examples/surgical_edit_sample.json +12 -0
  30. package/.agents/skills/qa-memory-os/SKILL.md +80 -0
  31. package/.agents/skills/qa-memory-os/examples/archival_memory_sample.json +21 -0
  32. package/.agents/skills/review-spec/SKILL.md +60 -0
  33. package/.agents/skills/review-spec/examples/sample_spec_review.md +33 -0
  34. package/.agents/skills/synthetic-test-data-generator/SKILL.md +2 -2
  35. package/.agents/skills/token-and-context-optimizer/references/context_engineering_guide.md +49 -0
  36. package/.agents/skills/tot-exploratory-testing/SKILL.md +59 -0
  37. package/.agents/skills/tot-exploratory-testing/examples/tot_graph_sample.json +35 -0
  38. package/.agents/skills/wcag-audit-patterns/SKILL.md +2 -2
  39. package/.agents/skills/web-agent-gym-benchmarking/SKILL.md +62 -0
  40. package/.agents/skills/web-agent-gym-benchmarking/examples/benchmark_report_sample.json +22 -0
  41. package/AGENTS.md +6 -1
  42. package/CLAUDE.md +1 -1
  43. package/NOTICE +40 -4
  44. package/README.en.md +27 -11
  45. package/README.md +28 -12
  46. package/docs/ARCHITECTURE.md +39 -11
  47. package/docs/adopted-ecosystem-tools.md +9 -0
  48. package/docs/research/EXTERNAL_AGENT_SKILLS_SURVEY.md +1062 -0
  49. package/docs/research/agent_skill_training_analysis.md +1357 -0
  50. package/package.json +1 -1
  51. package/skills_manifest.json +88 -7
  52. package/synapse.config.json +3 -2
  53. package/templates/ai_bridges/CLAUDE.md +1 -1
  54. package/templates/welcome.html.tmpl +34 -25
  55. package/tools/TOOLS_RUNBOOK.md +130 -1
  56. package/tools/__init__.py +1 -1
  57. package/tools/_openapi_parser.py +158 -0
  58. package/tools/agentless_patcher.py +417 -0
  59. package/tools/analyze_project.py +9 -6
  60. package/tools/auto_heal.py +29 -0
  61. package/tools/auto_heal_reflexion.py +172 -0
  62. package/tools/autogen_qa_broker.py +318 -0
  63. package/tools/browser_helpers.js +57 -2
  64. package/tools/browsergym_eval.py +237 -0
  65. package/tools/ci_healing_hook.py +1 -1
  66. package/tools/cli.py +3 -3
  67. package/tools/dashboard_generator.py +29 -13
  68. package/tools/db_sandbox.py +4 -0
  69. package/tools/dspy_qa_signatures.py +357 -0
  70. package/tools/heal_pr_automator.py +25 -0
  71. package/tools/interview_story.py +117 -0
  72. package/tools/lint_ai_docs.py +1 -1
  73. package/tools/mcp_excel_server.py +1 -1
  74. package/tools/mcp_server.py +1 -1
  75. package/tools/mipro_assertion_tuner.py +207 -0
  76. package/tools/pinpoint_failure.py +12 -0
  77. package/tools/project_state.py +4 -0
  78. package/tools/qa_event_stream.py +336 -0
  79. package/tools/reversible_sandbox.py +161 -0
  80. package/tools/safety_firewall.py +28 -0
  81. package/tools/skill_collision_guard.py +231 -0
  82. package/tools/skill_vault.py +343 -0
  83. package/tools/swe_qa_aci.py +369 -0
  84. package/tools/synapse_qa_bench.py +190 -0
  85. package/tools/sync_agent_rules.py +1 -1
  86. package/tools/test_memory_os.py +409 -0
  87. package/tools/textgrad_mutation_optimizer.py +234 -0
  88. package/tools/tot_exploratory_tester.py +240 -0
  89. package/tools/update_sentinel.py +3 -3
  90. package/tools/verify_all.py +35 -4
  91. package/tools/watch_mode.py +1 -1
  92. package/tools/welcome_page.py +2 -2
package/NOTICE CHANGED
@@ -107,10 +107,19 @@ Third-Party Borrowings (idea- and text-level)
107
107
  modified.
108
108
 
109
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.
110
+ Copyright (c) 2026 DietrichGebert. Core patterns and concepts adapted
111
+ from the Ponytail v5.3 lazy-senior model include:
112
+ - The 7-rung reuse-first ladder and never-cut floor in
113
+ .agents/skills/lean-code-ladder/SKILL.md
114
+ - 6-pillar code change review in .agents/skills/senior-code-review/SKILL.md
115
+ and tools/senior_code_review.py
116
+ - Codebase quality audit in .agents/skills/repo-quality-audit/SKILL.md
117
+ - Shortcut technical debt harvesting in
118
+ .agents/skills/technical-debt-harvester/SKILL.md and tools/debt_harvester.py
119
+ - Benchmark gain reporting in .agents/skills/lean-impact-scoreboard/SKILL.md
120
+ - Claude Code slash commands in commands/ (synapse-* and ponytail-* aliases)
121
+ All components were re-engineered, adapted, and integrated for enterprise
122
+ test automation and Clean POM architecture.
114
123
 
115
124
  18. planning-with-files (https://github.com/OthmanAdi/planning-with-files)
116
125
  - MIT License, Copyright (c) 2026 Ahmad Adi. The 3-file planning pattern
@@ -178,3 +187,30 @@ Third-Party Borrowings (idea- and text-level)
178
187
  and token throughput optimization in
179
188
  .agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md are
180
189
  synthesized from autonomous multi-agent design patterns (crewAI, AutoGen).
190
+
191
+ 29. Context Engineering & Token Optimization (muratcankoylan & alexgreensh)
192
+ - MIT License. Observation masking, progressive disclosure, KV-cache
193
+ ordering, and token budget management in .agents/rules/context-engineering.md
194
+ and .agents/skills/token-and-context-optimizer/SKILL.md are adapted from
195
+ muratcankoylan/Agent-Skills-for-Context-Engineering and alexgreensh/token-optimizer.
196
+
197
+ 30. vercel-labs/agent-browser (https://github.com/vercel-labs/agent-browser)
198
+ - MIT License. Compact accessibility tree snapshots and semantic node
199
+ filtering referenced in .agents/skills/playwright-live-interaction/references/
200
+ compact_accessibility_snapshots.md are adapted from vercel-labs/agent-browser.
201
+
202
+ 31. fugazi/test-automation-skills-agents (https://github.com/fugazi/test-automation-skills-agents)
203
+ - MIT License. The closed-loop failure triage and investigation steps in
204
+ .agents/skills/failure-autopsy-and-healing/references/qa_investigation_protocol.md
205
+ are adapted from fugazi/test-automation-skills-agents.
206
+
207
+ 32. LaVague AI Large Action Model (https://github.com/lavague-ai/LaVague)
208
+ - Apache License 2.0. The concept of translating natural language User
209
+ Stories and acceptance criteria into deterministic web actions in
210
+ .agents/skills/lam-script-generator/SKILL.md is inspired by the LaVague
211
+ Large Action Model (LAM) framework.
212
+
213
+ 33. Graphify (https://github.com/Graphify-Labs/graphify)
214
+ - Apache License 2.0. Knowledge graph generation and AST dependency blast
215
+ radius mapping in .agents/rules/graphify.md and
216
+ .agents/skills/graphify-impact-analyzer/SKILL.md are adapted from Graphify.
package/README.en.md CHANGED
@@ -4,9 +4,9 @@
4
4
  [🇻🇳 Tiếng Việt](README.md) | [🇬🇧 English Edition](README.en.md)
5
5
 
6
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 42 production QA skills, 6 specialized AI roles, and 9 DoD Quality Gates supporting Playwright, Cypress, Pytest, and Katalon.
7
+ > **Extended Ecosystem:** Bundled with 51 production QA skills, 6 specialized AI roles, and 10 DoD Quality Gates supporting Playwright, Cypress, Pytest, and Katalon.
8
8
  > **Author:** Thế Vị ([@TeeVee998](https://github.com/TeeVee998))
9
- > **Hub Version:** `v2.5.0` | **Scope:** 42 Standardized Skills, 6 Specialized AI Agents, 60 CLI Commands & 60+ Test Engineering Tools, 9 DoD Quality Gates.
9
+ > **Hub Version:** `v2.7.0` | **Scope:** 51 Standardized Skills, 6 Specialized AI Agents, 76 CLI Commands & 76+ Test Engineering Tools, 10 DoD Quality Gates.
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/synapse-hub.svg?style=flat-square&color=blue)](https://www.npmjs.com/package/synapse-hub)
12
12
  [![node version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg?style=flat-square)](https://nodejs.org)
@@ -19,7 +19,7 @@
19
19
  ### 💡 What is Synapse Hub? (In 30 Seconds)
20
20
 
21
21
  > 📌 **Hub & Spoke Architecture Notice (Avoid Cloner Confusion):**
22
- > • **Synapse-Hub (This Repo):** The **"Central Brain"** hosting 42 skills, linters, and QA tools — **not** your test suite.
22
+ > • **Synapse-Hub (This Repo):** The **"Central Brain"** hosting 51 skills, linters, and QA tools — **not** your test suite.
23
23
  > • **Target Project (Spoke):** Your actual automation test repository (Playwright, Katalon, Pytest, Cypress, etc.).
24
24
  > 👉 To bootstrap Synapse Hub protection for your test project, open a terminal inside that project and run:
25
25
  > `npx synapse-hub setup` *(or from here with a target flag: `npx synapse-hub setup --target ../your-target-project`)*.
@@ -28,7 +28,7 @@ Think of Synapse Hub as a versatile, dual-mode engine:
28
28
  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.
29
29
  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.
30
30
 
31
- > 🛡️ **Zero Overhead:** You **never need to memorize** all 42 skills or 60+ tools! The system operates strictly *On-Demand*, activating tools only when a specific situation arises.
31
+ > 🛡️ **Zero Overhead:** You **never need to memorize** all 51 skills or 60+ tools! The system operates strictly *On-Demand*, activating tools only when a specific situation arises.
32
32
 
33
33
  #### ⚖️ Before vs. After Synapse Hub:
34
34
 
@@ -110,7 +110,7 @@ npx synapse-hub uninstall
110
110
 
111
111
  ### Run Quality DoD Gates:
112
112
  ```bash
113
- npx synapse-hub verify # Execute 9 Quality Gates DoD (Gate 0–8)
113
+ npx synapse-hub verify # Execute 10 Quality Gates DoD (Gate 0–9)
114
114
  npx synapse-hub analyze # Comprehensive 5-in-1 project health audit
115
115
  ```
116
116
 
@@ -152,6 +152,7 @@ repos:
152
152
  | **Gate 6** | **Credential Security** | Blocks hardcoded plaintext passwords, private keys, and secret tokens in code. |
153
153
  | **Gate 7** | **Static Defect & Fake-Pass Sentinel** | Static heuristic analysis catching 0-assertion tests, empty catch blocks, hardcoded/variable sleeps (≥ 3000ms), and unawaited promises. |
154
154
  | **Gate 8** | **Assertion Sensitivity Sentinel** | Injects syntactic micro-mutations linked via dataflow (Ultra-fast Heuristic Static mode ~0.1s; pass `--test-cmd` for runtime re-test; requires Score ≥ 80%). |
155
+ | **Gate 9** | **Tier-2 Skill Routing & Collision Guard** | Audits semantic descriptions and activation triggers between skills; prevents ambiguous overlap collisions (Threshold < 0.75). |
155
156
 
156
157
  ---
157
158
 
@@ -161,7 +162,7 @@ repos:
161
162
  | :--- | :--- | :--- |
162
163
  | **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/`. |
163
164
  | **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. |
164
- | **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. |
165
+ | **Senior / Lead** | Control, measurement, CI/CD safety gates | • `npx synapse-hub verify`: 10 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. |
165
166
 
166
167
  > *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`.*
167
168
 
@@ -172,7 +173,7 @@ repos:
172
173
  ```mermaid
173
174
  flowchart TD
174
175
  subgraph Hub["🧠 Synapse Hub (Core v2.4.0)"]
175
- Skills[".agents/skills/ (42 Skills)"]
176
+ Skills[".agents/skills/ (51 Skills)"]
176
177
  Agents[".agents/agents/ (6 Specialized Roles)"]
177
178
  Rules[".agents/rules/ (11 Core Rules)"]
178
179
  Tools["tools/ (60+ Universal Python Tools)"]
@@ -250,7 +251,7 @@ To uphold our strict **Truth Anchor** standard, we openly disclose known system
250
251
  | 1 | `clean-pom-crafter` | Clean POM & Flat Architecture page class design (zero raw selectors in test scripts). |
251
252
  | 2 | `playwright-live-interaction` | Live DOM/AOM exploration and < 200ms selector verification via headless Playwright. |
252
253
  | 3 | `failure-autopsy-and-healing` | Failure triage from JUnit XML/screenshots and automated broken locator repair. |
253
- | 4 | `infer_linter` / `antigravity-test-sentinel` | Quality gatekeeper enforcing zero fake-passes and 9 DoD quality gates. |
254
+ | 4 | `infer_linter` / `antigravity-test-sentinel` | Quality gatekeeper enforcing zero fake-passes and 10 DoD quality gates. |
254
255
  | 5 | `token-and-context-optimizer` | Prompt context optimization, log distillation, and Context Rot prevention. |
255
256
  | 6 | `flaky-test-sentinel-and-quarantine` | Non-deterministic test detection, flakiness scoring, and quarantine management. |
256
257
  | 7 | `api-spec-to-e2e-matrix` | Convert OpenAPI/Swagger specifications into E2E testing matrices. |
@@ -290,7 +291,7 @@ To uphold our strict **Truth Anchor** standard, we openly disclose known system
290
291
  | 41 | `technical-debt-harvester` | Harvests `shortcut:` comments into an actionable debt ledger via `agent-qa debt`. |
291
292
  | 42 | `lean-impact-scoreboard` | Displays empirical benchmark scoreboard of code reduction %, token savings, and execution speed. |
292
293
 
293
- > **Open source & credits:** Skills 31-42 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`.
294
+ > **Open source & credits:** Skills and tools are adapted and specialized from open-source projects (NVIDIA SkillSpector, andrej-karpathy-skills, ponytail, planning-with-files, anthropics/skills, superpowers, wshobson/agents, vercel-labs/agent-browser, LaVague, graphify...) — full license and author attribution details in `NOTICE` (entries 1-33); companion external-tool guide in `docs/adopted-ecosystem-tools.md`.
294
295
 
295
296
  </details>
296
297
 
@@ -298,13 +299,13 @@ To uphold our strict **Truth Anchor** standard, we openly disclose known system
298
299
 
299
300
  ## 🛠️ 8. CLI Tooling Arsenal (tools/)
300
301
 
301
- Synapse Hub includes over 60 utility tools implemented entirely in the **Python Standard Library** (zero external dependencies):
302
+ Synapse Hub includes over 68 utility tools implemented entirely in the **Python Standard Library** (zero external dependencies):
302
303
 
303
304
  ```bash
304
305
  # 1. Diagnose local environment (Node, Python, Chrome, Git)
305
306
  npx synapse-hub doctor
306
307
 
307
- # 2. Run 9 Quality Gates DoD Verification
308
+ # 2. Run 10 Quality Gates DoD Verification (Gate 0–9)
308
309
  npx synapse-hub verify
309
310
 
310
311
  # 3. Scan for fake-passes, tautologies, and empty catch blocks
@@ -321,6 +322,21 @@ npx synapse-hub mutate ./tests
321
322
 
322
323
  # 7. Detect and quarantine flaky tests
323
324
  npx synapse-hub flaky scan ./tests
325
+
326
+ # 8. Query lifelong verified PageClass library (Voyager SkillVault)
327
+ python tools/skill_vault.py --query "table_pagination"
328
+
329
+ # 9. Episodic reflection self-healing loop (Noah Shinn Reflexion K=3)
330
+ python tools/auto_heal_reflexion.py --test "TC_Checkout_01" --error "ElementClickInterceptedException"
331
+
332
+ # 10. Interrogate ambiguous requirements (Pocock Grilling Engine)
333
+ python tools/interview_story.py "As a user I want to checkout"
334
+
335
+ # 11. Optimize assertion prompts against mutants (TextGrad Loss Optimizer)
336
+ python tools/textgrad_mutation_optimizer.py --file tests/test_login.py
337
+
338
+ # 12. Benchmark agent tool-calling precision (Gorilla BFCL Benchmark)
339
+ python tools/synapse_qa_bench.py
324
340
  ```
325
341
 
326
342
  *(See [docs/CLI_REFERENCE.md](docs/CLI_REFERENCE.md) and [tools/TOOLS_RUNBOOK.md](tools/TOOLS_RUNBOOK.md) for parameter details).*
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
  [🇻🇳 Tiếng Việt](README.md) | [🇬🇧 English Edition](README.en.md)
5
5
 
6
6
  > **Định vị cốt lõi:** Bộ Linter & Guardrails độc lập (zero external dependencies cho core engine & DoD gates) bảo vệ độ tin cậy của test suite khi AI viết code — Phát hiện & ngăn chặn test "pass ảo" (0 assert, tautology), loại bỏ hoàn toàn sleep cố định, nén 95% log CI/CD, và chuẩn hóa cấu trúc Clean POM. Các tính năng nâng cao (xuất bảng Excel chuẩn doanh nghiệp, so sánh ảnh Canvas) sử dụng thư viện mở rộng tùy chọn (`openpyxl`, `Pillow`).
7
- > **Module mở rộng:** Sẵn sàng kết nối 42 kỹ năng QA chuyên sâu, 6 vai trò AI Swarm và 9 Cổng kiểm định DoD hỗ trợ Playwright, Cypress, Pytest và Katalon.
7
+ > **Module mở rộng:** Sẵn sàng kết nối 51 kỹ năng QA chuyên sâu, 6 vai trò AI Swarm và 10 Cổng kiểm định DoD hỗ trợ Playwright, Cypress, Pytest và Katalon.
8
8
  > **Tác giả:** Thế Vị ([@TeeVee998](https://github.com/TeeVee998))
9
- > **Phiên bản Hub:** `v2.5.0` | **Quy mô:** 42 Kỹ năng chuẩn hóa, 6 Vai trò AI Agent, 60 Lệnh CLI & 60+ Công cụ kiểm thử chuyên sâu, 9 Cổng kiểm định DoD.
9
+ > **Phiên bản Hub:** `v2.7.0` | **Quy mô:** 51 Kỹ năng chuẩn hóa, 6 Vai trò AI Agent, 76 Lệnh CLI & 76+ Công cụ kiểm thử chuyên sâu, 10 Cổng kiểm định DoD.
10
10
 
11
11
  [![npm version](https://img.shields.io/npm/v/synapse-hub.svg?style=flat-square&color=blue)](https://www.npmjs.com/package/synapse-hub)
12
12
  [![node version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg?style=flat-square)](https://nodejs.org)
@@ -108,9 +108,9 @@ npx synapse-hub setup
108
108
  npx synapse-hub uninstall
109
109
  ```
110
110
 
111
- ### Chạy kiểm định 9 Cổng Chất Lượng (DoD Gates):
111
+ ### Chạy kiểm định 10 Cổng Chất Lượng (DoD Gates):
112
112
  ```bash
113
- npx synapse-hub verify # Kiểm tra 9 Cổng Chất Lượng DoD (Gate 0–8)
113
+ npx synapse-hub verify # Kiểm tra 10 Cổng Chất Lượng DoD (Gate 0–9)
114
114
  npx synapse-hub analyze # Báo cáo sức khỏe dự án (PROJECT_HEALTH_REPORT.md)
115
115
  ```
116
116
 
@@ -152,6 +152,7 @@ repos:
152
152
  | **Gate 6** | **Bảo Vệ Bí Mật & Mật Khẩu** | Quét chặn plaintext password, private keys hoặc API token lưu cứng trong code. |
153
153
  | **Gate 7** | **Quét Lỗi Tĩnh & Bắt Test Pass Ảo** | Tự động phát hiện test 0 assertion, try-catch bỏ qua ngoại lệ ngầm, sleep cố định (≥ 3000ms) và unawaited expect. |
154
154
  | **Gate 8** | **Đo Độ Nhạy Assert (Micro-Mutation)** | Đảm bảo các câu lệnh assert bắt được lỗi thật khi code bị biến đổi (Chế độ Heuristic Static ~0.1s; truyền `--test-cmd` cho runtime re-test; yêu cầu điểm ≥ 80%). |
155
+ | **Gate 9** | **Điều Phối Kỹ Năng & Ngăn Xung Đột (Skill Collision Guard)** | Kiểm tra độ tương đồng ngữ nghĩa và trigger activation giữa các skill; chặn xung đột trùng lặp (Threshold < 0.75). |
155
156
 
156
157
  ---
157
158
 
@@ -161,7 +162,7 @@ repos:
161
162
  | :--- | :--- | :--- |
162
163
  | **Fresher / Junior** | Học nhanh, ra việc ngay, hiểu vì sao test yếu | • `npx synapse-hub export-excel`: Tạo test case chuẩn chỉnh.<br/>• `npx synapse-hub lint ./tests`: Giải thích vì sao assert yếu hoặc pass ảo.<br/>• Tham khảo mẫu Clean POM chuẩn trong `examples/practices/`. |
163
164
  | **Mid-Level** | Bớt flaky, giảm chi phí bảo trì locator | • `npx synapse-hub flaky scan ./tests`: Dò tìm test chập chờn và phân nhóm cách ly.<br/>• `npx synapse-hub heal`: Gợi ý thay thế locator hỏng qua phân tích cây AOM.<br/>• Tích hợp linter vào pre-commit hook. |
164
- | **Senior / Lead** | Đo lường, kiểm soát chất lượng, an toàn CI/CD | • `npx synapse-hub verify`: 9 Cổng chất lượng DoD tự động trong CI.<br/>• `npx synapse-hub mutate ./tests`: Kiểm tra độ nhạy của assertion trước khi merge PR.<br/>• Báo cáo chuẩn Markdown/JSON dễ dàng gắn vào GitHub Actions/GitLab CI. |
165
+ | **Senior / Lead** | Đo lường, kiểm soát chất lượng, an toàn CI/CD | • `npx synapse-hub verify`: 10 Cổng chất lượng DoD tự động trong CI.<br/>• `npx synapse-hub mutate ./tests`: Kiểm tra độ nhạy của assertion trước khi merge PR.<br/>• Báo cáo chuẩn Markdown/JSON dễ dàng gắn vào GitHub Actions/GitLab CI. |
165
166
 
166
167
  > *Mẹo tiện dụng: Nếu bạn đã cài đặt toàn cục (`npm i -g synapse-hub`), bạn có thể gõ ngắn gọn `synapse-hub <lệnh>` hoặc các bí danh `synapse`, `agent-qa`.*
167
168
 
@@ -172,7 +173,7 @@ repos:
172
173
  ```mermaid
173
174
  flowchart TD
174
175
  subgraph Hub["🧠 Synapse Hub (Core v2.4.0)"]
175
- Skills[".agents/skills/ (42 Skills)"]
176
+ Skills[".agents/skills/ (51 Skills)"]
176
177
  Agents[".agents/agents/ (6 Specialized Roles)"]
177
178
  Rules[".agents/rules/ (11 Core Rules)"]
178
179
  Tools["tools/ (60+ Universal Python Tools)"]
@@ -249,8 +250,8 @@ flowchart TD
249
250
  | **`live-explorer`** | Khảo sát trực tiếp DOM/AOM qua Playwright headless, tự động ngăn chặn thao tác phá hỏng hoặc nguy hiểm. | `playwright-live-interaction`, `self-healing-locator`, `visual-regression-sentinel` | `safety_firewall.py`, `browser_helpers.js` |
250
251
  | **`pom-crafter`** | Kỹ sư Clean POM, kiểm tra breaking change API, sinh test từ User Story. | `clean-pom-crafter`, `lam-script-generator`, `synthetic-test-data-generator` | `generate_tc_from_story.py`, `api_drift_sentinel.py` |
251
252
  | **`test-runner`** | Quản lý chạy test headless CLI, chia tải song song CI, lọc log thông minh. | `katalon-cli-runner`, `e2e-testing-patterns`, `flaky-test-sentinel-and-quarantine` | `matrix_sharder.py`, `distill_log.py`, `pinpoint_failure.py` |
252
- | **`failure-analyst`** | Phân tích nguyên nhân gốc rễ (RCA) khi test thất bại, tự động đề xuất vá locator. | `failure-autopsy-and-healing`, `token-and-context-optimizer` | `auto_heal.py`, `bug_reporter.py`, `cache_resolver.py` |
253
- | **`quality-gatekeeper`**| Chốt chặn kiểm soát chất lượng, kiểm định 9 Cổng DoD và độ nhạy assertion. | `antigravity-test-sentinel`, `wcag-audit-patterns`, `security-dast-sentinel` | `verify_all.py`, `micro_mutator.py`, `infer_linter.py` |
253
+ | **`failure-analyst`** | Phân tích nguyên nhân gốc rễ (RCA) khi test thất bại, tự động đề xuất vá locator và vòng lặp Reflexion $K=3$. | `failure-autopsy-and-healing`, `token-and-context-optimizer` | `auto_heal.py`, `bug_reporter.py`, `cache_resolver.py`, `auto_heal_reflexion.py` |
254
+ | **`quality-gatekeeper`**| Chốt chặn kiểm soát chất lượng, kiểm định 10 Cổng DoD và độ nhạy assertion. | `antigravity-test-sentinel`, `wcag-audit-patterns`, `security-dast-sentinel` | `verify_all.py`, `micro_mutator.py`, `infer_linter.py`, `skill_collision_guard.py` |
254
255
 
255
256
  ---
256
257
 
@@ -264,7 +265,7 @@ flowchart TD
264
265
  | 1 | `clean-pom-crafter` | Thiết kế Page Classes chuẩn Clean POM & Flat Architecture (zero locator trong test script). |
265
266
  | 2 | `playwright-live-interaction` | Khảo sát trực tiếp DOM/AOM, kiểm định selector < 200ms qua Playwright Headless. |
266
267
  | 3 | `failure-autopsy-and-healing` | Phân tích nguyên nhân lỗi từ JUnit XML/Screenshot, tự động vá locator hỏng. |
267
- | 4 | `antigravity-test-sentinel` | Chốt chặn kiểm soát chất lượng, phát hiện pass ảo và bảo đảm tuân thủ 9 cổng DoD. |
268
+ | 4 | `antigravity-test-sentinel` | Chốt chặn kiểm soát chất lượng, phát hiện pass ảo và bảo đảm tuân thủ 10 cổng DoD. |
268
269
  | 5 | `token-and-context-optimizer` | Tối ưu hóa prompt context, cô đọng log và chống suy giảm ngữ cảnh (Context Rot). |
269
270
  | 6 | `flaky-test-sentinel-and-quarantine` | Phát hiện test chập chờn, tính điểm flakiness và quản lý vòng đời cách ly. |
270
271
  | 7 | `api-spec-to-e2e-matrix` | Chuyển đổi đặc tả OpenAPI/Swagger thành ma trận kiểm thử E2E (Happy, Boundary, Fault). |
@@ -304,7 +305,7 @@ flowchart TD
304
305
  | 41 | `technical-debt-harvester` | Quét và gom toàn bộ comment `shortcut:` thành sổ nợ kỹ thuật có kiểm soát qua lệnh `agent-qa debt`. |
305
306
  | 42 | `lean-impact-scoreboard` | Hiển thị bảng điểm đo lường hiệu quả tinh gọn code, token và thời gian phản hồi. |
306
307
 
307
- > **Nguồn mở & credit:** Kỹ năng 31–42 được kế thừa và phát triển từ các dự án mã nguồn mở (andrej-karpathy-skills, ponytail, planning-with-files, anthropics/skills, superpowers, wshobson/agents) — license và tác giả chi tiết tại file `NOTICE` (mục 16–21); hướng dẫn công cụ ngoài kèm theo tại `docs/adopted-ecosystem-tools.md`.
308
+ > **Nguồn mở & credit:** Kỹ năng và công cụ được kế thừa và phát triển từ các dự án mã nguồn mở tiêu biểu (NVIDIA SkillSpector, andrej-karpathy-skills, ponytail, planning-with-files, anthropics/skills, superpowers, wshobson/agents, vercel-labs/agent-browser, LaVague, graphify...) — toàn bộ danh mục bản quyền, license và tác giả chi tiết tại file `NOTICE` (mục 1–33); hướng dẫn công cụ ngoài kèm theo tại `docs/adopted-ecosystem-tools.md`.
308
309
 
309
310
  </details>
310
311
 
@@ -312,13 +313,13 @@ flowchart TD
312
313
 
313
314
  ## 🛠️ 8. Bộ Công Cụ Dòng Lệnh CLI (tools/)
314
315
 
315
- Dự án đi kèm hơn 60 công cụ tiện ích viết hoàn toàn bằng **thư viện chuẩn Python** (Standard Library), không phụ thuộc package ngoài:
316
+ Dự án đi kèm hơn 68 công cụ tiện ích viết hoàn toàn bằng **thư viện chuẩn Python** (Standard Library), không phụ thuộc package ngoài:
316
317
 
317
318
  ```bash
318
319
  # 1. Chẩn đoán môi trường hệ thống (Node, Python, Chrome, Git)
319
320
  npx synapse-hub doctor
320
321
 
321
- # 2. Kiểm tra 9 Cổng Chất Lượng DoD
322
+ # 2. Kiểm tra 10 Cổng Chất Lượng DoD (Gate 0–9)
322
323
  npx synapse-hub verify
323
324
 
324
325
  # 3. Quét phát hiện test pass ảo và ngoại lệ bị bỏ qua ngầm
@@ -335,6 +336,21 @@ npx synapse-hub mutate ./tests
335
336
 
336
337
  # 7. Dò tìm và cách ly test chập chờn (Flaky Tests)
337
338
  npx synapse-hub flaky scan ./tests
339
+
340
+ # 8. Tra cứu thư viện PageClass lưu trữ vĩnh cửu (Voyager SkillVault)
341
+ python tools/skill_vault.py --query "table_pagination"
342
+
343
+ # 9. Tự động sửa lỗi kịch bản qua vòng lặp phản hồi Reflexion (K=3)
344
+ python tools/auto_heal_reflexion.py --test "TC_Checkout_01" --error "ElementClickInterceptedException"
345
+
346
+ # 10. Thẩm vấn và làm rõ yêu cầu nghiệp vụ mập mờ (Pocock Grilling)
347
+ python tools/interview_story.py "As a user I want to checkout"
348
+
349
+ # 11. Tối ưu câu lệnh assert chống mutant (TextGrad Optimizer)
350
+ python tools/textgrad_mutation_optimizer.py --file tests/test_login.py
351
+
352
+ # 12. Đo lường độ chính xác gọi tool của AI Agent (Gorilla BFCL Benchmark)
353
+ python tools/synapse_qa_bench.py
338
354
  ```
339
355
 
340
356
  *(Xem toàn bộ hướng dẫn tham số chi tiết tại [docs/CLI_REFERENCE.md](docs/CLI_REFERENCE.md) và [tools/TOOLS_RUNBOOK.md](tools/TOOLS_RUNBOOK.md)).*
@@ -1,7 +1,7 @@
1
1
  # Agent-Skills Architecture & Design Principles
2
2
 
3
3
  > **Scope:** Enterprise Multi-Agent QA Hub
4
- > **Version:** `2.5.0` | **Status:** Active / Production Standard
4
+ > **Version:** `2.7.0` | **Status:** Active / Production Standard
5
5
 
6
6
  ---
7
7
 
@@ -12,7 +12,7 @@ The `agent-skills` repository functions as a centralized **Intelligence Core (Hu
12
12
  ```mermaid
13
13
  flowchart TD
14
14
  subgraph Hub["Agent-Skills Hub (Intelligence Core)"]
15
- Catalog["42 Standardized Skills (.agents/skills)"]
15
+ Catalog["51 Standardized Skills (.agents/skills)"]
16
16
  Rules["Core Architectural Rules (.agents/rules)"]
17
17
  Tools["Zero-Token Python Engine (tools/)"]
18
18
  Swarm["6 Specialized Subagents (.agents/agents)"]
@@ -38,7 +38,7 @@ flowchart TD
38
38
 
39
39
  ## 2. Four-Tier Skill Stratification
40
40
 
41
- The 42 skills in the hub are structured into four progressive operational tiers:
41
+ The 50 skills in the hub are structured into four progressive operational tiers:
42
42
 
43
43
  ```mermaid
44
44
  flowchart LR
@@ -69,9 +69,9 @@ Test automation scripts orchestrated through this Hub enforce strict Clean POM b
69
69
 
70
70
  ---
71
71
 
72
- ## 4. The 9 Quality Gates Definition-of-Done (DoD)
72
+ ## 4. The 10 Quality Gates Definition-of-Done (DoD)
73
73
 
74
- All automated test code authored, modified, or refactored by AI agents must pass through the deterministic 9 Quality Gates pipeline (`tools/verify_all.py`) prior to committing or merging:
74
+ All automated test code authored, modified, or refactored by AI agents must pass through the deterministic 10 Quality Gates pipeline (`tools/verify_all.py`) prior to committing or merging:
75
75
 
76
76
  | Gate | Title | Verifier Tool | Strict Acceptance Criteria |
77
77
  | :---: | :--- | :--- | :--- |
@@ -84,6 +84,7 @@ All automated test code authored, modified, or refactored by AI agents must pass
84
84
  | **Gate 6** | **Credential Security** | `verify_all.py` | AST regex scan blocking hardcoded passwords, private keys, and secret tokens in code. |
85
85
  | **Gate 7** | **Static Defect & Fake-Pass Sentinel** | `infer_linter.py` | Detects 0-assertion tests, swallowed exception blocks (`except: pass`), hard sleeps, and unawaited promises. |
86
86
  | **Gate 8** | **Assertion Sensitivity Sentinel** | `micro_mutator.py` | Syntactic micro-mutations linked via variable dataflow; requires Sensitivity Score $\ge 80\%$. |
87
+ | **Gate 9** | **Tier-2 Skill Routing & Collision Guard** | `skill_collision_guard.py` | Audits skill trigger descriptions and vectors; blocks ambiguous activation with semantic overlap $\ge 0.75$. |
87
88
 
88
89
  ---
89
90
 
@@ -99,12 +100,12 @@ The Hub equips 6 specialized subagents with scoped tool and skill permissions:
99
100
 
100
101
  | Subagent Role | Primary Focus | Allowed Skills | Execution Tools |
101
102
  | :--- | :--- | :--- | :--- |
102
- | **`orchestrator`** | Task decomposition & governance | `agent-orchestration-multi-agent-optimize`, `graphify-impact-analyzer`, `architecture-decision-records`, `token-and-context-optimizer` | `verify_all.py`, `test_impact.py`, `setup_project.py` |
103
- | **`pom-crafter`** | Clean POM design & test generation | `clean-pom-crafter`, `lam-script-generator`, `synthetic-test-data-generator`, `api-spec-to-e2e-matrix` | `lookup_xpath.py`, `repo_map.py`, `generate_tc_from_story.py` |
103
+ | **`orchestrator`** | Task decomposition & governance | `agent-orchestration-multi-agent-optimize`, `graphify-impact-analyzer`, `architecture-decision-records`, `token-and-context-optimizer`, `actor-qa-swarm`, `event-stream-qa-orchestrator`, `qa-memory-os`, `tot-exploratory-testing`, `review-spec` | `verify_all.py`, `test_impact.py`, `setup_project.py`, `interview_story.py`, `dspy_qa_signatures.py`, `autogen_qa_broker.py`, `qa_event_stream.py`, `test_memory_os.py`, `tot_exploratory_tester.py`, `watch_mode.py`, `dashboard_generator.py` |
104
+ | **`pom-crafter`** | Clean POM design & test generation | `clean-pom-crafter`, `lam-script-generator`, `synthetic-test-data-generator`, `api-spec-to-e2e-matrix`, `gherkin-to-suite`, `mipro-prompt-compiler`, `qa-aci-interface` | `lookup_xpath.py`, `repo_map.py`, `generate_tc_from_story.py`, `skill_vault.py`, `gherkin_suite.py`, `swe_qa_aci.py`, `mipro_assertion_tuner.py`, `api_fuzzer.py`, `export_postman_collection.py` |
104
105
  | **`live-explorer`** | Live DOM & AOM exploration (<200ms) | `playwright-live-interaction`, `self-healing-locator`, `visual-regression-sentinel`, `api-network-mocking-interception` | `browser_helpers.js`, `e2e_flow_prober.ps1`, `safety_firewall.py` |
105
- | **`test-runner`** | Headless CLI test execution & CI | `katalon-cli-runner`, `e2e-testing-patterns`, `flaky-test-sentinel-and-quarantine`, `backend-load-and-stress-patterns`, `github-actions-templates` | `matrix_sharder.py`, `distill_log.py`, `pinpoint_failure.py`, `flaky_detector.py` |
106
- | **`failure-analyst`**| Visual & XML error autopsy | `failure-autopsy-and-healing`, `self-healing-locator`, `file-and-report-validator` | `auto_heal.py`, `heal_pr_automator.py`, `pinpoint_failure.py`, `cache_resolver.py` |
107
- | **`quality-gatekeeper`**| 9 Gates DoD & Fake-Pass Sentinel | `antigravity-test-sentinel`, `code-refactoring-refactor-clean`, `wcag-audit-patterns`, `web-vitals-and-performance-profiler`, `security-dast-sentinel` | `verify_all.py`, `infer_linter.py`, `micro_mutator.py`, `trace_data_flow.py` |
106
+ | **`test-runner`** | Headless CLI test execution & CI | `katalon-cli-runner`, `e2e-testing-patterns`, `flaky-test-sentinel-and-quarantine`, `backend-load-and-stress-patterns`, `github-actions-templates` | `matrix_sharder.py`, `distill_log.py`, `pinpoint_failure.py`, `flaky_detector.py`, `reversible_sandbox.py`, `generate_jmx_plan.py`, `jtl_analyzer.py`, `newman_analyzer.py`, `traffic_session_converter.py`, `db_sandbox.py` |
107
+ | **`failure-analyst`**| Visual & XML error autopsy | `failure-autopsy-and-healing`, `self-healing-locator`, `file-and-report-validator`, `systematic-debugging`, `agentless-qa-repair` | `auto_heal.py`, `heal_pr_automator.py`, `pinpoint_failure.py`, `cache_resolver.py`, `auto_heal_reflexion.py`, `agentless_patcher.py`, `heuristic_locator_matcher.py`, `telemetry_correlator.py` |
108
+ | **`quality-gatekeeper`**| 10 Gates DoD & Fake-Pass Sentinel | `antigravity-test-sentinel`, `code-refactoring-refactor-clean`, `wcag-audit-patterns`, `web-vitals-and-performance-profiler`, `security-dast-sentinel`, `lean-impact-scoreboard`, `web-agent-gym-benchmarking` | `verify_all.py`, `infer_linter.py`, `micro_mutator.py`, `trace_data_flow.py`, `skill_collision_guard.py`, `textgrad_mutation_optimizer.py`, `skillspector.py`, `author_integrity.py`, `browsergym_eval.py` |
108
109
 
109
110
  ---
110
111
 
@@ -115,4 +116,31 @@ To ensure consistency across various distribution registries and developer inter
115
116
  - **NPM Package & Antigravity Plugin:** `synapse-hub` (distributed on NPM Registry and Antigravity Marketplace)
116
117
  - **Python Package & Universal CLI:** `agent-qa` (PEP 621 package on PyPI providing the `agent-qa` CLI binary)
117
118
  - **MCP Server Protocol Services:** `enterprise-agent-qa` (Core QA MCP server) and `synapse-mcp-excel` (Excel tool server)
118
- - **Skill Catalog Manifest:** `enterprise-agent-skills-hub` (internal catalog schema identifier in `skills_manifest.json`)
119
+ - **Skill Catalog Manifest:** `enterprise-agent-skills-hub` (internal catalog schema identifier in `skills_manifest.json`) and `agentskills.json` (AgentSkills v1 open standard)
120
+
121
+ ---
122
+
123
+ ## 7. Autonomous Agent Self-Evolution & Training Subsystems
124
+
125
+ To elevate AI testing beyond static prompt engineering, Synapse Hub incorporates 6 advanced agent training, compilation, and self-evolution mechanisms synthesized from modern agentic architectures:
126
+
127
+ ```mermaid
128
+ flowchart TD
129
+ subgraph SelfEvolution["Autonomous Agent Self-Evolution Subsystem"]
130
+ Vault["<b>Voyager Lifelong Vault</b><br/>(skill_vault.py)<br/>• Verified PageClass SQLite memory<br/>• Zero repetitive prompt re-synthesis"]
131
+ Reflexion["<b>Episodic Reflexion Loop</b><br/>(auto_heal_reflexion.py)<br/>• K=3 trial-feedback learning<br/>• Self-healing without git pollution"]
132
+ DSPy["<b>DSPy Declarative QA Engine</b><br/>(dspy_qa_signatures.py)<br/>• Typed QA signatures<br/>• Eliminates brittle prompt hacking"]
133
+ TextGrad["<b>TextGrad Mutation Loss</b><br/>(textgrad_mutation_optimizer.py)<br/>• AST mutants as loss function<br/>• Optimizes assertions to score &ge; 80%"]
134
+ Reversible["<b>GoEx Reversible Sandbox</b><br/>(reversible_sandbox.py)<br/>• LIFO undo execution stack<br/>• Zero leftover test debris"]
135
+ Bench["<b>Gorilla BFCL Benchmark</b><br/>(synapse_qa_bench.py)<br/>• Evaluates function calling fidelity<br/>• Prevents agent regression"]
136
+ end
137
+
138
+ Vault --> DSPy --> TextGrad --> Reversible --> Reflexion --> Bench
139
+ ```
140
+
141
+ 1. **Lifelong Skill Memory (`skill_vault.py`):** Inspired by Voyager, stores verified POM methods and complex interaction patterns in permanent SQLite memory, growing the agent's capability with every run.
142
+ 2. **Episodic Trial-Feedback (`auto_heal_reflexion.py`):** Implements Noah Shinn's Reflexion framework, enabling agents to evaluate test failure traces across $K=3$ iterations, generating textual self-reflection to correct locator strategies.
143
+ 3. **Declarative Signature Compilation (`dspy_qa_signatures.py`):** Adheres to Stanford DSPy principles, compiling prompt templates into structured, typed input-output signatures.
144
+ 4. **Mutant-Directed Loss Optimization (`textgrad_mutation_optimizer.py`):** Treats surviving AST mutants as a loss function (TextGrad), iteratively refining assertion logic until all mutants are killed.
145
+ 5. **Reversible Execution Teardown (`reversible_sandbox.py`):** Implements GoEx-style reversible rollback stacks for filesystem and database mutations during automated exploratory runs.
146
+ 6. **Tool Function Calling Benchmark (`synapse_qa_bench.py`):** Implements Berkeley Function-Calling Leaderboard (BFCL) standards for enterprise QA tools, benchmarking tool selection precision and multi-turn execution accuracy.
@@ -85,3 +85,12 @@ Local model gateway (default `127.0.0.1:3456`) with routing, retry, failover, an
85
85
 
86
86
  - **Security note:** it is a man-in-the-middle for API keys — run strictly local, never expose the port, and audit its config before pointing production credentials at it.
87
87
  - Hub use: route mechanical subagent work to cheaper models while keeping strong models for synthesis/review; its request logs match the hub telemetry fields (token in/out, cost).
88
+
89
+ ## 9. ponytail (DietrichGebert/ponytail) — MIT
90
+
91
+ Lazy senior developer plugin for Claude Code and agentic coding workflows.
92
+
93
+ - **Provenance:** Created by DietrichGebert (<https://github.com/DietrichGebert/ponytail>) under the MIT License.
94
+ - **Hub Inspiration:** Core concepts adapted into Synapse-Hub include the 7-rung reuse ladder (`lean-code-ladder`), technical debt harvesting (`technical-debt-harvester` & `tools/debt_harvester.py`), 6-pillar code review (`senior-code-review` & `tools/senior_code_review.py`), and whole-repo audit (`repo-quality-audit`).
95
+ - **Hub Adaptations:** Re-scoped specifically for enterprise automated testing suites, Clean POM architecture, and 0-token AST verification.
96
+