enhance_swarm 2.0.0 → 2.1.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.
- checksums.yaml +4 -4
- data/.claude/CLAUDE.md +164 -0
- data/.claude/MCP.md +117 -0
- data/.claude/PERSONAS.md +114 -0
- data/.claude/RULES.md +221 -0
- data/.enhance_swarm/logs/general_output.log +0 -404
- data/.enhance_swarm.yml +33 -0
- data/CHANGELOG.md +71 -0
- data/PRODUCTION_INSTALL_TEST.md +117 -0
- data/README.md +129 -3
- data/lib/enhance_swarm/agent_spawner.rb +218 -12
- data/lib/enhance_swarm/cli.rb +130 -1
- data/lib/enhance_swarm/task_coordinator.rb +363 -86
- data/lib/enhance_swarm/version.rb +1 -1
- metadata +14 -97
- data/PRODUCTION_TEST_LOG.md +0 -502
- data/debug_agent_spawner.rb +0 -99
- data/debug_cli_spawn.rb +0 -95
- data/debug_fixes.rb +0 -209
- data/debug_script_execution.rb +0 -124
- data/debug_session_issue.rb +0 -87
- data/debug_spawn.rb +0 -113
- data/debug_spawn_step_by_step.rb +0 -190
- data/debug_worktree.rb +0 -77
- data/enhance_swarm-0.1.1.gem +0 -0
- data/enhance_swarm-1.0.0.gem +0 -0
- data/final_validation_test.rb +0 -199
- data/setup.sh +0 -86
- data/test_blog_app/.enhance_swarm/archives/session_1751187575_e119ea73_20250629_105935.json +0 -16
- data/test_blog_app/.enhance_swarm/archives/session_1751187637_7fda97dd_20250629_110037.json +0 -32
- data/test_blog_app/.enhance_swarm/archives/session_1751190527_4c99147e_20250629_114847.json +0 -32
- data/test_blog_app/.enhance_swarm/archives/session_1751190541_8dc83406_20250629_114901.json +0 -16
- data/test_blog_app/.ruby-version +0 -1
- data/test_blog_app/Gemfile +0 -18
- data/test_blog_app/Gemfile.lock +0 -206
- data/test_blog_app/README.md +0 -24
- data/test_blog_app/Rakefile +0 -6
- data/test_blog_app/app/assets/images/.keep +0 -0
- data/test_blog_app/app/assets/stylesheets/application.css +0 -10
- data/test_blog_app/app/controllers/application_controller.rb +0 -4
- data/test_blog_app/app/controllers/concerns/.keep +0 -0
- data/test_blog_app/app/helpers/application_helper.rb +0 -2
- data/test_blog_app/app/models/application_record.rb +0 -3
- data/test_blog_app/app/models/concerns/.keep +0 -0
- data/test_blog_app/app/views/layouts/application.html.erb +0 -27
- data/test_blog_app/app/views/pwa/manifest.json.erb +0 -22
- data/test_blog_app/app/views/pwa/service-worker.js +0 -26
- data/test_blog_app/bin/dev +0 -2
- data/test_blog_app/bin/rails +0 -4
- data/test_blog_app/bin/rake +0 -4
- data/test_blog_app/bin/setup +0 -34
- data/test_blog_app/config/application.rb +0 -42
- data/test_blog_app/config/boot.rb +0 -3
- data/test_blog_app/config/credentials.yml.enc +0 -1
- data/test_blog_app/config/database.yml +0 -32
- data/test_blog_app/config/environment.rb +0 -5
- data/test_blog_app/config/environments/development.rb +0 -51
- data/test_blog_app/config/environments/production.rb +0 -67
- data/test_blog_app/config/environments/test.rb +0 -42
- data/test_blog_app/config/initializers/assets.rb +0 -7
- data/test_blog_app/config/initializers/content_security_policy.rb +0 -25
- data/test_blog_app/config/initializers/filter_parameter_logging.rb +0 -8
- data/test_blog_app/config/initializers/inflections.rb +0 -16
- data/test_blog_app/config/locales/en.yml +0 -31
- data/test_blog_app/config/master.key +0 -1
- data/test_blog_app/config/puma.rb +0 -38
- data/test_blog_app/config/routes.rb +0 -14
- data/test_blog_app/config.ru +0 -6
- data/test_blog_app/db/seeds.rb +0 -9
- data/test_blog_app/lib/tasks/.keep +0 -0
- data/test_blog_app/log/.keep +0 -0
- data/test_blog_app/public/400.html +0 -114
- data/test_blog_app/public/404.html +0 -114
- data/test_blog_app/public/406-unsupported-browser.html +0 -114
- data/test_blog_app/public/422.html +0 -114
- data/test_blog_app/public/500.html +0 -114
- data/test_blog_app/public/icon.png +0 -0
- data/test_blog_app/public/icon.svg +0 -3
- data/test_blog_app/public/robots.txt +0 -1
- data/test_blog_app/script/.keep +0 -0
- data/test_blog_app/storage/.keep +0 -0
- data/test_blog_app/test/controllers/.keep +0 -0
- data/test_blog_app/test/fixtures/files/.keep +0 -0
- data/test_blog_app/test/helpers/.keep +0 -0
- data/test_blog_app/test/integration/.keep +0 -0
- data/test_blog_app/test/models/.keep +0 -0
- data/test_blog_app/test/test_helper.rb +0 -15
- data/test_blog_app/test_enhance_swarm_e2e.rb +0 -244
- data/test_blog_app/test_realistic_workflow.rb +0 -292
- data/test_blog_app/tmp/.keep +0 -0
- data/test_blog_app/tmp/pids/.keep +0 -0
- data/test_blog_app/tmp/storage/.keep +0 -0
- data/test_blog_app/vendor/.keep +0 -0
- data/test_builtin_functionality.rb +0 -121
- data/test_complete_system.rb +0 -267
- data/test_core_components.rb +0 -156
- data/test_real_claude_integration.rb +0 -285
- data/test_security.rb +0 -150
- data/test_smart_defaults.rb +0 -155
- data/test_task_integration.rb +0 -173
- data/test_web_ui.rb +0 -245
- data/web/assets/css/main.css +0 -645
- data/web/assets/js/kanban.js +0 -499
- data/web/assets/js/main.js +0 -525
- data/web/templates/dashboard.html.erb +0 -226
- data/web/templates/kanban.html.erb +0 -193
@@ -1,114 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
|
3
|
-
<html lang="en">
|
4
|
-
|
5
|
-
<head>
|
6
|
-
|
7
|
-
<title>The change you wanted was rejected (422 Unprocessable Entity)</title>
|
8
|
-
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<meta name="viewport" content="initial-scale=1, width=device-width">
|
11
|
-
<meta name="robots" content="noindex, nofollow">
|
12
|
-
|
13
|
-
<style>
|
14
|
-
|
15
|
-
*, *::before, *::after {
|
16
|
-
box-sizing: border-box;
|
17
|
-
}
|
18
|
-
|
19
|
-
* {
|
20
|
-
margin: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
html {
|
24
|
-
font-size: 16px;
|
25
|
-
}
|
26
|
-
|
27
|
-
body {
|
28
|
-
background: #FFF;
|
29
|
-
color: #261B23;
|
30
|
-
display: grid;
|
31
|
-
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
32
|
-
font-size: clamp(1rem, 2.5vw, 2rem);
|
33
|
-
-webkit-font-smoothing: antialiased;
|
34
|
-
font-style: normal;
|
35
|
-
font-weight: 400;
|
36
|
-
letter-spacing: -0.0025em;
|
37
|
-
line-height: 1.4;
|
38
|
-
min-height: 100vh;
|
39
|
-
place-items: center;
|
40
|
-
text-rendering: optimizeLegibility;
|
41
|
-
-webkit-text-size-adjust: 100%;
|
42
|
-
}
|
43
|
-
|
44
|
-
a {
|
45
|
-
color: inherit;
|
46
|
-
font-weight: 700;
|
47
|
-
text-decoration: underline;
|
48
|
-
text-underline-offset: 0.0925em;
|
49
|
-
}
|
50
|
-
|
51
|
-
b, strong {
|
52
|
-
font-weight: 700;
|
53
|
-
}
|
54
|
-
|
55
|
-
i, em {
|
56
|
-
font-style: italic;
|
57
|
-
}
|
58
|
-
|
59
|
-
main {
|
60
|
-
display: grid;
|
61
|
-
gap: 1em;
|
62
|
-
padding: 2em;
|
63
|
-
place-items: center;
|
64
|
-
text-align: center;
|
65
|
-
}
|
66
|
-
|
67
|
-
main header {
|
68
|
-
width: min(100%, 12em);
|
69
|
-
}
|
70
|
-
|
71
|
-
main header svg {
|
72
|
-
height: auto;
|
73
|
-
max-width: 100%;
|
74
|
-
width: 100%;
|
75
|
-
}
|
76
|
-
|
77
|
-
main article {
|
78
|
-
width: min(100%, 30em);
|
79
|
-
}
|
80
|
-
|
81
|
-
main article p {
|
82
|
-
font-size: 75%;
|
83
|
-
}
|
84
|
-
|
85
|
-
main article br {
|
86
|
-
|
87
|
-
display: none;
|
88
|
-
|
89
|
-
@media(min-width: 48em) {
|
90
|
-
display: inline;
|
91
|
-
}
|
92
|
-
|
93
|
-
}
|
94
|
-
|
95
|
-
</style>
|
96
|
-
|
97
|
-
</head>
|
98
|
-
|
99
|
-
<body>
|
100
|
-
|
101
|
-
<!-- This file lives in public/422.html -->
|
102
|
-
|
103
|
-
<main>
|
104
|
-
<header>
|
105
|
-
<svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm130.453 51.63681c0-8.9215-6.218-15.4099-15.681-15.4099-10.273 0-15.95 7.5698-16.491 16.4913h-44.608c3.244-30.8199 25.683-55.421707 61.099-55.421707 36.498 0 59.477 20.816907 59.477 51.636807 0 21.3577-14.869 36.7676-31.901 52.7186l-27.305 27.035h59.747v37.308h-120.306v-27.846l57.044-56.7736c11.084-11.8954 18.925-20.0059 18.925-29.7385zm140.455 0c0-8.9215-6.218-15.4099-15.68-15.4099-10.274 0-15.951 7.5698-16.492 16.4913h-44.608c3.245-30.8199 25.684-55.421707 61.1-55.421707 36.497 0 59.477 20.816907 59.477 51.636807 0 21.3577-14.87 36.7676-31.902 52.7186l-27.305 27.035h59.747v37.308h-120.305v-27.846l57.043-56.7736c11.085-11.8954 18.925-20.0059 18.925-29.7385z" fill="#f0eff0"/><path d="m19.3936 103.554c-8.9715 0-14.84183-5.0952-14.84183-14.4544v-20.1029h8.86083v19.3276c0 4.8181 2.2706 7.3102 5.981 7.3102 3.6551 0 5.9257-2.4921 5.9257-7.3102v-19.3276h8.8608v20.1583c0 9.3038-5.8149 14.399-14.7865 14.399zm18.734-.554v-24.921h8.6947v2.1598c1.3845-1.5506 3.8212-2.7136 6.701-2.7136 5.538 0 8.8054 3.5997 8.8054 9.1377v16.3371h-8.6393v-14.2327c0-2.049-1.0522-3.5443-3.2674-3.5443-1.7168 0-3.1567.9969-3.5997 2.7136v15.0634zm36.8584-1.994v10.799h-8.6946v-33.726h8.6946v1.9937c1.163-1.3291 3.5997-2.5475 6.1472-2.5475 7.1994 0 11.1314 5.8703 11.1314 13.0143 0 7.0886-3.932 13.0145-11.1314 13.0145-2.5475 0-4.9842-1.219-6.1472-2.548zm0-13.7893v6.5902c.6646 1.3845 2.1599 2.326 3.8213 2.326 2.9905 0 4.7626-2.3814 4.7626-5.5934s-1.7721-5.6488-4.7626-5.6488c-1.7168 0-3.1567.9969-3.8213 2.326zm36.789-9.2485v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.6949v-24.921h8.6949v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm26.769 12.5713c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.528 0c0-3.4336-1.496-5.8703-4.209-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.209-2.3813 4.209-5.8149zm10.352 0c0-7.6978 5.095-13.0143 12.571-13.0143 6.701 0 10.855 3.9874 11.574 9.8023h-8.417c-.222-1.4953-1.385-2.6029-3.157-2.6029-2.437 0-3.987 2.2706-3.987 5.8149s1.55 5.7595 3.987 5.7595c1.772 0 2.935-1.0522 3.157-2.5475h8.417c-.719 5.7596-4.873 9.8025-11.574 9.8025-7.476 0-12.571-5.3167-12.571-13.0145zm42.013 3.7658h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.544-3.5997zm13.428 11.0206h8.473c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.938-1.5506l-4.874-.9969c-4.153-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.763-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.74-8.2518zm24.269 0h8.474c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.939-1.5506l-4.873-.9969c-4.154-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.763-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.741-8.2518zm47.918 7.6978h-8.363v-1.274c-.831.831-3.323 1.717-5.981 1.717-4.929 0-9.082-2.769-9.082-8.0301 0-4.818 4.153-7.9193 9.581-7.9193 2.049 0 4.485.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.046-2.9905-1.606 0-2.547.7199-2.935 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.434.7199-3.434 2.3813 0 1.7168 1.717 2.4367 3.434 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm20.742 4.9839v1.994h-8.695v-35.997h8.695v13.0697c1.163-1.3291 3.6-2.5475 6.147-2.5475 7.2 0 11.132 5.8149 11.132 13.0143s-3.932 13.0145-11.132 13.0145c-2.547 0-4.984-1.219-6.147-2.548zm0-13.7893v6.5902c.665 1.3845 2.105 2.326 3.821 2.326 2.991 0 4.763-2.3814 4.763-5.5934s-1.772-5.6488-4.763-5.6488c-1.661 0-3.156.9969-3.821 2.326zm28.759-20.2137v35.997h-8.695v-35.997zm19.172 27.3023h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm25.461-15.2849h24.311v7.6424h-15.561v5.3165h14.232v7.4763h-14.232v5.8703h15.561v7.6978h-24.311zm27.942 34.0033v-24.921h8.694v2.1598c1.385-1.5506 3.822-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.639v-14.2327c0-2.049-1.053-3.5443-3.268-3.5443-1.717 0-3.157.9969-3.6 2.7136v15.0634zm29.991-8.5839v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.942 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm26.161-16.3371v24.921h-8.694v-24.921zm.61-6.7564c0 2.8244-2.271 4.652-4.929 4.652s-4.929-1.8276-4.929-4.652c0-2.8797 2.271-4.7073 4.929-4.7073s4.929 1.8276 4.929 4.7073zm5.382 23.0935v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.206v6.7564h-5.206v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.994-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.87 0-9.193-2.769-9.193-9.0819zm29.22 17.3889h-8.584l3.655-9.414-9.303-24.312h9.026l4.763 14.1773 4.652-14.1773h8.639z" fill="#d30001"/></svg>
|
106
|
-
</header>
|
107
|
-
<article>
|
108
|
-
<p><strong>The change you wanted was rejected.</strong> Maybe you tried to change something you didn’t have access to. If you’re the application owner check the logs for more information.</p>
|
109
|
-
</article>
|
110
|
-
</main>
|
111
|
-
|
112
|
-
</body>
|
113
|
-
|
114
|
-
</html>
|
@@ -1,114 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
|
3
|
-
<html lang="en">
|
4
|
-
|
5
|
-
<head>
|
6
|
-
|
7
|
-
<title>We’re sorry, but something went wrong (500 Internal Server Error)</title>
|
8
|
-
|
9
|
-
<meta charset="utf-8">
|
10
|
-
<meta name="viewport" content="initial-scale=1, width=device-width">
|
11
|
-
<meta name="robots" content="noindex, nofollow">
|
12
|
-
|
13
|
-
<style>
|
14
|
-
|
15
|
-
*, *::before, *::after {
|
16
|
-
box-sizing: border-box;
|
17
|
-
}
|
18
|
-
|
19
|
-
* {
|
20
|
-
margin: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
html {
|
24
|
-
font-size: 16px;
|
25
|
-
}
|
26
|
-
|
27
|
-
body {
|
28
|
-
background: #FFF;
|
29
|
-
color: #261B23;
|
30
|
-
display: grid;
|
31
|
-
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
32
|
-
font-size: clamp(1rem, 2.5vw, 2rem);
|
33
|
-
-webkit-font-smoothing: antialiased;
|
34
|
-
font-style: normal;
|
35
|
-
font-weight: 400;
|
36
|
-
letter-spacing: -0.0025em;
|
37
|
-
line-height: 1.4;
|
38
|
-
min-height: 100vh;
|
39
|
-
place-items: center;
|
40
|
-
text-rendering: optimizeLegibility;
|
41
|
-
-webkit-text-size-adjust: 100%;
|
42
|
-
}
|
43
|
-
|
44
|
-
a {
|
45
|
-
color: inherit;
|
46
|
-
font-weight: 700;
|
47
|
-
text-decoration: underline;
|
48
|
-
text-underline-offset: 0.0925em;
|
49
|
-
}
|
50
|
-
|
51
|
-
b, strong {
|
52
|
-
font-weight: 700;
|
53
|
-
}
|
54
|
-
|
55
|
-
i, em {
|
56
|
-
font-style: italic;
|
57
|
-
}
|
58
|
-
|
59
|
-
main {
|
60
|
-
display: grid;
|
61
|
-
gap: 1em;
|
62
|
-
padding: 2em;
|
63
|
-
place-items: center;
|
64
|
-
text-align: center;
|
65
|
-
}
|
66
|
-
|
67
|
-
main header {
|
68
|
-
width: min(100%, 12em);
|
69
|
-
}
|
70
|
-
|
71
|
-
main header svg {
|
72
|
-
height: auto;
|
73
|
-
max-width: 100%;
|
74
|
-
width: 100%;
|
75
|
-
}
|
76
|
-
|
77
|
-
main article {
|
78
|
-
width: min(100%, 30em);
|
79
|
-
}
|
80
|
-
|
81
|
-
main article p {
|
82
|
-
font-size: 75%;
|
83
|
-
}
|
84
|
-
|
85
|
-
main article br {
|
86
|
-
|
87
|
-
display: none;
|
88
|
-
|
89
|
-
@media(min-width: 48em) {
|
90
|
-
display: inline;
|
91
|
-
}
|
92
|
-
|
93
|
-
}
|
94
|
-
|
95
|
-
</style>
|
96
|
-
|
97
|
-
</head>
|
98
|
-
|
99
|
-
<body>
|
100
|
-
|
101
|
-
<!-- This file lives in public/500.html -->
|
102
|
-
|
103
|
-
<main>
|
104
|
-
<header>
|
105
|
-
<svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m101.23 93.8427c-8.1103 0-15.4098 3.7849-19.7354 8.3813h-36.2269v-99.21891h103.8143v37.03791h-68.3984v24.8722c5.1366-2.7035 15.1396-5.9477 24.6014-5.9477 35.146 0 56.233 22.7094 56.233 55.4215 0 34.605-23.791 57.315-60.558 57.315-37.8492 0-61.64-22.169-63.8028-55.963h42.9857c1.0814 10.814 9.1919 19.195 21.6281 19.195 11.355 0 19.465-8.381 19.465-20.547 0-11.625-7.299-20.5463-20.006-20.5463zm138.833 77.8613c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z" fill="#f0eff0"/><path d="m23.1377 68.9967v34.0033h-8.9162v-34.0033zm4.3157 34.0033v-24.921h8.6947v2.1598c1.3845-1.5506 3.8212-2.7136 6.701-2.7136 5.538 0 8.8054 3.5997 8.8054 9.1377v16.3371h-8.6393v-14.2327c0-2.049-1.0522-3.5443-3.2674-3.5443-1.7168 0-3.1567.9969-3.5997 2.7136v15.0634zm29.9913-8.5839v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.5839v6.8671h5.2058v6.7564h-5.2058v8.307c0 1.9383.9415 2.769 2.6583 2.769.9414 0 1.9937-.2216 2.769-.5538v7.3654c-.9969.443-2.8798.775-4.8181.775-5.8703 0-9.1931-2.769-9.1931-9.0819zm32.3666-.1108h8.0301c-.8861 5.7597-5.2057 9.2487-11.6852 9.2487-7.6424 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.3165-13.0143 12.5159-13.0143 7.6424 0 11.9621 5.095 11.9621 12.5159v2.1598h-16.1156c.2769 2.9905 1.8275 4.5965 4.3196 4.5965 1.7722 0 3.1567-.7753 3.6551-2.4921zm-3.8212-10.0237c-2.0491 0-3.4336 1.2737-3.9874 3.5997h7.5317c-.1107-2.0491-1.3845-3.5997-3.5443-3.5997zm31.4299-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.599-.7753-2.382 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.381.443zm2.949 25.0318v-24.921h8.694v2.1598c1.385-1.5506 3.821-2.7136 6.701-2.7136 5.538 0 8.806 3.5997 8.806 9.1377v16.3371h-8.64v-14.2327c0-2.049-1.052-3.5443-3.267-3.5443-1.717 0-3.157.9969-3.6 2.7136v15.0634zm50.371 0h-8.363v-1.274c-.83.831-3.323 1.717-5.981 1.717-4.929 0-9.082-2.769-9.082-8.0301 0-4.818 4.153-7.9193 9.581-7.9193 2.049 0 4.485.6646 5.482 1.3845v-1.606c0-1.606-.941-2.9905-3.046-2.9905-1.606 0-2.547.7199-2.935 1.8275h-8.196c.72-4.8181 4.984-8.6393 11.408-8.6393 7.089 0 11.132 3.7659 11.132 10.2453zm-8.363-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.433.7199-3.433 2.3813 0 1.7168 1.716 2.4367 3.433 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm20.742-29.0191v35.997h-8.694v-35.997zm13.036 25.9178h9.248c.72 2.326 2.714 3.489 5.483 3.489 2.713 0 4.596-1.163 4.596-3.2674 0-1.6061-1.052-2.326-3.212-2.8244l-6.534-1.3845c-4.985-1.1076-8.751-3.7105-8.751-9.47 0-6.6456 5.538-11.0206 13.07-11.0206 8.307 0 13.014 4.5411 13.956 10.4114h-8.695c-.72-1.8829-2.27-3.3228-5.205-3.3228-2.548 0-4.265 1.1076-4.265 2.9905 0 1.4953 1.052 2.326 2.825 2.7137l6.645 1.5506c5.815 1.3845 9.027 4.5412 9.027 9.8023 0 6.9778-5.87 10.9654-13.291 10.9654-8.141 0-13.679-3.9322-14.897-10.6332zm46.509 1.3845h8.031c-.887 5.7597-5.206 9.2487-11.686 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.317-13.0143 12.516-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.319 4.5965 1.773 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm31.431-6.3134v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.988 1.0522-4.431 2.8244v14.6203h-8.694v-24.921h8.694v2.2152c1.219-1.6614 3.157-2.769 5.649-2.769 1.108 0 1.994.2215 2.382.443zm18.288 25.0318h-7.809l-9.47-24.921h8.861l4.763 14.288 4.652-14.288h8.528zm25.614-8.6947h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.642 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.516-13.0143 7.642 0 11.962 5.095 11.962 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.157-.7753 3.655-2.4921zm-3.821-10.0237c-2.049 0-3.434 1.2737-3.988 3.5997h7.532c-.111-2.0491-1.384-3.5997-3.544-3.5997zm31.43-6.3134v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443zm13.703-8.9715h24.312v7.6424h-15.562v5.3165h14.232v7.4763h-14.232v5.8703h15.562v7.6978h-24.312zm44.667 8.9715v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm19.673 0v8.3624c-1.053-.5538-2.216-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.156-2.769 5.648-2.769 1.108 0 1.994.2215 2.382.443zm26.769 12.5713c0 7.6978-5.15 13.0145-12.737 13.0145-7.532 0-12.738-5.3167-12.738-13.0145s5.206-13.0143 12.738-13.0143c7.587 0 12.737 5.3165 12.737 13.0143zm-8.529 0c0-3.4336-1.495-5.8703-4.208-5.8703-2.659 0-4.154 2.4367-4.154 5.8703s1.495 5.8149 4.154 5.8149c2.713 0 4.208-2.3813 4.208-5.8149zm28.082-12.5713v8.3624c-1.052-.5538-2.215-.7753-3.6-.7753-2.381 0-3.987 1.0522-4.43 2.8244v14.6203h-8.695v-24.921h8.695v2.2152c1.218-1.6614 3.157-2.769 5.649-2.769 1.107 0 1.993.2215 2.381.443z" fill="#d30001"/></svg>
|
106
|
-
</header>
|
107
|
-
<article>
|
108
|
-
<p><strong>We’re sorry, but something went wrong.</strong><br> If you’re the application owner check the logs for more information.</p>
|
109
|
-
</article>
|
110
|
-
</main>
|
111
|
-
|
112
|
-
</body>
|
113
|
-
|
114
|
-
</html>
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
# See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
data/test_blog_app/script/.keep
DELETED
File without changes
|
data/test_blog_app/storage/.keep
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
ENV["RAILS_ENV"] ||= "test"
|
2
|
-
require_relative "../config/environment"
|
3
|
-
require "rails/test_help"
|
4
|
-
|
5
|
-
module ActiveSupport
|
6
|
-
class TestCase
|
7
|
-
# Run tests in parallel with specified workers
|
8
|
-
parallelize(workers: :number_of_processors)
|
9
|
-
|
10
|
-
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
11
|
-
fixtures :all
|
12
|
-
|
13
|
-
# Add more helper methods to be used by all tests here...
|
14
|
-
end
|
15
|
-
end
|
@@ -1,244 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
# End-to-end test of EnhanceSwarm in a real Rails project
|
5
|
-
|
6
|
-
# Set up the load path
|
7
|
-
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
8
|
-
|
9
|
-
require 'enhance_swarm'
|
10
|
-
|
11
|
-
def test_rails_project_integration
|
12
|
-
puts "🧪 EnhanceSwarm Rails Integration Test"
|
13
|
-
puts "=" * 50
|
14
|
-
|
15
|
-
test_results = []
|
16
|
-
|
17
|
-
# Test 1: Basic library loading
|
18
|
-
begin
|
19
|
-
puts "\n1️⃣ Testing Library Loading..."
|
20
|
-
puts " ✅ EnhanceSwarm v#{EnhanceSwarm::VERSION} loaded"
|
21
|
-
puts " 📍 Working directory: #{Dir.pwd}"
|
22
|
-
test_results << { test: "Library Loading", status: "PASS" }
|
23
|
-
rescue => e
|
24
|
-
puts " ❌ Library loading failed: #{e.message}"
|
25
|
-
test_results << { test: "Library Loading", status: "FAIL", error: e.message }
|
26
|
-
end
|
27
|
-
|
28
|
-
# Test 2: Rails Project Detection
|
29
|
-
begin
|
30
|
-
puts "\n2️⃣ Testing Rails Project Detection..."
|
31
|
-
analyzer = EnhanceSwarm::ProjectAnalyzer.new
|
32
|
-
results = analyzer.analyze
|
33
|
-
|
34
|
-
puts " 📊 Project Type: #{results[:project_type]}"
|
35
|
-
puts " 📊 Technology Stack: #{results[:technology_stack].join(', ')}"
|
36
|
-
puts " 📊 Database: #{results[:database].join(', ')}"
|
37
|
-
puts " 📊 Testing Framework: #{results[:testing_framework].join(', ')}"
|
38
|
-
puts " 📊 Recommended Agents: #{results[:recommended_agents].join(', ')}"
|
39
|
-
|
40
|
-
if results[:project_type] == 'rails'
|
41
|
-
puts " ✅ Rails project correctly detected"
|
42
|
-
test_results << { test: "Rails Detection", status: "PASS" }
|
43
|
-
else
|
44
|
-
puts " ❌ Rails project not detected (got: #{results[:project_type]})"
|
45
|
-
test_results << { test: "Rails Detection", status: "FAIL" }
|
46
|
-
end
|
47
|
-
rescue => e
|
48
|
-
puts " ❌ Project detection failed: #{e.message}"
|
49
|
-
test_results << { test: "Rails Detection", status: "FAIL", error: e.message }
|
50
|
-
end
|
51
|
-
|
52
|
-
# Test 3: Smart Configuration Generation
|
53
|
-
begin
|
54
|
-
puts "\n3️⃣ Testing Smart Configuration..."
|
55
|
-
config = EnhanceSwarm::Configuration.new
|
56
|
-
|
57
|
-
puts " 📊 Project Name: #{config.project_name}"
|
58
|
-
puts " 📊 Technology Stack: #{config.technology_stack}"
|
59
|
-
puts " 📊 Test Command: #{config.test_command}"
|
60
|
-
puts " 📊 Max Agents: #{config.max_concurrent_agents}"
|
61
|
-
puts " 📊 Code Standards: #{config.code_standards.length} standards"
|
62
|
-
|
63
|
-
if config.technology_stack.include?('Rails')
|
64
|
-
puts " ✅ Smart configuration applied"
|
65
|
-
test_results << { test: "Smart Configuration", status: "PASS" }
|
66
|
-
else
|
67
|
-
puts " ❌ Smart configuration not applied"
|
68
|
-
test_results << { test: "Smart Configuration", status: "FAIL" }
|
69
|
-
end
|
70
|
-
rescue => e
|
71
|
-
puts " ❌ Configuration test failed: #{e.message}"
|
72
|
-
test_results << { test: "Smart Configuration", status: "FAIL", error: e.message }
|
73
|
-
end
|
74
|
-
|
75
|
-
# Test 4: Session Management
|
76
|
-
begin
|
77
|
-
puts "\n4️⃣ Testing Session Management..."
|
78
|
-
session_manager = EnhanceSwarm::SessionManager.new
|
79
|
-
|
80
|
-
# Create a test session
|
81
|
-
session = session_manager.create_session("Rails E2E test session")
|
82
|
-
puts " 📊 Session ID: #{session[:session_id]}"
|
83
|
-
|
84
|
-
# Test agent registration
|
85
|
-
agent_added = session_manager.add_agent('test_agent', 99999, '/test/path', 'Test Rails development')
|
86
|
-
puts " 📊 Agent Registration: #{agent_added ? 'Success' : 'Failed'}"
|
87
|
-
|
88
|
-
# Test session status
|
89
|
-
status = session_manager.session_status
|
90
|
-
puts " 📊 Session Status: #{status[:total_agents]} agents, #{status[:active_agents]} active"
|
91
|
-
|
92
|
-
# Cleanup
|
93
|
-
session_manager.cleanup_session
|
94
|
-
puts " ✅ Session management working"
|
95
|
-
test_results << { test: "Session Management", status: "PASS" }
|
96
|
-
rescue => e
|
97
|
-
puts " ❌ Session management failed: #{e.message}"
|
98
|
-
test_results << { test: "Session Management", status: "FAIL", error: e.message }
|
99
|
-
end
|
100
|
-
|
101
|
-
# Test 5: Task Integration
|
102
|
-
begin
|
103
|
-
puts "\n5️⃣ Testing Task Integration..."
|
104
|
-
task_integration = EnhanceSwarm::TaskIntegration.new
|
105
|
-
|
106
|
-
kanban_data = task_integration.get_kanban_data
|
107
|
-
puts " 📊 Swarm Tasks Available: #{kanban_data[:swarm_tasks_available]}"
|
108
|
-
puts " 📊 Tasks Found: #{kanban_data[:tasks].length}"
|
109
|
-
puts " 📊 Task Folders: #{kanban_data[:folders].length}"
|
110
|
-
|
111
|
-
# Test task setup
|
112
|
-
setup_result = task_integration.setup_task_management
|
113
|
-
puts " 📊 Task Setup: #{setup_result ? 'Success' : 'Limited'}"
|
114
|
-
|
115
|
-
puts " ✅ Task integration working"
|
116
|
-
test_results << { test: "Task Integration", status: "PASS" }
|
117
|
-
rescue => e
|
118
|
-
puts " ❌ Task integration failed: #{e.message}"
|
119
|
-
test_results << { test: "Task Integration", status: "FAIL", error: e.message }
|
120
|
-
end
|
121
|
-
|
122
|
-
# Test 6: Orchestrator Integration
|
123
|
-
begin
|
124
|
-
puts "\n6️⃣ Testing Orchestrator..."
|
125
|
-
orchestrator = EnhanceSwarm::Orchestrator.new
|
126
|
-
|
127
|
-
# Test task management data
|
128
|
-
task_data = orchestrator.get_task_management_data
|
129
|
-
puts " 📊 Task Data Keys: #{task_data.keys.join(', ')}"
|
130
|
-
|
131
|
-
# Test setup
|
132
|
-
setup_result = orchestrator.setup_task_management
|
133
|
-
puts " 📊 Orchestrator Setup: #{setup_result ? 'Success' : 'Limited'}"
|
134
|
-
|
135
|
-
puts " ✅ Orchestrator working"
|
136
|
-
test_results << { test: "Orchestrator", status: "PASS" }
|
137
|
-
rescue => e
|
138
|
-
puts " ❌ Orchestrator failed: #{e.message}"
|
139
|
-
test_results << { test: "Orchestrator", status: "FAIL", error: e.message }
|
140
|
-
end
|
141
|
-
|
142
|
-
# Test 7: Web UI Components
|
143
|
-
begin
|
144
|
-
puts "\n7️⃣ Testing Web UI Components..."
|
145
|
-
|
146
|
-
# Test WebUI creation (don't start server)
|
147
|
-
web_ui = EnhanceSwarm::WebUI.new(port: 4570, host: 'localhost')
|
148
|
-
puts " 📊 WebUI Instance: Created (Port: #{web_ui.port})"
|
149
|
-
|
150
|
-
# Test that templates exist
|
151
|
-
templates_dir = File.join(File.dirname(__dir__), 'web', 'templates')
|
152
|
-
dashboard_exists = File.exist?(File.join(templates_dir, 'dashboard.html.erb'))
|
153
|
-
kanban_exists = File.exist?(File.join(templates_dir, 'kanban.html.erb'))
|
154
|
-
|
155
|
-
puts " 📊 Dashboard Template: #{dashboard_exists ? 'Found' : 'Missing'}"
|
156
|
-
puts " 📊 Kanban Template: #{kanban_exists ? 'Found' : 'Missing'}"
|
157
|
-
|
158
|
-
if dashboard_exists && kanban_exists
|
159
|
-
puts " ✅ Web UI components ready"
|
160
|
-
test_results << { test: "Web UI Components", status: "PASS" }
|
161
|
-
else
|
162
|
-
puts " ❌ Web UI components missing"
|
163
|
-
test_results << { test: "Web UI Components", status: "FAIL" }
|
164
|
-
end
|
165
|
-
rescue => e
|
166
|
-
puts " ❌ Web UI test failed: #{e.message}"
|
167
|
-
test_results << { test: "Web UI Components", status: "FAIL", error: e.message }
|
168
|
-
end
|
169
|
-
|
170
|
-
# Results Summary
|
171
|
-
puts "\n" + "=" * 50
|
172
|
-
puts "📊 TEST RESULTS SUMMARY"
|
173
|
-
puts "=" * 50
|
174
|
-
|
175
|
-
passed = test_results.count { |r| r[:status] == "PASS" }
|
176
|
-
total = test_results.length
|
177
|
-
|
178
|
-
test_results.each do |result|
|
179
|
-
status_icon = result[:status] == "PASS" ? "✅" : "❌"
|
180
|
-
puts " #{status_icon} #{result[:test]}: #{result[:status]}"
|
181
|
-
if result[:error]
|
182
|
-
puts " Error: #{result[:error]}"
|
183
|
-
end
|
184
|
-
end
|
185
|
-
|
186
|
-
puts "\n📈 Success Rate: #{passed}/#{total} (#{(passed.to_f / total * 100).round(1)}%)"
|
187
|
-
|
188
|
-
if passed == total
|
189
|
-
puts "\n🎉 ALL TESTS PASSED!"
|
190
|
-
puts " EnhanceSwarm is fully functional in Rails environment"
|
191
|
-
puts " Ready for production development workflows"
|
192
|
-
else
|
193
|
-
puts "\n⚠️ Some tests failed - see details above"
|
194
|
-
end
|
195
|
-
|
196
|
-
passed == total
|
197
|
-
end
|
198
|
-
|
199
|
-
def demonstrate_rails_workflow
|
200
|
-
puts "\n🚀 Rails Development Workflow Demonstration"
|
201
|
-
puts "=" * 50
|
202
|
-
|
203
|
-
puts "\n📝 Typical EnhanceSwarm Rails Workflow:"
|
204
|
-
puts " 1. Rails project detection and analysis"
|
205
|
-
puts " 2. Smart configuration based on Rails conventions"
|
206
|
-
puts " 3. Task creation for Rails development features"
|
207
|
-
puts " 4. Multi-agent orchestration for MVC components"
|
208
|
-
puts " 5. Real-time monitoring of development progress"
|
209
|
-
|
210
|
-
puts "\n🤖 Recommended Agent Assignments for Rails:"
|
211
|
-
puts " • Backend Agent: Models, controllers, API endpoints"
|
212
|
-
puts " • Frontend Agent: Views, JavaScript, styling"
|
213
|
-
puts " • QA Agent: Tests, validations, edge cases"
|
214
|
-
puts " • UX Agent: User experience, templates, flows"
|
215
|
-
|
216
|
-
puts "\n💡 Rails-Specific Enhancements:"
|
217
|
-
puts " • Automatic test command detection (RSpec/Minitest)"
|
218
|
-
puts " • Database configuration analysis"
|
219
|
-
puts " • Rails conventions in code standards"
|
220
|
-
puts " • MVC-aware task breakdown"
|
221
|
-
puts " • Asset pipeline considerations"
|
222
|
-
|
223
|
-
puts "\n🔧 Next Steps for Production Use:"
|
224
|
-
puts " 1. Initialize: enhance-swarm init"
|
225
|
-
puts " 2. Configure: Review .enhance_swarm.yml"
|
226
|
-
puts " 3. Start UI: enhance-swarm ui"
|
227
|
-
puts " 4. Enhance: enhance-swarm enhance"
|
228
|
-
end
|
229
|
-
|
230
|
-
# Run the comprehensive test
|
231
|
-
if __FILE__ == $0
|
232
|
-
success = test_rails_project_integration
|
233
|
-
demonstrate_rails_workflow
|
234
|
-
|
235
|
-
puts "\n🎯 CONCLUSION:"
|
236
|
-
if success
|
237
|
-
puts " ✅ EnhanceSwarm is production-ready for Rails development"
|
238
|
-
puts " ✅ All core features working in Rails environment"
|
239
|
-
puts " ✅ Smart defaults and project analysis functional"
|
240
|
-
puts " ✅ Task management and orchestration ready"
|
241
|
-
else
|
242
|
-
puts " ⚠️ Some issues need resolution before production use"
|
243
|
-
end
|
244
|
-
end
|