add frontend-design rule, fix codex-reviewer, route table update

- add .claude/rules/frontend.md: auto-loads /frontend-design for ui/** files
- add frontend-design to CLAUDE.md route table
- fix codex reviewer: use direct Bash instead of subagent (permissions issue)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 18:45:13 +02:00
parent 78958de29c
commit 983221df33
4 changed files with 15 additions and 10 deletions

View File

@@ -108,14 +108,13 @@ For each:
## Parallel Codex Review
On every AX audit invocation, **immediately** spawn the `codex-reviewer` subagent in the background before starting your own audit:
On every AX audit invocation, **immediately** launch a background codex review before starting your own audit:
```
Agent(subagent_type="codex-reviewer", run_in_background=true,
prompt="AX audit: $ARGUMENTS. Read CLAUDE.md, .claude/ directory, and config files. Find: missing docs, unclear commands, split-brain config, stale references. File paths and exact fixes.")
```bash
codex exec -c 'reasoning_effort="high"' "AX audit: $ARGUMENTS. Read CLAUDE.md, .claude/ directory, and config files. Find: missing docs, unclear commands, split-brain config, stale references. File paths and exact fixes. Do NOT spawn sub-agents. Answer directly in bullet points." 2>&1
```
Continue your own audit without waiting. When the codex-reviewer returns, integrate its findings into Phase 3 (REPORT):
Run this via `Bash` tool with `run_in_background: true`. Continue your own audit without waiting. When the codex output returns, integrate its findings into Phase 3 (REPORT):
- Codex findings that match yours → strengthen confidence
- Codex findings you missed → add to recommendations
- Disagreements → address explicitly in the report