SKILL

Verify a Factory contract.

Parse args: PATH (default factories/amcs/factory.yaml). Run and report each:

python3 scripts/factory.py validate <PATH>
python3 scripts/factory.py reuse    <PATH>
python3 scripts/factory.py audit    <PATH>
Or combined: python3 scripts/factory.py check <PATH> (nonzero exit on any failure). For every failed invariant, name which boundary was blurred and the exact contract edit (e.g. 'AGUI is runtime UX; you cannot replace it; set experience.runtime.provider: agui'). Never weaken the audit to pass a bad contract.

Always load the operating model first (reference/factory-operating-model.md): the architecture is Product → Factory → Outputs → Domains → Systems; Bluefly owns composition, not implementation; compose, never reinvent; factory.yaml is the single source of truth.