data/patterns/extract_ethical_framework/README.md
Make implicit ethics explicit. Every prescriptive document contains hidden ethical assumptions — this pattern surfaces them.
Making them explicit allows:
| Question | What to Find |
|---|---|
| Who counts? | Whose interests matter? |
| What's harm? | What are agents protected from? |
| What's consent? | How is agreement established? |
| Who decides? | Who has authority and why? |
| When is force OK? | What justifies coercion? |
| What wins? | Hierarchy when values conflict |
# Analyze terms of service
cat tos.txt | fabric -p extract_ethical_framework
# Analyze an AI safety proposal
echo "The AI should be beneficial and aligned with human values" | fabric -p extract_ethical_framework
# Audit a policy document
fabric -p extract_ethical_framework < policy.md
Does the framework authorize creating unwilling victims?
If yes → it fails the minimal ethics test, regardless of how coherent it is internally.
From the Ultimate Law framework: github.com/ghrom/ultimatelaw