@teevee98/synapse-hub 3.8.4 → 3.9.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 (65) hide show
  1. package/.agents/rules/author-integrity-guard.md +13 -10
  2. package/.agents/rules/skill-precedence.md +6 -4
  3. package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +1 -1
  4. package/.agents/skills/agentless-qa-repair/SKILL.md +1 -1
  5. package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +22 -2
  6. package/.agents/skills/qa-memory-os/SKILL.md +21 -4
  7. package/.agents/skills/security-dast-sentinel/SKILL.md +1 -1
  8. package/.agents/skills/token-and-context-optimizer/SKILL.md +1 -1
  9. package/.agents/skills/verification-before-completion/SKILL.md +1 -1
  10. package/AGENTS.md +3 -2
  11. package/CLAUDE.md +3 -3
  12. package/NOTICE +48 -0
  13. package/README.en.md +9 -9
  14. package/README.md +9 -9
  15. package/agentskills.json +1 -1
  16. package/bin/agent-qa.js +1 -1
  17. package/docs/ARCHITECTURE.en.md +7 -3
  18. package/docs/ARCHITECTURE.md +6 -2
  19. package/docs/CI_CD_INTEGRATION.en.md +6 -6
  20. package/docs/CI_CD_INTEGRATION.md +6 -6
  21. package/docs/CLI_REFERENCE.md +1 -1
  22. package/docs/PERFORMANCE_AUDIT_REPORT.md +1 -1
  23. package/docs/QUALITY_GATES.en.md +1 -1
  24. package/docs/QUALITY_GATES.md +1 -1
  25. package/docs/adopted-ecosystem-tools.md +37 -0
  26. package/docs/diagrams/clean_pom.svg +48 -0
  27. package/docs/diagrams/fsm_flow.svg +78 -0
  28. package/package.json +1 -1
  29. package/plugin.json +1 -1
  30. package/skills_manifest.json +103 -54
  31. package/synapse.config.json +1 -1
  32. package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +3 -3
  33. package/templates/ai_bridges/CLAUDE.md +3 -3
  34. package/templates/ci/github-actions-synapse.yml +2 -2
  35. package/templates/ci/gitlab-ci-synapse.yml +1 -1
  36. package/templates/ui/index.html +2 -2
  37. package/templates/welcome.html.tmpl +26 -26
  38. package/tools/TOOLS_RUNBOOK.md +8 -8
  39. package/tools/__init__.py +1 -1
  40. package/tools/analyze_project.py +2 -2
  41. package/tools/browser_helpers.js +2 -2
  42. package/tools/build_consolidated_report.py +1640 -0
  43. package/tools/bump_version.py +5 -15
  44. package/tools/cli.py +3 -3
  45. package/tools/count_tokens.py +29 -5
  46. package/tools/dashboard_generator.py +10 -10
  47. package/tools/diagram_architect.py +220 -0
  48. package/tools/distill_log.py +33 -8
  49. package/tools/git_worktree_manager.py +185 -0
  50. package/tools/hub_publisher.py +38 -0
  51. package/tools/humanize_linter.py +4 -0
  52. package/tools/interview_story.py +25 -2
  53. package/tools/mcp_docx_server.py +1 -1
  54. package/tools/mcp_excel_server.py +1 -1
  55. package/tools/mcp_server.py +1 -1
  56. package/tools/mechanical_ui_gate.py +242 -0
  57. package/tools/pairwise_generator.py +175 -0
  58. package/tools/repo_map.py +308 -106
  59. package/tools/runaway_stopper.py +178 -0
  60. package/tools/setup_project.py +3 -3
  61. package/tools/sync_agent_rules.py +3 -3
  62. package/tools/ui_server.py +1 -1
  63. package/tools/update_sentinel.py +6 -6
  64. package/tools/verify_all.py +15 -0
  65. package/tools/welcome_page.py +2 -2
@@ -94,3 +94,40 @@ Lazy senior developer plugin for Claude Code and agentic coding workflows.
94
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
95
  - **Hub Adaptations:** Re-scoped specifically for enterprise automated testing suites, Clean POM architecture, and 0-token AST verification.
96
96
 
