Skip to content

Anchor Claude WordPress edit denies to the project - #294

Merged
chubes4 merged 1 commit into
mainfrom
fix/claude-absolute-wordpress-denies
Jul 24, 2026
Merged

Anchor Claude WordPress edit denies to the project#294
chubes4 merged 1 commit into
mainfrom
fix/claude-absolute-wordpress-denies

Conversation

@chubes4

@chubes4 chubes4 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

  • generate Claude Code WordPress edit denies from the absolute site path
  • prevent ineffective root-level /wp-content/... deny rules
  • strengthen the permission regression test to require project anchoring

Verification

  • ./tests/claude-code-permissions.sh
  • bash -n runtimes/claude-code.sh tests/claude-code-permissions.sh
  • ./tests/agents-md-guidance.sh
  • reproduced the bad generated rules on the live Studio install before this fix

AI assistance

OpenAI gpt-5.6-sol via OpenCode identified the live configuration mismatch and drafted the fix, tests, and PR description. Chris Huber reviewed the evidence and remains responsible for the changes.

@chubes4
chubes4 merged commit a1e8489 into main Jul 24, 2026
13 checks passed
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.

1 participant