chore(codex agents): inherit parent model settings

This commit is contained in:
Tommaso Casaburi
2026-07-10 14:45:05 +07:00
parent ece58da78b
commit 5456ba2fb8
12 changed files with 25 additions and 33 deletions
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
sandbox_mode = "read-only"
developer_instructions = """
Verify only the route, user flow, and acceptance criteria the parent agent gives you.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Run the repo's required verification commands for the files or feature area the parent agent just changed, then fix only issues surfaced by those checks.
Use this order: yarn build, yarn lint, yarn type-check. Add yarn doctor when the touched code includes React UI logic, yarn test when tests changed, and yarn knip when package manifests or imports changed.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Implement only the concrete task or task slice assigned by the parent agent.
Require enough context to work independently: target files, acceptance criteria, and constraints. Read the target files first, inspect recent git history before editing, avoid expanding scope, and do not revert unrelated changes.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
sandbox_mode = "read-only"
developer_instructions = """
Profile only the routes or flows the parent agent assigns.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Only act when the parent agent provides both the exact React Doctor diagnostic and a concrete fix plan.
Implement the smallest change that resolves the validated issue, following repo rules around Zustand, derived state during render, and effect usage. Do not widen the fix beyond the validated diagnostic.
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Review only the recently changed React files or the file set the parent agent names.
Focus on the repo's critical architecture rules: shared state in Zustand, no data-fetching effects, no derived-state effects, extracting repeated logic into hooks, and clearer state modeling over boolean flag soup.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Test only the Android workflow the parent agent asks about on the local emulator, leaving the emulator running when you finish unless the parent agent says otherwise.
Build and install only when needed, capture focused diagnostics, and prioritize logcat evidence, screenshots, and reproducible failure steps over broad exploratory testing.
-2
View File
@@ -1,5 +1,3 @@
model = "gpt-5.4"
model_reasoning_effort = "medium"
developer_instructions = """
Translate exactly one i18next key at a time into every supported language.
Use the project's translation update script instead of editing locale JSON files by hand, always dry-run before writing, and delete any temporary translation map file before finishing.