Files
recipes/recipes/identity-cat/recipe.yaml
gilesb 10c6af3736 feat: initial recipes repo with identity-cat
- Recipe schema using artdag primitives (SOURCE, EFFECT)
- identity-cat: applies identity effect to cat image
- Test verifying identity property: output_hash == input_hash
- Demonstrates content-addressed DAG execution

Owner: @giles@artdag.rose-ash.com

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 23:25:40 +00:00

44 lines
1.1 KiB
YAML

# identity-cat recipe
# Applies the identity effect to the foundational cat image
# Demonstrates: SOURCE → EFFECT → output
name: identity-cat
version: "1.0"
description: "Apply identity effect to cat - output equals input"
# Registry references (by content hash)
registry:
assets:
cat:
hash: "33268b6e167deaf018cc538de12dbe562612b33e89a749391cef855b320a269b"
url: "https://rose-ash.com/content/images/2026/01/cat.jpg"
effects:
identity:
hash: "640ea11ee881ebf4101af0a955439105ab11e763682b209e88ea08fc66e1cc03"
url: "https://github.com/gilesbradshaw/art-dag/tree/main/effects/identity"
# DAG definition
dag:
nodes:
- id: source_cat
type: SOURCE
config:
asset: cat
- id: apply_identity
type: EFFECT
config:
effect: identity
inputs:
- source_cat
output: apply_identity
# Verification
output:
# Identity property: output hash equals input hash
expected_hash: "33268b6e167deaf018cc538de12dbe562612b33e89a749391cef855b320a269b"
# Ownership
owner: "@giles@artdag.rose-ash.com"