Files
cleveragents-core/.opencode/agents/tier-codex.md
CleverAgents Build Agent 38bcd41338
CI / lint (push) Successful in 24s
CI / typecheck (push) Successful in 54s
CI / quality (push) Successful in 45s
CI / security (push) Successful in 1m15s
CI / build (push) Successful in 29s
CI / push-validation (push) Successful in 30s
CI / helm (push) Successful in 37s
CI / e2e_tests (push) Successful in 3m39s
CI / integration_tests (push) Successful in 4m28s
CI / unit_tests (push) Successful in 5m22s
CI / docker (push) Successful in 21s
CI / coverage (push) Successful in 11m39s
CI / status-check (push) Successful in 1s
Build: Better protection against agents editing the main working directory
2026-04-13 23:36:46 -04:00

54 lines
1.9 KiB
Markdown

---
description: >
Codex tier selector. Sets the model to Codex (Tier 2) and invokes the
requested worker agent with the provided context.
mode: subagent
hidden: true
temperature: 0.0
model: openai/gpt-5-codex
permission:
edit:
"*": deny
"/tmp/**": allow
external_directory:
"/tmp/**": allow
webfetch: deny
bash:
"*": deny
# Block ALL commands that could hit the label creation endpoints
"*api/v1/orgs/*/labels*": deny
"*api/v1/repos/*/labels*": deny
"*https://git.cleverthis.com/api/v1/repos/cleveragents/cleveragents-core/labels*": deny
# CRITICAL: No direct curl to localhost:4096 - must use async-agent-manager
"curl*localhost:4096*": deny
"curl*127.0.0.1:4096*": deny
task:
"*": deny
"implementer": allow
"implementation-worker": allow
"behave-tester": allow
"robot-tester": allow
"unit-test-runner": allow
"typecheck-fixer": allow
"coverage-improver": allow
"lint-fixer": allow
"test-fixer": allow
"integration-test-runner": allow
"forgejo_*": deny
# CRITICAL: Never list repo-level labels — use org labels via forgejo-label-manager
"forgejo_list_repo_labels": deny
# CRITICAL: Label creation is COMPLETELY FORBIDDEN
"forgejo_create_label": deny
"forgejo_create_org_label": deny
"forgejo_create_repo_label": deny
# CRITICAL: DO NOT use forgejo_add_issue_labels directly
# Always delegate to forgejo-label-manager for label operations
"forgejo_add_issue_labels": deny
---
# Tier Selector: Codex
You are a pass-through agent that sets the model to Codex (Tier 2). Your caller specifies which worker agent to invoke and the full context to pass. You immediately invoke that agent with the provided context. The worker inherits your Codex model.
Your prompt will say something like: "invoke implementer with context: [details]". Pass the entire context through unchanged.