-
Notifications
You must be signed in to change notification settings - Fork 1
v0.9.1
Released: 2026-04-22 Theme: The main agent stops doing the work. It only delegates.
For any strong-work mission (multi-file change, migration, perf hunt, security audit, new feature, deep research), the main agent becomes an orchestrator only. It cannot read source files beyond top-level indexes, cannot write code, cannot run tests. It narrows scope, dispatches a specialist, synthesizes the result. Seven new specialist agents carry the actual execution.
Before v0.9.1, the main agent did both planning and execution. That produced a pattern the author observed repeatedly: the agent would load a dozen files to "understand context", form hypotheses from half-loaded fragments, then implement based on polluted reasoning. Half-loaded files + partial greps + intermediate hypotheses → hallucination.
Isolation = clean handoffs = fewer hallucinations. This is Kasidit Rule 1 (one mission, one focus) applied at the orchestration layer.
When a mission qualifies as strong work, the master agent is forbidden from:
- ❌ Writing code
- ❌ Editing files
- ❌ Running tests or servers
- ❌ Reading source files beyond the top-level index set (
CLAUDE.md,PATTERNS.md,DESIGN_SYSTEM.md,สารบัญ,.kasidit/knowledge/index) - ❌ Searching / grepping / globbing beyond initial scope detection
- ❌ Fetching docs (delegate to
deep-researcher) - ❌ Writing migrations (delegate to
migration-specialist)
The master may only:
- ✓ Narrow the mission and confirm scope with user
- ✓ Detect domain and tier
- ✓ Read the top-level index set
- ✓ Pick the specialist from the registry
- ✓ Write the dispatch brief
- ✓ Synthesize specialist outputs into a user-facing report
- ✓ Decide next step
If the master catches itself doing forbidden work, it stops and spawns a specialist with the accumulated context.
| Agent | Trigger | Scope |
|---|---|---|
bug-hunter |
error / crash / wrong output / regression | root-cause + minimal fix; mandatory git log --grep / git log -S
|
architect-planner |
new feature / refactor > 2 files | plan only; no code; lists trade-offs + open questions |
perf-profiler |
slow / N+1 / high cost / pre-scale | measure first; rank by impact × confidence; top 5 only; does not optimize |
test-writer |
add tests / regression after fix / coverage gap | one target per call; regression case mandatory after bug fix |
refactor-surgeon |
extract / rename / split / inline | zero behavior change; test-parity verified |
deep-researcher |
library / API / framework research | trust hierarchy (source → official docs → release notes → blogs); caches to .kasidit/knowledge/
|
migration-specialist |
schema change / framework upgrade / backfill | expand-contract phases; rollback per phase; risk classification GREEN/YELLOW/RED |
Plus the three pre-existing agents (code-reviewer, security-auditor, legacy-specialist), the registry is 10 specialists.
Every specialist invocation must pass a structured brief:
MISSION: <one sentence, verifiable outcome>
INPUTS:
- <file paths, symptoms, measurements, versions>
CONSTRAINTS:
- <deadline, compat, perf budget>
EXPECTED OUTPUT:
- <matches the agent's documented output block>
PRIOR CONTEXT:
- <findings from earlier specialists, if any>
No brief → no dispatch. This prevents "do stuff" prompts from reaching specialists with ambiguous scope.
Four new entries in the anti-pattern list:
- ❌ Master agent writing code on a strong-work mission
- ❌ Master reading source files beyond the top-level index
- ❌ Invoking a specialist without a dispatch brief
- ❌ Specialist working outside its documented scope
- Added: Master Orchestrator Rule section in SKILL.md
-
Added: 7 specialist agent markdown files under
plugins/kasidit/agents/ - Reframed: the old "Multi-Agent Orchestration (v3)" section is now treated as an implementation detail of the master rule — the "how" under the master's "when"
- Anti-patterns: +4 entries
None for users. For custom workflows that called the main agent to do heavy work directly: expect the agent to refuse and delegate. This is the intended behavior.
No user action required. On next mission that qualifies as strong work, the master will narrow then spawn a specialist. If you want to force the old behavior (main agent does everything), you can — just phrase the request narrowly enough that it does not qualify as strong work ("trivial one-line fix on a single file" is the documented exception).
- Multi Agent Orchestration — how specialists run under the hood
- v0.9.0 — the release this builds on
- v0.9.2 — the next release
Repo • Discussions • Issues • Changelog • Security • Contributing • MIT • © Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode 🔥 v0.10
- Backend-Hooks 🔥 v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History — overview
- v0.13.0 — thClaws (Consolidated) 🦞
- v0.12.0 — thClaws Runtime Support 🦞
- v0.11.0 — Backend + Bridge + Runbook 🚀
- v0.10.0 — Mode + Backend Hooks
- v0.9.2 — Gravity
- v0.9.1 — Master Orchestrator
- v0.9.0 — Claude Design
- v0.8.0 — Tier Cascade
- v0.7.4 — SWE-bench
- v0.3.0 — Tier adaptation
- v0.2.1 — Docs protocol
- v0.2.0 — UI Override
- v0.1.0 — Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist 🔥 v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs → audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer →
--focus=quality -
Agent-Security-Auditor →
--focus=security -
Agent-Perf-Profiler →
--focus=perf