refactor: Update all codex commands to use -s danger-full-access and correct syntax

- Move -s parameter to end of command: codex --full-auto exec "..." -s danger-full-access
- Change default sandbox mode from workspace-write to danger-full-access
- Add missing --full-auto parameter to commands requiring autonomous development
- Add missing exec parameter to all codex commands
- Add missing -s danger-full-access parameter to multi-line commands
- Update all documentation and examples to use consistent syntax
- Fix CLAUDE.md detection functionality in detect_changed_modules.sh script

Files updated:
- Core configuration: CLAUDE.md, RELEASE_NOTES_v1.3.0.md
- Documentation: tools-implementation-guide.md, intelligent-tools-strategy.md
- Command files: All .claude/commands/codex/*.md and workflow/*.md files
- Agent templates: action-planning-agent.md
- Scripts: detect_changed_modules.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-09-16 13:11:13 +08:00
parent 972771d080
commit 1357756295
14 changed files with 89 additions and 84 deletions

View File

@@ -53,7 +53,7 @@ model: sonnet
```bash
/codex:execute "create complete todo application with React and TypeScript"
```
**Process**: Uses `codex -s workspace-write --full-auto` for autonomous implementation
**Process**: Uses `codex --full-auto ... -s danger-full-access` for autonomous implementation
## Context Inference Logic
@@ -105,7 +105,7 @@ model: sonnet
### User Description Template
```bash
codex exec "@{inferred_patterns} @{CLAUDE.md,**/*CLAUDE.md}
codex --full-auto exec "@{inferred_patterns} @{CLAUDE.md,**/*CLAUDE.md}
Implementation Task: [user_description]
@@ -113,23 +113,23 @@ Provide:
- Specific implementation code
- File modification locations (file:line)
- Test cases
- Integration guidance"
- Integration guidance" -s danger-full-access
```
### Task ID Template
```bash
codex exec "@{task_files} @{brainstorming_refs} @{CLAUDE.md,**/*CLAUDE.md}
codex --full-auto exec "@{task_files} @{brainstorming_refs} @{CLAUDE.md,**/*CLAUDE.md}
Task: [task_title] (ID: [task-id])
Type: [task_type]
Scope: [task_scope]
Execute implementation following task acceptance criteria."
Execute implementation following task acceptance criteria." -s danger-full-access
```
### Full Auto Template
```bash
codex -s workspace-write --full-auto "@{**/*} @{CLAUDE.md,**/*CLAUDE.md}
codex --full-auto exec "@{**/*} @{CLAUDE.md,**/*CLAUDE.md}
Development Task: [user_description]
@@ -137,7 +137,7 @@ Autonomous implementation with:
- Architecture decisions
- Code generation
- Testing
- Documentation"
- Documentation" -s danger-full-access
```
## Auto-Generated Outputs