fix(eidolon-cache): scope rhythm-guard reply match + correct skill manifests (ARFD-363 usability audit)#2
Draft
MidnightDarling wants to merge 1 commit into
Draft
Conversation
…nifests A "must actually work" audit pass, verified against the live Claude Code and Codex plugin specs, plus the one open review thread from PR #1. - rhythm-guard.sh: narrow the third reply-detection pattern from `*cli.py*reply*` to `*rednote*cli.py*reply*` so the PreToolUse/Bash hook no longer drags an unrelated tool's `cli.py reply` invocation into the rednote account gate (which surfaced a spurious `ask` and could interrupt other Bash workflows). The repo path always contains `rednote-butler`, so the ARFD-363 F9 absolute-path defence still holds. Resolves the open Codex review (PR #1, P2). - tests: add a regression pin that a foreign `cli.py reply` passes through the hook with no decision. - SKILL.md (rednote-butler, twitter-voice): `tools:` is not a valid Claude Code skill frontmatter field and was silently ignored; rename to the spec field `allowed-tools:`. - check_env_keys.py: drop unused `os`/`sys` imports (ruff F401). - docs: correct stale test counts (65/75 -> 94) in CLAUDE.md and roadmap. 94 tests pass; ruff clean. Linear: ARFD-363 https://claude.ai/code/session_01ALz7j81EUFEZxSA9CA9WPv
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
A "this has to actually work for users" audit pass over the marketplace and both plugins, with every official-config claim verified against the live Claude Code and Codex plugin specs (via Exa:
code.claude.com/docs,developers.openai.com/codex, andopenai/codexsource). It also closes the one review thread still open from PR #1.Verified working (no change needed)
pip install -e .→import rednote_butler→python -m rednote_butler.cli --helpall succeed; 94 tests pass,ruffclean.rhythm-guard.shis mode100755."source": "./plugins/rednote-butler"matches the official relative-path form..codex-plugin/plugin.json(interfaceblock) +.agents/plugins/marketplace.json(source/policy/category) match the real Codex spec.CLAUDE_PLUGIN_ROOTand uses the samePreToolUse→permissionDecision(allow/deny/ask) schema, sorhythm-guard.shworks on Codex too.Fixes in this PR
rhythm-guard.sh— narrow the third reply-detection pattern*cli.py*reply*→*rednote*cli.py*reply*. The earlier substring dragged an unrelated tool'scli.py replyinto the rednote account gate (spuriousask, could interrupt other Bash workflows). The repo path always containsrednote-butler, so the ARFD-363 F9 absolute-path defence still holds. Resolves the open Codex review (PR fix(rednote-butler): harden v0.1.0 per ARFD-363 audit (15 findings) #1, P2).cli.py replypasses through the hook with no decision.tools:is not a valid Claude Code skill frontmatter field (it was silently ignored); renamed to the spec fieldallowed-tools:.check_env_keys.py— drop unusedos/sysimports (ruff F401; the repo's "Ruff for lint" bar was failing under the wider scope).CLAUDE.mdanddocs/roadmap.md.Review
reply.reply_async()is untouched);allowed-toolsis not an escalation (operator-invoked; hook +/dev/ttyy/n still fire).Three red lines preserved: 15 min / 10 per 24h / 3 first-session, single write-path, mandatory y/n.
Linear: ARFD-363
https://claude.ai/code/session_01ALz7j81EUFEZxSA9CA9WPv
Generated by Claude Code