Skip to content

Search with ripgrep and bundle only the coinflip plugin#21

Closed
HiLleywyn wants to merge 1 commit into
mainfrom
claude/ripgrep-coinflip-defaults-mngl2
Closed

Search with ripgrep and bundle only the coinflip plugin#21
HiLleywyn wants to merge 1 commit into
mainfrom
claude/ripgrep-coinflip-defaults-mngl2

Conversation

@HiLleywyn
Copy link
Copy Markdown
Owner

Summary

  • The agent shell.run tool now prefers ripgrep (rg) for content searches. grep, egrep and fgrep stay on the allowlist only as a fallback for the rare case ripgrep fails or cannot serve. The tool description tells the model to reach for rg first, and the Docker image installs ripgrep so rg is on PATH.
  • Only the coinflip worked example ships bundled now. The notes, tasks, events and groups productivity suite is removed from plugins/ and becomes install-only marketplace plugins (still available via .ai plugins install).
  • Docs and help text follow: README.md, plugins/README.md and the in-bot /help catalogue no longer present the productivity suite as built in.

Changes

  • ai/workspace.py -- rg added to the shell allowlist.
  • ai/tools.py -- shell.run description steers the model to ripgrep first, grep as fallback.
  • Dockerfile -- installs ripgrep.
  • plugins/ -- events.lua, groups.lua, notes.lua, tasks.lua removed; coinflip.lua kept.
  • README.md, plugins/README.md, cogs/meta.py -- docs and help reflect the new default plugin set.
  • tests/test_smoke.py -- bundled-plugin assertions updated; the command-tree test no longer depends on a removed file.

Test plan

  • python -m pytest tests/ -- 148 passed
  • Verified rg runs through the sandboxed shell.run tool and that grep/egrep/fgrep remain available as a fallback

Generated by Claude Code

The agent shell tool now prefers rg for content searches, keeping grep,
egrep and fgrep on the allowlist only as a fallback for when ripgrep
cannot serve. The Docker image installs ripgrep so rg is on PATH.

Only the coinflip worked example ships bundled now. The notes, tasks,
events and groups productivity suite moves to install-only marketplace
plugins, and the docs, help text and smoke tests follow.
Copy link
Copy Markdown
Owner Author

Superseded by #22, reopened on the renamed branch v0.0.1/feat/ripgrep-coinflip-defaults. Closing this one.


Generated by Claude Code

@HiLleywyn HiLleywyn closed this May 19, 2026
@HiLleywyn HiLleywyn deleted the claude/ripgrep-coinflip-defaults-mngl2 branch May 19, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants