Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By yaroslavv1.0.0MITIn 1 marketplace
Checks Ruby scripts, gems, Rack apps and Rails roots for Ractor compatibility, explaining each violation and offering --fix and --fix-unsafe rewrites. Runs a sandboxed dynamic probe on the target, so it loads your code.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Point it at a Ruby script, a gem, a Rack app, or a Rails root and it
tells you whether that code can run inside Ractors, why it cannot,
and how to fix it. Unlike a linter, Audition does not stop at
pattern-matching your source: whole-program analysis is powered by
rubydex, Shopify's Ruby
indexer, and the target is also loaded in a sandboxed subprocess
to observe real Ractor::IsolationErrors on the live object
graph. Some of the checks and fixes were trained on how Rails
core itself is being ractorized; see the
pattern study.
why
(which rule of the Ractor model it violates) and a fix
(what to write instead).--fix like RuboCop, in two tiers. Safe corrections:
.freeze on string constants (literals as well as the fresh
strings core methods return), sentinels, and containers whose
elements are all shareable, and boot-time hoisting of
method-body requires. --fix-unsafe adds semantics-affecting
rewrites: Ractor.make_shareable(...) for the remaining mutable
and shallow-frozen containers, for containers a core method
allocates, and for Proc constants, magic-comment insertion,
freeze-on-memoize for class-level memoization (both @x ||=
and return @x if defined?(@x) idioms keep their caching, the
memoized value becomes shareable, Rails-core style;
Ractor.store_if_absent only for block initializers and
invalidated caches), autoload to require, and write-once
globals/class variables to frozen constants. --dry-run
previews everything as a diff.const_source_location; when your own code is clean
but a dependency is not, the verdict is a distinct blocked
state, so globalid is not blamed for ActiveSupport's state.Hash.new
default procs, in-place mutation of registry constants,
closure-carrying define_method, copy-on-write rewrites. The
findings are documented in
docs/rails_core_best_practices.md.path:line is clickable in supporting terminals. Long scans
narrate their phases on stderr. JSON output for CI.$ audition worker.rb
* Audition 0.3.0 ruby 4.0.6 · script at .
worker.rb
x worker.rb:1 write to global variable $jobs global-variables
why: Non-main Ractors cannot access global variables; this raises
Ractor::IsolationError the moment the line executes in a Ractor
(verified on Ruby 4.0).
fix: Pass the value into the Ractor explicitly (Ractor.new(value) {
|v| ... }) or over a Ractor::Port; for per-Ractor state use
Ractor.current[:key]; do one-time process setup on the main Ractor
before spawning.
x worker.rb:1 raises inside a Ractor: Ractor::IsolationError ...
x worker.rb:4 read of global variable $jobs global-variables
...
dynamic probes
x script probe failed (details above)
summary: 3 errors
verdict: x not ractor-ready
$ echo $?
1
And the whole-bundle view:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub yaroslav/audition --plugin auditionPlugins from other owners that cover similar ground