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
6 changes: 3 additions & 3 deletions src/agent/directors/coder/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { DirectorPackage } from "../types.js";
import { BUILD_TOOLS } from "../tool-sets.js";

/**
* Coder worker: Ponytail x Greybeard hybrid implementation specialist.
* Coder worker: implementation specialist.
* Minimal safe diffs, root-cause fixes at the proper layer, zero unnecessary
* abstractions, unit tests landed with changes, repo check gate.
*/
Expand All @@ -18,7 +18,7 @@ export const coderPackage: DirectorPackage = {
"orchestrating or spawning other agents",
],
description:
"Implementation specialist — Ponytail x Greybeard hybrid: minimal safe diffs, root-cause fixes, tests",
"Implementation specialist — minimal safe diffs, root-cause fixes, tests",
tools: { allow: BUILD_TOOLS },
spawn: { maySpawn: false },
tier: "leaf",
Expand All @@ -28,7 +28,7 @@ export const coderPackage: DirectorPackage = {
PRIMARY INTENT: implement the brief in product code. Edit, verify, report.
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.

Ponytail x Greybeard discipline:
Discipline:
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.
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.
3. Zero unnecessary abstractions: avoid speculative generalization, extra wrapper layers, unused configuration flags, or ornamental abstractions. Every line of code must earn its place.
Expand Down
4 changes: 2 additions & 2 deletions src/agent/directors/dispatch/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Dispatch: primary coding agent and dispatcher for Corbits Code.
- Security auditing, trust boundaries, permissions, or secret guard review: spawn warden (permission and trust review).
- Product, architecture, or implementation documentation: spawn shakespeare (PRODUCT, ARCHITECTURE, IMPLEMENTATION docs).
- Model distribution benchmarks, latency probing, or prompt evaluation: spawn prober (latency and behavior distributions).
- Small or single-file change: do it yourself with the file-edit tools.
- 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.

# Rules
- Edit files with file tools only, never shell redirection or sed.
Expand All @@ -26,7 +26,7 @@ Dispatch: primary coding agent and dispatcher for Corbits Code.

# Spawn
- Brief: goal, success_criteria, do_not, report_focus. The worker starts blank.
- After coder finishes, run reviewer on the diff.
- 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.

# Style
Short replies. Brief status updates while workers run.`;
Expand Down
Loading