# Task Discipline Kit

Stop vibe coding. Start engineering with structured task management.

## Included Skills

1. **TillDone Core** — Task list gating
2. **TillDone Progress** — Live task progress widget
3. **TillDone Nudge** — Agent forced to continue if tasks remain
4. **Purpose Gate** — Session intent declaration

## How TillDone Works

```
1. Orchestrator creates task list BEFORE delegating
2. Tasks assigned to specific agents
3. Agents mark tasks: idle → inprogress → done
4. Footer shows live progress: "TillDone: Build auth [3/5]"
5. If turn ends with incomplete tasks → agent nudged to continue
```

## Purpose Gate

```
On session start:
  "What is the purpose of this session?"
  Agent cannot prompt until answer is given
  Purpose shown in persistent header widget
```

## Usage

```bash
# Pi Agent
pi -e extensions/tilldone.ts -e extensions/purpose-gate.ts

# Claude Code (via hook)
cp hooks/* .claude/hooks/
```

## Related Course Material

- M4 Multi-Agent Orchestration — TillDone discipline lesson
- `pi-vs-claude-code/extensions/tilldone.ts` — full source
