You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d463cda
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ Dependencies point downward only. `core/` imports nothing that does input or out
168
168
| Review service |`runner/review.ts`| Builds the review view: reads history, links it to the plan, computes approval states and merge blockers. Applies review commands through the store. | In use |
169
169
| Ask |`runner/questions.ts`, `runner/question-*.ts`| Answers a question about one plan item with a read-only Claude agent (Codex is refused in every phase, #93). Runs lane D's setup in a worker thread so the server stays responsive. Ask and planning share one read-only container runner (`runReadOnlyAgent`, #117) but keep separate workers, owners and leftovers. Labels its Docker objects with a per-database Ask owner and recovers only its own leftovers, so reviews sharing one Docker daemon do not block each other (#95). | In use |
170
170
| Merge coordinator |`runner/merge.ts`| Runs the full merge gate twice, re-reads the local generation, then merges the exact reviewed head. Tracks merge-queue attempts. For a runner task it inspects and merges the task's own published pull request; a configured `github.pullRequest` that differs is refused (#121). | In use |
171
-
| Planning agent |`runner/planning.ts`, `web/planning.ts`, `runner/planning-provider.ts`| Runs plan suggestions and drafts with Claude in lane D's planning phase, on a read-only copy of the current head, in its own worker with its own leftovers ledger and owner token. The request and its timer share one 10-minute budget. Issue text is read with collaborators' comments only. | In use for a non-demo review with a `github` block |
171
+
| Planning agent |`runner/planning.ts`, `web/planning.ts`, `runner/planning-provider.ts`| Runs plan suggestions and drafts with Claude in lane D's planning phase, on a read-only copy of the current head, in its own worker with its own leftovers ledger and owner token. The request and its timer share one 10-minute budget. Issue text includes current collaborators' comments, or every comment under explicit author-bound trust. | In use for a non-demo review with a `github` block |
172
172
| Runner coordinator |`runner/coordinator.ts`, `runner/lifecycle.ts`| Attempt admission, concurrency slots, compare-and-swap on results, retries, shutdown order. A stop made inside a user action takes effect only after that action's transaction commits (`Store.afterCommit`, #96). | In use with the opt-in `runner` block (#91) |
173
173
| Execution |`runner/execution.ts`| Runs plan items in order: fresh workspace, prompt, agent, post-run audit, then the runner's own commit and ledger entry. Before launch, D's tree check (`checkTaskTree`) must pass. Start and resume require current approvals, own the review version across the run, recheck approvals before later items, and verify that a completed prefix still ends at the current head (#107). Pauses in needs amendment on an out-of-scope edit. A safety violation is saved before its terminal write and remains durably owed when a human gate delays escalation; a failed run is audited too. | In use with the opt-in `runner` block; started by `start` and `resume` on `/api/runner` (#91, #107, PRs #105 and #130) |
174
174
| Workspace |`runner/workspace.ts`, `runner/runner-repository.ts`| The real lane D workspace. A runner-owned bare repository (owner-only directories) fetches base commits by ID and takes in each verified commit bundle under a per-attempt ref. Review and Ask read a task with runner commits from there, at the head the Store recorded. | In use with the opt-in `runner` block (#91) |
// The execute prompt carries the issue as one JSON data block of at most MAX_PROMPT_BYTES (dataJSON). A running byte
253
-
// count stops reading early (a title and body already over it read no collaborator or comment page); the exact check
309
+
// count stops reading early (a title and body already over it read no included comment page); the exact check
254
310
// below uses the prompt's own serializer, so an issue accepted here is one the prompt can carry.
255
-
consttooLong=()=>newError(`Issue #${number}'s title, body and collaborator comments are larger than the ${MAX_PROMPT_BYTES/1024} KiB an execute prompt carries; codeboost does not cut an issue to fit.`);
311
+
consttooLong=()=>newError(`Issue #${number}'s title, body and included comments are larger than the ${MAX_PROMPT_BYTES/1024} KiB an execute prompt carries; codeboost does not cut an issue to fit.`);
256
312
// Only the size refusal is reworded; any other (text with a NUL, for one) keeps its own reason.
0 commit comments