Skip to content

build(deps-dev): bump rails-ai-context from 5.11.2 to 5.12.0#70

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails-ai-context-5.12.0
Open

build(deps-dev): bump rails-ai-context from 5.11.2 to 5.12.0#70
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/rails-ai-context-5.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 2, 2026

Copy link
Copy Markdown
Contributor

Bumps rails-ai-context from 5.11.2 to 5.12.0.

Release notes

Sourced from rails-ai-context's releases.

v5.12.0

Fixed

Live-usage audit of the full MCP surface (all 38 tools over stdio + HTTP, the CLI tool runner, and the 9 resources / 5 resource templates) against a real Rails 8 app surfaced 15 correctness and edge-case defects, now fixed:

  • rails_get_schema (and every schema-backed tool) now reads the live database. The schema introspector treated ActiveRecord::Base.connected? as "is a DB reachable", but that is false on a freshly booted server before any query runs, so it silently fell back to static schema.rb parsing -- which omits the implicit id primary key and reports schema.rb-approximate types. It now probes the connection (SELECT 1) and uses live column metadata, falling back to static parsing only when the database is genuinely unreachable. rails_get_model_details, rails_get_context, rails_get_controllers schema hints, and rails_analyze_feature all benefit.
  • rails_get_view resolves a logical controller/action path (e.g. posts/index) to its template instead of reporting "View not found" for a file it then lists in the same hint.
  • rails_diagnose classifies Ruby 3.4+ undefined method 'x' for an instance of Y errors (and other bare, class-prefix-less messages) by inferring the exception class from the message signature.
  • rails_get_turbo_map now reports .turbo_stream.erb response templates and their stream actions. Apps using the common scaffold-style Turbo Stream pattern no longer show "No Turbo Streams or Frames detected".
  • rails_get_partial_interface detects implicit object/collection render sites (render @post, render post, render @posts), not just explicit render "posts/post" calls.
  • rails_get_controllers and rails_analyze_feature no longer list an inherited before_action twice (once as inherited, once from the reflection-derived full chain).
  • rails_runtime_info "Table Sizes" lists real application tables instead of SQLite internal objects (sqlite_schema, sqlite_autoindex_*, sqlite_sequence) and index b-trees that were crowding out the app tables.
  • rails_get_gems strips the platform suffix from versions (sqlite3 2.9.5, not sqlite3 2.9.5-x86_64-linux-musl) on multi-platform lockfiles.
  • rails_get_test_info falls back to Gemfile.lock to report the test framework (minitest/rspec) when no test/ or spec/ directory exists yet, instead of "unknown".
  • rails_get_frontend_stack no longer renders a literal [] for empty state-management data.
  • rails_onboard reports the app route count instead of pairing the framework-inclusive total with the app-controller count ("14 app routes across 3 controllers", not "46 routes across 3 controllers").
  • MCP resources return a proper -32602 Resource not found: <uri> for unknown URIs and blocked paths instead of a generic "Internal error" with the URI stripped (on mcp >= 0.20; older mcp keeps prior behavior). Path traversal and sensitive-file access remain blocked.
  • CLI --json flag is honored in any position (tool NAME args --json), not only before the tool name.
  • CLI presets (architecture, debugging, migration) now chain tools that produce useful output with zero arguments, instead of calling tools whose required arguments were never supplied.
  • Standalone/zero-config CLI on Ruby 3.4+ no longer crashes with Gem::LoadError: already activated psych 5.4.0, but your Gemfile requires psych 5.3.1 (or the equivalent for date). The standalone executable pre-activates Ruby 3.4's newer default-gem versions before the app's Bundler.setup runs; it now clears those pre-activated specs first so Bundler activates the versions the app resolves. No-op under bundle exec (in-Gemfile mode is unaffected).
Changelog

Sourced from rails-ai-context's changelog.

[5.12.0] - 2026-06-29

Fixed

