aia 2.0.0.0.pre.beta2 → 2.0.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 (225) hide show
  1. checksums.yaml +4 -4
  2. data/.version +1 -1
  3. data/CHANGELOG.md +146 -228
  4. data/README.md +41 -18
  5. data/bin/aia +8 -3
  6. data/lib/aia/aia_completion.bash +2 -3
  7. data/lib/aia/aia_completion.fish +6 -5
  8. data/lib/aia/aia_completion.zsh +2 -3
  9. data/lib/aia/chat_loop.rb +16 -14
  10. data/lib/aia/config/cli_parser.rb +123 -91
  11. data/lib/aia/config/defaults.yml +12 -39
  12. data/lib/aia/config/mcp_parser.rb +30 -36
  13. data/lib/aia/config/model_spec.rb +8 -14
  14. data/lib/aia/config/validator.rb +102 -103
  15. data/lib/aia/config/value_caster.rb +76 -0
  16. data/lib/aia/config.rb +70 -53
  17. data/lib/aia/crew.rb +29 -19
  18. data/lib/aia/debate_handler.rb +27 -10
  19. data/lib/aia/directives/configuration_directives.rb +55 -14
  20. data/lib/aia/directives/context_directives.rb +24 -12
  21. data/lib/aia/directives/execution_directives.rb +18 -23
  22. data/lib/aia/directives/model_directives.rb +41 -104
  23. data/lib/aia/directives/utility_directives.rb +16 -17
  24. data/lib/aia/directives/web_and_file_directives.rb +21 -14
  25. data/lib/aia/fact_asserter.rb +3 -3
  26. data/lib/aia/history_transfer.rb +64 -24
  27. data/lib/aia/logger.rb +10 -45
  28. data/lib/aia/mcp_config_normalizer.rb +27 -14
  29. data/lib/aia/mcp_connection_manager.rb +181 -184
  30. data/lib/aia/mcp_discovery.rb +43 -15
  31. data/lib/aia/mcp_grouper.rb +2 -1
  32. data/lib/aia/mcp_server_config.rb +20 -2
  33. data/lib/aia/mcp_utility.rb +24 -19
  34. data/lib/aia/mention_router.rb +15 -2
  35. data/lib/aia/modality_query.rb +36 -0
  36. data/lib/aia/model_alias_registry.rb +11 -11
  37. data/lib/aia/model_registry.rb +75 -0
  38. data/lib/aia/network_builder.rb +8 -7
  39. data/lib/aia/patches/ruby_llm_streaming_error.rb +21 -4
  40. data/lib/aia/patches/ruby_llm_tool_param_compat.rb +18 -0
  41. data/lib/aia/pipeline_orchestrator.rb +71 -38
  42. data/lib/aia/prompt_decomposer.rb +1 -1
  43. data/lib/aia/prompt_handler.rb +56 -29
  44. data/lib/aia/provider_registry.rb +105 -0
  45. data/lib/aia/robot_builder.rb +1 -1
  46. data/lib/aia/robot_factory.rb +67 -63
  47. data/lib/aia/robot_sync.rb +79 -0
  48. data/lib/aia/role_catalog.rb +89 -0
  49. data/lib/aia/session.rb +25 -11
  50. data/lib/aia/skill_utils.rb +60 -19
  51. data/lib/aia/spawn_handler.rb +16 -4
  52. data/lib/aia/spawn_spec_parser.rb +6 -7
  53. data/lib/aia/special_mode_handler.rb +28 -25
  54. data/lib/aia/speech.rb +70 -34
  55. data/lib/aia/startup_coordinator.rb +17 -92
  56. data/lib/aia/streaming_runner.rb +10 -2
  57. data/lib/aia/system_prompt_assembler.rb +12 -11
  58. data/lib/aia/task_board.rb +60 -0
  59. data/lib/aia/tool_approver.rb +205 -0
  60. data/lib/aia/tool_filter.rb +1 -10
  61. data/lib/aia/tool_filter_strategy.rb +12 -1
  62. data/lib/aia/tool_introspection.rb +9 -1
  63. data/lib/aia/tool_loader.rb +67 -33
  64. data/lib/aia/tool_utility.rb +6 -5
  65. data/lib/aia/tools/delegate_to_foreman_tool.rb +6 -4
  66. data/lib/aia/tools/recruit_robot_tool.rb +12 -12
  67. data/lib/aia/tools/reskill_robot_tool.rb +7 -7
  68. data/lib/aia/tools/task_board_tool.rb +16 -16
  69. data/lib/aia/trakflow_bridge.rb +14 -8
  70. data/lib/aia/turn_state.rb +31 -8
  71. data/lib/aia/ui_presenter.rb +16 -0
  72. data/lib/aia/utility.rb +6 -24
  73. data/lib/aia/variable_input_collector.rb +0 -3
  74. data/lib/aia/verification_network.rb +9 -10
  75. data/lib/aia.rb +33 -8
  76. metadata +19 -160
  77. data/.better-commits.json +0 -150
  78. data/.config/tocer/configuration.yml +0 -6
  79. data/.envrc +0 -19
  80. data/.loki +0 -11
  81. data/.reek.yml +0 -160
  82. data/.rubocop.yml +0 -116
  83. data/.rubocop_strict.yml +0 -15
  84. data/COMMITS.md +0 -196
  85. data/IMPLEMENTATION_PLAN.md +0 -506
  86. data/Rakefile +0 -47
  87. data/_typos.toml +0 -10
  88. data/aia.gemspec +0 -92
  89. data/architecture_review.md +0 -314
  90. data/config/aia.yml +0 -13
  91. data/docs/AGENTS.md +0 -40
  92. data/docs/advanced-prompting.md +0 -814
  93. data/docs/assets/images/aia.png +0 -0
  94. data/docs/cli-reference.md +0 -1241
  95. data/docs/configuration.md +0 -747
  96. data/docs/contributing.md +0 -386
  97. data/docs/directives-reference.md +0 -1145
  98. data/docs/examples/index.md +0 -277
  99. data/docs/examples/mcp/index.md +0 -475
  100. data/docs/examples/prompts/analysis/index.md +0 -78
  101. data/docs/examples/prompts/automation/index.md +0 -109
  102. data/docs/examples/prompts/development/index.md +0 -125
  103. data/docs/examples/prompts/index.md +0 -333
  104. data/docs/examples/prompts/learning/index.md +0 -127
  105. data/docs/examples/prompts/writing/index.md +0 -62
  106. data/docs/examples/tools/index.md +0 -282
  107. data/docs/faq.md +0 -578
  108. data/docs/guides/available-models.md +0 -366
  109. data/docs/guides/basic-usage.md +0 -478
  110. data/docs/guides/chat.md +0 -680
  111. data/docs/guides/crew.md +0 -239
  112. data/docs/guides/executable-prompts.md +0 -331
  113. data/docs/guides/first-prompt.md +0 -454
  114. data/docs/guides/getting-started.md +0 -455
  115. data/docs/guides/image-generation.md +0 -507
  116. data/docs/guides/index.md +0 -48
  117. data/docs/guides/local-models.md +0 -306
  118. data/docs/guides/migrate-prompts.md +0 -335
  119. data/docs/guides/models.md +0 -1017
  120. data/docs/guides/shared-tools.md +0 -254
  121. data/docs/guides/tools.md +0 -831
  122. data/docs/index.md +0 -259
  123. data/docs/installation.md +0 -274
  124. data/docs/mcp-integration.md +0 -603
  125. data/docs/prompt_management.md +0 -665
  126. data/docs/security.md +0 -674
  127. data/docs/special_projects_guide.md +0 -386
  128. data/docs/tools-and-mcp-examples.md +0 -1211
  129. data/docs/workflows-and-pipelines.md +0 -636
  130. data/examples/.gitignore +0 -2
  131. data/examples/00_setup_aia.sh +0 -111
  132. data/examples/01_basic_usage.sh +0 -23
  133. data/examples/02_frontmatter.sh +0 -33
  134. data/examples/03_shell_integration.sh +0 -55
  135. data/examples/04_erb_templating.sh +0 -56
  136. data/examples/05_shell_then_erb.sh +0 -38
  137. data/examples/06_prompt_chaining.sh +0 -59
  138. data/examples/07_pipeline.sh +0 -46
  139. data/examples/08_context_files.sh +0 -43
  140. data/examples/09_roles.sh +0 -67
  141. data/examples/10_stdin_piping.sh +0 -49
  142. data/examples/11_multi_model.sh +0 -65
  143. data/examples/12_token_usage.sh +0 -52
  144. data/examples/13_cost_tracking.sh +0 -68
  145. data/examples/14_output_file.sh +0 -91
  146. data/examples/15_parameters.sh +0 -68
  147. data/examples/16_directives.sh +0 -113
  148. data/examples/17_require_and_conditionals.sh +0 -68
  149. data/examples/18_tools.sh +0 -61
  150. data/examples/19_local_tools.sh +0 -34
  151. data/examples/20_mcp_servers.sh +0 -102
  152. data/examples/21_executable_prompts.sh +0 -78
  153. data/examples/22_chat_mode.sh +0 -217
  154. data/examples/23_verify.sh +0 -139
  155. data/examples/24_decompose.sh +0 -139
  156. data/examples/25_spawn.sh +0 -139
  157. data/examples/26_debate.sh +0 -97
  158. data/examples/27_mention_routing.sh +0 -157
  159. data/examples/28_model_switching.sh +0 -106
  160. data/examples/29_agent_harness.sh +0 -177
  161. data/examples/README.md +0 -321
  162. data/examples/advanced_multi_robot_capabilities_without_examples.md +0 -106
  163. data/examples/aia_config.yml +0 -22
  164. data/examples/aia_config_orchestrator.yml +0 -45
  165. data/examples/aia_config_with_mcp.yml +0 -21
  166. data/examples/common.sh +0 -39
  167. data/examples/context/project_goals.md +0 -6
  168. data/examples/context/tech_stack.md +0 -7
  169. data/examples/directives/timestamp_directive.rb +0 -22
  170. data/examples/mcp/filesystem.json +0 -9
  171. data/examples/prompts_dir/analyze.md +0 -2
  172. data/examples/prompts_dir/brainstorm.md +0 -2
  173. data/examples/prompts_dir/conditional.md +0 -17
  174. data/examples/prompts_dir/creative.md +0 -4
  175. data/examples/prompts_dir/erbinfo.md +0 -5
  176. data/examples/prompts_dir/erbinfo_raw.md +0 -8
  177. data/examples/prompts_dir/evaluate.md +0 -2
  178. data/examples/prompts_dir/explain_joke.md +0 -1
  179. data/examples/prompts_dir/explain_recursion.md +0 -1
  180. data/examples/prompts_dir/fun_fact +0 -3
  181. data/examples/prompts_dir/greeting.md +0 -8
  182. data/examples/prompts_dir/greeting_required.md +0 -7
  183. data/examples/prompts_dir/hello.md +0 -1
  184. data/examples/prompts_dir/includes/ruby_facts.md +0 -4
  185. data/examples/prompts_dir/limerick.md +0 -1
  186. data/examples/prompts_dir/list_with_mcp.md +0 -3
  187. data/examples/prompts_dir/pick_best.md +0 -2
  188. data/examples/prompts_dir/project_summary +0 -12
  189. data/examples/prompts_dir/quiz_with_include.md +0 -6
  190. data/examples/prompts_dir/require_demo.md +0 -5
  191. data/examples/prompts_dir/roles/formal.md +0 -3
  192. data/examples/prompts_dir/roles/orchestrator.md +0 -21
  193. data/examples/prompts_dir/roles/pirate.md +0 -3
  194. data/examples/prompts_dir/shell_then_erb.md +0 -6
  195. data/examples/prompts_dir/sort_compare.md +0 -2
  196. data/examples/prompts_dir/summarize_context.md +0 -2
  197. data/examples/prompts_dir/sysinfo.md +0 -5
  198. data/examples/prompts_dir/sysinfo_raw.md +0 -8
  199. data/examples/prompts_dir/tagline.md +0 -1
  200. data/examples/prompts_dir/tell_joke.md +0 -1
  201. data/examples/prompts_dir/tell_joke_with_next.md +0 -4
  202. data/examples/prompts_dir/use_local_tool.md +0 -8
  203. data/examples/prompts_dir/use_tools.md +0 -8
  204. data/examples/prompts_dir/weather.md +0 -2
  205. data/examples/prompts_dir/whats_new.md +0 -2
  206. data/examples/prompts_dir/with_timestamp.md +0 -5
  207. data/examples/requirements/sinatra_taskflow_app.md +0 -139
  208. data/examples/rules/01_classify_ruby.rb +0 -16
  209. data/examples/rules/02_prefer_claude_for_code.rb +0 -19
  210. data/examples/rules/03_gate_prompt_length.rb +0 -19
  211. data/examples/rules/04_tool_selection.rb +0 -41
  212. data/examples/rules/README.md +0 -30
  213. data/examples/run_all.sh +0 -294
  214. data/examples/tools/word_count_tool.rb +0 -30
  215. data/lib/AGENTS.md +0 -57
  216. data/lib/aia/model_switch_handler.rb +0 -100
  217. data/mcp_servers/README.md +0 -110
  218. data/mcp_servers/apple-mcp.json +0 -8
  219. data/mcp_servers/filesystem.json +0 -9
  220. data/mcp_servers/mcp_server_chart.json +0 -11
  221. data/mcp_servers/playwright_one.json +0 -8
  222. data/mcp_servers/playwright_server_definition.json +0 -9
  223. data/mcp_servers/playwright_two.json +0 -8
  224. data/mcp_servers/tavily_mcp_server.json +0 -8
  225. data/mkdocs.yml +0 -169
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.0.pre.beta2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.2'
32
+ version: '0.6'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.2'
39
+ version: '0.6'
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: myway_config
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -57,14 +57,14 @@ dependencies:
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.0.2
60
+ version: '1.2'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.0.2
67
+ version: '1.2'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: lumberjack
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -418,150 +418,11 @@ executables:
418
418
  extensions: []
419
419
  extra_rdoc_files: []
420
420
  files:
421
- - ".better-commits.json"
422
- - ".config/tocer/configuration.yml"
423
- - ".envrc"
424
- - ".loki"
425
- - ".reek.yml"
426
- - ".rubocop.yml"
427
- - ".rubocop_strict.yml"
428
421
  - ".version"
429
422
  - CHANGELOG.md
430
- - COMMITS.md
431
- - IMPLEMENTATION_PLAN.md
432
423
  - LICENSE
433
424
  - README.md
434
- - Rakefile
435
- - _typos.toml
436
- - aia.gemspec
437
- - architecture_review.md
438
425
  - bin/aia
439
- - config/aia.yml
440
- - docs/AGENTS.md
441
- - docs/advanced-prompting.md
442
- - docs/assets/images/aia.png
443
- - docs/cli-reference.md
444
- - docs/configuration.md
445
- - docs/contributing.md
446
- - docs/directives-reference.md
447
- - docs/examples/index.md
448
- - docs/examples/mcp/index.md
449
- - docs/examples/prompts/analysis/index.md
450
- - docs/examples/prompts/automation/index.md
451
- - docs/examples/prompts/development/index.md
452
- - docs/examples/prompts/index.md
453
- - docs/examples/prompts/learning/index.md
454
- - docs/examples/prompts/writing/index.md
455
- - docs/examples/tools/index.md
456
- - docs/faq.md
457
- - docs/guides/available-models.md
458
- - docs/guides/basic-usage.md
459
- - docs/guides/chat.md
460
- - docs/guides/crew.md
461
- - docs/guides/executable-prompts.md
462
- - docs/guides/first-prompt.md
463
- - docs/guides/getting-started.md
464
- - docs/guides/image-generation.md
465
- - docs/guides/index.md
466
- - docs/guides/local-models.md
467
- - docs/guides/migrate-prompts.md
468
- - docs/guides/models.md
469
- - docs/guides/shared-tools.md
470
- - docs/guides/tools.md
471
- - docs/index.md
472
- - docs/installation.md
473
- - docs/mcp-integration.md
474
- - docs/prompt_management.md
475
- - docs/security.md
476
- - docs/special_projects_guide.md
477
- - docs/tools-and-mcp-examples.md
478
- - docs/workflows-and-pipelines.md
479
- - examples/.gitignore
480
- - examples/00_setup_aia.sh
481
- - examples/01_basic_usage.sh
482
- - examples/02_frontmatter.sh
483
- - examples/03_shell_integration.sh
484
- - examples/04_erb_templating.sh
485
- - examples/05_shell_then_erb.sh
486
- - examples/06_prompt_chaining.sh
487
- - examples/07_pipeline.sh
488
- - examples/08_context_files.sh
489
- - examples/09_roles.sh
490
- - examples/10_stdin_piping.sh
491
- - examples/11_multi_model.sh
492
- - examples/12_token_usage.sh
493
- - examples/13_cost_tracking.sh
494
- - examples/14_output_file.sh
495
- - examples/15_parameters.sh
496
- - examples/16_directives.sh
497
- - examples/17_require_and_conditionals.sh
498
- - examples/18_tools.sh
499
- - examples/19_local_tools.sh
500
- - examples/20_mcp_servers.sh
501
- - examples/21_executable_prompts.sh
502
- - examples/22_chat_mode.sh
503
- - examples/23_verify.sh
504
- - examples/24_decompose.sh
505
- - examples/25_spawn.sh
506
- - examples/26_debate.sh
507
- - examples/27_mention_routing.sh
508
- - examples/28_model_switching.sh
509
- - examples/29_agent_harness.sh
510
- - examples/README.md
511
- - examples/advanced_multi_robot_capabilities_without_examples.md
512
- - examples/aia_config.yml
513
- - examples/aia_config_orchestrator.yml
514
- - examples/aia_config_with_mcp.yml
515
- - examples/common.sh
516
- - examples/context/project_goals.md
517
- - examples/context/tech_stack.md
518
- - examples/directives/timestamp_directive.rb
519
- - examples/mcp/filesystem.json
520
- - examples/prompts_dir/analyze.md
521
- - examples/prompts_dir/brainstorm.md
522
- - examples/prompts_dir/conditional.md
523
- - examples/prompts_dir/creative.md
524
- - examples/prompts_dir/erbinfo.md
525
- - examples/prompts_dir/erbinfo_raw.md
526
- - examples/prompts_dir/evaluate.md
527
- - examples/prompts_dir/explain_joke.md
528
- - examples/prompts_dir/explain_recursion.md
529
- - examples/prompts_dir/fun_fact
530
- - examples/prompts_dir/greeting.md
531
- - examples/prompts_dir/greeting_required.md
532
- - examples/prompts_dir/hello.md
533
- - examples/prompts_dir/includes/ruby_facts.md
534
- - examples/prompts_dir/limerick.md
535
- - examples/prompts_dir/list_with_mcp.md
536
- - examples/prompts_dir/pick_best.md
537
- - examples/prompts_dir/project_summary
538
- - examples/prompts_dir/quiz_with_include.md
539
- - examples/prompts_dir/require_demo.md
540
- - examples/prompts_dir/roles/formal.md
541
- - examples/prompts_dir/roles/orchestrator.md
542
- - examples/prompts_dir/roles/pirate.md
543
- - examples/prompts_dir/shell_then_erb.md
544
- - examples/prompts_dir/sort_compare.md
545
- - examples/prompts_dir/summarize_context.md
546
- - examples/prompts_dir/sysinfo.md
547
- - examples/prompts_dir/sysinfo_raw.md
548
- - examples/prompts_dir/tagline.md
549
- - examples/prompts_dir/tell_joke.md
550
- - examples/prompts_dir/tell_joke_with_next.md
551
- - examples/prompts_dir/use_local_tool.md
552
- - examples/prompts_dir/use_tools.md
553
- - examples/prompts_dir/weather.md
554
- - examples/prompts_dir/whats_new.md
555
- - examples/prompts_dir/with_timestamp.md
556
- - examples/requirements/sinatra_taskflow_app.md
557
- - examples/rules/01_classify_ruby.rb
558
- - examples/rules/02_prefer_claude_for_code.rb
559
- - examples/rules/03_gate_prompt_length.rb
560
- - examples/rules/04_tool_selection.rb
561
- - examples/rules/README.md
562
- - examples/run_all.sh
563
- - examples/tools/word_count_tool.rb
564
- - lib/AGENTS.md
565
426
  - lib/aia.rb
