[Bug]: T3_CODE_ORCHESTRATION_INSTRUCTIONS has no carve-out for user- or repo-mandated CLI review workflows (unlike T3_CODE_BROWSER_TOOL_INSTRUCTIONS)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- ai-infra-agents, typescript
Direzione di ricerca
La modifica riguarda T3_CODE_ORCHESTRATION_INSTRUCTIONS in packages/provider-core/src/server/orchestrationInstructions.ts, intorno alle righe 9–11, dove si trovano le righe incondizionate di delegate_task. Leggi l'eccezione per il browser alle righe 49–54 dello stesso file e rispecchia la sua formulazione. È completato quando il testo di orchestrazione prevede un'eccezione per il caso in cui l'utente o un workflow del repository documentato indichi un runner CLI o uno script specifico per una revisione o un controllo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
packages/provider-core, apps/server
Steps to reproduce
- In a repository whose
AGENTS.md(or user prompt) mandates a repository-owned CLI review runner (for example, a read-only shell command that prepares an isolated review packet and runs a cross-provider reviewer CLI with--strict-mcp-configand structured verdict parsing), start a Codex turn in T3 Code with thet3-codeMCP server attached. - Ask the agent to run the repository's required code review workflow.
- Observe how strict instruction-hierarchy models (such as Codex) resolve the conflict between the repository workflow / user prompt and
t3_code_orchestration(T3_CODE_ORCHESTRATION_INSTRUCTIONS) injected inturn/start.additionalContext.
Expected behavior
When the user or a documented repository workflow/skill explicitly names a dedicated CLI runner or script for a review or check, the agent should follow that workflow rather than refusing it on the ground that T3_CODE_ORCHESTRATION_INSTRUCTIONS requires delegate_task.
T3_CODE_BROWSER_TOOL_INSTRUCTIONS in the same file (packages/provider-core/src/server/orchestrationInstructions.ts L49–54) already includes this exact carve-out for browser tools:
Use another browser system when:
- the T3 preview tools are absent, or `preview_open` returns an explicit unsupported/unavailable error;
- the user asks for another browser, or invokes a skill or documented repository workflow that names one; follow that workflow and report any prerequisite it is missing;
Actual behavior
T3_CODE_ORCHESTRATION_INSTRUCTIONS (packages/provider-core/src/server/orchestrationInstructions.ts L9–11) currently states unconditionally:
Also use delegate_task for cross-provider or explicitly T3-owned child tasks.For every T3 delegated review round, call delegate_task again.
For Codex turns (apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts L766–775 → buildCodexAdditionalContext in apps/server/src/provider/CodexDeveloperInstructions.ts L146–164), t3_code_orchestration is injected as { kind: "application", value: T3_CODE_ORCHESTRATION_INSTRUCTIONS }, which Codex renders as a developer-level <t3_code_orchestration> message. Because developer instructions outrank AGENTS.md and user messages in Codex's instruction hierarchy, Codex sessions refuse to run a repository's shell-based review runner even when both AGENTS.md and the user explicitly tell them to use the repository runner instead of delegate_task.
Suggested fix: in T3_CODE_ORCHESTRATION_INSTRUCTIONS (packages/provider-core/src/server/orchestrationInstructions.ts), add a short exception parallel to T3_CODE_BROWSER_TOOL_INSTRUCTIONS—for example, noting that when the user or a documented repository workflow/skill explicitly names a specific CLI runner or script for a review or check, the agent should follow that workflow instead of delegate_task.
Impact
Blocks core workflow
Version or commit
0.0.46-nightly.20261014.3132; still present on main @ 42da166d13
Environment
macOS, Apple Silicon. T3 Code Desktop Nightly 0.0.46-nightly.20261014.3132. Provider: Codex (gpt-5.4 / gpt-6.1-sol).
- Lingua principale
- TypeScript
- Stelle
- 24.8k
- Fork
- 6.4k
- Merge medio
- 6h 23m
- PR unite (30g)
- 203
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pingdotgg/t3code
-
accepted bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pingdotgg/t3code#19536 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Diff panel hides the current branch name and the arrow overlaps the base ref when the panel is narrowForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaaccepted bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pingdotgg/t3code#19048 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Windows repository cloning fails while creating an existing drive rootForse già presa @pujitha24 l’ha presa 4 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pingdotgg/t3code
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
stellar/stellar-dev-skill#151 ·
I maintainer di solito rispondono entro 1 giorno
-
Trial & Error: guided Blind offer squeezes on phones and sits under the touch toolbar on iPadApertaarea:arcade game ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fderuiter/deruiter.dev#2281 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
scope: data grid type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
fix(frontend): correct VITE_IS_DEVELPOMENT typo in shared/app.ts and align dev environment flagsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
vicharanashala/ajrasakha#1439 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: TV5Monde AsieApertaapproved check:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno