rubino-agent 0.3.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.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +115 -0
- data/.rubocop_todo.yml +955 -0
- data/.ruby-version +1 -0
- data/AGENTS.md +97 -0
- data/CHANGELOG.md +344 -0
- data/CONTRIBUTING.md +69 -0
- data/LICENSE +21 -0
- data/README.md +200 -0
- data/Rakefile +8 -0
- data/docs/agents.md +190 -0
- data/docs/api/v1.md +414 -0
- data/docs/architecture.md +177 -0
- data/docs/commands.md +375 -0
- data/docs/configuration.md +590 -0
- data/docs/getting-started.md +143 -0
- data/docs/jobs.md +332 -0
- data/docs/mcp.md +128 -0
- data/docs/memory.md +98 -0
- data/docs/models-and-keys.md +173 -0
- data/docs/oauth-providers.md +145 -0
- data/docs/plugins.md +195 -0
- data/docs/security.md +145 -0
- data/docs/skills.md +322 -0
- data/docs/tools.md +395 -0
- data/docs/troubleshooting.md +73 -0
- data/exe/rubino +9 -0
- data/install.sh +275 -0
- data/lib/rubino/active_skill.rb +50 -0
- data/lib/rubino/agent/agent_registry.rb +120 -0
- data/lib/rubino/agent/backoff_policy.rb +116 -0
- data/lib/rubino/agent/definition.rb +128 -0
- data/lib/rubino/agent/degenerate_recovery.rb +271 -0
- data/lib/rubino/agent/fallback_chain.rb +194 -0
- data/lib/rubino/agent/iteration_budget.rb +50 -0
- data/lib/rubino/agent/loop.rb +617 -0
- data/lib/rubino/agent/model_call_runner.rb +383 -0
- data/lib/rubino/agent/prompts/build.txt +69 -0
- data/lib/rubino/agent/prompts/compaction.txt +20 -0
- data/lib/rubino/agent/prompts/explore.txt +19 -0
- data/lib/rubino/agent/prompts/general.txt +20 -0
- data/lib/rubino/agent/prompts/plan.txt +31 -0
- data/lib/rubino/agent/response_validator.rb +70 -0
- data/lib/rubino/agent/router.rb +65 -0
- data/lib/rubino/agent/runner.rb +195 -0
- data/lib/rubino/agent/tool_executor.rb +402 -0
- data/lib/rubino/agent/truncation_continuation.rb +137 -0
- data/lib/rubino/api/middleware/auth.rb +43 -0
- data/lib/rubino/api/middleware/error_handler.rb +65 -0
- data/lib/rubino/api/middleware/json_parser.rb +100 -0
- data/lib/rubino/api/middleware/observability.rb +59 -0
- data/lib/rubino/api/middleware/rate_limit.rb +136 -0
- data/lib/rubino/api/operations/approvals/decide_operation.rb +49 -0
- data/lib/rubino/api/operations/clarifications/decide_operation.rb +44 -0
- data/lib/rubino/api/operations/cron_jobs/create_operation.rb +46 -0
- data/lib/rubino/api/operations/cron_jobs/delete_operation.rb +36 -0
- data/lib/rubino/api/operations/cron_jobs/list_operation.rb +55 -0
- data/lib/rubino/api/operations/cron_jobs/pause_operation.rb +34 -0
- data/lib/rubino/api/operations/cron_jobs/resume_operation.rb +34 -0
- data/lib/rubino/api/operations/cron_jobs/schedule_validation.rb +30 -0
- data/lib/rubino/api/operations/cron_jobs/show_operation.rb +32 -0
- data/lib/rubino/api/operations/cron_jobs/trigger_operation.rb +38 -0
- data/lib/rubino/api/operations/cron_jobs/update_operation.rb +42 -0
- data/lib/rubino/api/operations/files/read_operation.rb +40 -0
- data/lib/rubino/api/operations/files/upload_operation.rb +175 -0
- data/lib/rubino/api/operations/health_operation.rb +46 -0
- data/lib/rubino/api/operations/memory/delete_operation.rb +32 -0
- data/lib/rubino/api/operations/memory/index_operation.rb +80 -0
- data/lib/rubino/api/operations/memory/stats_operation.rb +28 -0
- data/lib/rubino/api/operations/metrics_operation.rb +18 -0
- data/lib/rubino/api/operations/mode/show_operation.rb +29 -0
- data/lib/rubino/api/operations/mode/update_operation.rb +42 -0
- data/lib/rubino/api/operations/models/list_operation.rb +45 -0
- data/lib/rubino/api/operations/oauth/connections/disconnect_operation.rb +77 -0
- data/lib/rubino/api/operations/oauth/connections/list_operation.rb +36 -0
- data/lib/rubino/api/operations/oauth/providers/callback_operation.rb +82 -0
- data/lib/rubino/api/operations/oauth/providers/connect_operation.rb +44 -0
- data/lib/rubino/api/operations/oauth/providers/list_operation.rb +35 -0
- data/lib/rubino/api/operations/oauth/serializer.rb +21 -0
- data/lib/rubino/api/operations/runs/create_operation.rb +77 -0
- data/lib/rubino/api/operations/runs/events_operation.rb +195 -0
- data/lib/rubino/api/operations/runs/stop_operation.rb +34 -0
- data/lib/rubino/api/operations/sessions/create_operation.rb +46 -0
- data/lib/rubino/api/operations/sessions/delete_operation.rb +33 -0
- data/lib/rubino/api/operations/sessions/index_operation.rb +82 -0
- data/lib/rubino/api/operations/sessions/retry_operation.rb +45 -0
- data/lib/rubino/api/operations/sessions/show_operation.rb +59 -0
- data/lib/rubino/api/operations/sessions/undo_operation.rb +38 -0
- data/lib/rubino/api/operations/skills/list_operation.rb +34 -0
- data/lib/rubino/api/operations/skills/toggle_operation.rb +40 -0
- data/lib/rubino/api/operations/tasks/index_operation.rb +30 -0
- data/lib/rubino/api/operations/tasks/serializer.rb +60 -0
- data/lib/rubino/api/operations/tasks/show_operation.rb +33 -0
- data/lib/rubino/api/operations/tasks/stop_operation.rb +47 -0
- data/lib/rubino/api/request.rb +54 -0
- data/lib/rubino/api/responses.rb +64 -0
- data/lib/rubino/api/router.rb +72 -0
- data/lib/rubino/api/schemas.rb +103 -0
- data/lib/rubino/api/server.rb +102 -0
- data/lib/rubino/api/tls.rb +108 -0
- data/lib/rubino/attachments/classification.rb +16 -0
- data/lib/rubino/attachments/classify.rb +171 -0
- data/lib/rubino/attachments/defang.rb +47 -0
- data/lib/rubino/attachments/policy.rb +36 -0
- data/lib/rubino/attachments/preamble.rb +120 -0
- data/lib/rubino/boot/encryption_key.rb +32 -0
- data/lib/rubino/cli/chat/bang_shell.rb +257 -0
- data/lib/rubino/cli/chat/completion_builder.rb +290 -0
- data/lib/rubino/cli/chat/idle_card_host.rb +69 -0
- data/lib/rubino/cli/chat/image_inbox.rb +168 -0
- data/lib/rubino/cli/chat/session_resolver.rb +176 -0
- data/lib/rubino/cli/chat_command.rb +1674 -0
- data/lib/rubino/cli/commands.rb +250 -0
- data/lib/rubino/cli/config_command.rb +96 -0
- data/lib/rubino/cli/doctor_command.rb +251 -0
- data/lib/rubino/cli/jobs_command.rb +60 -0
- data/lib/rubino/cli/memory_command.rb +135 -0
- data/lib/rubino/cli/onboarding_wizard.rb +207 -0
- data/lib/rubino/cli/server_command.rb +139 -0
- data/lib/rubino/cli/session_command.rb +125 -0
- data/lib/rubino/cli/setup_command.rb +107 -0
- data/lib/rubino/cli/skills_command.rb +85 -0
- data/lib/rubino/cli/tools_command.rb +81 -0
- data/lib/rubino/cli/trust_gate.rb +71 -0
- data/lib/rubino/commands/built_ins.rb +46 -0
- data/lib/rubino/commands/command.rb +116 -0
- data/lib/rubino/commands/executor.rb +550 -0
- data/lib/rubino/commands/handlers/agents.rb +510 -0
- data/lib/rubino/commands/handlers/config.rb +88 -0
- data/lib/rubino/commands/handlers/help.rb +148 -0
- data/lib/rubino/commands/handlers/jobs.rb +71 -0
- data/lib/rubino/commands/handlers/mcp.rb +229 -0
- data/lib/rubino/commands/handlers/memory.rb +200 -0
- data/lib/rubino/commands/handlers/sessions.rb +207 -0
- data/lib/rubino/commands/handlers/skills.rb +195 -0
- data/lib/rubino/commands/handlers/status.rb +211 -0
- data/lib/rubino/commands/loader.rb +90 -0
- data/lib/rubino/config/configuration.rb +455 -0
- data/lib/rubino/config/defaults.rb +569 -0
- data/lib/rubino/config/loader.rb +115 -0
- data/lib/rubino/config/reasoning_prefs.rb +67 -0
- data/lib/rubino/config/writer.rb +72 -0
- data/lib/rubino/context/compressor.rb +149 -0
- data/lib/rubino/context/environment_inspector.rb +176 -0
- data/lib/rubino/context/file_discovery.rb +45 -0
- data/lib/rubino/context/message_boundary.rb +39 -0
- data/lib/rubino/context/prompt_assembler.rb +382 -0
- data/lib/rubino/context/summary_builder.rb +159 -0
- data/lib/rubino/context/token_budget.rb +68 -0
- data/lib/rubino/context/tool_pair_sanitizer.rb +70 -0
- data/lib/rubino/database/connection.rb +77 -0
- data/lib/rubino/database/migrations/001_create_initial_schema.rb +156 -0
- data/lib/rubino/database/migrations/002_create_runs.rb +45 -0
- data/lib/rubino/database/migrations/003_create_skill_states.rb +15 -0
- data/lib/rubino/database/migrations/004_create_cron_jobs.rb +36 -0
- data/lib/rubino/database/migrations/005_create_oauth_connections.rb +27 -0
- data/lib/rubino/database/migrations/006_create_webhook_deliveries.rb +34 -0
- data/lib/rubino/database/migrations/007_create_messages_fts.rb +59 -0
- data/lib/rubino/database/migrations/008_create_memory_facts.rb +75 -0
- data/lib/rubino/database/migrations/009_create_memory_graph.rb +55 -0
- data/lib/rubino/database/migrations/010_add_owner_pid_to_sessions.rb +20 -0
- data/lib/rubino/database/migrator.rb +48 -0
- data/lib/rubino/documents/converters/csv.rb +79 -0
- data/lib/rubino/documents/converters/docx.rb +129 -0
- data/lib/rubino/documents/converters/html.rb +28 -0
- data/lib/rubino/documents/converters/json.rb +35 -0
- data/lib/rubino/documents/converters/pdf.rb +59 -0
- data/lib/rubino/documents/converters/plain.rb +68 -0
- data/lib/rubino/documents/converters/pptx.rb +64 -0
- data/lib/rubino/documents/converters/xlsx.rb +62 -0
- data/lib/rubino/documents/converters/xml.rb +45 -0
- data/lib/rubino/documents/html.rb +71 -0
- data/lib/rubino/documents/registry.rb +68 -0
- data/lib/rubino/documents/table.rb +63 -0
- data/lib/rubino/documents.rb +50 -0
- data/lib/rubino/errors.rb +119 -0
- data/lib/rubino/files/workspace.rb +93 -0
- data/lib/rubino/interaction/cancel_token.rb +43 -0
- data/lib/rubino/interaction/clipboard_image.rb +84 -0
- data/lib/rubino/interaction/event_bus.rb +48 -0
- data/lib/rubino/interaction/events.rb +101 -0
- data/lib/rubino/interaction/image_input.rb +127 -0
- data/lib/rubino/interaction/input_queue.rb +117 -0
- data/lib/rubino/interaction/lifecycle.rb +299 -0
- data/lib/rubino/interaction/probe.rb +65 -0
- data/lib/rubino/interaction/state.rb +56 -0
- data/lib/rubino/jobs/cron_job_repository.rb +75 -0
- data/lib/rubino/jobs/handlers/cleanup_sessions_job.rb +32 -0
- data/lib/rubino/jobs/handlers/compact_session_job.rb +21 -0
- data/lib/rubino/jobs/handlers/distill_skill_job.rb +186 -0
- data/lib/rubino/jobs/handlers/extract_memory_job.rb +37 -0
- data/lib/rubino/jobs/handlers/summarize_session_job.rb +21 -0
- data/lib/rubino/jobs/queue.rb +184 -0
- data/lib/rubino/jobs/registry.rb +45 -0
- data/lib/rubino/jobs/runner.rb +79 -0
- data/lib/rubino/jobs/scheduler.rb +138 -0
- data/lib/rubino/jobs/webhook_delivery.rb +225 -0
- data/lib/rubino/jobs/worker.rb +59 -0
- data/lib/rubino/llm/adapter_factory.rb +47 -0
- data/lib/rubino/llm/adapter_response.rb +65 -0
- data/lib/rubino/llm/auxiliary_client.rb +61 -0
- data/lib/rubino/llm/bedrock_bearer_client.rb +235 -0
- data/lib/rubino/llm/content_builder.rb +55 -0
- data/lib/rubino/llm/credential_check.rb +93 -0
- data/lib/rubino/llm/error_classifier.rb +364 -0
- data/lib/rubino/llm/fake_provider.rb +292 -0
- data/lib/rubino/llm/inline_think_filter.rb +58 -0
- data/lib/rubino/llm/model_catalog.rb +29 -0
- data/lib/rubino/llm/provider_resolver.rb +48 -0
- data/lib/rubino/llm/reasoning_manager.rb +100 -0
- data/lib/rubino/llm/request.rb +56 -0
- data/lib/rubino/llm/ruby_llm_adapter.rb +794 -0
- data/lib/rubino/llm/scenario_loader.rb +68 -0
- data/lib/rubino/llm/scenario_selector.rb +80 -0
- data/lib/rubino/llm/scenarios/agent-creates-cron-failure.yml +29 -0
- data/lib/rubino/llm/scenarios/agent-creates-cron.yml +36 -0
- data/lib/rubino/llm/scenarios/analysis.yml +501 -0
- data/lib/rubino/llm/scenarios/complex-analysis.yml +598 -0
- data/lib/rubino/llm/scenarios/failure.yml +65 -0
- data/lib/rubino/llm/scenarios/happy-path.yml +24 -0
- data/lib/rubino/llm/scenarios/provider-quota-completed.yml +14 -0
- data/lib/rubino/llm/scenarios/wide-table.yml +121 -0
- data/lib/rubino/llm/scenarios/with-approvals.yml +50 -0
- data/lib/rubino/llm/scenarios/with-artifacts.yml +98 -0
- data/lib/rubino/llm/scenarios/with-clarify.yml +32 -0
- data/lib/rubino/llm/scenarios/with-reasoning.yml +175 -0
- data/lib/rubino/llm/scenarios/with-uploads.yml +104 -0
- data/lib/rubino/llm/thinking_support.rb +84 -0
- data/lib/rubino/llm/tool_bridge.rb +89 -0
- data/lib/rubino/logger.rb +99 -0
- data/lib/rubino/mcp/manager.rb +180 -0
- data/lib/rubino/mcp/mcp_tool_wrapper.rb +69 -0
- data/lib/rubino/mcp.rb +57 -0
- data/lib/rubino/memory/backend.rb +104 -0
- data/lib/rubino/memory/backends/default.rb +101 -0
- data/lib/rubino/memory/backends/sqlite.rb +653 -0
- data/lib/rubino/memory/backends.rb +53 -0
- data/lib/rubino/memory/deduplicator.rb +74 -0
- data/lib/rubino/memory/extractor.rb +85 -0
- data/lib/rubino/memory/flusher.rb +31 -0
- data/lib/rubino/memory/retriever.rb +50 -0
- data/lib/rubino/memory/sqlite_extraction_prompt.rb +70 -0
- data/lib/rubino/memory/sqlite_graph.rb +154 -0
- data/lib/rubino/memory/store.rb +228 -0
- data/lib/rubino/memory/threat_scanner.rb +68 -0
- data/lib/rubino/metrics.rb +175 -0
- data/lib/rubino/modes.rb +93 -0
- data/lib/rubino/oauth/connection_repository.rb +95 -0
- data/lib/rubino/oauth/provider/github.rb +75 -0
- data/lib/rubino/oauth/provider/google.rb +59 -0
- data/lib/rubino/oauth/provider.rb +149 -0
- data/lib/rubino/oauth/registry.rb +86 -0
- data/lib/rubino/oauth/token_encryptor.rb +87 -0
- data/lib/rubino/plugins/registry.rb +75 -0
- data/lib/rubino/plugins.rb +86 -0
- data/lib/rubino/run/approval_gate.rb +243 -0
- data/lib/rubino/run/attachment_downloader.rb +166 -0
- data/lib/rubino/run/event_store.rb +74 -0
- data/lib/rubino/run/executor.rb +383 -0
- data/lib/rubino/run/gate_registry.rb +39 -0
- data/lib/rubino/run/recorder.rb +69 -0
- data/lib/rubino/run/repository.rb +118 -0
- data/lib/rubino/run/session_approval_cache.rb +118 -0
- data/lib/rubino/security/allowlist_persister.rb +55 -0
- data/lib/rubino/security/approval_policy.rb +227 -0
- data/lib/rubino/security/command_allowlist.rb +24 -0
- data/lib/rubino/security/dangerous_patterns.rb +118 -0
- data/lib/rubino/security/deny_persister.rb +73 -0
- data/lib/rubino/security/doom_loop_detector.rb +43 -0
- data/lib/rubino/security/hardline_guard.rb +105 -0
- data/lib/rubino/security/pattern_matcher.rb +62 -0
- data/lib/rubino/security/prefix_deriver.rb +124 -0
- data/lib/rubino/security/readonly_commands.rb +211 -0
- data/lib/rubino/session/exporter.rb +101 -0
- data/lib/rubino/session/message.rb +77 -0
- data/lib/rubino/session/repository.rb +295 -0
- data/lib/rubino/session/store.rb +198 -0
- data/lib/rubino/session/summary_store.rb +65 -0
- data/lib/rubino/skills/prompt_index.rb +85 -0
- data/lib/rubino/skills/registry.rb +208 -0
- data/lib/rubino/skills/skill.rb +176 -0
- data/lib/rubino/skills/skill_tool.rb +215 -0
- data/lib/rubino/skills/state_repository.rb +37 -0
- data/lib/rubino/skills/toggle.rb +26 -0
- data/lib/rubino/tools/answer_child_tool.rb +83 -0
- data/lib/rubino/tools/ask_parent_tool.rb +232 -0
- data/lib/rubino/tools/attach_file_tool.rb +120 -0
- data/lib/rubino/tools/background_tasks.rb +520 -0
- data/lib/rubino/tools/base.rb +222 -0
- data/lib/rubino/tools/custom_tool_loader.rb +119 -0
- data/lib/rubino/tools/edit_tool.rb +122 -0
- data/lib/rubino/tools/git_tool.rb +71 -0
- data/lib/rubino/tools/github_tool.rb +233 -0
- data/lib/rubino/tools/glob_tool.rb +69 -0
- data/lib/rubino/tools/grep_tool.rb +206 -0
- data/lib/rubino/tools/memory_tool.rb +184 -0
- data/lib/rubino/tools/multi_edit_tool.rb +110 -0
- data/lib/rubino/tools/patch_tool.rb +260 -0
- data/lib/rubino/tools/probe_tool.rb +175 -0
- data/lib/rubino/tools/question_tool.rb +128 -0
- data/lib/rubino/tools/read_attachment_tool.rb +180 -0
- data/lib/rubino/tools/read_tool.rb +212 -0
- data/lib/rubino/tools/read_tracker.rb +98 -0
- data/lib/rubino/tools/registry.rb +166 -0
- data/lib/rubino/tools/result.rb +113 -0
- data/lib/rubino/tools/ruby_tool.rb +0 -0
- data/lib/rubino/tools/session_search_tool.rb +103 -0
- data/lib/rubino/tools/shell_input_tool.rb +96 -0
- data/lib/rubino/tools/shell_kill_tool.rb +76 -0
- data/lib/rubino/tools/shell_output_tool.rb +72 -0
- data/lib/rubino/tools/shell_registry.rb +158 -0
- data/lib/rubino/tools/shell_tail_tool.rb +118 -0
- data/lib/rubino/tools/shell_tool.rb +330 -0
- data/lib/rubino/tools/steer_tool.rb +118 -0
- data/lib/rubino/tools/subagent_probe.rb +89 -0
- data/lib/rubino/tools/summarize_file_tool.rb +182 -0
- data/lib/rubino/tools/task_result_tool.rb +90 -0
- data/lib/rubino/tools/task_stop_tool.rb +80 -0
- data/lib/rubino/tools/task_tool.rb +622 -0
- data/lib/rubino/tools/test_tool.rb +454 -0
- data/lib/rubino/tools/todo_tool.rb +93 -0
- data/lib/rubino/tools/tool_call_repository.rb +33 -0
- data/lib/rubino/tools/vision_tool.rb +85 -0
- data/lib/rubino/tools/webfetch_tool.rb +153 -0
- data/lib/rubino/tools/websearch_tool.rb +179 -0
- data/lib/rubino/tools/write_tool.rb +61 -0
- data/lib/rubino/trust.rb +88 -0
- data/lib/rubino/ui/api.rb +296 -0
- data/lib/rubino/ui/base.rb +252 -0
- data/lib/rubino/ui/bottom_composer.rb +1599 -0
- data/lib/rubino/ui/cli.rb +1987 -0
- data/lib/rubino/ui/completion_menu.rb +321 -0
- data/lib/rubino/ui/completion_source.rb +284 -0
- data/lib/rubino/ui/escape_reader.rb +169 -0
- data/lib/rubino/ui/indented_io.rb +88 -0
- data/lib/rubino/ui/input_history.rb +108 -0
- data/lib/rubino/ui/live_region.rb +183 -0
- data/lib/rubino/ui/markdown_renderer.rb +506 -0
- data/lib/rubino/ui/notifier.rb +163 -0
- data/lib/rubino/ui/null.rb +195 -0
- data/lib/rubino/ui/paste_store.rb +176 -0
- data/lib/rubino/ui/printer_base.rb +79 -0
- data/lib/rubino/ui/probe_wait_indicator.rb +75 -0
- data/lib/rubino/ui/queued_indicators.rb +66 -0
- data/lib/rubino/ui/status_bar.rb +100 -0
- data/lib/rubino/ui/stdout_proxy.rb +161 -0
- data/lib/rubino/ui/streaming_markdown.rb +186 -0
- data/lib/rubino/ui/subagent_cards.rb +134 -0
- data/lib/rubino/ui/subagent_view.rb +255 -0
- data/lib/rubino/ui.rb +21 -0
- data/lib/rubino/update_check.rb +187 -0
- data/lib/rubino/util/duration.rb +23 -0
- data/lib/rubino/util/hyperlink.rb +105 -0
- data/lib/rubino/util/output.rb +145 -0
- data/lib/rubino/util/secrets_mask.rb +83 -0
- data/lib/rubino/version.rb +5 -0
- data/lib/rubino/workspace.rb +85 -0
- data/lib/rubino-agent.rb +5 -0
- data/lib/rubino.rb +318 -0
- data/mise.toml +2 -0
- data/rubino-agent.gemspec +103 -0
- data/skills/ruby-expert/SKILL.md +67 -0
- data/skills/ruby-expert/references/concurrency.md +357 -0
- data/skills/ruby-expert/references/datetime-and-encoding.md +363 -0
- data/skills/ruby-expert/references/errors-and-types.md +460 -0
- data/skills/ruby-expert/references/gem-authoring.md +459 -0
- data/skills/ruby-expert/references/language-idioms.md +465 -0
- data/skills/ruby-expert/references/metaprogramming.md +339 -0
- data/skills/ruby-expert/references/oo-design.md +553 -0
- data/skills/ruby-expert/references/performance.md +383 -0
- data/skills/ruby-expert/references/rails.md +424 -0
- data/skills/ruby-expert/references/security.md +404 -0
- data/skills/ruby-expert/references/testing.md +473 -0
- data/skills/ruby-expert/references/tooling.md +466 -0
- metadata +856 -0
data/.rubocop_todo.yml
ADDED
|
@@ -0,0 +1,955 @@
|
|
|
1
|
+
# This configuration was generated by
|
|
2
|
+
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 1000`
|
|
3
|
+
# on 2026-06-09 22:43:29 UTC using RuboCop version 1.87.0.
|
|
4
|
+
# The point is for the user to remove these configuration records
|
|
5
|
+
# one by one as the offenses are removed from the code base.
|
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
+
|
|
9
|
+
# Offense count: 4
|
|
10
|
+
# Configuration parameters: EnforcedStyle, AllowedGems.
|
|
11
|
+
# SupportedStyles: Gemfile, gems.rb, gemspec
|
|
12
|
+
Gemspec/DevelopmentDependencies:
|
|
13
|
+
Exclude:
|
|
14
|
+
- 'rubino-agent.gemspec'
|
|
15
|
+
|
|
16
|
+
# Offense count: 1
|
|
17
|
+
Gemspec/RequiredRubyVersion:
|
|
18
|
+
Exclude:
|
|
19
|
+
- 'rubino-agent.gemspec'
|
|
20
|
+
|
|
21
|
+
# Offense count: 28
|
|
22
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
23
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
24
|
+
# URISchemes: http, https
|
|
25
|
+
Layout/LineLength:
|
|
26
|
+
Exclude:
|
|
27
|
+
- 'lib/rubino/agent/agent_registry.rb'
|
|
28
|
+
- 'lib/rubino/boot/encryption_key.rb'
|
|
29
|
+
- 'lib/rubino/cli/commands.rb'
|
|
30
|
+
- 'lib/rubino/cli/doctor_command.rb'
|
|
31
|
+
- 'lib/rubino/cli/server_command.rb'
|
|
32
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
33
|
+
- 'lib/rubino/security/dangerous_patterns.rb'
|
|
34
|
+
- 'lib/rubino/security/hardline_guard.rb'
|
|
35
|
+
- 'lib/rubino/tools/ask_parent_tool.rb'
|
|
36
|
+
- 'lib/rubino/tools/probe_tool.rb'
|
|
37
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
38
|
+
- 'lib/rubino/tools/steer_tool.rb'
|
|
39
|
+
- 'lib/rubino/tools/subagent_probe.rb'
|
|
40
|
+
- 'lib/rubino/tools/summarize_file_tool.rb'
|
|
41
|
+
- 'lib/rubino/tools/task_tool.rb'
|
|
42
|
+
- 'lib/rubino/tools/webfetch_tool.rb'
|
|
43
|
+
- 'lib/rubino/tools/websearch_tool.rb'
|
|
44
|
+
- 'rubino-agent.gemspec'
|
|
45
|
+
- 'spec/rubino/agent/iteration_budget_spec.rb'
|
|
46
|
+
- 'spec/rubino/api/contract/files_spec.rb'
|
|
47
|
+
- 'spec/rubino/memory/backends/sqlite_spec.rb'
|
|
48
|
+
- 'spec/rubino/metrics_help_spec.rb'
|
|
49
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
50
|
+
|
|
51
|
+
# Offense count: 25
|
|
52
|
+
# Configuration parameters: AllowedMethods.
|
|
53
|
+
# AllowedMethods: enums
|
|
54
|
+
Lint/ConstantDefinitionInBlock:
|
|
55
|
+
Exclude:
|
|
56
|
+
- 'spec/rubino/agent/fallback_chain_spec.rb'
|
|
57
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
58
|
+
- 'spec/rubino/agent/truncation_continuation_spec.rb'
|
|
59
|
+
- 'spec/rubino/api/contract/errors_envelope_spec.rb'
|
|
60
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
61
|
+
- 'spec/rubino/llm/error_classifier_spec.rb'
|
|
62
|
+
- 'spec/rubino/metrics_help_spec.rb'
|
|
63
|
+
- 'spec/rubino/no_direct_output_spec.rb'
|
|
64
|
+
- 'spec/rubino/tools/task_tool_spec.rb'
|
|
65
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
66
|
+
- 'spec/rubino/ui/bottom_composer_pty_spec.rb'
|
|
67
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
68
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
69
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
70
|
+
- 'spec/rubino/ui/confirm_parity_spec.rb'
|
|
71
|
+
|
|
72
|
+
# Offense count: 12
|
|
73
|
+
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
|
|
74
|
+
Lint/DuplicateBranch:
|
|
75
|
+
Exclude:
|
|
76
|
+
- 'lib/rubino/agent/definition.rb'
|
|
77
|
+
- 'lib/rubino/llm/credential_check.rb'
|
|
78
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
79
|
+
- 'lib/rubino/security/approval_policy.rb'
|
|
80
|
+
- 'lib/rubino/session/repository.rb'
|
|
81
|
+
- 'lib/rubino/ui/cli.rb'
|
|
82
|
+
- 'lib/rubino/ui/markdown_renderer.rb'
|
|
83
|
+
|
|
84
|
+
# Offense count: 19
|
|
85
|
+
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
|
86
|
+
Lint/EmptyBlock:
|
|
87
|
+
Exclude:
|
|
88
|
+
- 'lib/rubino/llm/fake_provider.rb'
|
|
89
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
90
|
+
- 'spec/rubino/comm/parent_subagent_comm_spec.rb'
|
|
91
|
+
- 'spec/rubino/commands/executor_usability_spec.rb'
|
|
92
|
+
- 'spec/rubino/interaction/event_bus_spec.rb'
|
|
93
|
+
- 'spec/rubino/llm/bedrock_bearer_client_spec.rb'
|
|
94
|
+
- 'spec/rubino/llm/fake_provider_spec.rb'
|
|
95
|
+
- 'spec/rubino/llm/request_spec.rb'
|
|
96
|
+
- 'spec/rubino/llm/ruby_llm_adapter_spec.rb'
|
|
97
|
+
- 'spec/rubino/tools/task_tool_spec.rb'
|
|
98
|
+
|
|
99
|
+
# Offense count: 4
|
|
100
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
101
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
|
102
|
+
Exclude:
|
|
103
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
104
|
+
- 'spec/rubino/ui/bottom_composer_pty_spec.rb'
|
|
105
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
106
|
+
|
|
107
|
+
# Offense count: 4
|
|
108
|
+
Lint/IneffectiveAccessModifier:
|
|
109
|
+
Exclude:
|
|
110
|
+
- 'lib/rubino/commands/loader.rb'
|
|
111
|
+
- 'lib/rubino/tools/base.rb'
|
|
112
|
+
|
|
113
|
+
# Offense count: 12
|
|
114
|
+
# Configuration parameters: AllowedParentClasses.
|
|
115
|
+
Lint/MissingSuper:
|
|
116
|
+
Exclude:
|
|
117
|
+
- 'lib/rubino/mcp/mcp_tool_wrapper.rb'
|
|
118
|
+
- 'lib/rubino/skills/skill_tool.rb'
|
|
119
|
+
- 'lib/rubino/tools/memory_tool.rb'
|
|
120
|
+
- 'lib/rubino/tools/probe_tool.rb'
|
|
121
|
+
- 'lib/rubino/tools/task_tool.rb'
|
|
122
|
+
- 'lib/rubino/ui/api.rb'
|
|
123
|
+
- 'lib/rubino/ui/null.rb'
|
|
124
|
+
- 'lib/rubino/ui/printer_base.rb'
|
|
125
|
+
- 'lib/rubino/ui/subagent_view.rb'
|
|
126
|
+
- 'spec/rubino/run/attachment_downloader_spec.rb'
|
|
127
|
+
- 'spec/rubino/tools/webfetch_tool_spec.rb'
|
|
128
|
+
|
|
129
|
+
# Offense count: 2
|
|
130
|
+
Lint/NoReturnInBeginEndBlocks:
|
|
131
|
+
Exclude:
|
|
132
|
+
- 'lib/rubino/attachments/classify.rb'
|
|
133
|
+
- 'lib/rubino/tools/shell_input_tool.rb'
|
|
134
|
+
|
|
135
|
+
# Offense count: 16
|
|
136
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
137
|
+
Lint/NonAtomicFileOperation:
|
|
138
|
+
Exclude:
|
|
139
|
+
- 'lib/rubino/run/attachment_downloader.rb'
|
|
140
|
+
- 'lib/rubino/tools/patch_tool.rb'
|
|
141
|
+
- 'lib/rubino/update_check.rb'
|
|
142
|
+
- 'spec/rubino/run/attachment_downloader_spec.rb'
|
|
143
|
+
- 'spec/rubino/tools/write_tool_spec.rb'
|
|
144
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
145
|
+
- 'spec/rubino/ui/bottom_composer_pty_spec.rb'
|
|
146
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
147
|
+
|
|
148
|
+
# Offense count: 5
|
|
149
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
150
|
+
# Configuration parameters: AllowedMethods, InferNonNilReceiver, AdditionalNilMethods.
|
|
151
|
+
# AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal?
|
|
152
|
+
# AdditionalNilMethods: present?, blank?, try, try!
|
|
153
|
+
Lint/RedundantSafeNavigation:
|
|
154
|
+
Exclude:
|
|
155
|
+
- 'lib/rubino/api/operations/oauth/connections/disconnect_operation.rb'
|
|
156
|
+
- 'lib/rubino/tools/ask_parent_tool.rb'
|
|
157
|
+
- 'lib/rubino/tools/background_tasks.rb'
|
|
158
|
+
- 'lib/rubino/ui/cli.rb'
|
|
159
|
+
|
|
160
|
+
# Offense count: 8
|
|
161
|
+
Lint/ShadowedException:
|
|
162
|
+
Exclude:
|
|
163
|
+
- 'lib/rubino/agent/runner.rb'
|
|
164
|
+
- 'lib/rubino/run/executor.rb'
|
|
165
|
+
- 'lib/rubino/tools/ask_parent_tool.rb'
|
|
166
|
+
- 'lib/rubino/tools/background_tasks.rb'
|
|
167
|
+
- 'lib/rubino/tools/probe_tool.rb'
|
|
168
|
+
|
|
169
|
+
# Offense count: 1
|
|
170
|
+
Lint/StructNewOverride:
|
|
171
|
+
Exclude:
|
|
172
|
+
- 'lib/rubino/api/router.rb'
|
|
173
|
+
|
|
174
|
+
# Offense count: 3
|
|
175
|
+
# Configuration parameters: AllowedPatterns.
|
|
176
|
+
# AllowedPatterns: (?-mix:(exactly|at_least|at_most)\(\d+\)\.times)
|
|
177
|
+
Lint/UnreachableLoop:
|
|
178
|
+
Exclude:
|
|
179
|
+
- 'spec/rubino/api/operations/runs/events_operation_resilience_spec.rb'
|
|
180
|
+
|
|
181
|
+
# Offense count: 2
|
|
182
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
183
|
+
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
184
|
+
Lint/UnusedBlockArgument:
|
|
185
|
+
Exclude:
|
|
186
|
+
- 'spec/rubino/tools/vision_tool_spec.rb'
|
|
187
|
+
- 'spec/rubino/ui/subagent_view_spec.rb'
|
|
188
|
+
|
|
189
|
+
# Offense count: 32
|
|
190
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
191
|
+
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
192
|
+
# NotImplementedExceptions: NotImplementedError
|
|
193
|
+
Lint/UnusedMethodArgument:
|
|
194
|
+
Exclude:
|
|
195
|
+
- 'lib/rubino/llm/fake_provider.rb'
|
|
196
|
+
- 'lib/rubino/memory/backends/default.rb'
|
|
197
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
198
|
+
- 'lib/rubino/ui/api.rb'
|
|
199
|
+
- 'lib/rubino/ui/cli.rb'
|
|
200
|
+
- 'lib/rubino/ui/null.rb'
|
|
201
|
+
- 'lib/rubino/ui/printer_base.rb'
|
|
202
|
+
- 'lib/rubino/ui/subagent_view.rb'
|
|
203
|
+
- 'spec/rubino/agent/loop_spec.rb'
|
|
204
|
+
- 'spec/rubino/run/attachment_downloader_spec.rb'
|
|
205
|
+
- 'spec/rubino/run/executor_bus_isolation_spec.rb'
|
|
206
|
+
- 'spec/support/fake_llm_adapter.rb'
|
|
207
|
+
|
|
208
|
+
# Offense count: 12
|
|
209
|
+
Lint/UselessConstantScoping:
|
|
210
|
+
Exclude:
|
|
211
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
212
|
+
- 'lib/rubino/skills/skill.rb'
|
|
213
|
+
- 'lib/rubino/tools/edit_tool.rb'
|
|
214
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
215
|
+
- 'lib/rubino/tools/ruby_tool.rb'
|
|
216
|
+
- 'lib/rubino/tools/webfetch_tool.rb'
|
|
217
|
+
- 'lib/rubino/ui/markdown_renderer.rb'
|
|
218
|
+
|
|
219
|
+
# Offense count: 1
|
|
220
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
221
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
|
222
|
+
Lint/Void:
|
|
223
|
+
Exclude:
|
|
224
|
+
- 'lib/rubino/ui/cli.rb'
|
|
225
|
+
|
|
226
|
+
# Offense count: 11
|
|
227
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
228
|
+
Metrics/AbcSize:
|
|
229
|
+
Exclude:
|
|
230
|
+
- 'lib/rubino/agent/loop.rb'
|
|
231
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
232
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
233
|
+
- 'lib/rubino/cli/server_command.rb'
|
|
234
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
235
|
+
- 'lib/rubino/run/executor.rb'
|
|
236
|
+
- 'lib/rubino/tools/grep_tool.rb'
|
|
237
|
+
- 'lib/rubino/tools/multi_edit_tool.rb'
|
|
238
|
+
- 'lib/rubino/tools/registry.rb'
|
|
239
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
240
|
+
|
|
241
|
+
# Offense count: 9
|
|
242
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
|
|
243
|
+
# AllowedMethods: refine
|
|
244
|
+
Metrics/BlockLength:
|
|
245
|
+
Exclude:
|
|
246
|
+
- 'lib/rubino/agent/loop.rb'
|
|
247
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
248
|
+
- 'lib/rubino/database/migrations/001_create_initial_schema.rb'
|
|
249
|
+
- 'lib/rubino/database/migrations/007_create_messages_fts.rb'
|
|
250
|
+
- 'lib/rubino/database/migrations/008_create_memory_facts.rb'
|
|
251
|
+
- 'lib/rubino/run/executor.rb'
|
|
252
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
253
|
+
|
|
254
|
+
# Offense count: 3
|
|
255
|
+
# Configuration parameters: CountComments, Max, CountAsOne.
|
|
256
|
+
Metrics/ClassLength:
|
|
257
|
+
Exclude:
|
|
258
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
259
|
+
- 'lib/rubino/ui/bottom_composer.rb'
|
|
260
|
+
- 'lib/rubino/ui/cli.rb'
|
|
261
|
+
|
|
262
|
+
# Offense count: 16
|
|
263
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
264
|
+
Metrics/CyclomaticComplexity:
|
|
265
|
+
Exclude:
|
|
266
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
267
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
268
|
+
- 'lib/rubino/commands/executor.rb'
|
|
269
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
270
|
+
- 'lib/rubino/tools/github_tool.rb'
|
|
271
|
+
- 'lib/rubino/tools/grep_tool.rb'
|
|
272
|
+
- 'lib/rubino/tools/multi_edit_tool.rb'
|
|
273
|
+
- 'lib/rubino/tools/question_tool.rb'
|
|
274
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
275
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
276
|
+
- 'lib/rubino/tools/summarize_file_tool.rb'
|
|
277
|
+
- 'lib/rubino/tools/todo_tool.rb'
|
|
278
|
+
- 'lib/rubino/ui/bottom_composer.rb'
|
|
279
|
+
|
|
280
|
+
# Offense count: 18
|
|
281
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
282
|
+
Metrics/MethodLength:
|
|
283
|
+
Exclude:
|
|
284
|
+
- 'lib/rubino/agent/agent_registry.rb'
|
|
285
|
+
- 'lib/rubino/agent/loop.rb'
|
|
286
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
287
|
+
- 'lib/rubino/api/operations/runs/events_operation.rb'
|
|
288
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
289
|
+
- 'lib/rubino/cli/server_command.rb'
|
|
290
|
+
- 'lib/rubino/commands/executor.rb'
|
|
291
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
292
|
+
- 'lib/rubino/llm/tool_bridge.rb'
|
|
293
|
+
- 'lib/rubino/run/attachment_downloader.rb'
|
|
294
|
+
- 'lib/rubino/run/executor.rb'
|
|
295
|
+
- 'lib/rubino/tools/grep_tool.rb'
|
|
296
|
+
- 'lib/rubino/tools/multi_edit_tool.rb'
|
|
297
|
+
- 'lib/rubino/tools/patch_tool.rb'
|
|
298
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
299
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
300
|
+
- 'lib/rubino/tools/test_tool.rb'
|
|
301
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
302
|
+
|
|
303
|
+
# Offense count: 23
|
|
304
|
+
# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters.
|
|
305
|
+
Metrics/ParameterLists:
|
|
306
|
+
Exclude:
|
|
307
|
+
- 'lib/rubino/agent/fallback_chain.rb'
|
|
308
|
+
- 'lib/rubino/agent/loop.rb'
|
|
309
|
+
- 'lib/rubino/agent/model_call_runner.rb'
|
|
310
|
+
- 'lib/rubino/agent/runner.rb'
|
|
311
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
312
|
+
- 'lib/rubino/api/server.rb'
|
|
313
|
+
- 'lib/rubino/interaction/lifecycle.rb'
|
|
314
|
+
- 'lib/rubino/jobs/cron_job_repository.rb'
|
|
315
|
+
- 'lib/rubino/jobs/scheduler.rb'
|
|
316
|
+
- 'lib/rubino/jobs/webhook_delivery.rb'
|
|
317
|
+
- 'lib/rubino/llm/adapter_factory.rb'
|
|
318
|
+
- 'lib/rubino/llm/adapter_response.rb'
|
|
319
|
+
- 'lib/rubino/llm/error_classifier.rb'
|
|
320
|
+
- 'lib/rubino/llm/fake_provider.rb'
|
|
321
|
+
- 'lib/rubino/llm/request.rb'
|
|
322
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
323
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
324
|
+
- 'lib/rubino/oauth/connection_repository.rb'
|
|
325
|
+
- 'lib/rubino/run/repository.rb'
|
|
326
|
+
- 'lib/rubino/tools/result.rb'
|
|
327
|
+
- 'lib/rubino/tools/task_tool.rb'
|
|
328
|
+
- 'lib/rubino/ui/api.rb'
|
|
329
|
+
- 'lib/rubino/ui/bottom_composer.rb'
|
|
330
|
+
|
|
331
|
+
# Offense count: 16
|
|
332
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
333
|
+
Metrics/PerceivedComplexity:
|
|
334
|
+
Exclude:
|
|
335
|
+
- 'lib/rubino/agent/tool_executor.rb'
|
|
336
|
+
- 'lib/rubino/cli/chat_command.rb'
|
|
337
|
+
- 'lib/rubino/context/prompt_assembler.rb'
|
|
338
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
339
|
+
- 'lib/rubino/tools/edit_tool.rb'
|
|
340
|
+
- 'lib/rubino/tools/github_tool.rb'
|
|
341
|
+
- 'lib/rubino/tools/grep_tool.rb'
|
|
342
|
+
- 'lib/rubino/tools/multi_edit_tool.rb'
|
|
343
|
+
- 'lib/rubino/tools/question_tool.rb'
|
|
344
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
345
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
346
|
+
- 'lib/rubino/tools/summarize_file_tool.rb'
|
|
347
|
+
- 'lib/rubino/tools/todo_tool.rb'
|
|
348
|
+
|
|
349
|
+
# Offense count: 3
|
|
350
|
+
Naming/AccessorMethodName:
|
|
351
|
+
Exclude:
|
|
352
|
+
- 'lib/rubino/ui/bottom_composer.rb'
|
|
353
|
+
- 'spec/rubino/ui/stdout_proxy_spec.rb'
|
|
354
|
+
|
|
355
|
+
# Offense count: 1
|
|
356
|
+
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
357
|
+
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
|
|
358
|
+
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
359
|
+
Naming/FileName:
|
|
360
|
+
Exclude:
|
|
361
|
+
- 'Rakefile.rb'
|
|
362
|
+
- 'lib/rubino-agent.rb'
|
|
363
|
+
|
|
364
|
+
# Offense count: 2
|
|
365
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
366
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
|
367
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
|
368
|
+
Naming/MemoizedInstanceVariableName:
|
|
369
|
+
Exclude:
|
|
370
|
+
- 'lib/rubino/tools/probe_tool.rb'
|
|
371
|
+
- 'lib/rubino/tools/subagent_probe.rb'
|
|
372
|
+
|
|
373
|
+
# Offense count: 85
|
|
374
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
375
|
+
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to, ui
|
|
376
|
+
Naming/MethodParameterName:
|
|
377
|
+
Exclude:
|
|
378
|
+
- 'lib/rubino/agent/loop.rb'
|
|
379
|
+
- 'lib/rubino/api/operations/memory/index_operation.rb'
|
|
380
|
+
- 'lib/rubino/api/operations/sessions/index_operation.rb'
|
|
381
|
+
- 'lib/rubino/attachments/preamble.rb'
|
|
382
|
+
- 'lib/rubino/llm/ruby_llm_adapter.rb'
|
|
383
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
384
|
+
- 'lib/rubino/tools/patch_tool.rb'
|
|
385
|
+
- 'lib/rubino/tools/shell_registry.rb'
|
|
386
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
387
|
+
- 'lib/rubino/tools/test_tool.rb'
|
|
388
|
+
- 'lib/rubino/ui/bottom_composer.rb'
|
|
389
|
+
- 'lib/rubino/ui/markdown_renderer.rb'
|
|
390
|
+
- 'spec/rubino/agent/loop_spec.rb'
|
|
391
|
+
- 'spec/rubino/api/middleware/error_handler_spec.rb'
|
|
392
|
+
- 'spec/rubino/attachments/attachments_spec.rb'
|
|
393
|
+
- 'spec/rubino/cli/chat_command_mode_prompt_spec.rb'
|
|
394
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
395
|
+
- 'spec/rubino/cli/setup_command_spec.rb'
|
|
396
|
+
- 'spec/rubino/comm/parent_subagent_comm_spec.rb'
|
|
397
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
398
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
399
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
400
|
+
|
|
401
|
+
# Offense count: 26
|
|
402
|
+
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
|
|
403
|
+
# AllowedMethods: call
|
|
404
|
+
# WaywardPredicates: infinite?, nonzero?
|
|
405
|
+
Naming/PredicateMethod:
|
|
406
|
+
Exclude:
|
|
407
|
+
- 'lib/rubino/agent/model_call_runner.rb'
|
|
408
|
+
- 'lib/rubino/agent/response_validator.rb'
|
|
409
|
+
- 'lib/rubino/agent/router.rb'
|
|
410
|
+
- 'lib/rubino/cli/onboarding_wizard.rb'
|
|
411
|
+
- 'lib/rubino/cli/trust_gate.rb'
|
|
412
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
413
|
+
- 'lib/rubino/memory/store.rb'
|
|
414
|
+
- 'lib/rubino/oauth/provider/github.rb'
|
|
415
|
+
- 'lib/rubino/oauth/provider/google.rb'
|
|
416
|
+
- 'lib/rubino/security/doom_loop_detector.rb'
|
|
417
|
+
- 'lib/rubino/tools/ask_parent_tool.rb'
|
|
418
|
+
- 'lib/rubino/tools/background_tasks.rb'
|
|
419
|
+
- 'lib/rubino/tools/probe_tool.rb'
|
|
420
|
+
- 'lib/rubino/tools/task_tool.rb'
|
|
421
|
+
- 'lib/rubino/ui/cli.rb'
|
|
422
|
+
- 'lib/rubino/ui/null.rb'
|
|
423
|
+
- 'lib/rubino/ui/stdout_proxy.rb'
|
|
424
|
+
- 'lib/rubino/util/hyperlink.rb'
|
|
425
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
426
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
427
|
+
|
|
428
|
+
# Offense count: 4
|
|
429
|
+
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs.
|
|
430
|
+
# NamePrefix: is_, has_, have_, does_
|
|
431
|
+
# ForbiddenPrefixes: is_, has_, have_, does_
|
|
432
|
+
# AllowedMethods: is_a?
|
|
433
|
+
# MethodDefinitionMacros: define_method, define_singleton_method
|
|
434
|
+
Naming/PredicatePrefix:
|
|
435
|
+
Exclude:
|
|
436
|
+
- 'spec/**/*'
|
|
437
|
+
- 'lib/rubino/agent/degenerate_recovery.rb'
|
|
438
|
+
- 'lib/rubino/context/message_boundary.rb'
|
|
439
|
+
- 'lib/rubino/llm/adapter_response.rb'
|
|
440
|
+
- 'lib/rubino/plugins/registry.rb'
|
|
441
|
+
|
|
442
|
+
# Offense count: 26
|
|
443
|
+
RSpec/AnyInstance:
|
|
444
|
+
Exclude:
|
|
445
|
+
- 'spec/rubino/agent/loop_spec.rb'
|
|
446
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
447
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
448
|
+
- 'spec/rubino/cli/setup_command_spec.rb'
|
|
449
|
+
- 'spec/rubino/cli/update_command_spec.rb'
|
|
450
|
+
- 'spec/rubino/comm/three_level_ask_answer_spec.rb'
|
|
451
|
+
- 'spec/rubino/commands/commands_spec.rb'
|
|
452
|
+
- 'spec/rubino/context/compressor_spec.rb'
|
|
453
|
+
- 'spec/rubino/context/prompt_assembler_active_skill_spec.rb'
|
|
454
|
+
- 'spec/rubino/context/prompt_assembler_ignore_rules_spec.rb'
|
|
455
|
+
- 'spec/rubino/context/prompt_assembler_layering_spec.rb'
|
|
456
|
+
- 'spec/rubino/context/prompt_assembler_memory_snapshot_spec.rb'
|
|
457
|
+
- 'spec/rubino/context/prompt_assembler_trust_spec.rb'
|
|
458
|
+
|
|
459
|
+
# Offense count: 3
|
|
460
|
+
RSpec/BeforeAfterAll:
|
|
461
|
+
Exclude:
|
|
462
|
+
- '**/spec/spec_helper.rb'
|
|
463
|
+
- '**/spec/rails_helper.rb'
|
|
464
|
+
- '**/spec/support/**/*.rb'
|
|
465
|
+
- 'spec/rubino/security/approval_policy_mode_spec.rb'
|
|
466
|
+
- 'spec/rubino/tools/registry_mode_spec.rb'
|
|
467
|
+
- 'spec/rubino/tools/registry_spec.rb'
|
|
468
|
+
|
|
469
|
+
# Offense count: 31
|
|
470
|
+
# Configuration parameters: Prefixes, AllowedPatterns.
|
|
471
|
+
# Prefixes: when, with, without
|
|
472
|
+
RSpec/ContextWording:
|
|
473
|
+
Exclude:
|
|
474
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
475
|
+
- 'spec/rubino/commands/executor_usability_spec.rb'
|
|
476
|
+
- 'spec/rubino/llm/ruby_llm_adapter_spec.rb'
|
|
477
|
+
- 'spec/rubino/memory/threat_scanner_spec.rb'
|
|
478
|
+
- 'spec/rubino/modes_spec.rb'
|
|
479
|
+
- 'spec/rubino/run/attachment_downloader_spec.rb'
|
|
480
|
+
- 'spec/rubino/security/approval_policy_spec.rb'
|
|
481
|
+
- 'spec/rubino/session/repository_spec.rb'
|
|
482
|
+
- 'spec/rubino/skills/skills_spec.rb'
|
|
483
|
+
- 'spec/rubino/tools/registry_mode_spec.rb'
|
|
484
|
+
- 'spec/rubino/tools/test_tool_spec.rb'
|
|
485
|
+
- 'spec/rubino/tools/tool_fixes_spec.rb'
|
|
486
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
487
|
+
|
|
488
|
+
# Offense count: 48
|
|
489
|
+
# Configuration parameters: IgnoredMetadata.
|
|
490
|
+
RSpec/DescribeClass:
|
|
491
|
+
Exclude:
|
|
492
|
+
- '**/spec/features/**/*'
|
|
493
|
+
- '**/spec/requests/**/*'
|
|
494
|
+
- '**/spec/routing/**/*'
|
|
495
|
+
- '**/spec/system/**/*'
|
|
496
|
+
- '**/spec/views/**/*'
|
|
497
|
+
- 'spec/rubino/agent/degenerate_recovery_live_minimax_spec.rb'
|
|
498
|
+
- 'spec/rubino/api/contract/approvals_clarifications_spec.rb'
|
|
499
|
+
- 'spec/rubino/api/contract/auth_spec.rb'
|
|
500
|
+
- 'spec/rubino/api/contract/cron_jobs_spec.rb'
|
|
501
|
+
- 'spec/rubino/api/contract/errors_envelope_spec.rb'
|
|
502
|
+
- 'spec/rubino/api/contract/files_spec.rb'
|
|
503
|
+
- 'spec/rubino/api/contract/health_metrics_spec.rb'
|
|
504
|
+
- 'spec/rubino/api/contract/memory_spec.rb'
|
|
505
|
+
- 'spec/rubino/api/contract/mode_spec.rb'
|
|
506
|
+
- 'spec/rubino/api/contract/oauth_spec.rb'
|
|
507
|
+
- 'spec/rubino/api/contract/runs_spec.rb'
|
|
508
|
+
- 'spec/rubino/api/contract/sessions_search_spec.rb'
|
|
509
|
+
- 'spec/rubino/api/contract/sessions_spec.rb'
|
|
510
|
+
- 'spec/rubino/api/contract/skills_models_spec.rb'
|
|
511
|
+
- 'spec/rubino/api/contract/tasks_spec.rb'
|
|
512
|
+
- 'spec/rubino/api/operations/files/upload_size_spec.rb'
|
|
513
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
514
|
+
- 'spec/rubino/cli/config_command_get_merged_spec.rb'
|
|
515
|
+
- 'spec/rubino/cli/fresh_home_db_read_spec.rb'
|
|
516
|
+
- 'spec/rubino/cli/update_command_spec.rb'
|
|
517
|
+
- 'spec/rubino/comm/agent_ask_safety_spec.rb'
|
|
518
|
+
- 'spec/rubino/comm/agent_parent_routing_spec.rb'
|
|
519
|
+
- 'spec/rubino/comm/parent_subagent_comm_spec.rb'
|
|
520
|
+
- 'spec/rubino/comm/three_level_ask_answer_spec.rb'
|
|
521
|
+
- 'spec/rubino/commands/commands_spec.rb'
|
|
522
|
+
- 'spec/rubino/commands/executor_comm_spec.rb'
|
|
523
|
+
- 'spec/rubino/commands/executor_dirs_spec.rb'
|
|
524
|
+
- 'spec/rubino/commands/executor_probe_branch_spec.rb'
|
|
525
|
+
- 'spec/rubino/commands/executor_usability_spec.rb'
|
|
526
|
+
- 'spec/rubino/commands/loader_home_spec.rb'
|
|
527
|
+
- 'spec/rubino/database/messages_fts_migration_spec.rb'
|
|
528
|
+
- 'spec/rubino/integration/agent_e2e_spec.rb'
|
|
529
|
+
- 'spec/rubino/integration/agent_ui_behaviour_spec.rb'
|
|
530
|
+
- 'spec/rubino/llm/adapter_chunk_parity_spec.rb'
|
|
531
|
+
- 'spec/rubino/llm/ruby_llm_adapter_debug_log_spec.rb'
|
|
532
|
+
- 'spec/rubino/metrics_help_spec.rb'
|
|
533
|
+
- 'spec/rubino/no_direct_output_spec.rb'
|
|
534
|
+
- 'spec/rubino/skills/skills_spec.rb'
|
|
535
|
+
- 'spec/rubino/tools/edit_read_gate_spec.rb'
|
|
536
|
+
- 'spec/rubino/tools/shell_background_spec.rb'
|
|
537
|
+
- 'spec/rubino/tools/shell_input_spec.rb'
|
|
538
|
+
- 'spec/rubino/tools/tool_fixes_spec.rb'
|
|
539
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
540
|
+
- 'spec/rubino/ui/bottom_composer_pty_spec.rb'
|
|
541
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
542
|
+
- 'spec/rubino/ui/confirm_parity_spec.rb'
|
|
543
|
+
- 'spec/rubino/ui/mode_changed_spec.rb'
|
|
544
|
+
- 'spec/rubino/with_ui_spec.rb'
|
|
545
|
+
|
|
546
|
+
# Offense count: 12
|
|
547
|
+
RSpec/DescribeMethod:
|
|
548
|
+
Exclude:
|
|
549
|
+
- 'spec/rubino/api/middleware/auth_bearer_spec.rb'
|
|
550
|
+
- 'spec/rubino/api/middleware/json_body_size_spec.rb'
|
|
551
|
+
- 'spec/rubino/cli/chat_command_continue_spec.rb'
|
|
552
|
+
- 'spec/rubino/cli/commands_version_spec.rb'
|
|
553
|
+
- 'spec/rubino/context/prompt_assembler_active_skill_spec.rb'
|
|
554
|
+
- 'spec/rubino/context/prompt_assembler_ignore_rules_spec.rb'
|
|
555
|
+
- 'spec/rubino/context/prompt_assembler_layering_spec.rb'
|
|
556
|
+
- 'spec/rubino/context/prompt_assembler_memory_snapshot_spec.rb'
|
|
557
|
+
- 'spec/rubino/context/prompt_assembler_trust_spec.rb'
|
|
558
|
+
- 'spec/rubino/memory/store_write_budget_spec.rb'
|
|
559
|
+
- 'spec/rubino/run/approval_gate_idempotency_spec.rb'
|
|
560
|
+
|
|
561
|
+
# Offense count: 14
|
|
562
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
563
|
+
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
|
|
564
|
+
# SupportedStyles: described_class, explicit
|
|
565
|
+
RSpec/DescribedClass:
|
|
566
|
+
Exclude:
|
|
567
|
+
- 'spec/rubino/config/configuration_spec.rb'
|
|
568
|
+
- 'spec/rubino/run/approval_gate_idempotency_spec.rb'
|
|
569
|
+
- 'spec/rubino/skills/skills_spec.rb'
|
|
570
|
+
- 'spec/rubino/tools/task_tool_spec.rb'
|
|
571
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
572
|
+
|
|
573
|
+
# Offense count: 2
|
|
574
|
+
# Configuration parameters: CustomMatcherMethods.
|
|
575
|
+
RSpec/DiscardedMatcher:
|
|
576
|
+
Exclude:
|
|
577
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
578
|
+
|
|
579
|
+
# Offense count: 1
|
|
580
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
581
|
+
RSpec/ExpectActual:
|
|
582
|
+
Exclude:
|
|
583
|
+
- '**/spec/routing/**/*'
|
|
584
|
+
- 'spec/rubino/llm/adapter_chunk_parity_spec.rb'
|
|
585
|
+
|
|
586
|
+
# Offense count: 1
|
|
587
|
+
RSpec/ExpectInHook:
|
|
588
|
+
Exclude:
|
|
589
|
+
- 'spec/rubino/cli/fresh_home_db_read_spec.rb'
|
|
590
|
+
|
|
591
|
+
# Offense count: 8
|
|
592
|
+
RSpec/ExpectOutput:
|
|
593
|
+
Exclude:
|
|
594
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
595
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
596
|
+
|
|
597
|
+
# Offense count: 2
|
|
598
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
599
|
+
RSpec/IncludeExamples:
|
|
600
|
+
Exclude:
|
|
601
|
+
- 'spec/rubino/llm/adapter_chunk_parity_spec.rb'
|
|
602
|
+
|
|
603
|
+
# Offense count: 2
|
|
604
|
+
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
|
|
605
|
+
RSpec/IndexedLet:
|
|
606
|
+
Exclude:
|
|
607
|
+
- 'spec/rubino/llm/ruby_llm_adapter_spec.rb'
|
|
608
|
+
|
|
609
|
+
# Offense count: 116
|
|
610
|
+
# Configuration parameters: AssignmentOnly.
|
|
611
|
+
RSpec/InstanceVariable:
|
|
612
|
+
Exclude:
|
|
613
|
+
- 'spec/rubino/agent/fallback_chain_spec.rb'
|
|
614
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
615
|
+
- 'spec/rubino/agent/truncation_continuation_spec.rb'
|
|
616
|
+
- 'spec/rubino/api/contract/oauth_spec.rb'
|
|
617
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
618
|
+
- 'spec/rubino/api/tls_spec.rb'
|
|
619
|
+
- 'spec/rubino/cli/chat_command_mode_prompt_spec.rb'
|
|
620
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
621
|
+
- 'spec/rubino/interaction/image_input_spec.rb'
|
|
622
|
+
- 'spec/rubino/jobs/handlers/distill_skill_job_spec.rb'
|
|
623
|
+
- 'spec/rubino/memory/sqlite_graph_spec.rb'
|
|
624
|
+
- 'spec/rubino/security/allowlist_persister_spec.rb'
|
|
625
|
+
- 'spec/rubino/security/deny_persister_spec.rb'
|
|
626
|
+
- 'spec/rubino/skills/skills_spec.rb'
|
|
627
|
+
- 'spec/rubino/tools/ruby_tool_spec.rb'
|
|
628
|
+
- 'spec/rubino/tools/test_tool_spec.rb'
|
|
629
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
630
|
+
- 'spec/rubino/ui/completion_source_spec.rb'
|
|
631
|
+
- 'spec/rubino/update_check_spec.rb'
|
|
632
|
+
|
|
633
|
+
# Offense count: 25
|
|
634
|
+
RSpec/LeakyConstantDeclaration:
|
|
635
|
+
Exclude:
|
|
636
|
+
- 'spec/rubino/agent/fallback_chain_spec.rb'
|
|
637
|
+
- 'spec/rubino/agent/model_call_runner_spec.rb'
|
|
638
|
+
- 'spec/rubino/agent/truncation_continuation_spec.rb'
|
|
639
|
+
- 'spec/rubino/api/contract/errors_envelope_spec.rb'
|
|
640
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
641
|
+
- 'spec/rubino/llm/error_classifier_spec.rb'
|
|
642
|
+
- 'spec/rubino/metrics_help_spec.rb'
|
|
643
|
+
- 'spec/rubino/no_direct_output_spec.rb'
|
|
644
|
+
- 'spec/rubino/tools/task_tool_spec.rb'
|
|
645
|
+
- 'spec/rubino/ui/bottom_composer_approval_handoff_pty_spec.rb'
|
|
646
|
+
- 'spec/rubino/ui/bottom_composer_pty_spec.rb'
|
|
647
|
+
- 'spec/rubino/ui/bottom_composer_scroll_pty_spec.rb'
|
|
648
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
649
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
650
|
+
- 'spec/rubino/ui/confirm_parity_spec.rb'
|
|
651
|
+
|
|
652
|
+
# Offense count: 1
|
|
653
|
+
RSpec/LeakyLocalVariable:
|
|
654
|
+
Exclude:
|
|
655
|
+
- 'spec/rubino/no_direct_output_spec.rb'
|
|
656
|
+
|
|
657
|
+
# Offense count: 7
|
|
658
|
+
RSpec/MultipleDescribes:
|
|
659
|
+
Exclude:
|
|
660
|
+
- 'spec/rubino/commands/commands_spec.rb'
|
|
661
|
+
- 'spec/rubino/context/prompt_assembler_layering_spec.rb'
|
|
662
|
+
- 'spec/rubino/memory/backends_spec.rb'
|
|
663
|
+
- 'spec/rubino/tools/error_code_spec.rb'
|
|
664
|
+
- 'spec/rubino/tools/tool_fixes_spec.rb'
|
|
665
|
+
- 'spec/rubino/trust_spec.rb'
|
|
666
|
+
- 'spec/rubino/with_ui_spec.rb'
|
|
667
|
+
|
|
668
|
+
# Offense count: 1
|
|
669
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
670
|
+
RSpec/Output:
|
|
671
|
+
Exclude:
|
|
672
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
673
|
+
|
|
674
|
+
# Offense count: 64
|
|
675
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
676
|
+
RSpec/ReceiveMessages:
|
|
677
|
+
Exclude:
|
|
678
|
+
- 'spec/rubino/agent/tool_executor_spec.rb'
|
|
679
|
+
- 'spec/rubino/agent/tool_output_tail_bias_spec.rb'
|
|
680
|
+
- 'spec/rubino/cli/chat_command_probe_branch_spec.rb'
|
|
681
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
682
|
+
- 'spec/rubino/cli/doctor_command_spec.rb'
|
|
683
|
+
- 'spec/rubino/cli/fresh_home_db_read_spec.rb'
|
|
684
|
+
- 'spec/rubino/cli/server_command_spec.rb'
|
|
685
|
+
- 'spec/rubino/commands/commands_spec.rb'
|
|
686
|
+
- 'spec/rubino/commands/executor_comm_spec.rb'
|
|
687
|
+
- 'spec/rubino/commands/executor_probe_branch_spec.rb'
|
|
688
|
+
- 'spec/rubino/commands/executor_usability_spec.rb'
|
|
689
|
+
- 'spec/rubino/integration/agent_e2e_spec.rb'
|
|
690
|
+
- 'spec/rubino/interaction/lifecycle_spec.rb'
|
|
691
|
+
- 'spec/rubino/interaction/probe_spec.rb'
|
|
692
|
+
- 'spec/rubino/jobs/handlers/distill_skill_job_spec.rb'
|
|
693
|
+
- 'spec/rubino/jobs/handlers_spec.rb'
|
|
694
|
+
- 'spec/rubino/llm/ruby_llm_adapter_spec.rb'
|
|
695
|
+
|
|
696
|
+
# Offense count: 2
|
|
697
|
+
RSpec/RepeatedExampleGroupDescription:
|
|
698
|
+
Exclude:
|
|
699
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
700
|
+
|
|
701
|
+
# Offense count: 20
|
|
702
|
+
RSpec/StubbedMock:
|
|
703
|
+
Exclude:
|
|
704
|
+
- 'spec/rubino/api/operations/oauth/operations_spec.rb'
|
|
705
|
+
- 'spec/rubino/cli/chat_command_spec.rb'
|
|
706
|
+
- 'spec/rubino/cli/update_command_spec.rb'
|
|
707
|
+
- 'spec/rubino/jobs/handlers_spec.rb'
|
|
708
|
+
- 'spec/rubino/llm/auxiliary_client_spec.rb'
|
|
709
|
+
- 'spec/rubino/llm/ruby_llm_adapter_spec.rb'
|
|
710
|
+
- 'spec/rubino/memory/backends_spec.rb'
|
|
711
|
+
|
|
712
|
+
# Offense count: 28
|
|
713
|
+
RSpec/SubjectStub:
|
|
714
|
+
Exclude:
|
|
715
|
+
- 'spec/rubino/agent/loop_spec.rb'
|
|
716
|
+
- 'spec/rubino/cli/chat_command_probe_branch_spec.rb'
|
|
717
|
+
- 'spec/rubino/cli/doctor_command_spec.rb'
|
|
718
|
+
- 'spec/rubino/commands/commands_spec.rb'
|
|
719
|
+
- 'spec/rubino/interaction/lifecycle_spec.rb'
|
|
720
|
+
- 'spec/rubino/tools/git_tool_spec.rb'
|
|
721
|
+
- 'spec/rubino/tools/grep_context_spec.rb'
|
|
722
|
+
- 'spec/rubino/tools/grep_tool_spec.rb'
|
|
723
|
+
- 'spec/rubino/ui/bottom_composer_spec.rb'
|
|
724
|
+
- 'spec/rubino/ui/cli_spec.rb'
|
|
725
|
+
|
|
726
|
+
# Offense count: 2
|
|
727
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
728
|
+
RSpec/VerifiedDoubleReference:
|
|
729
|
+
Exclude:
|
|
730
|
+
- 'spec/rubino/comm/parent_subagent_comm_spec.rb'
|
|
731
|
+
- 'spec/rubino/trust_spec.rb'
|
|
732
|
+
|
|
733
|
+
# Offense count: 1
|
|
734
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
735
|
+
Style/CollectionQuerying:
|
|
736
|
+
Exclude:
|
|
737
|
+
- 'lib/rubino/memory/sqlite_graph.rb'
|
|
738
|
+
|
|
739
|
+
# Offense count: 1
|
|
740
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
741
|
+
Style/CombinableLoops:
|
|
742
|
+
Exclude:
|
|
743
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
744
|
+
|
|
745
|
+
# Offense count: 1
|
|
746
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
747
|
+
Style/CommentedKeyword:
|
|
748
|
+
Exclude:
|
|
749
|
+
- 'spec/rubino/tools/shell_exit_code_spec.rb'
|
|
750
|
+
|
|
751
|
+
# Offense count: 1
|
|
752
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
753
|
+
Style/ComparableBetween:
|
|
754
|
+
Exclude:
|
|
755
|
+
- 'lib/rubino/attachments/defang.rb'
|
|
756
|
+
|
|
757
|
+
# Offense count: 3
|
|
758
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
759
|
+
Style/ComparableClamp:
|
|
760
|
+
Exclude:
|
|
761
|
+
- 'lib/rubino/tools/shell_tool.rb'
|
|
762
|
+
- 'lib/rubino/tools/test_tool.rb'
|
|
763
|
+
- 'lib/rubino/ui/cli.rb'
|
|
764
|
+
|
|
765
|
+
# Offense count: 2
|
|
766
|
+
# Configuration parameters: AllowedConstants.
|
|
767
|
+
Style/Documentation:
|
|
768
|
+
Exclude:
|
|
769
|
+
- 'spec/**/*'
|
|
770
|
+
- 'test/**/*'
|
|
771
|
+
- 'lib/rubino.rb'
|
|
772
|
+
- 'lib/rubino/files/workspace.rb'
|
|
773
|
+
|
|
774
|
+
# Offense count: 2
|
|
775
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
776
|
+
# Configuration parameters: MaxUnannotatedPlaceholdersAllowed, Mode, AllowedMethods, AllowedPatterns.
|
|
777
|
+
# SupportedStyles: annotated, template, unannotated
|
|
778
|
+
Style/FormatStringToken:
|
|
779
|
+
EnforcedStyle: unannotated
|
|
780
|
+
|
|
781
|
+
# Offense count: 3
|
|
782
|
+
# Configuration parameters: AllowedVariables.
|
|
783
|
+
Style/GlobalVars:
|
|
784
|
+
Exclude:
|
|
785
|
+
- 'spec/rubino/tools/custom_tool_loader_spec.rb'
|
|
786
|
+
|
|
787
|
+
# Offense count: 2
|
|
788
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
789
|
+
# Configuration parameters: AllowedReceivers.
|
|
790
|
+
# AllowedReceivers: Thread.current
|
|
791
|
+
Style/HashEachMethods:
|
|
792
|
+
Exclude:
|
|
793
|
+
- 'lib/rubino/run/recorder.rb'
|
|
794
|
+
- 'spec/rubino/tools/shell_tail_spec.rb'
|
|
795
|
+
|
|
796
|
+
# Offense count: 1
|
|
797
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
798
|
+
Style/HashExcept:
|
|
799
|
+
Exclude:
|
|
800
|
+
- 'lib/rubino/oauth/registry.rb'
|
|
801
|
+
|
|
802
|
+
# Offense count: 1
|
|
803
|
+
# Configuration parameters: MinBranchesCount.
|
|
804
|
+
Style/HashLikeCase:
|
|
805
|
+
Exclude:
|
|
806
|
+
- 'lib/rubino/ui/cli.rb'
|
|
807
|
+
|
|
808
|
+
# Offense count: 2
|
|
809
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
810
|
+
Style/HashSlice:
|
|
811
|
+
Exclude:
|
|
812
|
+
- 'spec/rubino/cli/setup_command_spec.rb'
|
|
813
|
+
- 'spec/rubino/ui/confirm_parity_spec.rb'
|
|
814
|
+
|
|
815
|
+
# Offense count: 4
|
|
816
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
817
|
+
Style/IdenticalConditionalBranches:
|
|
818
|
+
Exclude:
|
|
819
|
+
- 'lib/rubino/agent/loop.rb'
|
|
820
|
+
- 'lib/rubino/agent/runner.rb'
|
|
821
|
+
|
|
822
|
+
# Offense count: 1
|
|
823
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
824
|
+
Style/MapIntoArray:
|
|
825
|
+
Exclude:
|
|
826
|
+
- 'lib/rubino/tools/test_tool.rb'
|
|
827
|
+
|
|
828
|
+
# Offense count: 3
|
|
829
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
830
|
+
Style/MapToSet:
|
|
831
|
+
Exclude:
|
|
832
|
+
- 'lib/rubino/context/prompt_assembler.rb'
|
|
833
|
+
- 'lib/rubino/context/tool_pair_sanitizer.rb'
|
|
834
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
835
|
+
|
|
836
|
+
# Offense count: 2
|
|
837
|
+
Style/MultilineBlockChain:
|
|
838
|
+
Exclude:
|
|
839
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
840
|
+
- 'spec/rubino/llm/scenario_loader_spec.rb'
|
|
841
|
+
|
|
842
|
+
# Offense count: 10
|
|
843
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
844
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
|
845
|
+
# SupportedStyles: predicate, comparison
|
|
846
|
+
Style/NumericPredicate:
|
|
847
|
+
Exclude:
|
|
848
|
+
- 'spec/**/*'
|
|
849
|
+
- 'lib/rubino/jobs/queue.rb'
|
|
850
|
+
- 'lib/rubino/memory/store.rb'
|
|
851
|
+
- 'lib/rubino/session/repository.rb'
|
|
852
|
+
- 'lib/rubino/tools/grep_tool.rb'
|
|
853
|
+
- 'lib/rubino/tools/todo_tool.rb'
|
|
854
|
+
|
|
855
|
+
# Offense count: 2
|
|
856
|
+
# Configuration parameters: AllowedClasses.
|
|
857
|
+
Style/OneClassPerFile:
|
|
858
|
+
Exclude:
|
|
859
|
+
- 'spec/**/*'
|
|
860
|
+
- 'test/**/*'
|
|
861
|
+
- 'lib/rubino.rb'
|
|
862
|
+
- 'lib/rubino/tools/custom_tool_loader.rb'
|
|
863
|
+
|
|
864
|
+
# Offense count: 3
|
|
865
|
+
Style/OpenStructUse:
|
|
866
|
+
Exclude:
|
|
867
|
+
- 'spec/rubino/jobs/handlers/distill_skill_job_spec.rb'
|
|
868
|
+
- 'spec/rubino/memory/backends/sqlite_spec.rb'
|
|
869
|
+
- 'spec/rubino/memory/sqlite_graph_spec.rb'
|
|
870
|
+
|
|
871
|
+
# Offense count: 1
|
|
872
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
873
|
+
Style/PartitionInsteadOfDoubleSelect:
|
|
874
|
+
Exclude:
|
|
875
|
+
- 'lib/rubino/llm/bedrock_bearer_client.rb'
|
|
876
|
+
|
|
877
|
+
# Offense count: 2
|
|
878
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
879
|
+
# Configuration parameters: EnforcedStyle, AllowedCompactTypes.
|
|
880
|
+
# SupportedStyles: compact, exploded
|
|
881
|
+
Style/RaiseArgs:
|
|
882
|
+
Exclude:
|
|
883
|
+
- 'lib/rubino/api/operations/mode/update_operation.rb'
|
|
884
|
+
- 'lib/rubino/memory/store.rb'
|
|
885
|
+
|
|
886
|
+
# Offense count: 2
|
|
887
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
888
|
+
Style/ReduceToHash:
|
|
889
|
+
Exclude:
|
|
890
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
891
|
+
|
|
892
|
+
# Offense count: 2
|
|
893
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
894
|
+
# Configuration parameters: Methods.
|
|
895
|
+
Style/RedundantArgument:
|
|
896
|
+
Exclude:
|
|
897
|
+
- 'lib/rubino/llm/bedrock_bearer_client.rb'
|
|
898
|
+
- 'spec/support/fake_llm_adapter.rb'
|
|
899
|
+
|
|
900
|
+
# Offense count: 1
|
|
901
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
902
|
+
Style/RedundantInterpolation:
|
|
903
|
+
Exclude:
|
|
904
|
+
- 'lib/rubino/ui/cli.rb'
|
|
905
|
+
|
|
906
|
+
# Offense count: 4
|
|
907
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
908
|
+
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
|
909
|
+
# AllowedMethods: present?, blank?, presence, try, try!
|
|
910
|
+
Style/SafeNavigation:
|
|
911
|
+
Exclude:
|
|
912
|
+
- 'lib/rubino/agent/iteration_budget.rb'
|
|
913
|
+
- 'lib/rubino/agent/truncation_continuation.rb'
|
|
914
|
+
- 'lib/rubino/api/operations/runs/events_operation.rb'
|
|
915
|
+
- 'lib/rubino/memory/backends/sqlite.rb'
|
|
916
|
+
|
|
917
|
+
# Offense count: 1
|
|
918
|
+
# Configuration parameters: Max.
|
|
919
|
+
Style/SafeNavigationChainLength:
|
|
920
|
+
Exclude:
|
|
921
|
+
- 'lib/rubino/context/environment_inspector.rb'
|
|
922
|
+
|
|
923
|
+
# Offense count: 6
|
|
924
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
925
|
+
Style/SingleArgumentDig:
|
|
926
|
+
Exclude:
|
|
927
|
+
- 'lib/rubino/security/approval_policy.rb'
|
|
928
|
+
- 'lib/rubino/security/deny_persister.rb'
|
|
929
|
+
- 'spec/rubino/integration/agent_e2e_spec.rb'
|
|
930
|
+
- 'spec/rubino/security/deny_persister_spec.rb'
|
|
931
|
+
|
|
932
|
+
# Offense count: 1
|
|
933
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
934
|
+
# Configuration parameters: RequireEnglish.
|
|
935
|
+
# SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
|
|
936
|
+
Style/SpecialGlobalVars:
|
|
937
|
+
EnforcedStyle: use_perl_names
|
|
938
|
+
|
|
939
|
+
# Offense count: 22
|
|
940
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
941
|
+
# Configuration parameters: Mode.
|
|
942
|
+
Style/StringConcatenation:
|
|
943
|
+
Exclude:
|
|
944
|
+
- 'lib/rubino/cli/onboarding_wizard.rb'
|
|
945
|
+
- 'lib/rubino/files/workspace.rb'
|
|
946
|
+
- 'lib/rubino/metrics.rb'
|
|
947
|
+
- 'lib/rubino/tools/ask_parent_tool.rb'
|
|
948
|
+
- 'lib/rubino/tools/patch_tool.rb'
|
|
949
|
+
- 'lib/rubino/tools/read_tool.rb'
|
|
950
|
+
- 'lib/rubino/tools/shell_kill_tool.rb'
|
|
951
|
+
- 'lib/rubino/tools/subagent_probe.rb'
|
|
952
|
+
- 'spec/rubino/memory/extractor_spec.rb'
|
|
953
|
+
- 'spec/rubino/no_direct_output_spec.rb'
|
|
954
|
+
- 'spec/rubino/tools/read_binary_spec.rb'
|
|
955
|
+
- 'spec/rubino/tools/summarize_file_tool_spec.rb'
|