566
427
  - lib/aia/aia_completion.bash
567
428
  - lib/aia/aia_completion.fish
@@ -573,6 +434,7 @@ files:
573
434
  - lib/aia/config/mcp_parser.rb
574
435
  - lib/aia/config/model_spec.rb
575
436
  - lib/aia/config/validator.rb
437
+ - lib/aia/config/value_caster.rb
576
438
  - lib/aia/content_extractor.rb
577
439
  - lib/aia/cost_calculator.rb
578
440
  - lib/aia/crew.rb
@@ -603,20 +465,25 @@ files:
603
465
  - lib/aia/mcp_server_config.rb
604
466
  - lib/aia/mcp_utility.rb
605
467
  - lib/aia/mention_router.rb
468
+ - lib/aia/modality_query.rb
606
469
  - lib/aia/model_alias_registry.rb
607
- - lib/aia/model_switch_handler.rb
470
+ - lib/aia/model_registry.rb
608
471
  - lib/aia/network_builder.rb
609
472
  - lib/aia/network_memory_manager.rb
610
473
  - lib/aia/patches/ruby_llm_streaming_error.rb
611
474
  - lib/aia/patches/ruby_llm_tool_error.rb
475
+ - lib/aia/patches/ruby_llm_tool_param_compat.rb
612
476
  - lib/aia/pipeline_orchestrator.rb
613
477
  - lib/aia/plugin_loader.rb
614
478
  - lib/aia/plugin_monitor.rb
615
479
  - lib/aia/prompt_decomposer.rb
616
480
  - lib/aia/prompt_handler.rb
481
+ - lib/aia/provider_registry.rb
617
482
  - lib/aia/robot_builder.rb
618
483
  - lib/aia/robot_factory.rb
619
484
  - lib/aia/robot_namer.rb
485
+ - lib/aia/robot_sync.rb
486
+ - lib/aia/role_catalog.rb
620
487
  - lib/aia/session.rb
621
488
  - lib/aia/session_tracker.rb
622
489
  - lib/aia/similarity_scorer.rb
@@ -628,11 +495,13 @@ files:
628
495
  - lib/aia/startup_coordinator.rb
629
496
  - lib/aia/streaming_runner.rb
630
497
  - lib/aia/system_prompt_assembler.rb
498
+ - lib/aia/task_board.rb
631
499
  - lib/aia/task_coordinator.rb
632
500
  - lib/aia/task_decomposer.rb
633
501
  - lib/aia/task_executor.rb
634
502
  - lib/aia/tfidf_math.rb
635
503
  - lib/aia/timing.rb
504
+ - lib/aia/tool_approver.rb
636
505
  - lib/aia/tool_filter.rb
637
506
  - lib/aia/tool_filter/tfidf.rb
638
507
  - lib/aia/tool_filter/wordnet_expander.rb
@@ -652,31 +521,21 @@ files:
652
521
  - lib/aia/variable_input_collector.rb
653
522
  - lib/aia/verification_network.rb
654
523
  - lib/aia/version.rb
655
- - mcp_servers/README.md
656
- - mcp_servers/apple-mcp.json
657
- - mcp_servers/filesystem.json
658
- - mcp_servers/mcp_server_chart.json
659
- - mcp_servers/playwright_one.json
660
- - mcp_servers/playwright_server_definition.json
661
- - mcp_servers/playwright_two.json
662
- - mcp_servers/tavily_mcp_server.json
663
- - mkdocs.yml
664
524
  homepage: https://github.com/MadBomber/aia
665
525
  licenses:
666
526
  - MIT
667
527
  metadata:
668
528
  allowed_push_host: https://rubygems.org
669
- homepage_uri: https://github.com/MadBomber/aia
529
+ documentation_uri: https://madbomber.github.io/aia
670
530
  source_code_uri: https://github.com/MadBomber/aia
671
- changelog_uri: https://github.com/MadBomber/aia
531
+ changelog_uri: https://github.com/MadBomber/aia/blob/main/CHANGELOG.md
672
532
  rubygems_mfa_required: 'true'
