# KingCoding System Overview

KingCoding runs as a multi-agent system: a PM AI coordinates workers (Claude Code / Codex). You submit a request, and spec, plan, execution, and report flow end-to-end.

## Task flow

1. **Request**  
   Describe what you want. A short line is fine.

2. **Spec**  
   The PM AI builds the spec, filling in gaps.

3. **Plan**  
   Breaks work into subtasks and decides what runs in parallel.

4. **Execute**  
   Multiple workers run implementations in parallel.

5. **Verify & report**  
   AI verifies the result and delivers a summary.

## PM and worker roles

- **PM (orchestrator)**: spec, plan, decomposition, coordination, and report  
- **Complex role**: design decisions and tricky changes  
- **Simple role**: small, routine work

## Task modes

- **Agent**: run all the way through  
- **Plan**: propose a plan, then run after approval  
- **Ask**: conversation only; no code changes

## Memory

The PM reads project-level memory and your global defaults. Task results and approval rules accumulate and carry into the next task.
