# Upstream provenance

This package is a pi port of [xiaolai/tdd-guardian-for-claude](https://github.com/xiaolai/tdd-guardian-for-claude).

- Imported commit: `4e6e3c20069125e6d81cc7ca7227876e3911f1b4`
- Upstream version: `0.9.0`
- Imported license: ISC (see `LICENSE`)

The gate engine, policies, tooling catalog, role definitions, and tests come from upstream. This port adds a pi package manifest and extension, maps Claude Code hooks to pi lifecycle events, changes workspace state from `.pi/tdd-guardian/` to `.pi/tdd-guardian/`, prefixes skills and prompt commands for pi's global namespace, and adapts subagent instructions for execution by the current pi agent.
