Repository navigation
refactor(harness): U6 o Builder na ficha - #1281
Merged
Merged
Conversation
O Builder nasce de uma ficha (base CODING_AGENT, prompt ONE_STRING, judge, turno RUN com a trava do Projeto como o passo projectTurn) e da montagem do kit. A montagem passa workspace: undefined a createCodingAgent. Sai TOOL_CLOSURE.initialState: o regime NOTHING_ASKS escreve o yolo. Nada muda para quem usa; os retratos do Builder passam sem mudar.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
G5 do cartão "Uma ficha por agente" (
docs/steps/uma-ficha-por-agente.md, U6): o Builder nasce da ficha e da montagem do kit, como o Construtor, o agente salvo e o Assistente (#1259, #1262, #1275, #1279). Nada muda para quem usa; o pedido do Builder ao modelo fica igual byte a byte.What changed
B/controller-kit/spec.ts,mount.ts:ONE_STRING,CODING_AGENT(createCodingAgentcomworkspace: undefinedexplícito,NM/coding-agent/index.js:221),judge(oisTaskCompletepadrão do agente); o turnoRUNvale também numa conversa;initialStateOfexportado.B/conversation/builder.ts: ocreateCodingAgente ocontrollerOfviram a ficha.turn-of.ts:turnOfdevolve o turnoRUNcomprojectTurn(a trava do Projeto) como o passotake.permissions.ts: saiTOOL_CLOSURE.initialState;permissions.test.ts:162lêinitialStateOf({ kind: 'NOTHING_ASKS' })(o único teste que muda).controller-kit/public.ts: saemagentDefaults,controllerOfeturnProcessor(nada fora do kit os usa; knip).Scope
Só
B/conversation/eB/controller-kit/. 174 linhas a mais, 93 a menos (orçamento 250). Critério 17: o diff depackages/hub-api apps/web apps/server/migrations apps/server/database-grants.sql .dependency-cruiser-migration.cjssai vazio.Tradeoffs
Sem retrato regravado:
git diff 9e05c9b8 HEAD -- 'apps/server/src/builder/**/requests/*.snapshot'vazio (critério 4). O critério 15 (build da quinta) é do firstmate, depois do merge.Blast Radius
Só o Builder; reverter este PR devolve o Builder como era. Critério 14: o
grepdenew Agent(\|createCodingAgent(\|controllerOf(fora dos testes só achaB/controller-kit/(factories.ts:101,mount.ts:139,141,192).Verification
prompt.test.tspassam duas vezes sem regravar;B/conversation/eB/controller-kit/com os retratos dos outros três: 207 testes, 0 falhas.spec.test.ts, "a ficha de código dá um agente sem máquina própria" (getWorkspace()sem nenhum); mais casos deONE_STRING,judgee do turnoRUNnuma conversa.workspace;judgefora ou no lugar dos padrões;resumes: false;approvalTHE_WRITE_ASKS;workspaceouownfora da ficha.name(só aparece em traços; nenhum retrato o lê);nonedeturnOf(a recusaCONVERSATION_NOT_FOUNDvem da rota e deguard.tsantes de o run existir; nenhum teste da porta pública chega à razão do aborto);mode.availableToolsfora (o mesmo antes:permissions.test.tsprova a lista num controlador montado à mão, e nenhum teste do Builder oferece uma ferramenta fora dela).npm run check: lint, tipos, knip, docs, openapi, suppressions, quality, boundaries, second-card, approval, method-freeze e migrations verdes;check:workflowsnão rodou (sem docker aqui, nenhum workflow mudou);depsrodado emapps packages scripts tests(o.refs/do worktree o quebra).Generated by Claude Code