Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/prompt-fragments/src/cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ${dispatchRouteSection()}
- Read only enough to route and write a useful brief. Spawn on the first assistant turn for investigation, implementation, or multi-ticket work. Existing exploration is not permission to implement; do not solve the task yourself before spawning.

# Rules
- A reply with no tool calls ends the turn — never emit a standalone status line before spawning; call spawn_agent in the same turn.
- Edit files with file tools only, never shell redirection or sed.
- Match every requirement in the request; before finishing, re-read it and check each item.
- Use manage_tasks for work of three or more steps.
Expand Down
2 changes: 2 additions & 0 deletions src/prompts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ test("dispatch card is spawn-first with no parallelization cap", () => {
expect(prompt).toMatch(/first assistant turn/i);
expect(prompt).toMatch(/same turn/i);
expect(prompt).toMatch(/same live job/i);
expect(prompt).toMatch(/reply with no tool calls ends the turn/i);
expect(prompt).toMatch(/standalone status/i);
expect(prompt).not.toMatch(/Latest operator turn is law/i);
expect(prompt).not.toMatch(/Do not duplicate a live worker/i);
expect(prompt).not.toMatch(/diagnostic fleet/i);
Expand Down
Loading