673
533
  post_install_message: |2+
674
534
 
675
535
  ╔══════════════════════════════════════════════════════════════╗
676
536
  ║ AIA — AI Assistant v2.0 ║
677
537
  ║ ║
678
- ║ v2 is powered by robot_lab for robust orchestration ║
679
- ║ Full CLI backward compatibility with v1 ║
538
+ ║ v2 is powered by robot_lab for robust orchestration ║
680
539
  ╚══════════════════════════════════════════════════════════════╝
681
540
 
682
541
  Get started: aia --help
@@ -689,14 +548,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
689
548
  requirements:
690
549
  - - ">="
691
550
  - !ruby/object:Gem::Version
692
- version: 4.0.0
551
+ version: 4.0.9
693
552
  required_rubygems_version: !ruby/object:Gem::Requirement
694
553
  requirements:
695
554
  - - ">="
696
555
  - !ruby/object:Gem::Version
697
556
  version: '0'
698
557
  requirements: []
699
- rubygems_version: 4.0.20
558
+ rubygems_version: 4.0.23
700
559
  specification_version: 4
701
560
  summary: Multi-model AI CLI with dynamic prompts, consensus responses, shell & Ruby
702
561
  integration, and seamless chat workflows.
data/.better-commits.json DELETED
@@ -1,150 +0,0 @@
1
- {
2
- "check_status": true,
3
- "commit_type": {
4
- "enable": true,
5
- "initial_value": "feat",
6
- "infer_type_from_branch": true,
7
- "append_emoji_to_label": false,
8
- "append_emoji_to_commit": false,
9
- "options": [
10
- {
11
- "value": "feat",
12
- "label": "feat",
13
- "hint": "A new feature",
14
- "emoji": "✨"
15
- },
16
- {
17
- "value": "fix",
18
- "label": "fix",
19
- "hint": "A bug fix",
20
- "emoji": "🐛"
21
- },
22
- {
23
- "value": "docs",
24
- "label": "docs",
25
- "hint": "Documentation only changes",
26
- "emoji": "📚"
27
- },
28
- {
29
- "value": "refactor",
30
- "label": "refactor",
31
- "hint": "A code change that neither fixes a bug nor adds a feature",
32
- "emoji": "🔨"
33
- },
34
- {
35
- "value": "perf",
36
- "label": "perf",
37
- "hint": "A code change that improves performance",
38
- "emoji": "🚀"
39
- },
40
- {
41
- "value": "test",
42
- "label": "test",
43
- "hint": "Adding missing tests or correcting existing tests",
44
- "emoji": "🚨"
45
- },
46
- {
47
- "value": "build",
48
- "label": "build",
49
- "hint": "Changes that affect the build system or external dependencies",
50
- "emoji": "🚧"
51
- },
52
- {
53
- "value": "ci",
54
- "label": "ci",
55
- "hint": "Changes to our CI configuration files and scripts",
56
- "emoji": "🤖"
57
- },
58
- {
59
- "value": "chore",
60
- "label": "chore",
61
- "hint": "Other changes that do not modify src or test files",
62
- "emoji": "🧹"
63
- },
64
- {
65
- "value": "",
66
- "label": "none"
67
- }
68
- ]
69
- },
70
- "commit_scope": {
71
- "enable": true,
72
- "custom_scope": false,
73
- "initial_value": "app",
74
- "options": [
75
- {
76
- "value": "app",
77
- "label": "app"
78
- },
79
- {
80
- "value": "shared",
81
- "label": "shared"
82
- },
83
- {
84
- "value": "server",
85
- "label": "server"
86
- },
87
- {
88
- "value": "tools",
89
- "label": "tools"
90
- },
91
- {
92
- "value": "",
93
- "label": "none"
94
- }
95
- ]
96
- },
97
- "check_ticket": {
98
- "infer_ticket": true,
99
- "confirm_ticket": true,
100
- "add_to_title": true,
101
- "append_hashtag": false,
102
- "title_position": "start"
103
- },
104
- "commit_title": {
105
- "max_size": 70
106
- },
107
- "commit_body": {
108
- "enable": true,
109
- "required": false
110
- },
111
- "commit_footer": {
112
- "enable": true,
113
- "initial_value": [],
114
- "options": [
115
- "closes",
116
- "breaking-change",
117
- "deprecated",
118
- "custom"
119
- ]
120
- },
121
- "breaking_change": {
122
- "add_exclamation_to_title": true
123
- },
124
- "confirm_commit": true,
125
- "print_commit_output": true,
126
- "branch_pre_commands": [],
127
- "branch_post_commands": [],
128
- "worktree_pre_commands": [],
129
- "worktree_post_commands": [],
130
- "branch_user": {
131
- "enable": true,
132
- "required": false,
133
- "separator": "/"
134
- },
135
- "branch_type": {
136
- "enable": true,
137
- "separator": "/"
138
- },
139
- "branch_ticket": {
140
- "enable": true,
141
- "required": false,
142
- "separator": "_"
143
- },
144
- "branch_description": {
145
- "max_length": 70
146
- },
147
- "branch_action_default": "branch",
148
- "enable_worktrees": true,
149
- "overrides": {}
150
- }
@@ -1,6 +0,0 @@
1
- label: "## Table of Contents"
2
- patterns:
3
- - "README.md"
4
- - docs/*.md
5
- - docs/draft_articles/*.md
6
- root_dir: "."
data/.envrc DELETED
@@ -1,19 +0,0 @@
1
- # robot_lab_project/aia/.envrc
2
-
3
- source_up
4
-
5
- export RR=$(pwd)
6
-
7
- export AIA_PLUGINS_DIR=$RR/plugins
8
-
9
- # PATH_add $RR/bin
10
-
11
- # see aia --help for --model option
12
- # The format of a "model" is [provider/]model_name[=roll_id]
13
- # where provider and roll_id are optional
14
- # Use a comma to seperate the models in a multi-model setup
15
- #
16
- # export AIA_MODEL=claude-haiku-4-5,gpt-4o-mini
17
- export AIA_MODEL=lms/qwen3.8
18
-
19
- export BUNDLE_GEMFILE=Gemfile
data/.loki DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
- # aia/.loki — asgard task runner for the aia gem
3
-
4
- import_up "repo_dev.loki"
5
-
6
- class Tasks
7
- @@gem_name ||= "aia".freeze
8
-
9
- header "aia — AI Assistant CLI gem"
10
- footer "Run `asgard help TASK` for details on any task"
11
- end
data/.reek.yml DELETED
@@ -1,160 +0,0 @@
1
- ---
2
- detectors:
3
-
4
- # Disabled: conflicts with project no-comment coding style.
5
- IrresponsibleModule:
6
- enabled: false
7
-
8
- # Disabled: private helpers that don't reference self are fine where they are.
9
- UtilityFunction:
10
- enabled: false
11
-
12
- # Disabled: respond_to? duck-typing is intentional in this codebase.
13
- ManualDispatch:
14
- enabled: false
15
-
16
- # Disabled: attr_accessor is standard Ruby; public attributes are a design choice.
17
- Attribute:
18
- enabled: false
19
-
20
- # Disabled: bang methods without non-bang counterparts are common in internal APIs.
21
- MissingSafeMethod:
22
- enabled: false
23
-
24
- # Disabled: explicit nil checks are idiomatic Ruby (nil? / unless nil, etc.).
25
- NilCheck:
26
- enabled: false
27
-
28
- # Disabled: handler/directive protocol methods must accept the full interface
29
- # signature even when individual implementations don't use every parameter.
30
- UnusedParameters:
31
- enabled: false
32
-
33
- # Disabled: same trade-off as UtilityFunction above — private formatting and
34
- # extraction helpers deliberately operate on a passed-in value (result, tool,
35
- # robot_result, raw metrics hash) next to their single caller; most of those
36
- # values are Hashes or third-party objects we can't (and shouldn't) add
37
- # methods to.
38
- FeatureEnvy:
39
- enabled: false
40
-
41
- # Disabled: the detector fires on the codebase's configuration-cascade style —
42
- # `arg || default` dependency-injection fallbacks in constructors and CLI
43
- # override-precedence checks (e.g. LoggerManager#effective_log_file). Those
44
- # conditionals ARE the method's purpose, not hidden polymorphism.
45
- ControlParameter:
46
- enabled: false
47
-
48
- # Disabled: guard-clause style (see disabled IfUnlessModifier in rubocop) —
49
- # cheap predicates like `available?`, `tracking`, `show_cost` guard each
50
- # public method independently. Extracting a null-object/state machine for a
51
- # CLI would be over-engineering; every flagged condition was a guard.
52
- RepeatedConditional:
53
- enabled: false
54
-
55
- # Disabled: the detector doesn't follow initialize's delegation to reset
56
- # helpers (Session#initialize_components, TurnState#clear!,
57
- # ContextDirectives#reset!, Fzf#build_command) and flags `||=` memoization
58
- # and class-level singleton caches. All 21 flagged ivars were audited
59
- # (2026-09): every one is assigned before first read; zero nil-read risks.
60
- InstanceVariableAssumption:
61
- enabled: false
62
-
63
- # 2-deep iteration (rendering a collection of collections, grouped output)
64
- # is idiomatic Ruby; 30 of the 31 flagged sites were simple 2-deep
65
- # each/map display or grouping loops.
66
- NestedIterators:
67
- max_allowed_nesting: 2
68
-
69
- # Default is 1 — fires whenever a method is called even twice. Raise to 2.
70
- DuplicateMethodCall:
71
- max_calls: 2
72
-
73
- # Default is 5; was 8. Raised to 12 with data (2026-09): 84 of the 166
74
- # flagged methods sat at 9-12 statements — linear OptionParser registrations
75
- # (CLIParser#setup_*), sequential display/formatting output, and step-wise
76
- # orchestration with no added branching. Real complexity stays bounded by
77
- # flog (warn >=20 / fail >=50) and rubocop Metrics (MethodLength 35, AbcSize
78
- # 40). Methods above 12 are fixed or justified per site, not by threshold.
79
- TooManyStatements:
80
- max_statements: 12
81
-
82
- # Default is 3 — extreme for this codebase.
83
- LongParameterList:
84
- max_params: 5
85
- overrides:
86
- initialize:
87
- max_params: 7
88
-
89
- # Default is 15; several AIA coordinator/handler classes legitimately exceed this.
90
- TooManyMethods:
91
- max_methods: 20
92
-
93
- # Default is 4 — far too low for config and session classes with many fields.
94
- TooManyInstanceVariables:
95
- max_instance_variables: 8
96
-
97
- # Default is 5; some modules carry more constants by design.
98
- TooManyConstants:
99
- max_constants: 8
100
-
101
- # Raise min_clump_size so only truly repeated parameter groups are flagged.
102
- DataClump:
103
- max_copies: 2
104
- min_clump_size: 3
105
-
106
- # Accept standard Ruby short-name conventions for limited-scope variables.
107
- UncommunicativeVariableName:
108
- accept:
109
- - _ # intentionally ignored
110
- - a # array / argument
111
- - b # body / block
112
- - c # char / count / config
113
- - d # data / dir
114
- - e # rescue => e
115
- - f # file / format / flag
116
- - h # hash
117
- - i # index
118
- - k # key
119
- - l # line / list
120
- - m # match / message
121
- - n # number / name
122
- - p # path / param
123
- - q # query
124
- - r # result / response
125
- - s # string / source
126
- - t # time / token / type
127
- - v # value
128
- - w # word / width
129
-
130
- UncommunicativeParameterName:
131
- accept:
132
- - a # vector math pairs (cosine_similarity(a, b))
133
- - e
134
- - i
135
- - f
136
- - k
137
- - v
138
- - t
139
- - r
140
- - s
141
- - m
142
- - n
143
- - q
144
- - b
145
-
146
- directories:
147
- # plugins/ — standalone LLM tool wrappers; execute() keyword arg lists map
148
- # directly to LLM-visible parameters and are intentionally wide.
149
- "plugins":
150
- LongParameterList:
151
- max_params: 20
152
- TooManyMethods:
153
- max_methods: 25
154
-
155
- exclude_paths:
156
- - test
157
- - examples
158
- - docs
159
- - coverage
160
- - pkg