Skip to content

fix(schedule): correct CLAUDE_PERMISSIONS values#359

Merged
Kewton merged 1 commit intodevelopfrom
feature/294-worktree
Feb 24, 2026
Merged

fix(schedule): correct CLAUDE_PERMISSIONS values#359
Kewton merged 1 commit intodevelopfrom
feature/294-worktree

Conversation

@Kewton
Copy link
Owner

@Kewton Kewton commented Feb 24, 2026

Summary

  • CLAUDE_PERMISSIONS 定数を claude CLI の --permission-mode 実際の有効値に修正
    • 修正前: ['default', 'acceptEdits', 'full'] (full は不正、3値のみ)
    • 修正後: ['default', 'acceptEdits', 'plan', 'dontAsk', 'bypassPermissions'] (正規5値)
  • 影響箇所(定数参照で自動反映): cmate-parser.ts, cmate-validator.ts, claude-executor.ts

Test plan

  • schedule-config.test.ts 15テストパス
  • cmate-validator.test.ts 29テストパス
  • claude-executor.test.ts 20テストパス

🤖 Generated with Claude Code

…ssion-mode values

Replace incorrect ['default', 'acceptEdits', 'full'] with the actual
5 valid values: 'default', 'acceptEdits', 'plan', 'dontAsk', 'bypassPermissions'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Kewton Kewton merged commit 2d84674 into develop Feb 24, 2026
5 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