KB: todo-app

← All workspaces
3775 entries 170 domains 4.38 MB database Last ingest: 2026-03-22 02:00

3775 results — page 54 of 76

Title Domain Type Severity Source Freshness Updated
[Tool usage] codex-orchestrator: Files Changed (total) claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","files","changed","total","git"]
Cross-domain: []
Symptoms: []
Body:
{git diff --stat output} ```
[Tool usage] codex-orchestrator: Failed Agents claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","failed","agents","gh"]
Cross-domain: []
Symptoms: []
Body:
- Agent 3: {error description} → Resumed with high effort → ✅
[Workflow] codex-orchestrator: Validation claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","validation"]
Cross-domain: []
Symptoms: []
Body:
- PHP syntax: ✅ All files pass - File conflicts: ✅ None detected - Unexpected changes: ❌ {file} modified by agent 2 (not in scope)
[Workflow] codex-orchestrator: Codex Orchestration Complete claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","orchestration","complete"]
Cross-domain: []
Symptoms: []
Body:
| Agent | Task | Model/Effort | Status | Tokens | Files Changed | |-------|------|-------------|--------|--------|---------------| | 1 | {task} | gpt-5.4/medium | ✅ | {n} | {files} | | 2 | {task} | gpt-5.4/medium | ✅ | {n} | {files} | | 3 | {task} | gpt-5.4/low | ❌ | {n} | {files} |
[Workflow] codex-orchestrator: Reporting Format claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","reporting","format"]
Cross-domain: []
Symptoms: []
Body:
After orchestration completes, report: ```
[Tool usage] codex-orchestrator: Error Handling claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","error","handling","gh","git"]
Cross-domain: []
Symptoms: []
Body:
| Error | Cause | Fix | |-------|-------|-----| | "model not supported with ChatGPT account" | Wrong model (o3, o4-mini, o1) | Use gpt-5.4 | | Exit code 1 with no output | Rate limit or auth issue | Wait 30s, retry | | Agent edited wrong files | Prompt too vague | Add explicit SCOPE + DO NOT EDIT | | Syntax errors in output | Agent made mistakes | Resume with higher effort + error context | | Partial completion | Token limit hit | Resume session with follow-up prompt | | Changes lost after...
[Workflow] codex-orchestrator: Git Safety (Self-Commit Pattern) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","git","safety","selfcommit","pattern"]
Cross-domain: []
Symptoms: []
Body:
``` ⚠️ SANDBOX PERSISTENCE: Codex --full-auto uses workspace-write sandbox. File changes are DELETED on process exit unless committed to git. Each agent MUST git add + git commit its own changes before exiting. BEFORE parallel spawn: 1. git stash (if uncommitted changes exist) 2. Verify clean working tree DURING execution: - Each agent prompt MUST include "git add + git commit" in WHEN DONE - Agents commit to the SAME branch (no worktrees) — non-overlapping files prevent...
[Workflow] codex-orchestrator: Max Parallel Agents claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","max","parallel","agents"]
Cross-domain: []
Symptoms: []
Body:
- **Recommended:** 3-5 parallel agents - **Maximum:** 8 (OpenAI rate limits unknown for ChatGPT auth) - **If rate limited:** Reduce to 2-3 and add 5s delay between spawns
[Workflow] codex-orchestrator: File Conflict Detection claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","file","conflict","detection"]
Cross-domain: []
Symptoms: []
Body:
Before spawning parallel agents, verify no overlap: ```bash # Extract file lists from all prompts, check for duplicates echo "${ALL_FILES[@]}" | sort | uniq -d # If any output → files appear in multiple agents → SERIALIZE those tasks ```
[Workflow] codex-orchestrator: Production Awareness claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","production","awareness"]
Cross-domain: []
Symptoms: []
Body:
``` THIS IS PRODUCTION. Include in EVERY agent prompt: - DO NOT run migrate:fresh, migrate:reset, db:wipe - DO NOT delete files outside your SCOPE - DO NOT modify .env or config files unless explicitly instructed - Verify syntax before finishing: php -l {files} ```
[Tool usage] codex-orchestrator: Effort Selection Guide claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","effort","selection","guide","gh"]
Cross-domain: []
Symptoms: []
Body:
| Task Complexity | Model | Effort | Est. Cost | |----------------|-------|--------|-----------| | Simple rename/move | gpt-5.4 | low | ~1-2k tokens | | Extract method/class | gpt-5.4 | medium | ~3-8k tokens | | Complex refactor | gpt-5.4 | high | ~10-20k tokens | | Architecture decisions | gpt-5.4 | xhigh | ~20-50k tokens | | Budget bulk ops | gpt-5-codex-mini | medium | ~1-3k tokens | ---
[Workflow] codex-orchestrator: Bulk Transformation Prompt Template claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","bulk","transformation","prompt","template","git"]
Cross-domain: []
Symptoms: []
Body:
``` TASK: Apply transformation to all files matching pattern FILES TO PROCESS: {file_list} TRANSFORMATION: For each file: 1. {transformation step} 2. {transformation step} DO NOT: - Change file structure beyond the transformation - Add new dependencies - Modify files not in the list WHEN DONE (MANDATORY): 1. php -l on each modified file 2. git add {all modified files} 3. git commit -m "fix: {transformation description} [codex-agent-{N}]" ``` ---
[Guardrail] codex-orchestrator: Autonomy Rules (MANDATORY in ALL prompts) claude/agents/codex-orchestrator gotcha critical codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","autonomy","rules","mandatory","all","prompts","git"]
Cross-domain: []
Symptoms: []
Body:
**Include this block in EVERY Codex agent prompt to prevent premature stopping:** ``` AUTONOMY RULES (CRITICAL — follow these exactly): - Complete the ENTIRE task in full. Do NOT stop early. - Do NOT suggest breaking the task into stages or batches. - Do NOT ask the user to confirm, clarify, or choose between options. - Do NOT say "too large", "unmanageable", or "please narrow scope". - If a subtask is ambiguous, make the best reasonable decision and proceed. - If you encounter an error,...
[Workflow] codex-orchestrator: Code Quality Rules (MANDATORY in ALL prompts) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","code","quality","rules","mandatory","all","prompts"]
Cross-domain: []
Symptoms: []
Body:
**Include this block in EVERY Codex agent prompt:** ``` CODE QUALITY RULES (ReportMaker enforces these — do not violate): PHP: - Max file size: 400 lines target, 800 lines hard limit — if refactoring creates files over 800L, split further - No new PHPStan errors at Level 7 — avoid untyped returns, missing @param, mixed types - Follow PSR-12 / Laravel code style (Pint-compatible) - No generic class basenames: use domain-specific names (e.g. CrawlAnalysisService, NOT AnalysisService) -...
[Workflow] codex-orchestrator: Refactoring Prompt Template claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","refactoring","prompt","template","git"]
Cross-domain: []
Symptoms: []
Body:
``` TASK: Extract {method/logic} from {source_file} into {target_file} SCOPE: - {source_file} (modify: remove extracted code, add import/use) - {target_file} (create or modify: add extracted code) RULES: - Preserve all existing method signatures in {source_file} - New class/trait in {target_file} must follow PSR-4: namespace {namespace} - Add proper use/import statements - Do NOT change any logic, only move code WHEN DONE (MANDATORY): 1. php -l {source_file} && php -l {target_file} 2. git...
[Guardrail] codex-orchestrator: Effective Prompt Structure claude/agents/codex-orchestrator gotcha critical codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","effective","prompt","structure","git"]
Cross-domain: []
Symptoms: []
Body:
``` TASK: {one-line description} SCOPE (only edit these files): - {file1.php} - {file2.php} DO NOT EDIT: - {protected-file.php} - Any file not listed in SCOPE INSTRUCTIONS: 1. {step 1} 2. {step 2} CONVENTIONS: - {coding convention relevant to task} WHEN DONE (MANDATORY — do ALL steps): 1. Verify syntax: php -l {files} 2. Stage your changes: git add {files} 3. Commit: git commit -m "fix: {description} [codex-agent-{N}]" 4. Report what you changed ``` > **CRITICAL: Self-commit is...
[Tool usage] codex-orchestrator: Step 6: Resume Failed Agents claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","resume","failed","agents","gh"]
Cross-domain: []
Symptoms: []
Body:
If an agent failed or produced incomplete output: ```bash codex exec resume "{SESSION_ID}" "The previous step failed. Error: {error}. Please retry." \ -m "gpt-5.4" -c model_reasoning_effort=high --full-auto 2>&1 ``` Bump reasoning effort for retries (low→medium, medium→high). ---
[Tool usage] codex-orchestrator: Step 5: Validation claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","validation","git"]
Cross-domain: []
Symptoms: []
Body:
```bash # Syntax check all changed files git diff --name-only | grep '\.php$' | xargs -I{} php -l {} # Check for merge markers or corruption git diff --name-only | xargs grep -l '<<<<<<' 2>/dev/null # Code quality spot-checks (run after all agents complete) # PHPStan delta (only new errors, not baseline): vendor/bin/phpstan analyse $(git diff --name-only | grep '\.php$' | tr '\n' ' ') 2>/dev/null | tail -5 # ESLint on changed JS/TS files: git diff --name-only | grep -E '\.(js|ts)$' | xargs...
[Workflow] codex-orchestrator: Step 4: Result Collection claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","result","collection","git"]
Cross-domain: []
Symptoms: []
Body:
After all agents complete: 1. Read each agent's `-o` output file 2. Check exit codes (0 = success) 3. **Verify commits exist**: `git log --oneline -N` (N = number of agents) - Each agent should have created exactly one commit with `[codex-agent-{N}]` tag - If a commit is MISSING → that agent's sandbox was cleaned up → re-run it 4. Check for unexpected file conflicts: `git diff --name-only` (should be empty if all committed) 5. Run syntax checks: `php -l` on changed PHP files
[Workflow] codex-orchestrator: Step 3: Parallel Spawning claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","parallel","spawning"]
Cross-domain: []
Symptoms: []
Body:
**Pattern for parallel background execution:** ```bash REGISTRY="/tmp/codex-registry-$$.json" echo '{"agents":[]}' > "$REGISTRY" for i in 1 2 3; do ( OUTPUT=$(codex exec -m "gpt-5.4" \ -c model_reasoning_effort=medium \ --full-auto \ -o "/tmp/codex-agent-$i-result.txt" \ "${PROMPTS[$i]}" 2>&1) SESSION=$(echo "$OUTPUT" | grep "session id:" | awk '{print $NF}') TOKENS=$(echo "$OUTPUT" | grep "tokens used" | head -1) EXIT=$? # Atomic write to...
[Workflow] codex-orchestrator: Step 2: Agent Registry claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","agent","registry"]
Cross-domain: []
Symptoms: []
Body:
Create a tracking structure before spawning: ```bash REGISTRY_FILE="/tmp/codex-orchestrator-$(date +%Y%m%d-%H%M%S).json" ``` Track per agent: - Agent ID (incrementing integer) - Session UUID (from codex output) - Status: spawning / running / completed / failed - Assigned files (for conflict detection) - Model + reasoning effort - Start time - Output summary
[Guardrail] codex-orchestrator: Step 1: Task Decomposition claude/agents/codex-orchestrator gotcha critical codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","task","decomposition","git"]
Cross-domain: []
Symptoms: []
Body:
Before spawning agents, decompose the work into independent, non-overlapping units. **CRITICAL: File Conflict Prevention** Each Codex agent operates in the SAME workspace (no git worktrees). Agents MUST NOT edit the same files simultaneously. ``` SAFE: Agent A edits app/Services/Foo.php, Agent B edits app/Services/Bar.php UNSAFE: Agent A and B both edit app/Services/Shared.php ``` **Decomposition rules:** 1. Each agent gets a DISTINCT set of files 2. No file appears in more than one agent's...
[Tool usage] codex-orchestrator: Codex Agent Plan claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","agent","plan","gh"]
Cross-domain: []
Symptoms: []
Body:
| # | Task | Files | Score | Model | Effort | Est. Tokens | |---|------|-------|-------|-------|--------|-------------| | 1 | Extract FooHelper trait | 2 | 3 | gpt-5.4 | medium | ~5k | | 2 | Rename old methods | 1 | 1 | gpt-5.4 | low | ~1k | | 3 | Refactor BarService logic | 4 | 5 | gpt-5.4 | high | ~15k | Total estimated: ~21k tokens Parallel groups: [1,2] parallel → 3 sequential (shares file with 1) Godkjenn? (ja / endre agent 3 til xhigh / manuell overstyring) ``` **User can override ANY...
[Guardrail] codex-orchestrator: Present Selection to User Before Spawning claude/agents/codex-orchestrator gotcha high codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","present","selection","user","before","spawning"]
Cross-domain: []
Symptoms: []
Body:
After auto-selection, ALWAYS show the plan: ```
[Tool usage] codex-orchestrator: Score → Model/Effort Mapping claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","score","modeleffort","mapping","gh"]
Cross-domain: []
Symptoms: []
Body:
``` Score 0-1 → gpt-5.4 / low (trivial: rename, simple write) Score 2-3 → gpt-5.4 / medium (standard: extract method, add feature) Score 4-6 → gpt-5.4 / high (complex: refactor, multi-file logic) Score 7+ → gpt-5.4 / xhigh (hard: architecture, cross-cutting) BUDGET MODE (user-requested): Score 0-1 → gpt-5-codex-mini / medium (cheapest possible) Score 2-3 → gpt-5.4 / low (downgrade effort) Score 4+ → gpt-5.4 / medium (cap at medium) ```
[Workflow] codex-orchestrator: Classification Algorithm claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","classification","algorithm"]
Cross-domain: []
Symptoms: []
Body:
For each decomposed task, evaluate these signals: ``` SIGNAL SCORING: +0 points = baseline (low effort) File count: 1 file → +0 2-3 files → +1 4-5 files → +2 6+ files → +3 Lines of change (estimated): <30 LOC → +0 30-100 LOC → +1 100-300 LOC → +2 300+ LOC → +3 Task type: rename/move/delete → +0 add field/method → +1 extract class/trait → +2 refactor logic → +3 cross-concern change → +4 Dependency complexity: Self-contained ...
[Workflow] codex-orchestrator: Smart Auto-Selection System (Step 1.5) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","smart","autoselection","system","step"]
Cross-domain: []
Symptoms: []
Body:
When user selects "Smart Auto-Select", analyze EACH task independently:
[Workflow] codex-orchestrator: Question 3: Reasoning Effort (if Uniform) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","question","reasoning","effort","uniform","gh"]
Cross-domain: []
Symptoms: []
Body:
``` Velg reasoning effort: 1. low - Raske, enkle oppgaver (rename, flytt, enkel write) ~1-2k tokens 2. medium - Standard kodeedits (ekstraher, modifiser) ~3-8k tokens 3. high - Kompleks refaktorering (multi-fil, logikk-endring) ~10-20k tokens 4. xhigh - Maksimal reasoning (arkitektur, vanskelige problemer) ~20-50k tokens ``` ---
[Workflow] codex-orchestrator: Question 2: Model (if Uniform or Manual) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","question","model","uniform","manual"]
Cross-domain: []
Symptoms: []
Body:
``` Velg Codex-modell: 1. gpt-5.4 (anbefalt - nyeste, best kvalitet) 2. gpt-5.2-codex (stabil, god kvalitet) 3. gpt-5.1-codex-max (utvidet kontekst) 4. gpt-5-codex-mini (budget, enkle oppgaver) ```
[Workflow] codex-orchestrator: Question 1: Agent Selection Mode claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","question","agent","selection","mode"]
Cross-domain: []
Symptoms: []
Body:
``` Codex Agent Configuration: Velg agent-tilordning: 1. Smart Auto-Select (anbefalt) - Analyserer oppgavekompleksitet og velger modell+effort automatisk 2. Uniform - Samme modell/effort for alle agenter (du velger) 3. Manual per agent - Du spesifiserer modell og effort per oppgave ```
[Workflow] codex-orchestrator: Step 0: User Configuration (MANDATORY - Ask Before Spawning) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","step","user","configuration","mandatory","ask","before","spawning"]
Cross-domain: []
Symptoms: []
Body:
Before ANY agent spawning, present the user with configuration choices using AskUserQuestion:
[Tool usage] codex-orchestrator: Git Commit Still Mandatory claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","git","commit","still","mandatory"]
Cross-domain: []
Symptoms: []
Body:
Even without sandbox overlay, agents MUST `git add + git commit` as a mandatory final step. This ensures work is tracked and visible to other agents/sessions. **Every agent prompt MUST include `git add + git commit` as a mandatory final step.** Without this, work is silently lost. See "Effective Prompt Structure" for the correct WHEN DONE block. ---
[Workflow] codex-orchestrator: Resume (Multi-Turn) claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","resume","multiturn"]
Cross-domain: []
Symptoms: []
Body:
```bash codex exec resume "{SESSION_ID}" "{next_prompt}" -m "{model}" -c model_reasoning_effort={effort} --dangerously-bypass-approvals-and-sandbox 2>&1 ```
[Workflow] codex-orchestrator: Why NOT --full-auto? claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","why","not","fullauto"]
Cross-domain: []
Symptoms: []
Body:
`--full-auto` uses `bwrap` (bubblewrap) sandbox which requires network namespace creation. This server (KVM VM on laravelserver-v11) lacks permission for `RTM_NEWADDR` on loopback, causing every command to fail with: `bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted`. `--dangerously-bypass-approvals-and-sandbox` skips bwrap entirely — safe because this server IS the execution environment.
[Workflow] codex-orchestrator: Key Flags claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","key","flags"]
Cross-domain: []
Symptoms: []
Body:
- `--dangerously-bypass-approvals-and-sandbox` - No sandbox, no approval prompts (REQUIRED on this server — bwrap fails) - `--full-auto` - Workspace-write sandbox + auto-approve (BROKEN on this server — bwrap loopback fails) - `--json` - JSONL event stream (for programmatic parsing) - `-o {file}` - Write last agent message to file - `-C {dir}` - Set working directory - `--ephemeral` - Don't persist session (no resume possible)
[Workflow] codex-orchestrator: Core Spawn Command claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","core","spawn","command"]
Cross-domain: []
Symptoms: []
Body:
```bash codex exec -m "{model}" -c model_reasoning_effort={effort} --dangerously-bypass-approvals-and-sandbox "{prompt}" 2>&1 ```
[Tool usage] codex-orchestrator: Available Models claude/agents/codex-orchestrator api_note medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","available","models","gh"]
Cross-domain: []
Symptoms: []
Body:
| Model | Reasoning | Best For | |-------|-----------|----------| | gpt-5.4 | low/medium/high/xhigh | Default, best quality (latest) | | gpt-5.3-codex | low/medium/high/xhigh | Fallback | | gpt-5.2-codex | low/medium/high/xhigh | Legacy fallback | | gpt-5.1-codex-max | low/medium/high/xhigh | Extended tasks | | gpt-5.2 | low/medium/high/xhigh | Non-codex variant | | gpt-5.1-codex | low/medium/high | Stable, lighter | | gpt-5-codex-mini | medium/high | Budget, simple tasks | **NOT available via...
[Workflow] codex-orchestrator: When to Use Codex Agents vs Claude Agents claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","when","use","agents","claude"]
Cross-domain: []
Symptoms: []
Body:
| Scenario | Use Codex | Use Claude Task | |----------|-----------|-----------------| | Autonomous file edits across many files | ✅ | | | Refactoring with clear instructions | ✅ | | | Bulk migrations/transformations | ✅ | | | Tasks needing inherited context | | ✅ | | Tasks needing tool restrictions | | ✅ | | Coordinated multi-agent with shared state | | ✅ | | Cost-sensitive (ChatGPT plan = free) | ✅ | | ---
[Guardrail] codex-orchestrator: MCP Tools (Always Available) claude/agents/codex-orchestrator gotcha high codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","mcp","tools","always","available","serena"]
Cross-domain: []
Symptoms: []
Body:
All MCP servers are active (deferred loading — 0 cost until first use). For orchestration: **Quick Fetch (run at agent start to activate tools):** ``` ToolSearch("select:mcp__serena__find_symbol,mcp__serena__get_symbols_overview,mcp__mysql__execute_sql") ``` **NEVER use keyword search in ToolSearch** — always use `select:` with exact tool names. - **Serena** — Understand codebase structure for task delegation - **MySQL** — Check data state when coordinating data-related tasks ---
[Workflow] codex-orchestrator: Codex Orchestrator Agent claude/agents/codex-orchestrator pattern medium codex-orchestrator.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codex-orchestrator.md
Source date: 2026-03-19
Keywords: ["codex","orchestrator","agent"]
Cross-domain: []
Symptoms: []
Body:
**Purpose:** Spawn, track, and coordinate multiple parallel OpenAI Codex CLI agents for autonomous code tasks. **Expert file:** `coordination/experts/_claude/agent-system/CURRENT-codex-cli.md` ---
[Guardrail] codebase-janitor: IMPORTANT claude/agents/codebase-janitor gotcha high codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","important"]
Cross-domain: []
Symptoms: []
Body:
After detecting workspace, **immediately read the full variant file** and follow its instructions completely. Do NOT use this router file for actual cleanup work. This file is ONLY for routing.
[Tool usage] codebase-janitor: Available Variants claude/agents/codebase-janitor api_note medium codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","available","variants","artisan","git"]
Cross-domain: []
Symptoms: []
Body:
| Variant | File | Workspace | Key Differences | |---------|------|-----------|-----------------| | `codebase-janitor-reportmaker` | `codebase-janitor-reportmaker.md` | `/var/www/reportmaker/` | Laravel structure, app/resources/routes dirs, artisan/composer/vite configs | | `codebase-janitor-ops` | `codebase-janitor-ops.md` | `/var/www/magitek-ops/` | Expert file structure, CURRENT symlinks, coordination/ layout, location-based dirs |
[Tool usage] codebase-janitor: How to detect: claude/agents/codebase-janitor api_note medium codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","how","detect","artisan"]
Cross-domain: []
Symptoms: []
Body:
```bash # Quick check if [ -f artisan ]; then basename "$(pwd)" # reportmaker, skymirror, etc. else echo "ops-workspace" fi ```
[Tool usage] codebase-janitor: Workspace Detection (MANDATORY FIRST STEP) claude/agents/codebase-janitor api_note medium codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","workspace","detection","mandatory","first","step","artisan","git"]
Cross-domain: []
Symptoms: []
Body:
**Detect workspace from current working directory:** ``` IF cwd = /var/www/reportmaker (or contains artisan + "reportmaker" in path): -> Read and follow ALL instructions from .claude/agents/codebase-janitor-reportmaker.md ELSE IF cwd = /var/www/skymirror (or contains artisan + "skymirror" in path): -> Read and follow ALL instructions from .claude/agents/codebase-janitor-reportmaker.md (SkyMirror uses same Laravel project structure as ReportMaker) ELSE IF cwd =...
[Guardrail] codebase-janitor: MCP Tools (Always Available) claude/agents/codebase-janitor gotcha high codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","mcp","tools","always","available","serena"]
Cross-domain: []
Symptoms: []
Body:
All MCP servers are active (deferred loading — 0 cost until first use). For codebase cleanup: **Quick Fetch (run at agent start to activate tools):** ``` ToolSearch("select:mcp__serena__find_symbol,mcp__serena__get_symbols_overview,mcp__serena__find_referencing_symbols") ``` **NEVER use keyword search in ToolSearch** — always use `select:` with exact tool names. - **Serena** — Understand file relationships before cleanup decisions ---
[Workflow] codebase-janitor: Codebase Janitor Agent -- Router claude/agents/codebase-janitor pattern medium codebase-janitor.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","agent","router"]
Cross-domain: []
Symptoms: []
Body:
This agent detects your workspace and delegates to the correct specialized cleanup variant.
[Workflow] codebase-janitor-reportmaker: Commit Message Format claude/agents/codebase-janitor-reportmaker pattern medium codebase-janitor-reportmaker.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor-reportmaker.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","reportmaker","commit","message","format"]
Cross-domain: []
Symptoms: []
Body:
``` cleanup(janitor): [action] [count] [category] files # Examples: cleanup(janitor): remove 7 HANDOFF-*.md from project root cleanup(janitor): remove 12 phpstan variant configs cleanup(janitor): remove 5 one-off PHP test scripts from root cleanup(janitor): remove orphan filedump/ directory ```
[Workflow] codebase-janitor-reportmaker: Integration Points claude/agents/codebase-janitor-reportmaker pattern medium codebase-janitor-reportmaker.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor-reportmaker.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","reportmaker","integration","points","gh"]
Cross-domain: []
Symptoms: []
Body:
- Can be run standalone via `/cleanup` command - Orchestrator can delegate after `/implement-masterplan` or `/audit-masterplan` completes - Solo modes can suggest running when they notice junk during work - Post-merge hook could trigger a lightweight scan (future enhancement)
[Workflow] codebase-janitor-reportmaker: Moving vs Deleting claude/agents/codebase-janitor-reportmaker pattern medium codebase-janitor-reportmaker.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor-reportmaker.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","reportmaker","moving","deleting","gh"]
Cross-domain: []
Symptoms: []
Body:
**Default: DELETE** for obvious junk (HANDOFF-*, test_*, benchmark_*, modal_output*, tool output) **ASK USER** for borderline files: - `CHANGELOG.md` — might be wanted, might be agent-generated - `backup-site.sh` — might be intentional ops script - `deployment/` — might have useful configs - Any file > 50KB — flag for review before deletion - Any `.sh` that looks like it might be in active use **MOVE to coordination/archive/** for: - Masterplan-related files found in wrong location - Expert...
[Tool usage] codebase-janitor-reportmaker: Step 4: Verify & Report claude/agents/codebase-janitor-reportmaker api_note medium codebase-janitor-reportmaker.md 88 2026-03-22 02:00:03
Source file: /home/heine/.claude/agents/codebase-janitor-reportmaker.md
Source date: 2026-03-19
Keywords: ["codebase","janitor","reportmaker","step","verify","report","git"]
Cross-domain: []
Symptoms: []
Body:
```bash # Verify clean state ls *.md *.txt *.sh *.py *.php *.html 2>/dev/null # Show revert commands git log --oneline -N # Show the N cleanup commits echo "To revert any category: git revert <commit-hash>" ``` ---
Ingestion History

Loading…