Live-usage audit of the full MCP surface (all 38 tools over stdio + HTTP, the CLI tool runner, and the 9 resources / 5 resource templates) against a real Rails 8 app surfaced 15 correctness and edge-case defects, now fixed:

  • rails_get_schema (and every schema-backed tool) now reads the live database. The schema introspector treated ActiveRecord::Base.connected? as "is a DB reachable", but that is false on a freshly booted server before any query runs, so it silently fell back to static schema.rb parsing -- which omits the implicit id primary key and reports schema.rb-approximate types. It now probes the connection (SELECT 1) and uses live column metadata, falling back to static parsing only when the database is genuinely unreachable. rails_get_model_details, rails_get_context, rails_get_controllers schema hints, and rails_analyze_feature all benefit.
  • rails_get_view resolves a logical controller/action path (e.g. posts/index) to its template instead of reporting "View not found" for a file it then lists in the same hint.
  • rails_diagnose classifies Ruby 3.4+ undefined method 'x' for an instance of Y errors (and other bare, class-prefix-less messages) by inferring the exception class from the message signature.
  • rails_get_turbo_map now reports .turbo_stream.erb response templates and their stream actions. Apps using the common scaffold-style Turbo Stream pattern no longer show "No Turbo Streams or Frames detected".
  • rails_get_partial_interface detects implicit object/collection render sites (render @post, render post, render @posts), not just explicit render "posts/post" calls.
  • rails_get_controllers and rails_analyze_feature no longer list an inherited before_action twice (once as inherited, once from the reflection-derived full chain).
  • rails_runtime_info "Table Sizes" lists real application tables instead of SQLite internal objects (sqlite_schema, sqlite_autoindex_*, sqlite_sequence) and index b-trees that were crowding out the app tables.
  • rails_get_gems strips the platform suffix from versions (sqlite3 2.9.5, not sqlite3 2.9.5-x86_64-linux-musl) on multi-platform lockfiles.
  • rails_get_test_info falls back to Gemfile.lock to report the test framework (minitest/rspec) when no test/ or spec/ directory exists yet, instead of "unknown".
  • rails_get_frontend_stack no longer renders a literal [] for empty state-management data.
  • rails_onboard reports the app route count instead of pairing the framework-inclusive total with the app-controller count ("14 app routes across 3 controllers", not "46 routes across 3 controllers").
  • MCP resources return a proper -32602 Resource not found: <uri> for unknown URIs and blocked paths instead of a generic "Internal error" with the URI stripped (on mcp >= 0.20; older mcp keeps prior behavior). Path traversal and sensitive-file access remain blocked.
  • CLI --json flag is honored in any position (tool NAME args --json), not only before the tool name.
  • CLI presets (architecture, debugging, migration) now chain tools that produce useful output with zero arguments, instead of calling tools whose required arguments were never supplied.
  • Standalone/zero-config CLI on Ruby 3.4+ no longer crashes with Gem::LoadError: already activated psych 5.4.0, but your Gemfile requires psych 5.3.1 (or the equivalent for date). The standalone executable pre-activates Ruby 3.4's newer default-gem versions before the app's Bundler.setup runs; it now clears those pre-activated specs first so Bundler activates the versions the app resolves. No-op under bundle exec (in-Gemfile mode is unaffected).
Commits
  • 6d497a1 fix: clear pre-activated gem specs before Bundler.setup in standalone mode
  • 644fa09 chore: release v5.12.0 -- 15 MCP/CLI edge-case fixes from live-usage audit
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rails-ai-context](https://github.com/crisnahine/rails-ai-context) from 5.11.2 to 5.12.0.
- [Release notes](https://github.com/crisnahine/rails-ai-context/releases)
- [Changelog](https://github.com/crisnahine/rails-ai-context/blob/main/CHANGELOG.md)
- [Commits](crisnahine/rails-ai-context@v5.11.2...v5.12.0)

---
updated-dependencies:
- dependency-name: rails-ai-context
  dependency-version: 5.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants