# SPEC-P1-CONTRACTS — Factory record

audience: AI coding agents first.

This record applies only to the current Factory implementation in
`modules/harness/factory/`. Factory workflow entrypoints are `adw_*.py`,
shared phase logic is in `adw_modules/`, prompts are in
`prompt_engineering/`, and evidence is persisted by `tracer.py`.

## Contract

Factory phases must preserve explicit ownership, bounded failure reporting,
permission enforcement, and durable trace evidence. Do not add a daemon,
automatic relaunch, or alternate plan executor. Changes require the full
Factory test suite:

`python3 -m pytest modules/harness/factory/tests/ -q`
