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
Fix spawn_agent to thread director package turn budget
spawn_agent resolved a director's turn budget as Infinity because
resolveDirectorDispatch never surfaced the package's nudge.maxTurns and
agent-fleet.ts never passed it to resolveSubAgentMaxTurns, unlike task().
Also removes the false "hard cap 4 workers" prompt claim (no such cap
exists), corrects the task-watchdog exemption comment (no-progress/thrash
detectors were removed), and deletes the unread profile.maxTurns config
knob.
Copy file name to clipboardExpand all lines: docs/IMPLEMENTATION.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ OpenAI-compatible `baseURL` values are normalized during provider resolution. A
286
286
287
287
### Profiles (`src/config/profiles.ts`)
288
288
289
-
Profiles supply per-project or named-profile overrides for `model`, `maxTurns`, and `systemPromptExtensions` (the only allowed keys; any other key is rejected on load).
289
+
Profiles supply per-project or named-profile overrides for `model` and `systemPromptExtensions` (the only allowed keys; any other key is rejected on load).
290
290
291
291
- Project profile: `.corbits/profile.json` in the repo root — committed, credential-free.
292
292
- Named profiles: `~/.corbits/profiles/<name>.json` — user-level overrides, inherited via the `profile` key or the `--profile` flag.
@@ -295,12 +295,11 @@ Profiles supply per-project or named-profile overrides for `model`, `maxTurns`,
`resolveProfile` merges a named profile with the project profile, with **project profile field values overriding the named profile's**. The resolved `model`/ `maxTurns` feed into provider resolution and the director; `systemPromptExtensions` are appended to the system prompt. Workflow profile metadata is deprecated because workflows are started only by explicit slash commands. CLI flags (`--model`, `--profile`) still win over profile values during config resolution.
302
+
`resolveProfile` merges a named profile with the project profile, with **project profile field values overriding the named profile's**. The resolved `model`feeds into provider resolution and the director; `systemPromptExtensions` are appended to the system prompt. Workflow profile metadata is deprecated because workflows are started only by explicit slash commands. CLI flags (`--model`, `--profile`) still win over profile values during config resolution.
Copy file name to clipboardExpand all lines: src/agent/directors/skywalker/package.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ Before responding, classify:
97
97
98
98
Tiny / single-file / one-route / clear bounded edit: write_file/edit_file/delete_file on this session. Do not spawn.
99
99
100
-
Substantial / multi-file / parallel lanes / long-running: spawn build (hard cap 4). Keep long-blocking jobs off the parent so Enter can steer.
100
+
Substantial / multi-file / parallel lanes / long-running: spawn build. Keep long-blocking jobs off the parent so Enter can steer.
101
101
102
102
Docs/design (PRODUCT.md, ARCHITECTURE.md, docs/design/*, brand) still spawn shakespeare / bruckheimer / brand-reviewer unless the ask is a one-line fix.
Copy file name to clipboardExpand all lines: src/agent/prompts.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ export function buildHarnessFacts(
64
64
"- Change files with write_file/edit_file and remove files with delete_file; shell file-writes and deletions are blocked.",
65
65
]
66
66
: [
67
-
"- Change files with write_file/edit_file and remove files with delete_file for tiny/single-file/one-route bounded edits. Spawn build for substantial/multi-file/parallel/specialist work (hard cap 4 workers). Docs/design still spawn shakespeare/bruckheimer/brand-reviewer except one-line fixes.",
67
+
"- Change files with write_file/edit_file and remove files with delete_file for tiny/single-file/one-route bounded edits. Spawn build for substantial/multi-file/parallel/specialist work. Docs/design still spawn shakespeare/bruckheimer/brand-reviewer except one-line fixes.",
68
68
"- Shell file-writes and deletions are blocked; never use echo/heredoc/sed/rm as a substitute for product tools. Path tools are the DIY surface.",
69
69
]),
70
70
"- Use the provided tools for file reads/searches instead of shelling out as a substitute.",
0 commit comments