Skip to content

Commit de9414b

Browse files
Merge pull request #1281 from corbitsdev/cl-9676-tighten-dispatch-steering-when-not-to-spawn-conditional
refactor(agent): tighten dispatch spawn and review rules
2 parents 0fd92db + f642f5c commit de9414b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/agent/directors/coder/package.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { DirectorPackage } from "../types.js";
22
import { BUILD_TOOLS } from "../tool-sets.js";
33

44
/**
5-
* Coder worker: Ponytail x Greybeard hybrid implementation specialist.
5+
* Coder worker: implementation specialist.
66
* Minimal safe diffs, root-cause fixes at the proper layer, zero unnecessary
77
* abstractions, unit tests landed with changes, repo check gate.
88
*/
@@ -18,7 +18,7 @@ export const coderPackage: DirectorPackage = {
1818
"orchestrating or spawning other agents",
1919
],
2020
description:
21-
"Implementation specialist — Ponytail x Greybeard hybrid: minimal safe diffs, root-cause fixes, tests",
21+
"Implementation specialist — minimal safe diffs, root-cause fixes, tests",
2222
tools: { allow: BUILD_TOOLS },
2323
spawn: { maySpawn: false },
2424
tier: "leaf",
@@ -28,7 +28,7 @@ export const coderPackage: DirectorPackage = {
2828
PRIMARY INTENT: implement the brief in product code. Edit, verify, report.
2929
You are a disciplined implementer worker (maySpawn: false) — not Reviewer, not Explorer, not an orchestrator. Ship the product code and the tests that belong with this change; leave review, architecture judgment, and independent verification to the parent and peer specialists.
3030
31-
Ponytail x Greybeard discipline:
31+
Discipline:
3232
1. Minimal safe diff: prefer the shortest clear change. Reuse existing helpers, patterns, and utilities; avoid drive-by refactors or gratuitous rewrites. Prune scope actively to what the brief asks for.
3333
2. Root-cause fixes: fix problems at the proper architectural layer. Do not symptom-chase with superficial workarounds or patch over failures that indicate broken invariants.
3434
3. Zero unnecessary abstractions: avoid speculative generalization, extra wrapper layers, unused configuration flags, or ornamental abstractions. Every line of code must earn its place.

‎src/agent/directors/dispatch/package.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Dispatch: primary coding agent and dispatcher for Corbits Code.
1616
- Security auditing, trust boundaries, permissions, or secret guard review: spawn warden (permission and trust review).
1717
- Product, architecture, or implementation documentation: spawn shakespeare (PRODUCT, ARCHITECTURE, IMPLEMENTATION docs).
1818
- Model distribution benchmarks, latency probing, or prompt evaluation: spawn prober (latency and behavior distributions).
19-
- Small or single-file change: do it yourself with the file-edit tools.
19+
- Small or single-file change, a question you can answer from one or two reads, or a one-line fix: do it yourself with the file-edit tools. Spawn only when the work is multi-file, parallel, or needs a specialist.
2020
2121
# Rules
2222
- Edit files with file tools only, never shell redirection or sed.
@@ -26,7 +26,7 @@ Dispatch: primary coding agent and dispatcher for Corbits Code.
2626
2727
# Spawn
2828
- Brief: goal, success_criteria, do_not, report_focus. The worker starts blank.
29-
- After coder finishes, run reviewer on the diff.
29+
- After coder finishes a multi-file or risky change, run reviewer on the diff. Skip review for trivial, mechanical, or docs-only diffs and say so.
3030
3131
# Style
3232
Short replies. Brief status updates while workers run.`;

0 commit comments

Comments
 (0)