97
+ ## 10. superpowers (obra/superpowers) — MIT
98
+
99
+ Discipline and rigor framework created by Jesse Vincent (<https://github.com/obra/superpowers>).
100
+ - **Adopted Patterns:** Subagent Driven Development contracts (`subagent-driven-dev`), ephemeral git worktree isolation (`using-git-worktrees` & `tools/git_worktree_manager.py`), verification before completion, and systematic debugging.
101
+
102
+ ## 11. gstack (garrytan/gstack) — MIT
103
+
104
+ Virtual C-Suite engineering team created by Garry Tan (<https://github.com/garrytan/gstack>).
105
+ - **Adopted Patterns:** Runaway Stopper sentinel (`runaway-stopper` & `tools/runaway_stopper.py`) preventing runaway loops and context window exhaustion, and Chief Security Officer review (`cso-security-audit`).
106
+ - **Hub Enforcement:** Enforced 100% Pure Headless browser invariant (rejecting GUI browser launches).
107
+
108
+ ## 12. ui-ux-pro-max (nextlevelbuilder/ui-ux-pro-max-skill) — MIT
109
+
110
+ Design intelligence framework created by NextLevelBuilder (<https://github.com/nextlevelbuilder/ui-ux-pro-max-skill>).
111
+ - **Adopted Patterns:** BM25 local catalog indexing (`ui-ux-design-intelligence`) to select studio color palettes and typographic scales in < 400 tokens without polluting context.
112
+
113
+ ## 13. caveman (JuliusBrussee/caveman) — MIT
114
+
115
+ Terse token optimizer created by Julius Brussee (<https://github.com/JuliusBrussee/caveman>).
116
+ - **Adopted Patterns:** Caveman shrink token compression integrated into `tools/distill_log.py` (--shrink) to reduce log/catalog tokens by 33-65% while keeping 100% stack traces and failure details.
117
+
118
+ ## 14. taste-skill (Leonxlnx/taste-skill) — MIT
119
+
120
+ Mechanical design and finish gate created by Leonxlnx (<https://github.com/Leonxlnx/taste-skill>).
121
+ - **Adopted Patterns:** Mechanical layout, contrast, and fold-cut gate (`mechanical-finish-gate` & `tools/mechanical_ui_gate.py`) integrated into Quality Gate 9.
122
+
123
+ ## 15. diagram-design (cathrynlavery/diagram-design) — MIT
124
+
125
+ Standalone SVG/HTML diagram architecture created by Cathryn Lavery (<https://github.com/cathrynlavery/diagram-design>).
126
+ - **Adopted Patterns:** Self-contained SVG+HTML architecture and flow generation (`self-contained-diagram-architect` & `tools/diagram_architect.py`) eliminating Mermaid dependencies and rendering failures.
127
+
128
+ ## 16. hallmark (Nutlope/hallmark) — MIT
129
+
130
+ Together AI anti-slop design system created by Hassan El Mghari (<https://github.com/Nutlope/hallmark>).
131
+ - **Adopted Patterns:** Mechanical anti-slop checks integrated into `tools/humanize_linter.py` and `tools/mechanical_ui_gate.py`.
132
+
133
+
@@ -0,0 +1,48 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 280" width="100%" height="280" style="background:#0b0f19; border-radius:12px; font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">
2
+ <defs>
3
+ <marker id="pom-arrow" viewBox="0 0 10 10" refX="6" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
4
+ <path d="M 0 1 L 8 5 L 0 9 z" fill="#06b6d4"/>
5
+ </marker>
6
+ </defs>
7
+
8
+ <text x="450" y="35" text-anchor="middle" fill="#ffffff" font-size="16" font-weight="bold">CLEAN POM / FLAT ARCHITECTURE INVARIANT</text>
9
+
10
+ <!-- Box 1: Test Scripts -->
11
+ <g transform="translate(40, 70)">
12
+ <rect width="240" height="160" rx="8" fill="#131b2e" stroke="#ef4444" stroke-width="2"/>
13
+ <text x="120" y="35" text-anchor="middle" fill="#f87171" font-size="14" font-weight="bold">Test Scripts (tests/)</text>
14
+ <line x1="20" y1="50" x2="220" y2="50" stroke="#334155"/>
15
+ <text x="25" y="75" fill="#f8fafc" font-size="12">✅ Business actions only</text>
16
+ <text x="25" y="100" fill="#f8fafc" font-size="12">✅ loginPage.login(u, p)</text>
17
+ <text x="25" y="125" fill="#ef4444" font-size="12">❌ ZERO Raw XPaths / CSS</text>
18
+ <text x="25" y="145" fill="#ef4444" font-size="12">❌ ZERO findTestObject</text>
19
+ </g>
20
+
21
+ <!-- Arrow 1 -> 2 -->
22
+ <line x1="280" y1="150" x2="335" y2="150" stroke="#06b6d4" stroke-width="2" marker-end="url(#pom-arrow)"/>
23
+
24
+ <!-- Box 2: Page Classes -->
25
+ <g transform="translate(340, 70)">
26
+ <rect width="240" height="160" rx="8" fill="#131b2e" stroke="#06b6d4" stroke-width="2"/>
27
+ <text x="120" y="35" text-anchor="middle" fill="#22d3ee" font-size="14" font-weight="bold">Page Classes (pages/)</text>
28
+ <line x1="20" y1="50" x2="220" y2="50" stroke="#334155"/>
29
+ <text x="25" y="75" fill="#f8fafc" font-size="12">✅ Encapsulated Locators</text>
30
+ <text x="25" y="100" fill="#f8fafc" font-size="12">✅ extends BasePage</text>
31
+ <text x="25" y="125" fill="#f8fafc" font-size="12">✅ Semantic action methods</text>
32
+ <text x="25" y="145" fill="#f8fafc" font-size="12">✅ Smart Wait integration</text>
33
+ </g>
34
+
35
+ <!-- Arrow 2 -> 3 -->
36
+ <line x1="580" y1="150" x2="635" y2="150" stroke="#06b6d4" stroke-width="2" marker-end="url(#pom-arrow)"/>
37
+
38
+ <!-- Box 3: BasePage / Framework -->
39
+ <g transform="translate(640, 70)">
40
+ <rect width="220" height="160" rx="8" fill="#131b2e" stroke="#10b981" stroke-width="2"/>
41
+ <text x="110" y="35" text-anchor="middle" fill="#34d399" font-size="14" font-weight="bold">BasePage & Helpers</text>
42
+ <line x1="20" y1="50" x2="200" y2="50" stroke="#334155"/>
43
+ <text x="25" y="75" fill="#f8fafc" font-size="12">✅ uniqueCode("AUTO_")</text>
44
+ <text x="25" y="100" fill="#f8fafc" font-size="12">✅ Dynamic Smart Waits</text>
45
+ <text x="25" y="125" fill="#f8fafc" font-size="12">✅ Spinner detachment</text>
46
+ <text x="25" y="145" fill="#f8fafc" font-size="12">✅ 100% UTF-8 No BOM</text>
47
+ </g>
48
+ </svg>
@@ -0,0 +1,78 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 240" width="100%" height="240" style="background:#0f172a; border-radius:12px; font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">
2
+ <defs>
3
+ <linearGradient id="cyan-grad" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" stop-color="#06b6d4"/>
5
+ <stop offset="100%" stop-color="#3b82f6"/>
6
+ </linearGradient>
7
+ <linearGradient id="purple-grad" x1="0%" y1="0%" x2="100%" y2="100%">
8
+ <stop offset="0%" stop-color="#8b5cf6"/>
9
+ <stop offset="100%" stop-color="#ec4899"/>
10
+ </linearGradient>
11
+ <linearGradient id="emerald-grad" x1="0%" y1="0%" x2="100%" y2="100%">
12
+ <stop offset="0%" stop-color="#10b981"/>
13
+ <stop offset="100%" stop-color="#059669"/>
14
+ </linearGradient>
15
+ <marker id="arrow" viewBox="0 0 10 10" refX="6" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
16
+ <path d="M 0 1 L 8 5 L 0 9 z" fill="#64748b"/>
17
+ </marker>
18
+ </defs>
19
+
20
+ <!-- Connectors -->
21
+ <line x1="180" y1="120" x2="225" y2="120" stroke="#475569" stroke-width="2" marker-end="url(#arrow)"/>
22
+ <line x1="380" y1="120" x2="425" y2="120" stroke="#475569" stroke-width="2" marker-end="url(#arrow)"/>
23
+ <line x1="580" y1="120" x2="625" y2="120" stroke="#475569" stroke-width="2" marker-end="url(#arrow)"/>
24
+ <line x1="780" y1="120" x2="825" y2="120" stroke="#475569" stroke-width="2" marker-end="url(#arrow)"/>
25
+
26
+ <!-- Stage 1 -->
27
+ <g transform="translate(30, 60)">
28
+ <rect width="150" height="120" rx="10" fill="#1e293b" stroke="#06b6d4" stroke-width="2"/>
29
+ <rect width="150" height="28" rx="10" fill="#06b6d4"/>
30
+ <text x="75" y="19" text-anchor="middle" fill="#0f172a" font-size="12" font-weight="bold">STAGE 1: DISCOVERY</text>
31
+ <text x="75" y="60" text-anchor="middle" fill="#f8fafc" font-size="13" font-weight="600">test-designer</text>
32
+ <text x="75" y="80" text-anchor="middle" fill="#94a3b8" font-size="11">RBT Risk Matrices</text>
33
+ <text x="75" y="98" text-anchor="middle" fill="#38bdf8" font-size="11">Spec SDD / Gherkin</text>
34
+ </g>
35
+
36
+ <!-- Stage 2 -->
37
+ <g transform="translate(230, 60)">
38
+ <rect width="150" height="120" rx="10" fill="#1e293b" stroke="#3b82f6" stroke-width="2"/>
39
+ <rect width="150" height="28" rx="10" fill="#3b82f6"/>
40
+ <text x="75" y="19" text-anchor="middle" fill="#ffffff" font-size="12" font-weight="bold">STAGE 2: SYNTHESIS</text>
41
+ <text x="75" y="60" text-anchor="middle" fill="#f8fafc" font-size="13" font-weight="600">pom-crafter</text>
42
+ <text x="75" y="80" text-anchor="middle" fill="#94a3b8" font-size="11">Clean POM Classes</text>
43
+ <text x="75" y="98" text-anchor="middle" fill="#60a5fa" font-size="11">Zero Script Locators</text>
44
+ </g>
45
+
46
+ <!-- Stage 3 -->
47
+ <g transform="translate(430, 60)">
48
+ <rect width="150" height="120" rx="10" fill="#1e293b" stroke="#8b5cf6" stroke-width="2"/>
49
+ <rect width="150" height="28" rx="10" fill="#8b5cf6"/>
50
+ <text x="75" y="19" text-anchor="middle" fill="#ffffff" font-size="12" font-weight="bold">STAGE 3: EXECUTION</text>
51
+ <text x="75" y="60" text-anchor="middle" fill="#f8fafc" font-size="13" font-weight="600">test-runner</text>
52
+ <text x="75" y="80" text-anchor="middle" fill="#94a3b8" font-size="11">100% Pure Headless</text>
53
+ <text x="75" y="98" text-anchor="middle" fill="#c084fc" font-size="11">Parallel Worktrees</text>
54
+ </g>
55
+
56
+ <!-- Stage 4 -->
57
+ <g transform="translate(630, 60)">
58
+ <rect width="150" height="120" rx="10" fill="#1e293b" stroke="#f59e0b" stroke-width="2"/>
59
+ <rect width="150" height="28" rx="10" fill="#f59e0b"/>
60
+ <text x="75" y="19" text-anchor="middle" fill="#0f172a" font-size="12" font-weight="bold">STAGE 4: HEALING</text>
61
+ <text x="75" y="60" text-anchor="middle" fill="#f8fafc" font-size="13" font-weight="600">failure-analyst</text>
62
+ <text x="75" y="80" text-anchor="middle" fill="#94a3b8" font-size="11">AOM Diff Healing</text>
63
+ <text x="75" y="98" text-anchor="middle" fill="#fbbf24" font-size="11">Pinpoint RCA</text>
64
+ </g>
65
+
66
+ <!-- Stage 5 -->
67
+ <g transform="translate(830, 60)">
68
+ <rect width="150" height="120" rx="10" fill="#1e293b" stroke="#10b981" stroke-width="2"/>
69
+ <rect width="150" height="28" rx="10" fill="#10b981"/>
70
+ <text x="75" y="19" text-anchor="middle" fill="#0f172a" font-size="12" font-weight="bold">STAGE 5: DoD ACCEPT</text>
71
+ <text x="75" y="60" text-anchor="middle" fill="#f8fafc" font-size="13" font-weight="600">quality-gatekeeper</text>
72
+ <text x="75" y="80" text-anchor="middle" fill="#94a3b8" font-size="11">10 Quality Gates</text>
73
+ <text x="75" y="98" text-anchor="middle" fill="#34d399" font-size="11">Mutation >= 80%</text>
74
+ </g>
75
+
76
+ <!-- Title bar -->
77
+ <text x="500" y="32" text-anchor="middle" fill="#e2e8f0" font-size="15" font-weight="700" letter-spacing="1">SYNAPSE HUB — 5-STAGE AUTONOMOUS FSM ENGINE</text>
78
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teevee98/synapse-hub",
3
- "version": "3.8.4",
3
+ "version": "3.9.0",
4
4
  "description": "Enterprise AI Agent Intelligence Hub & Autonomous Skill Network",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "synapse-hub",
3
3
  "displayName": "Synapse Hub Enterprise QA",
4
- "version": "3.8.4",
4
+ "version": "3.9.0",
5
5
  "description": "Enterprise AI Agent Intelligence Hub & Autonomous Skill Network for Quality Engineering, Clean POM, and Automated Testing.",
6
6
  "author": {
7
7
  "name": "TeeVee98",